Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | pmbaty | 1 | # Code layout |
2 | |||
3 | ### DETHRACE |
||
4 | Game logic. According to the symbol dump, these files were originally stored in `C:\DETHRACE\src`. |
||
5 | |||
6 | - `DETHRACE/common` - common game logic |
||
7 | - `DETHRACE/pc-dos` - DOS-specific functions |
||
8 | - `DETHRACE/win95sys.c` - Windows-specific functions |
||
9 | - `DETHRACE/pd` - platform-dependent generic headers. |
||
10 | |||
11 | _All code here is kept as similar to how we think the original code might have looked. Any changes required are implemented as hooks into `harness`._ |
||
12 | |||
13 | ### BRSRC13 |
||
14 | |||
15 | Graphics rendering library. [BRender](https://en.wikipedia.org/wiki/Argonaut_Games#BRender), originally stored in `C:\BRSRC13`. |
||
16 | |||
17 | - Stainless Software used their own build of BRender with unknown modifications. |
||
18 | |||
19 | _All code here is kept as similar to how we think the original code might have looked. Any changes required are implemented as hooks into `harness`._ |
||
20 | |||
21 | ### S3 |
||
22 | |||
23 | Audio library. Possibly short for "Stainless Sound System"?! Supports at least two audio backends - [SOS](http://web.archive.org/web/19990221132448/http://www.humanmachine.com/sos.html) (DOS) and DirectSound. |
||
24 | |||
25 | _All code here is kept as similar to how we think the original code might have looked, with the addition of a small amount of code integrating [miniaudio](https://miniaud.io) |
||
26 | |||
27 | ### smackw32 |
||
28 | |||
29 | Implements the [RAD Smacker lib](https://wiki.multimedia.cx/index.php/RAD_Game_Tools_Smacker_API) interface. The implementation is backed by [libsmacker](https://libsmacker.sourceforge.net/). |
||
30 | |||
31 | ### harness |
||
32 | |||
33 | - Provides functions that the original game logic calls to implement modern cross-platform support. |
||
34 | - SDL2, OpenGL, miniaudio |