From 44d8b2f66d2313ecd3176c2b26795e66c3a7ab94 Mon Sep 17 00:00:00 2001 From: Dethrace Engineering Department <78985374+dethrace-labs@users.noreply.github.com> Date: Wed, 26 Jan 2022 11:49:53 +1300 Subject: [PATCH] Update CODE_LAYOUT.md --- docs/CODE_LAYOUT.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/docs/CODE_LAYOUT.md b/docs/CODE_LAYOUT.md index 912027c0..1cd95c79 100644 --- a/docs/CODE_LAYOUT.md +++ b/docs/CODE_LAYOUT.md @@ -3,26 +3,27 @@ ### DETHRACE Game logic. According to the symbol dump, these files were originally stored in `C:\DETHRACE\src`. -`DETHRACE/common` - all common logic -`DETHRACE/pc-dos` - all platform-specific functions (DOS, in this case) -`DETHRACE/pd` - platform-dependent generic headers. +- `DETHRACE/common` - all common logic +- `DETHRACE/pc-dos` - all platform-specific functions (DOS, in this case) +- `DETHRACE/pd` - platform-dependent generic headers. -_All code here is kept as similar to how we think the original code might have been. Any changes required are implemented as hooks in the `harness`._ +_All code here is kept as similar to how we think the original code might have been. Any changes required are implemented as hooks into `harness`._ ### BRSRC13 -[BRender](https://en.wikipedia.org/wiki/Argonaut_Games#BRender), originally stored in `C:\BRSRC13`. A graphics rendering library. +Graphics rendering library. [BRender](https://en.wikipedia.org/wiki/Argonaut_Games#BRender), originally stored in `C:\BRSRC13`. -Apparently Stainless Software used their own build of BRender with unknown modifications. +- Stainless Software used their own build of BRender with unknown modifications. -_All code here is kept as similar to how we think the original code might have been. Any changes required are implemented as hooks in the `harness`._ +_All code here is kept as similar to how we think the original code might have been. Any changes required are implemented as hooks into `harness`._ ### S3 Audio library. No other information. -_All code here is kept as similar to how we think the original code might have been. Any changes required are implemented as hooks in the `harness`._ +_All code here is kept as similar to how we think the original code might have been. Any changes required are implemented as hooks into `harness`._ ### harness -- Provides hooks into the game logic to implement modern cross-platform support. \ No newline at end of file +- Provides functions that the original game logic calls to implement modern cross-platform support. +- SDL2 for windowing + input + networking, OpenGL for rendering, OpenAL for audio