Commit Graph

119 Commits

Author SHA1 Message Date
Jeff Harris f0ff895a8f remove double unit test run 2021-09-10 13:46:46 +12:00
Jeff Harris d3874216c0 fix tests build 2021-09-10 13:44:52 +12:00
Jeff Harris 6a31e4f6a9
Fix/global vars ordering (#58)
* reordered global vars based on updated codegen, resolve duplicate symbols
2021-09-10 13:36:14 +12:00
Jeff Harris 12a500a9ee
Update README.md 2021-09-10 06:30:44 +12:00
Jeff Harris f1ed9ff522
Car control and physics attempt #1 (#57)
* correctly render track based on current view and yon factor

* some physics code

* rotate, translate, self centering steering

* Fix ordering of global variables

* ApplyPhysicsToCars

* car is moving somewhat

* fixes stumbling at low revs

* camera swings around properly when switching direction

* fix compile errors
2021-09-08 13:19:08 +12:00
Jeff Harris 3244bdbd55
Awfully complicated camera collision bits (#54)
* Awfully complicated camera collision bits
2021-07-18 22:27:08 +12:00
Jeff Harris a8f34c5815
Fixes loading regular Carma1 data directory (#53) 2021-07-17 20:10:58 +12:00
Jeff Harris 6cc2db6201
Rendering our first 3d scene! (#52)
* 3d rendering working slightly

* lighting working but looks funny

* camera swoop working somehow

* 3d rendering working down to camera

* fix linux build
2021-07-17 07:08:06 +12:00
Jeff Harris 4754aea863
Enable more compiler errors (#50)
* Fixes clever text rendering
* Adds better compile errors
2021-05-02 22:32:38 +12:00
Jeff Harris d08ab2f0e7
Adds game main loop (#49)
* Adds game main loop, 2d rendering in game mode
2021-04-21 12:25:19 +12:00
Jeff Harris a76d5c7875 Fix windows artifact paths 2021-04-14 10:46:15 +12:00
Jeff Harris 707d1ee0b5 Fix windows workflow artifact path 2021-04-14 10:13:16 +12:00
Jeff Harris 5f8f20cda3
Workflow #2 (#48)
* Workflow changes #2
2021-04-14 09:46:31 +12:00
Jeff Harris e13d327f7c workflow: tag release 11 2021-04-14 08:30:50 +12:00
Jeff Harris 1e2e9751a7 workflow: tag release 10 2021-04-14 08:26:14 +12:00
Jeff Harris b435e49f2b workflow: tag release 9 2021-04-14 08:21:00 +12:00
Jeff Harris 971bd31e4e workflow: tag release 8 2021-04-14 06:56:01 +12:00
Jeff Harris 4d8ed45c67 workflow: tag release 7 2021-04-14 06:54:37 +12:00
Jeff Harris 88d31399bc workflow: tag release 6 2021-04-14 06:39:07 +12:00
Jeff Harris eaca67a0c5 workflow: tag release 5 2021-04-14 06:36:27 +12:00
Jeff Harris fa9313c39b workflow: tag release 4 2021-04-14 06:35:20 +12:00
Jeff Harris 0c9e0124f8 workflow: tag release 3 2021-04-14 06:23:46 +12:00
Jeff Harris c921170883 workflow: tag release 2 2021-04-14 06:15:01 +12:00
Jeff Harris 66ced04915 workflow: tag release 2021-04-14 06:11:35 +12:00
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 4753c28593 Adds github workflows to test builds using CMake.
Builds 32bit and 64bit windows binaries.
Builds 64bit binaries with both clang and gcc on linux.
Builds 64bit macos binaries.
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 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