Supermodel/Src/Model3
Nik Henson 183dca563d Committing various small updates that have been hanging around in my source tree for a while now:
- Added 'crosshairs' command line and config option.
- Added 'vsync' command line and config option (so far only tested on NVidia cards on Windows 7 - other graphics drivers, O/Ss or driver settings may simply chose to ignore this).
- Added fullscreen toggle within game using Alt+Enter key combination.
- Added framework for lamp outputs and 'outputs' command line and config option.  So far only the lamps for driving games are hooked up in the emulator (others to be added later).
- Added an initial outputs implementation for Windows that sends MAMEHooker compatible messages (-outputs=win to enable)
- Fixed fps calculation in Main.cpp that was producing incorrect results and so giving the impression that frame throttling wasn't working properly when in fact it was.
- Fixed palette indexed colours as the index was always off by one, causing incorrect colours in various games, eg drivers' suits and flashing Start sign in Daytona 2.
- Altered caching of models so that models with palette indexed colours use the dynamic cache rather than the static one.  This is so that changes in palette indexed colours appear on screen, eg the flashing Start sign on the advanced course of Daytona 2 (although currently the START message itself is not visible due to other problems with texture decoding).
- Fixed small bug in TileGen.cpp which meant both palettes were being completely recomputed pretty much with every frame.  This was a significant performance hit, particularly as palette recomputation is currently being done in SyncSnapshots (it should be moved out of here at some point, although for now it's no big deal).
- Made sure all OpenGL objects and resources are deleted in Render2D/3D destructors, in particular the deleting of the VBO buffer in DestroyModelCache.
- Made sure that GLSL uniforms are always checked to see if they are bound before using them in order to stop unecessary (but harmless) GL errors.
- Altered the default texture sheet handling to use a single large GL texture holding multiple Model3 texture sheets rather than multiple GL textures as before (if required, the old behaviour can still be selected with the mulisheet fragment shader).  I believe this fixes the disappearing crosshairs/corrupt GL state problem which the multisheet fragment shader seemed to be triggering somehow.
- Fixed a bug in debugger which meant memory watches were not triggering properly
2012-07-15 21:04:46 +00:00
..
53C810.cpp - Changed save state error messages slightly. 2011-09-22 06:11:47 +00:00
53C810.h Updated copyright information and added headers to all remaining files except debugger. 2011-09-14 19:08:43 +00:00
53C810Disasm.cpp Updated copyright information and added headers to all remaining files except debugger. 2011-09-14 19:08:43 +00:00
93C46.cpp - Changed save state error messages slightly. 2011-09-22 06:11:47 +00:00
93C46.h Updated copyright information and added headers to all remaining files except debugger. 2011-09-14 19:08:43 +00:00
DriveBoard.cpp Committing various small updates that have been hanging around in my source tree for a while now: 2012-07-15 21:04:46 +00:00
DriveBoard.h Committing various small updates that have been hanging around in my source tree for a while now: 2012-07-15 21:04:46 +00:00
DSB.cpp - Getting/setting MPEG playback position also includes the end offset. Hopefully will fix save states from crashing when reloaded sometimes in DSB1 and DSB2 games. 2011-09-22 18:04:39 +00:00
DSB.h Added front/rear speaker balance (actually the master/slave SCSP balance). Balance setting is stored in CSoundBoardConfig and can be set on the command line (-balance) or config file (Balance). Valid range is 100 (front speaker volume doubled, rear muted) to -100. The default is 0, both sets at full volume. Balance is applied in the SCSP core before overall sound and music volume settings. 2012-02-09 07:58:07 +00:00
IRQ.cpp - Changed save state error messages slightly. 2011-09-22 06:11:47 +00:00
IRQ.h Updated copyright information and added headers to all remaining files except debugger. 2011-09-14 19:08:43 +00:00
Model3.cpp Committing various small updates that have been hanging around in my source tree for a while now: 2012-07-15 21:04:46 +00:00
Model3.h Committing various small updates that have been hanging around in my source tree for a while now: 2012-07-15 21:04:46 +00:00
MPC10x.cpp - Changed save state error messages slightly. 2011-09-22 06:11:47 +00:00
MPC10x.h Updated copyright information and added headers to all remaining files except debugger. 2011-09-14 19:08:43 +00:00
PCI.cpp Updated copyright information and added headers to all remaining files except debugger. 2011-09-14 19:08:43 +00:00
PCI.h Updated copyright information and added headers to all remaining files except debugger. 2011-09-14 19:08:43 +00:00
Real3D.cpp - Committing Nik's timing changes: the PowerPC's DEC and TBR now count at the correct rate and time is accurately maintained between calls to the emulator. A VBlank bit was identified in the Real3D status register space and is now timed. Unfortunately, there are still some problems and not all games are perfect, but FV2, VS2, and others are working much better or perfectly. 2012-07-12 06:13:24 +00:00
Real3D.h - Committing Nik's timing changes: the PowerPC's DEC and TBR now count at the correct rate and time is accurately maintained between calls to the emulator. A VBlank bit was identified in the Real3D status register space and is now timed. Unfortunately, there are still some problems and not all games are perfect, but FV2, VS2, and others are working much better or perfectly. 2012-07-12 06:13:24 +00:00
RTC72421.cpp Updated copyright information and added headers to all remaining files except debugger. 2011-09-14 19:08:43 +00:00
RTC72421.h Updated copyright information and added headers to all remaining files except debugger. 2011-09-14 19:08:43 +00:00
SoundBoard.cpp Fixed a bug w/ Read16() -- was not casting to a pointer properly, caused Scud Race to crash. 2011-12-26 07:15:32 +00:00
SoundBoard.h Default SCSP balance set to 0. Was erroneously set at +50%. 2012-02-14 09:13:36 +00:00
TileGen.cpp Committing various small updates that have been hanging around in my source tree for a while now: 2012-07-15 21:04:46 +00:00
TileGen.h - Finished cleaning up and optimizing the 2D renderer. 2012-02-20 03:45:48 +00:00