27 Commits (0e1bb7a5bff4fdd7b82ddc206c73720f61e32209)
 

Author SHA1 Message Date
Nico de Poel 0e1bb7a5bf Reworked PS1BSP format to use dentry-style header info 3 years ago
Nico de Poel c5783982e1 Added a more aggressive inlining macro. Not sure if it makes any difference now, but it's nice to have the option. 3 years ago
Nico de Poel dfa6ec2f85 Split face drawing off into a separate function, and made triangle fan and triangle strip available again as alternative options, for comparison. 3 years ago
Nico de Poel d3efa8e590 Keep track of and display total polycount 3 years ago
Nico de Poel 75ae399d38 Implemented quad strip topology for rendering faces, which is actually a good bit simpler than triangle strips. 3 years ago
Nico de Poel 7606d89998 Implemented triangle strip topology for drawing faces 3 years ago
Nico de Poel 3167f1474e Faces can now carry their own per-vertex lighting data, instead of sharing all vertex data with adjacent faces. 3 years ago
Nico de Poel d7a4957452 Re-enabled bounds check for primitive buffer. Fixes crashing on larger maps. 3 years ago
Nico de Poel 08008af2a0 Implemented rudimentary baked lighting through vertex colors and gouraud shading. 3 years ago
Nico de Poel eb05cec59c Adjusted display values slightly to better match aspect between NTSC and PAL, and for better vertical centering in PAL. 3 years ago
Nico de Poel f8a4d171a3 Faces now have a vertex index list, which is more space-efficient and allows easy rewrites of polygon topology. 3 years ago
Nico de Poel 1336d0b2b5 Reset background and dither flags when switching video modes. Fixes flickering background. 3 years ago
Nico de Poel 79f1e52d1e Rewrote scratchpad function to work more as I envisioned it: 3 years ago
Nico de Poel a6e9aa1b21 First simple test with scratch memory, just to verify that it works. 3 years ago
Nico de Poel a68b2c370f Set up some helper functions for memory management, including scratchpad memory. Moved the primitive buffer here too. 3 years ago
Nico de Poel f4017d5f56 Modified triangle rendering code so that it finally works on real hardware. 3 years ago
Nico de Poel 780abe0d84 Fixes to the time system to make it work on real hardware, and prevent potential crash from division by zero. 3 years ago
Nico de Poel be9719ce03 Made a few changes to the ordering of the display code, which fixes execution on real hardware. 3 years ago
Nico de Poel 5709d4973c Adapted Select button input to switch between NTSC and PAL, which is a bit more useful at the moment. 3 years ago
Nico de Poel edd851f9e3 Tweaks to time system: 3 years ago
Nico de Poel a80c6d490b First implementation of interlaced mode and switching display modes by pressing Select. 3 years ago
Nico de Poel adff38b978 Expanded display initialization code with proper handling of both NTSC and PAL aspect ratios, and allowing PAL to render at higher resolution. 3 years ago
Nico de Poel 90d18c3876 Added debug and release build configurations 3 years ago
Nico de Poel 8b865cdb8a Implemented framerate-independent movement speed 3 years ago
Nico de Poel a94ec5dc33 Implemented real-time clock, allowing for precise timekeeping and framerate-independent game updates. 3 years ago
Nico de Poel 5a3b6aac46 First implementation of world loading and rendering. No BSP logic or optimizations in here yet, but something is being displayed! 3 years ago
Nico de Poel ea44f4e99c First import, with bits of code taken from the MDL viewer prototype, split up into organized units. 3 years ago