Commit graph

222 commits

Author SHA1 Message Date
Nik Henson d1d5175548 New multi-threaded rendering changes that parallelise graphics rendering and PPC execution in order to increase performance on multi-core machines.
New gpuMultiThreaded config option to enable/disable multi-threaded rendering (enabled by default, disabling it reverts to previous behaviour).
Other rendering optimisations:
 - texture uploads now only affect appropriate region in the texture sheet, rather than uploading the whole sheet each time
 - performance of clearing the model caches has been improved
New Alt+O key input added to toggle outputting of frame timings for debugging purposes.
2012-01-16 23:21:14 +00:00
Nik Henson 0835e38b94 Removed unecessary SDL include 2012-01-16 23:04:37 +00:00
Nik Henson a1a993917a Added missing shader source files into VS2008 project (not needed for build, just for reference) 2012-01-16 22:15:59 +00:00
Nik Henson b7242d27e8 Added CThread::Sleep && CThread::GetTicks methods 2012-01-16 22:07:17 +00:00
Nik Henson 67036014f8 Fixed Unix Makefile to link okay on Ubuntu 11.10 (archive libraries needed to be referenced at end of linker options) 2012-01-02 17:37:34 +00:00
Bart Trzynadlowski 2ece814f43 Assigned new version number: 0.3a-WIP. 2011-12-27 19:16:22 +00:00
Bart Trzynadlowski 532eafef55 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
Bart Trzynadlowski bdf11c765f Preliminary backface culling fix. Matrices which effectively change the polygon winding without changing the Z component of the polygon normal are tested for when appending items to the display list. If necessary, the polygon winding is changed on the fly to ensure visibility is correct. This code desperately needs to be optimized. Note: Not yet thoroughly tested. 2011-12-26 06:10:55 +00:00
Bart Trzynadlowski a71af94edb Fixed ROM banking -- appears to fix the sounds in Daytona 2 PE and VON2 but otherwise has not been extensively tested. The high 8MB of the 68K address is treated as a single window into the 16MB sample ROM, and can point either to the low or high 8MB bank. 2011-12-23 21:06:45 +00:00
Bart Trzynadlowski 4c3d6e1abf Fixed a MAGIC_NUMBER comment typo. 2011-12-23 21:03:24 +00:00
Nik Henson 885d946458 Small bug fix 2011-12-23 19:34:50 +00:00
Nik Henson 68554108ac Small tweak to improve startup time 2011-12-23 12:39:34 +00:00
Nik Henson b9375bb09b Optimisations to improve performance when running with debugger. Now runs at about 2/3 speed of full speed of emulator, rather than 1/3 like before. 2011-12-23 12:01:31 +00:00
Nik Henson 2e337459cd Added missing DirectX include and library paths to project 2011-11-06 12:11:25 +00:00
Nik Henson 622046828c Added quotes around paths in post-build events to allow for spaces in directory names 2011-11-06 12:10:57 +00:00
Nik Henson a6b31b72c1 Fixed incorrect ZLib paths 2011-11-05 21:08:49 +00:00
Nik Henson 8f0e0edbb2 Updated comment in DIR.txt (again!) 2011-11-05 20:59:38 +00:00
Nik Henson 4f7c0381ba Updated comment in DIR.txt. 2011-11-05 20:58:31 +00:00
Nik Henson 4c26932322 Removed sub-directories of Libraries as are created when user unzips source archives, so might be confusing. 2011-11-05 20:55:56 +00:00
Nik Henson 1451f8c81e Added DIR.txt to explain purpose of Libraries directories 2011-11-05 20:47:20 +00:00
Nik Henson fc27908238 Added place holder directories for third-party libraries (eg ZLib and SDL) 2011-11-05 20:45:45 +00:00
Nik Henson 663a7f919c Changes to Supermodel VS2008 solution to ensure it will now build completely from scratch:
- added projects to build third-party libraries ZLib and SDL (expects source code to be present in Libraries directory)
 - moved Musashi68K into its own directory
 - tidied up some config options
