Update CODE_LAYOUT.md

This commit is contained in:
Dethrace Engineering Department 2022-01-26 11:49:53 +13:00 committed by GitHub
parent 94167e09c8
commit 44d8b2f66d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 9 deletions

View File

@ -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.
- 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