Commit Graph

87 Commits

Author SHA1 Message Date
OmniBlade 0d023ca25f Adds glad generated OpenGL extension loader.
Fixes building gl renderer with MSVC.
Adds additional fixes to build and link on MSVC.
2021-03-12 15:49:29 +00:00
OmniBlade efb3484b79 Applies some fixes for an MSVC build.
Casts for arithmetic on void*.
Includes SDL.h directly with no folder (Documentation suggests this is
best practice anyhow)
Provides a win32 clock_gettime implementation suitable for how it is used.
Removes braces from struct typedefs to keep msvc happy.
Other misc changes.
OpenGL implementation needs work on MSVC and does not build correctly
yet.
2021-03-12 15:49:29 +00:00
OmniBlade 9bbf3028f3 Initial implementation of posix compat layer.
Small layer intended to provide win32 implementation of some common
posix fuctionality.
2021-03-12 15:49:29 +00:00
OmniBlade f2168d0db4 Initial CMake based build system implementation. 2021-03-12 15:49:29 +00:00
Jeff Harris 932261511b
Update SCREENSHOTS.md 2021-03-12 12:10:37 +13:00
Jeff Harris 458812ac24
Create SCREENSHOTS.md 2021-03-12 11:53:49 +13:00
OmniBlade 6f64649abb
Refactors InitWobbleStuff. (#44)
Implements ClearWobbles and replaces inlined code.
Cleans up floating point optimisations to use original divisions.
2021-03-05 22:51:55 +00:00
Jeff Harris 65c4da8a63
Update README.md 2021-01-27 09:05:49 +13:00
Jeff Harris 19ef9d60d6
Update README.md 2021-01-27 05:54:13 +13:00
Jeff Harris 6bc804710e
Feature/loadcar (#42)
* LoadCar
2021-01-26 21:49:35 +13:00
Jeff Harris 62d000b861
Disable cd check by default, add support for SP/Carma game modes (#41) 2020-09-24 09:50:23 -07:00
Jeff Harris dd05afea6e
Feature/loading race screen (#40)
* Adds loading splash screen, switch to single threaded mode
2020-09-23 12:03:00 -07:00
Jeff Harris f665dbf6cf
Implements Select Driver screen (#39)
* Adds driver select interface screen
2020-09-23 00:30:16 -07:00
Jeff Harris 7b7f691c45
Fix/update from new codegen (#38)
* removes duplicate comments in header files
* replaces offset, size, register comments with a single IDA format comment
2020-09-11 11:01:54 -07:00
Jeff Harris a7e588d1f8
Adds VerifyQuit screen, tidies up memory alloc/free tracing (#37)
* Adds VerifyQuit screen, tidies up very verbose memory alloc/free tracing, extra error checks on SDL calls
2020-09-09 07:41:12 -07:00
Jeff Harris 5defeb8a59 removes nocutscenes from makefile 2020-09-04 22:12:42 -07:00
Jeff Harris f843c1037f
fixes handling of scan codes in memory buffer (#36) 2020-09-04 22:10:17 -07:00
Jeff Harris 807ae8ed06
Update CHANGELOG.md 2020-09-03 00:38:00 -07:00
Jeff Harris 185fb8a2dc
Feature/mainmenu (#35)
* rendering main menu
2020-09-03 00:35:15 -07:00
Jeff Harris ecc435ef8e
Feature/keyboard input (#33)
* Adds basic keyboard handling, palette fading
2020-07-24 18:49:35 -07:00
Jeff Harris 716c65807d
plays intro smack files (#32)
* plays intro smack files
2020-07-19 23:42:03 -07:00
Jeff Harris e54cf25a74
Feature/load races (#31)
* loading races, powerups, opponents
* runs all the way to end of initialization
2020-07-15 22:02:11 -07:00
Jeff Harris 77e404f141
Adds font rendering, makes low memory screen work (#30)
* Adds font rendering, makes low memory screen work
* fix tests without data directory
2020-07-08 21:08:55 -07:00
Jeff Harris 0246c1de7f
Feature/renderer (#29)
* Adds first cut of GL renderer
* Adds harness: where we add modern code to interface with the original game code
2020-07-06 00:45:08 -07:00
Jeff Harris 60309ba905
Load fonts, pixelmaps, materials (#28)
* load fonts, pixelmaps, shadetables, materials
2020-06-29 21:20:03 -07:00
Jeff Harris 9afc5fdef8
Feature/brmodelupdate (#27)
* Adds bbox and raduis generation for models
2020-06-13 00:13:49 -07:00
Jeff Harris 87930e0af9
Removes incorrect NOT_IMPLEMENTED guards, adds DR filesystem (#26) 2020-05-22 22:36:54 -07:00
Jeff Harris 12da0ed779
LoadActor (#25)
* Implements LoadActor call tree
* Added defines for df_* constants that we don’t have symbols for
2020-05-22 19:05:22 -07:00
Jeff Harris 4995fe4979
Implements LoadModel (#24)
* cpoint.dat model loading working
* Simplify resource_header padding, fixes resource free callback to close files correctly
2020-05-17 14:59:41 -07:00
Jeff Harris 92d549520e
Actor, pixelmap allocation etc (#23)
* Adds screen init, camera allocation
* Implements missing BrActorAdd
2020-02-01 09:15:06 -08:00
Jeff Harris c4aba6e122
Implements RestoreOptions functions (#22) 2020-01-16 23:06:12 -08:00
Jeff Harris 2927bd184d
LoadGeneralParameters and associated functions (#20)
* Adds LoadGeneralParameters, EncodeLine functions
2020-01-11 09:36:20 -08:00
Jeff Harris 25159947f9 Removes sqr function 2020-01-11 09:35:01 -08:00
Jeff Harris f52f394675 merge 2020-01-11 09:27:00 -08:00
Jeff Harris efe0a8dbdc
clang format all files (#21) 2020-01-11 09:23:28 -08:00
Jeff Harris 8648891d4a merge 2020-01-10 15:03:27 -08:00
Jeff Harris 1a5715dc81
BrV1dbBeginWrapper_Float call tree (#19)
* Implements BrV1dbBeginWrapper_Float tree calls
2020-01-10 14:59:43 -08:00
Jeff Harris 7d1789a6ef Adds LoadGeneralParameters function 2020-01-10 14:56:03 -08:00
Jeff Harris 2ae8c4bc8d Implements BrV1dbBeginWrapper_Float tree calls 2020-01-02 21:40:49 -08:00
Jeff Harris 53de41f556 tests pass with *prev 2019-12-30 12:52:18 -08:00
Jeff Harris 25eeef2010 wip 2019-12-17 23:04:46 -08:00
Jeff Harris c57fc0e0a8
Adds stub for initialiseapplication (#18)
* Adds stub for InitialiseApplication
2019-12-10 16:36:04 -08:00
Jeff Harris 5f0d3652b5
Update README.md 2019-12-10 10:56:25 -08:00
Jeff Harris e3a6995118
Update README.md 2019-12-10 10:56:09 -08:00
Jeff Harris f42242306a
Implements GameMain initialization (#17)
* GameMain methods
* Adds tests for PDInitialise, CD checks
2019-12-06 09:50:11 -08:00
Jeff Harris 66fe07e9a2
implements main method (#16)
* Implements: main, Usage
2019-12-02 11:24:18 -08:00
OmniBlade cee44698b2 Implements BrFloat* functions. (#15) 2019-11-26 16:21:18 -08:00
Jeff Harris 91ddd2ff31
Update CHANGELOG.md 2019-11-25 07:28:59 -08:00
Jeff Harris b04c31139f
Adds unit tests, some more implementations (#14)
* unit tests, some implementations
2019-11-24 21:19:15 -08:00
Jeff Harris 57bf2c3dc4
compile DETHRACE and BRSRC13 separately. (#13)
* compile DETHRACE and BRSRC13 separately. Fixed some types wronly generated into dr_types.h

* Fix makefile ordering

* make gcc happy
2019-11-22 09:25:44 -08:00