Jeff Harris
baafd76a09
Workflow test ( #47 )
...
* Adds first test of create release when tag is pushed
* fix pixelmap read warnings
2021-04-14 06:01:19 +12:00
Jeff Harris
43f517234d
Set Initial Grid Position ( #46 )
...
* Implements SetInitialPosition, fixed prepareGroups vertices
2021-04-13 14:04:03 +12:00
Jeff Harris
1ce611e9d8
Implements load race screen and grid selection screens! ( #45 )
...
* Load Race screen
* Grid Selection screen
* Loads race objects into memory
2021-03-25 06:51:35 +13:00
OmniBlade
d1232abceb
Refactors CMake to allow buildings tests.
...
Adds running of tests to the linux and macos workflows.
Tests themselves need some refactoring to pass on windows.
2021-03-12 15:49:29 +00:00
OmniBlade
a10d622943
Fixes linking issues on macOS.
...
macOS linker seems to have issue with linking when only symbols are default initialised globals.
2021-03-12 15:49:29 +00:00
OmniBlade
aa70c9c966
Corrects the types on some pointer casts.
2021-03-12 15:49:29 +00:00
OmniBlade
50b4b4f37a
Adds startup code to enable printing to cmd prompt.
...
If game is started from command line, debug output prints to the console.
2021-03-12 15:49:29 +00:00
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
f2168d0db4
Initial CMake based build system implementation.
2021-03-12 15:49:29 +00: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
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
f843c1037f
fixes handling of scan codes in memory buffer ( #36 )
2020-09-04 22:10:17 -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
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
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
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
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
Jeff Harris
3ed8d79000
Codegen: add static modifier ( #12 )
...
* Codegen: add static modifier
2019-11-18 22:12:30 -08:00
Jeff Harris
08fda020e4
clean up references to c stdlib
2019-11-18 10:48:16 -08:00
Jeff Harris
3edb659b11
Removes final duplicate symbols
2019-11-18 06:53:04 -08:00
Jeff Harris
4fa13b6749
6 duplicates remaining
2019-11-16 09:31:58 -08:00
Jeff Harris
5944ae4b75
Cleans up compile output, only half dozen warnings
2019-11-15 16:23:23 -08:00