Commit Graph

45 Commits

Author SHA1 Message Date
duarteapcoelho 2a786b9c7e Improve build system, add model and icon sources 2022-11-11 22:03:24 +00:00
duarteapcoelho 7c2a6c8341 Clean project structure
Moved resources to a new resources directory and moved headers to src/
2022-11-11 17:23:15 +00:00
duarteapcoelho cca9791e12 Draw all cones 2022-11-11 15:27:13 +00:00
duarteapcoelho be144d15d7 Add better icons 2022-11-11 13:47:50 +00:00
duarteapcoelho 00b0e62361 Adjust car movement, show FPS and car speed. 2022-11-08 18:56:46 +00:00
duarteapcoelho 73ca65149d Add two-player multiplayer over the 3-pin cable 2022-09-27 17:38:37 +01:00
duarteapcoelho 7b484c0255 Rename add-in from "test" to "racing" 2022-09-19 10:30:50 +01:00
duarteapcoelho 505b6c5068 Make menu act like pausing 2022-09-13 17:10:42 +01:00
duarteapcoelho 14f4ba8c9b Decrease track tolerance to 1.0 2022-09-12 22:39:37 +01:00
duarteapcoelho 9862fefced Add wheel friction when inside the track 2022-09-11 11:49:17 +01:00
duarteapcoelho cf62bb7f87 Use templates for vectors 2022-09-11 11:39:40 +01:00
duarteapcoelho 795db01fd7 Move car and track code to classes 2022-09-10 22:54:44 +01:00
duarteapcoelho 92c2c444ab Add friction outside the track 2022-09-10 19:00:35 +01:00
duarteapcoelho 537b46e65c Rename "dot3" to "dot" and move to vector.h 2022-09-10 18:58:10 +01:00
duarteapcoelho 001deefdbb Optimize rasterization 2022-09-09 00:25:49 +01:00
duarteapcoelho 99483cab91 Remove memory allocation when drawing triangles 2022-09-09 00:25:49 +01:00
duarteapcoelho b8fb21ec7a Add sun 2022-09-09 00:25:49 +01:00
duarteapcoelho c0b408d106 Optimize clearing the screen 2022-09-09 00:25:49 +01:00
duarteapcoelho 2133511e1e Smooth camera movement 2022-09-09 00:25:49 +01:00
duarteapcoelho 048b6729e6 Add cone LOD and reduce number of cones 2022-09-09 00:25:49 +01:00
duarteapcoelho edffe33cd4 Add floor 2022-09-09 00:25:49 +01:00
duarteapcoelho fa84ccda8e Fix precision error in fp_sin 2022-09-09 00:25:49 +01:00
duarteapcoelho 8c2d4124e0 Better car model 2022-09-09 00:25:49 +01:00
duarteapcoelho 91afd62a9c Change field of view according to speed 2022-09-09 00:25:49 +01:00
duarteapcoelho 6904a54d5e Optimize clipping 2022-09-09 00:25:49 +01:00
duarteapcoelho c8a99400f2 Optimize clipping 2022-09-09 00:25:49 +01:00
duarteapcoelho 53d31af0c2 Fix bug when drawing above the screen 2022-09-09 00:25:49 +01:00
duarteapcoelho 270f57c707 Add cones 2022-09-09 00:25:49 +01:00
duarteapcoelho d8bd4e1ec0 Better track 2022-09-09 00:25:49 +01:00
duarteapcoelho 5396fc87c6 Optimize fixed point math 2022-09-09 00:25:49 +01:00
duarteapcoelho 4cd1f0c28c Inline operators 2022-09-09 00:25:49 +01:00
duarteapcoelho 44ea52dfd4 Fix track generation 2022-09-09 00:25:49 +01:00
duarteapcoelho b84378b509 Rendering optimization 2022-09-09 00:25:49 +01:00
duarteapcoelho f6cacf0f86 Optmize clipping 2022-09-09 00:25:49 +01:00
duarteapcoelho 27dde4bc4b Add directional shading and inline functions 2022-09-09 00:25:38 +01:00
duarteapcoelho 6754fdf9a3 Clean 2022-08-22 22:34:05 +01:00
duarteapcoelho faf1bb3657 Fix memory leak when drawing text with SDL 2022-08-22 22:33:25 +01:00
duarteapcoelho 59742c0343 Use scanline algorithm for rasterization 2022-08-22 22:32:54 +01:00
duarteapcoelho 2d687fadf0 Small optimizations 2022-08-21 22:11:27 +01:00
duarteapcoelho 040c4ae81c Better car movement, optimizations and clipping 2022-08-20 00:04:14 +01:00
duarteapcoelho e1e4f77685 Add circle track and other changes 2022-08-20 00:04:14 +01:00
duarteapcoelho 88086aaeea
Create README.md 2022-08-17 12:53:55 +01:00
duarteapcoelho f65ff47413 Fix Makefile not creating build directory 2022-08-17 12:22:27 +01:00
duarteapcoelho 0b296266d7 Add gitignore 2022-08-17 12:21:18 +01:00
duarteapcoelho 3c065e2359 First commit 2022-08-17 12:19:52 +01:00