Nico de Poel
f4017d5f56
Modified triangle rendering code so that it finally works on real hardware.
Not sure why the original method doesn't work, probably some weird limitation on the memory/GTE register subsystems.
This will get rewritten anyway so it doesn't matter much now.
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.
This also fixes the text overlay, which now renders on top of the 3D content.
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:
- Init time system first, because it no longer depends on video mode.
- Made real time updates less frequent, so it has less impact on performance. Still more than accurate enough.
3 years ago
Nico de Poel
a80c6d490b
First implementation of interlaced mode and switching display modes by pressing Select.
Still a bit buggy, not sure what I'm doing wrong. Will have to revisit this after performance is improved.
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.
Also includes provisioning for switching between progressive and interlaced modes.
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