2011-11-05 20:35:56 +00:00
Nik Henson dfa77e9207 Added support for joystick sliders to input system.
Added extra debugging output to calibration input detection routine (activated by pressing Shift).
2011-11-01 23:24:37 +00:00
Nik Henson e431b79f57 Fixed small bug which meant wasn't correctly clearing SCSP structures on initialisation. 2011-11-01 23:16:36 +00:00
Nik Henson a18c26025f Added separate Musashi68K project that compiles and runs m68kmake to build required Musashi68K file.
Updated solution so that with above change it will now build Supermodel completely from scratch.
2011-11-01 23:13:26 +00:00
Nik Henson e6fd2e2240 Added DirectInputConstForceLeftMax and DirectInputConstForceRightMax options to allow different force feedback strengths in each direction. DirectInputConstForceMax still works as before but these new options will override it for the given direction if they are specified. 2011-10-02 20:53:12 +00:00
Bart Trzynadlowski 46211fdcbd Fixed a comment in default ini file. 2011-09-30 16:48:12 +00:00
Nik Henson 0c4f93897f Force feedback fixes in DirectInputSystem.cpp:
- Fixed bug which meant right constant force was not being capped to DI_EFFECTS_MAX
- Made sure all values are being clamped to sensible ranges
2011-09-25 22:46:58 +00:00
Bart Trzynadlowski 06594a5170 Minor document update (for v0.2a -- the last one this time ;)) 2011-09-24 22:45:40 +00:00
Bart Trzynadlowski 63a791df76 Documentation for v0.2a completed. 2011-09-24 21:35:23 +00:00
Bart Trzynadlowski d2b381ce8b - Documentation updates.
- Added fflush() to config dialog output where it was missing.
2011-09-24 20:54:47 +00:00
Bart Trzynadlowski 7f97346fc9 - Tweaked some error messages and comments. Hopefully, this is the last update for v0.2a's code.
- Documentation updates.
2011-09-24 01:49:48 +00:00
Nik Henson b6923aeb9b Added Visual Studio 2008 Project/Solution files as an alternative way to build Supermodel on Windows. 2011-09-23 22:25:36 +00:00
Bart Trzynadlowski 83067f076f - Only player 1 crosshair is shown by default now.
- Tweaked Makefiles a bit.
- More documentation updates.
- Changed version string to 0.2a in preparation for the final release :)
2011-09-23 07:18:40 +00:00
Bart Trzynadlowski 33f35effaf - Tweaked text in input configuration dialog.
- Changed version string to 0.2a-RC3 because RC2 build was sent out to testers earlier.
2011-09-22 18:15:29 +00:00
Bart Trzynadlowski 4527014e75 - 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
Bart Trzynadlowski a1346b57f5 - Changed spelling of some messages in drive board code.
- Added an extra blank line after info display in CModel3.
- Cleaned up comments in Main.cpp.
- More document updates. Fixed '-no-music'->'-no-dsb', 'EmulateMusic'->'EmulateDSB'.
2011-09-22 17:28:49 +00:00
Bart Trzynadlowski 2a314041ad Commented out verbose/debug output in drive board code for release. 2011-09-22 09:02:50 +00:00
Bart Trzynadlowski 08fe5bb91b More to-do notes for README.txt. 2011-09-22 08:20:04 +00:00
Bart Trzynadlowski 813675de38 More updates to README.txt. Almost done. 2011-09-22 08:12:22 +00:00
Bart Trzynadlowski d00b03f65b Force feedback no longer available as an option on non-Windows builds. 2011-09-22 07:24:15 +00:00
Bart Trzynadlowski f69bdb91b8 - Updates to UNIX and OSX Makefiles. 2011-09-22 07:14:23 +00:00
Bart Trzynadlowski 46bc52bb12 - Changed save state error messages slightly.
- Wrapped rows that exceed 80 columns in Supermodel.ini.
- Added some member and function comments to a few header files. 
- Changed version string to 0.2a-RC2 in anticipation of sending another release candidate build to testers.
- Added GAME_INPUT_RALLY flag to dirtdvlsa, eca, and ecax.
- Configuration dialog no longer refers to Sega Rally 2 and Dirt Devils; instead, "Miscellaneous Driving Game Buttons"
- More additions to README.txt.
2011-09-22 06:11:47 +00:00
Nik Henson 206ef1aca4 Changes to get debugger classes to compile under Linux 2011-09-21 23:49:55 +00:00
Nik Henson 232da52dd0 Changes to get debugger classes to compile under Linux 2011-09-21 23:48:33 +00:00
Nik Henson eaa3bbf8b7 Changes to get debugger classes to compile under Linux 2011-09-21 23:47:11 +00:00
Nik Henson 773c2ec9ad Fix to get InputSystem.cpp to compile under Linux again after updates today 2011-09-21 23:45:49 +00:00
Nik Henson 55e6a843bb Added copyright headers to all debugger files and replaced C standard library headers with c++ versions 2011-09-21 22:53:41 +00:00
Nik Henson cb2b8f9235 Tweaked header comment! 2011-09-21 22:32:16 +00:00
Nik Henson dba953d1a0 Added copyright header to file 2011-09-21 22:31:27 +00:00