Commit Graph

55 Commits

Author SHA1 Message Date
bgk 5ffed369f2 GTK : Reenabled the autofire menu.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@696 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 21:06:11 +00:00
bgk 1c55e89f7c GTK : Reenabled joypad switching.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@694 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 20:26:18 +00:00
bgk db486bdb67 SDL: Fixed default volume. Thanks to KunaiTeam for the report.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@687 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 08:23:43 +00:00
bgk 51f5510e0d GTK :
- Removed the GDK input system
- Enabled SDL input
- SDL Keymaps are now loaded from the config files
- The keymap edit dialog is currently disabled

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@684 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-02 19:34:56 +00:00
bgk caefe3bec2 SDL Input :
- Added the ability to change the default keymap
- A bit of cleanup

GTK : The SDL Input is working great. Though the config dialog is not updated yet, so it is disabled by default.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@683 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-02 17:15:30 +00:00
bgk a5a44bf925 SDL : More stderr > stdout thanks to tttttttttanaka
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@682 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-02 09:40:25 +00:00
bgk dcd414f717 SDL : Output information messages to stdout instead of stderr
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@680 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-02 06:24:23 +00:00
bgk 7e8401885a SDL :
- Renamed the configuration file to vbam.cfg to avoid conflict with the original VBA (thanks to tttttttttanaka for the patch)
- Changed the window title to VBA-M


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@679 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-02 06:16:34 +00:00
bgk 5cf7052860 SDL Input : Changed the keymap codes to 32 bits values because the GDK keyboard syms are 16bit (as opposed to 8bits for SDL) + we still have to store the device number. Configuration changes are needed.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@678 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-01 19:51:07 +00:00
bgk f67af04ed7 SDL Input : Added a function to compute the keymap value from a SDL event. Will be used in the config dialog.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@673 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-31 17:21:27 +00:00
bgk b1d136df32 SDL Input: Now with a clean C module interface. Added a bit of doc to the header.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@672 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-31 16:38:41 +00:00
bgk 60ae294e77 Bad copy/paste
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@671 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-30 19:36:06 +00:00
bgk e1f05955e9 SDL input: Replaced all the interface global vars by accessors
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@670 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-30 19:29:38 +00:00
bgk 719d63deae SDL:
Started factoring out the input code to a new file. Only moved code at this point. The ultimate goal is to reuse this code for the GTK port.


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@669 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-30 17:50:51 +00:00
bgk 79784d29a1 GTK:
- Removed the PortAudio sound driver because it was quite unstable on some systems
- Use the SDL sound driver
- Fixed the SDL include path


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@663 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-29 19:45:17 +00:00
bgk ac064ec715 Completely remove systemSoundOn
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@662 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-29 19:04:05 +00:00
bgk c6ac0ea96c SDL:
- The expression parser/lexer is SDL specific, moved it to the sdl folder
- Readded the flex/bison source files from VBA's CVS
- Rebuilt the parser/lexer from source


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@660 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-29 10:23:51 +00:00
bgk 44e88ceeba SDL :
- Cleaned up initialization and volume management
- Added shortcuts to change the volume at runtime
Thanks to chrono for the patch


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@650 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 16:35:21 +00:00
bgk 219b2ccbf0 SDL :
- The filter is now stored as a decimal value in the config file instead of an hexadecimal value as it was undocumented and confused users. Thanks to fhorse for the patch.
- Removed an unused variable


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@649 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 15:48:36 +00:00
bgk 43af63ad54 SDL : Use the new audio API. Fixes build. Thanks to slacker for the patch.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@648 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 15:17:41 +00:00
xkiv 5925dc4cc8 SDL build/configuration patches (martinultima, chrono):
http://vba-m.ngemu.com/forum/gbc-cheats-gameshark-compile-fixes-t-193.html



