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

#include </home/runner/work/wc1-re/wc1-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 (void)
int ix_stream_file_is_reading (void)

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 426 of file ix.h.

Member Function Documentation

◆ ix_stream_file_is_reading()

int IxStreamFile::ix_stream_file_is_reading ( void )

Definition at line 74 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 42 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 59 of file streamfile.cpp.

References size.

◆ ix_stream_file_tell()

unsigned int IxStreamFile::ix_stream_file_tell ( void )

Definition at line 52 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 435 of file ix.h.

Referenced by ix_stream_file_read(), and ix_thread_handle_file_chunk().

◆ entry

IxStreamerFileEntry* IxStreamFile::entry

Definition at line 428 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 431 of file ix.h.

Referenced by ix_streamer_open_file(), and ix_thread_service_streams().

◆ remaining

unsigned int IxStreamFile::remaining

Definition at line 434 of file ix.h.

Referenced by ix_stream_file_read(), and ix_thread_handle_file_chunk().

◆ serviceTick

unsigned int IxStreamFile::serviceTick

Definition at line 432 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: