|
Wing Commander
Reconstructed Win32 source (1996)
|
| include | |
| globals.h | Globals shared between compilation units |
| main.h | Option flags set from the command line, the configuration file and the registry |
| wc1.h | Umbrella header for the game core |
| wc1base.h | Common types, macros and utility prototypes |
| wc1extern.h | Three prototypes that nothing calls, kept for the exact build |
| wc1funcs.h | Prototypes of every reconstructed function, in address order |
| wcdata.h | Game data enumerations and on-disk record layouts |
| winmain.h | Declarations for the Win32 shell |
| site | |
| src | |
| ix | |
| dsp.cpp | DirectSound device control and shared configuration |
| dsps.cpp | Sample stream control |
| dspv.cpp | Voice control |
| ix.h | The library's classes and shared declarations |
| ixfile.cpp | Stdio wrappers used by the streamer and its thread |
| ixlog.cpp | The diagnostic printer, ix_log_printf |
| lzo1x.cpp | Hand-written LZO1X decoder for packed streams |
| mixer.cpp | DirectSound driver opening and the mixer service thread |
| sample.cpp | Sample objects: AIFF, WAV and raw loading |
| sound.cpp | Sound objects: initialization, volume, pan, frequency and priority |
| streamer.cpp | Streamer API and package management |
| streamfile.cpp | Stream-file methods |
| system.cpp | Sound-system state and voice allocation |
| thread.cpp | The streamer's worker thread |
| auto.c | Autopilot travel and interstitial flight sequences |
| barracks.c | The barracks: campaign save and load |
| brains.c | NPC pilot intelligence (the original BRAINS.C) |
| cmpgn.c | Conversation animation, the briefing, debriefing and office scenes, and campaign mission packet decoding |
| cockpt.c | Cockpit HUD: weapon, damage, target, objective, message and pilot displays |
| comm.c | Communication menus and video transmissions |
| cutscene.c | Scramble, landing and funeral scenes, and the animation demo |
| damage.c | The cockpit's component-damage display |
| data.c | Shared initialized data: event queue, cursor and screen geometry, direction-frame tables and cockpit display tables |
| debug.cpp | The Win32 developer overlay console |
| dib.c | DirectDraw back end: frame buffer, palette and screen updates |
| disk.c | Data files and packet fetching with retries, text-font setup and input waits |
| eject.c | Ejection and stranded-pilot sequences |
| ending.c | Campaign victory, retreat and ending scenes |
| eventmgr.c | Event manager, mouse pointer and frame timer |
| fade.c | Incremental palette transitions, and the DOS string-append shim beside them |
| fl.c | Flight manoeuvre handlers and their dispatch |
| game.c | Shared game state, mission and manoeuvre tables, and the information display |
| gameflow.c | Campaign flow and mission scoring |
| geom.c | Vector, angle and fixed-point geometry, and ship speed and fuel limits |
| gr.c | Rasteriser primitives, screen-space effects and the music streamer's wrappers |
| init.c | Game startup, graphics defaults and Origin FX initialization |
| input.c | Joystick transitions and menu input polling |
| install.c | Installation-file loading, start-up arguments and disk-prompt setup |
| joycal.c | Joystick calibration and graphics setup data |
| joystick.c | Interactive joystick calibration and button waits |
| killbrd.c | The bar, the kill board, conversation scenes and the initial campaign state |
| launch.c | Carrier departure and cockpit launch sequences |
| logic.c | Ship mission logic, resource ownership and scene animation |
| main.c | WINGLEADER's main module: process services, flight control and the HUD |
| mathfp.c | Random numbers, fixed-point arithmetic and trigonometry computed in floating point, and text-cursor and shape-frame helpers |
| mathutil.c | Integer min and max, a packet-release helper, and the single-precision angular constants |
| mission.c | Mission setup, ship resources, formation placement and pilot speech |
| mono.c | Data-file wrappers, scaled interstitial text, canned sequences and the MONODEBG.VXD developer console |
| music.c | Music state machine and the streaming music script |
| nav.c | Navigation map, objective labels and the in-flight computer |
| nearheap.c | Near-heap descriptor allocation and compaction carried over from DOS |
| objdata.c | Object definitions, animation streams and weapon display coordinates |
| pilot.cpp | Inter-scene transitions, answer prompts, and the developer console's instance and wrappers |
| pload.c | The packet loader |
| screen.c | Mission requests, viewport setup and packet-memory management |
| screens.c | Briefing, debriefing, medal and funeral screens, and the conversation scene director |
| select.c | Gun and missile selection |
| ship.c | Ships: damage, explosions and weapons |
| smart.c | Collision avoidance, formation flying and manoeuvre selection |
| sound.c | Sound-effect samples, playback and saved volume settings |
| spc.c | Space-object simulation and the fleet overview camera |
| strdos.c | 16-bit DOS C string and memory shims, and the event manager's set-up entries |
| targ.c | Objective arrival, warp transitions, mines and cockpit cleanup |
| timer.c | Win32 frame timer and developer step waiting |
| title.c | Opening cinematic, credits and title menu |
| trainsim.c | Training simulator: menus, pilot name entry, high scores and the mission loop |
| version.c | The game's version string |
| video.c | Video resource shutdown and palette allocation |
| view.c | Scripted views, constellation effects and cockpit target rendering |
| winmain.c | Win32 shell (window creation, message loop, exit paths and the guarded debug allocator) and the asteroid and mine hazard fields |
| winsys.c | Win32 system services: mouse, keyboard and clock wrappers, font workspaces, CD-ROM location and disc-swap prompts |