git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@593 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-03 21:02:37 +00:00
mudlord 0379caeb26 Since the Windows port of GNU patch was being a bitch, did LIRC support again. Bleh!
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@586 a31d4220-a93d-0410-bf67-fe4944624d44
2008-07-11 01:49:36 +00:00
mudlord 11f98503b3 ADDED LIRC support in SDL build
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@585 a31d4220-a93d-0410-bf67-fe4944624d44
2008-07-10 23:41:29 +00:00
xkiv d2bd65709b (new/changed functionality is mostly described in the new file doc/ReadMe.SDL.txt)
Reworked rewinds
More schemes for save/load keybindings
Savestate backups
Per-gamepad autofire (binds to a button on the real pad/keyboard)
Allow adding cheat codes from commandline
Allow adding IPS patch files from commandline
Fix bug in configuration for pad 4
Configurable default scaling of window size for openGL (when filter=0)
Assorted code cleanups (using DEFINEs instead of literals, factored-out chunks of code
from the big switch to functions, ...)
New switches for muting sound (CTRL+S), toggling cheats (CTRL-E)
Added timestamp to console messages
All messages go to console, even if they go to screen
Some messages no longer go to screen


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@506 a31d4220-a93d-0410-bf67-fe4944624d44
2008-05-08 23:25:39 +00:00
xkiv 8d47c2aae4 Added new options:
Joy#_AutoA, Joy#_AutoB, openGLscale, saveKeysSwitch
Fixed maximum value for rewindTimer.


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@505 a31d4220-a93d-0410-bf67-fe4944624d44
2008-05-08 23:16:12 +00:00
bgk c5151b2054 Separated the SDL sound code from the SDL port to make it reusable by the other ports.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@480 a31d4220-a93d-0410-bf67-fe4944624d44
2008-04-20 07:26:11 +00:00
squall_leonhart69r d3f732aed3 changed paths to reflect new folder structure.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@442 a31d4220-a93d-0410-bf67-fe4944624d44
2008-03-03 05:33:00 +00:00
Nach 74ffd4d661 Property set for new files.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@410 a31d4220-a93d-0410-bf67-fe4944624d44
2008-02-28 00:04:28 +00:00
Nach 3c1c4aad4f You better believe it, it's a whitespace trim, and line conversions, eol settings comming up.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@409 a31d4220-a93d-0410-bf67-fe4944624d44
2008-02-27 23:58:25 +00:00
mudlord 212df68be4 SDL Windows updates:
- Fixed build on windows
- Clear the screen before each frame when in opengl mode to remove artifacts on Windows
- Don't use the asm version of the Sai2x filters anymore, since it somehow doesn't link on Windows

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@347 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-30 22:37:22 +00:00
spacy51 1c5ce38d83 CORRECTED another typo
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@340 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-25 18:40:34 +00:00
mudlord 80f9955583 Fixed SVN properties on rules files
Added missing files

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@337 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-24 11:46:19 +00:00
mudlord edf6f13bc4 Major Linux updates by bgKu:
- Added a basic manpage
- Added a default Linux configuration file
- Applied debian patch 01_use_dot_dir. This makes vba save the save states and battery files to $HOME/.vbam/. It is useful because the rom path is very likely to be read only. These paths can still be overridden using the config file. The configuration file and the vba-over.ini file can also be loaded from that .vbam path. Needs some Windows testing.
- Text.cpp/h getopt.c/h are sdl specific so moved them to the sdl folder.
- Removed the ability to disable the ASM version of the Sai2x scalers at runtime (to make them behave like the HQ filters)
- Fix the command line parsing bug I introduced in rev 191 (thanks to MNK)
- Gave to the interframe blending filters the same interface as fullscreen filters


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@334 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-24 05:33:18 +00:00
spacy51 41d3dee8a2 REMOVED remaining references to non-IFB motion blur in SDL port.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@329 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-20 21:15:52 +00:00
spacy51 a56a812c02 Resource file cleanup. Remove reference to non-existent InterlaceIB function. Removed non-IFB MotionBlur.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@325 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-20 20:15:10 +00:00
mudlord 5b243daf86 Numerous Linux updates:
- OpenGL : fixed texture size to be exclusively a power of 2
- OpenGL : Clear the screen on init
- OpenGL : Set fullscreen resolution to the resolution of the desktop
- Changed the executable name to vbam to avoid conflict with the original VBA
- Added a basic install target to the makefile
- Fixed .gz archives loading when using fex_mini (thanks to tttttttttanaka)
- Added debian packaging informations

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@309 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-17 04:51:34 +00:00
mudlord 41993af424 Added support for compiling SDL port under MacOSX
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@294 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-13 03:17:35 +00:00
mudlord 7064ccdeb3 - Fixed build
- Use the current desktop color depth instead of 16 BPP
- Fixed the OpenGL renderer when in 16 BPP color mode
- Changed the default filter to Stretch2x
- Fixed interframe blending
- A few optimizations
- We need fex.h and fex_mini.cpp for the SDL version, and using files from dependancies is not a option

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@289 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-11 21:46:41 +00:00
mudlord d7dc5effea SDL-OpenGL fixes:
- Filters > 2x now work with the OpenGL renderer
- Window resizing with the OpenGL renderer is fixed
- Fixed hq3x and hq4x when in 32bpp mode + C version of the filters
- Disabled ASM CPU emulation core since it doesn't build here

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@281 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-10 08:59:37 +00:00
mudlord 602396892b Numerous SDL updates:
[*] Made stretchers and filters use a common interface
[+] Filters can now be changed at runtime using CTRL+G
[*] Replaced Simple?x filters by the ASM optimized stretchers
[-] Removed YUV output
[-] Finished removing the remove-intro feature
[!] Fixed a bit the OpenGL code. Still a lot more to do.
[*] Code cleanup

Thanks to bgKu for contributing and Linux testing of this.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@269 a31d4220-a93d-0410-bf67-fe4944624d44
2008-01-07 09:09:28 +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
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
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
mudlord 535e114079 Fixed sound thread issues in Subversion
Updated SDL port so that it now compiles with fex_mini.cpp
Added custom GLSL shader support to Win32 OGL renderer (requires GLEW)
Updated code in OpenGL renderer to be more tidy

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@191 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-13 03:45:51 +00:00
mudlord f628d9051f Changed SDL debugger a little
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@165 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-06 02:48:03 +00:00
Nach 1b43a20316 HQ3x and 4x now also work in SDL on Windows.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@137 a31d4220-a93d-0410-bf67-fe4944624d44
2007-12-02 00:05:18 +00:00
mudlord fea5ea35b1 Added very prelim. support for OpenGL in SDL port
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@114 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-27 13:13:25 +00:00
Nach 22240265d9 Fixed up the simple filters. Since filters over 2x are now first class citizens, Simple2x and 3x added. Filtering stuff cleaned up slightly.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@108 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-20 22:25:09 +00:00
Nach 511b8c8c60 HQXx now all working nicely in SDL. Can use assembly optimized in SDL port if compiled with USEASM=yes.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@107 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-20 16:03:49 +00:00
Nach e7c5abfc0b Fixed HQ3x and 16 bit under SDL.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@106 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-20 15:36:20 +00:00