Wing Commander II
Reconstructed Win32 source (1996)
Loading...
Searching...
No Matches
IxStreamFile Struct Reference

#include </home/runner/work/wc2-re/wc2-re/out/site/source/src/ix/ix.h>

Public Member Functions

unsigned int ix_stream_file_read (void *destination, unsigned int bytes)
void ix_stream_file_seek (unsigned int position)
unsigned int ix_stream_file_tell (void)
unsigned int ix_stream_file_size (void)
void ix_stream_file_wait ()
int ix_stream_file_is_reading ()

Data Fields

unsigned int flags
IxStreamerFileEntry * entry
FILE * file
unsigned int size
unsigned char priority
unsigned int serviceTick
unsigned int position
unsigned int remaining
unsigned char * destination
HANDLE completionEvent
IxStreamFile * previous
IxStreamFile * next

Detailed Description

Definition at line 384 of file ix.h.

Member Function Documentation

◆ ix_stream_file_is_reading()

int IxStreamFile::ix_stream_file_is_reading ( void )

Definition at line 73 of file streamfile.cpp.

References flags, and IX_STREAM_FILE_READING.

◆ ix_stream_file_read()

unsigned int IxStreamFile::ix_stream_file_read ( void * destination,
unsigned int bytes )

◆ ix_stream_file_seek()

void IxStreamFile::ix_stream_file_seek ( unsigned int position)

Definition at line 41 of file streamfile.cpp.

References ix_stream_file_wait(), position, and size.

◆ ix_stream_file_size()

unsigned int IxStreamFile::ix_stream_file_size ( void )

Definition at line 58 of file streamfile.cpp.

References size.

◆ ix_stream_file_tell()

unsigned int IxStreamFile::ix_stream_file_tell ( void )

Definition at line 51 of file streamfile.cpp.

References ix_stream_file_wait(), and position.

◆ ix_stream_file_wait()

void IxStreamFile::ix_stream_file_wait ( void )

Field Documentation

◆ completionEvent

HANDLE IxStreamFile::completionEvent

◆ destination

unsigned char* IxStreamFile::destination

Definition at line 393 of file ix.h.

Referenced by ix_stream_file_read(), and ix_thread_handle_file_chunk().

◆ entry

IxStreamerFileEntry* IxStreamFile::entry

Definition at line 386 of file ix.h.

Referenced by ix_streamer_open_file(), and ix_thread_handle_file_chunk().

◆ file

FILE* IxStreamFile::file

◆ flags

unsigned int IxStreamFile::flags

◆ next

IxStreamFile* IxStreamFile::next

◆ position

unsigned int IxStreamFile::position

◆ previous

◆ priority

unsigned char IxStreamFile::priority

Definition at line 389 of file ix.h.

Referenced by ix_streamer_open_file(), and ix_thread_service_streams().

◆ remaining

unsigned int IxStreamFile::remaining

Definition at line 392 of file ix.h.

Referenced by ix_stream_file_read(), and ix_thread_handle_file_chunk().

◆ serviceTick

unsigned int IxStreamFile::serviceTick

Definition at line 390 of file ix.h.

Referenced by ix_thread_handle_file_chunk(), and ix_thread_service_streams().

◆ size

unsigned int IxStreamFile::size

The documentation for this struct was generated from the following files: