Commit Graph

431 Commits

Author SHA1 Message Date
mudlord b46e90b62c Added extra commenting to OGL renderer source
Made more steps to allow OGL renderer to be more modular

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@245 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-28 23:07:44 +00:00
spacy51 153d35246a Clear log whenever a new game is started.
Move log function definitions to the appropriate header file.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@244 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-27 15:40:21 +00:00
spacy51 3d7cd89633 Logging: New messages will not replace old messages anymore when window is opened
OpenAL: Corrected some comments

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@243 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-27 15:20:28 +00:00
spacy51 9b808813d4 FIXED: Shader-related crashes when uninitializing OpenGL renderer
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@242 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-27 14:57:15 +00:00
spacy51 5c29c440f3 FIXED: Creation of empty registry key
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@241 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-27 14:31:27 +00:00
spacy51 c663dde691 FIXED: No audio buffer low logging when not throttling
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@240 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-27 14:25:48 +00:00
spacy51 b42d881176 Removed "Automatic frame skipping" option, will now be activated with throttling
Throttling now uses (actually rapes) the Smooth60FPS functionality, so that throttling is no more skippy.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@239 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-26 16:09:21 +00:00
spacy51 cecabf15bc removed portable.cpp/h from the MSVC project file
added C version of HQ3x/4x filters to the MSVC project file
x64 version compiles now

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@238 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-25 20:11:50 +00:00
Nach 715a55bd16 Fixes and remove of unneeded.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@237 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-25 19:44:16 +00:00
spacy51 ac04734948 files were useful, after all
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@236 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-25 19:20:40 +00:00
spacy51 019fb2d546 removed useless files
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@235 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-25 18:49:01 +00:00
spacy51 e973142bae removed useless files
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@234 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-25 18:48:09 +00:00
spacy51 f08f489ff3 build system clean up
enable GBA logging for release versions (no measurable performance impact)
change "DEV_VERSION" to "GBA_LOGGING"

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@233 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-25 16:22:30 +00:00
spacy51 5661463dfd little redesign of the Directories dialog
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@232 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-25 15:43:13 +00:00
spacy51 674f9a424b added info about missing OpenGL files
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@231 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-25 15:22:32 +00:00
mudlord 9f97116e06 Removed unneeded code, GL_TRIANGLE_STRIP is more than enough.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@230 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-24 20:31:39 +00:00
mudlord 31e5d61273 Added sanity checks when killing shaders
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@229 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-24 20:13:17 +00:00
spacy51 41657bc9b4 removed HAS_FILE_EXTRACTOR and ASM switches since they were not used in the code anymore
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@228 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-23 21:21:21 +00:00
spacy51 848a8879e8 fixed compile errors with NO_OAL switch
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@227 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-23 21:18:21 +00:00
spacy51 077d2bcc9a grayed out D3D menu options when compiling with NO_D3D
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@226 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-23 21:15:34 +00:00
spacy51 4382e41696 added NO_OGL switch
simplified fall back when initializing render API failed

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@225 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-23 21:09:29 +00:00
spacy51 3821d13005 cleanup
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@224 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-23 21:07:48 +00:00
spacy51 d1d8adf051 added known preprocessor switches
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@223 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-23 20:51:19 +00:00
mudlord 6418ed33b0 Fixed up OpenGL code from last round
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@222 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-23 20:03:57 +00:00
mudlord b1fa777574 Spacy, we don't need GLEW anymore! ^_^
Rewrote vertex handling so that it is cleaner (switch() anyone?)

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@221 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-23 19:36:16 +00:00
spacy51 2175eeee91 fixed some compiler warnings
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@220 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-23 13:29:50 +00:00
spacy51 a52671188a fixed some x64 compiler errors/warnings
we still need a GLEW x64 lib

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@219 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-23 13:19:52 +00:00
squall_leonhart69r e6c96c5684 removed sgb/cgb border fix, now back to 1.8 behavior
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@218 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-20 10:39:10 +00:00
squall_leonhart69r a220f35e6f wrong folder... crap
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@217 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-20 10:30:33 +00:00
squall_leonhart69r 63edce4d40 removed SGB Border fix
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@216 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-20 10:27:14 +00:00
squall_leonhart69r c57f7462d3 Removed SGB Border fix
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@215 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-20 10:26:31 +00:00
spacy51 2289d47912 added support for video compression (no support for YUV color space)
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@214 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-17 17:42:56 +00:00
spacy51 547772d1f6 completely reworked AVI recording
compression will be re-added soon

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@213 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-16 19:45:25 +00:00
spacy51 180eab1396 correctly pause sound when resizing window
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@212 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-16 02:18:26 +00:00
spacy51 92f63b3f7f added buffer count selection to OpenAL config dialog. default is 5
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@211 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-16 01:12:49 +00:00
mudlord d796bebb0b Fixed crash when changing filters
Changed expected sampler in shaders to "OGL2Texture"

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@210 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-15 23:55:21 +00:00
mudlord 3e73213099 Removed unzip.cpp/h
Updated SDL port to use full FEX library as optional

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@209 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-15 23:29:10 +00:00
spacy51 7a87270133 pause sound while moving window
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@208 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-15 19:41:01 +00:00
spacy51 86320355b8 reduced buffer count to 5
added logging of empty buffer queue

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@207 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-15 19:40:05 +00:00
spacy51 dd3c201018 removed DirectSound useOldSync option (would wait with an evil while())
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@206 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-15 18:22:17 +00:00
spacy51 fc6989e710 disable some sound settings while recording sound
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@205 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-15 18:12:15 +00:00
spacy51 6017a61525 make sound & AVI recording independent from sound output
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@204 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-15 16:03:52 +00:00
spacy51 f05d2b145e make sound & AVI recording independent from sound output
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@203 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-15 15:55:00 +00:00
spacy51 6ba79876a2 improved copyImage function
split up copyImage to cpyImg16 and cpyImg32
unified D3D & DDraw copyImage behavior
no pitch hacks for 16 bit necessary anymore

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@202 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-15 14:47:24 +00:00
spacy51 f8ed7b0b9a remove assembler version of copyImage because it is not faster as C version
declare copyImage as inline
move code from display.cpp to Display.h
delete display.cpp

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@201 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-15 13:28:09 +00:00
spacy51 9e41f42420 improve debug build speed by 20% when not using cheats
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@200 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-15 11:21:33 +00:00
spacy51 d6e7ebe472 disable cheats by default
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@199 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-15 11:20:38 +00:00
spacy51 f178f7b656 added GBAcpu.h to file list
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@198 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-15 11:20:16 +00:00
spacy51 82183f019d fix deprecated warning in VC++
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@197 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-15 11:19:31 +00:00
mudlord 4b915aac56 Fixed SDL sound thread/shutdown issue for good now
Updated makefile

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@196 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-14 22:38:32 +00:00