Bart Trzynadlowski
09f9bd81fd
Fixed left/right stereo channels -- they were reversed by default.
2012-02-09 17:12:13 +00:00
Bart Trzynadlowski
c5d0cb0d97
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
Bart Trzynadlowski
6814ef1ed8
Added preliminary specular lighting to shaders. The "no spotlight" shader has not yet been updated.
2012-02-06 02:54:43 +00:00
Bart Trzynadlowski
9fc0d7b3cc
Updated some comments regarding the VF3 ROM patches. It seems many of them are no longer necessary. The single necessary patch affects timing (note how the warning screen stays up longer when it is removed). This needs to be investigated -- perhaps it can lead to a timing fix for vf3, vs2, and fvipers2?
2012-02-01 18:08:13 +00:00
Bart Trzynadlowski
0fcb9686f9
Documented the tile generator.
2012-01-27 22:27:38 +00:00
Bart Trzynadlowski
8a8609f383
- Added specular highlight support to the 3D engine. A shininess parameter is now be passed to the shaders. Does not work correctly and I will save the shaders themselves for a future commit.
...
- Added support for layer priorities. Highly unoptimal! This absolutely needs to be polished up before any release (and properly documented). For now, priorities in the popular games seem to be fixed but not all possible priority settings have been figured out yet.
2012-01-27 05:52:59 +00:00
Bart Trzynadlowski
c38ec7d5af
Removed unused dirty rectangle code.
2012-01-26 02:57:02 +00:00
Bart Trzynadlowski
e00a372cef
Removed unused dirty rectangle code.
2012-01-26 02:49:07 +00:00
Bart Trzynadlowski
b7980aa562
Removed unused dirty rectangle code.
2012-01-26 02:48:16 +00:00
Bart Trzynadlowski
3315fb463b
Small correction to lighting model in shaders. Light intensity is no longer clipped.
2012-01-22 01:05:59 +00:00
Bart Trzynadlowski
b57ba51e44
Removed unused (and non-functional) 'stack machine' scene graph traversal.
2012-01-18 08:12:23 +00:00
Bart Trzynadlowski
611ef43ba5
Now compiles with MinGW. Among other things, the use of __uuidof() was removed.
2012-01-18 04:59:42 +00:00
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
b7242d27e8
Added CThread::Sleep && CThread::GetTicks methods
2012-01-16 22:07:17 +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
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
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
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
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
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
d00b03f65b
Force feedback no longer available as an option on non-Windows builds.
2011-09-22 07:24:15 +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
Nik Henson
b87f24cdf2
Removed DirectInputEffectsGain force feedback configuration parameter as it's not that useful as it's easier to adjust effects individually
2011-09-21 22:28:13 +00:00
Nik Henson
0528a4f0c6
Changes to input system:
...
- altered PrintSettings to output all settings for attached controls, even if no different to defaults
- added option on calibration screen to detect an axis simply by moving the axis
2011-09-21 22:15:16 +00:00
Nik Henson
c0dc0b83b6
Changes to DirectInputSystem:
...
- corrected axis identification code as was not enumerating axes properly in all cases
- added fallback which just adds all axes if there is any hint of an irregularity whilst enumerating axes
2011-09-21 22:08:36 +00:00
Bart Trzynadlowski
24f46e9f86
Updated UNIX Makefile, fixed some syntax errors.
2011-09-21 19:12:50 +00:00
Bart Trzynadlowski
ee471539c5
- Fixed newlines in logs.
...
- Set default PowerPC frequency to 50 MHz.
- Minor tweak to help text.
- More README.txt updates.
2011-09-19 03:56:15 +00:00
Nik Henson
c61c4d6ce1
Fixed mistake in previous commit!
2011-09-18 23:38:15 +00:00
Nik Henson
d80c7b97ad
Added missing memory regions for DSB CPUs
2011-09-18 23:35:22 +00:00