|
Wing Commander
Reconstructed Win32 source (1996)
|
The diagnostic printer, ix_log_printf. More...
Go to the source code of this file.
Functions | |
| void | SoundDebugPrintf (const char *fmt,...) |
| void | ix_log_printf (const char *fmt,...) |
| int | ix_log_init_hook (void) |
Variables | |
| char | szLogBuf [1024] |
The diagnostic printer, ix_log_printf.
Address range 4426a0-44274f, immediately before streamer.cpp. Unlike the rest of ix it was linked as an object, not from a library: its CRT references (_CrtDbgReport, strncmp) are resolved before the entry point, and those of every ix library member after it. Its short branches, scheduled loads and POP EBP epilogue match the core optimizer profile, unlike the unoptimized ix library members.
Every ix diagnostic goes through here, 107 call sites, always in pairs:
ix_log_printf("Fatal [%s - %d]:\n", __FILE__, __LINE__);
ix_log_printf("human readable message");
Definition in file ixlog.cpp.
| int ix_log_init_hook | ( | void | ) |
Definition at line 54 of file ixlog.cpp.
References ix_log_init_hook().
Referenced by ix_log_init_hook().
| void ix_log_printf | ( | const char * | fmt, |
| ... ) |
Definition at line 32 of file ixlog.cpp.
References ix_log_printf(), SoundDebugPrintf(), and szLogBuf.
Referenced by ix_dsp_init(), ix_dsp_open_driver(), ix_dsp_set_stream_count(), ix_dsp_set_voice_count(), IxVoice::ix_dsps_alloc, IxStream::ix_dsps_free, IxVoice::ix_dsps_get_buffer_free, ix_dsps_get_flags(), IxStream::ix_dsps_get_flags, ix_dsps_lock(), IxVoice::ix_dsps_play, IxVoice::ix_dsps_prepare, IxVoice::ix_dsps_set_volume, IxVoice::ix_dsps_stop, IxStream::ix_dsps_unlock, IxVoice::ix_dspv_clear_active, IxVoice::ix_dspv_clear_flag4, ix_dspv_get_flags(), IxVoice::ix_dspv_get_flags, IxVoice::ix_dspv_get_position, IxVoice::ix_dspv_set_active, IxVoice::ix_dspv_set_bits_per_sample, IxVoice::ix_dspv_set_channels, ix_dspv_set_flag4(), IxVoice::ix_dspv_set_frequency, IxVoice::ix_dspv_set_pan, IxVoice::ix_dspv_set_position, IxVoice::ix_dspv_set_volume, ix_log_printf(), ix_mixer_service(), ix_mixer_thread_proc(), IxSample::ix_sample_load_aiff(), IxSample::ix_sample_load_raw(), IxSample::ix_sample_load_wav(), ix_sound_release(), ix_sound_start(), ix_sound_stop(), ix_streamer_audio_pause(), ix_streamer_audio_play(), ix_streamer_audio_reprepare(), ix_streamer_audio_stop(), ix_streamer_close_stream_file(), ix_streamer_destroy(), ix_streamer_force_trigger(), ix_streamer_init(), ix_streamer_open_file(), ix_streamer_open_stream_file(), ix_streamer_set_dev_mode(), ix_system_init(), ix_system_set_voice_count(), ix_thread_handle_file_chunk(), and ix_thread_lock_stream_buffer().
| char szLogBuf[1024] |
Definition at line 26 of file ixlog.cpp.
Referenced by ix_log_printf().