Commit Graph

896 Commits

Author SHA1 Message Date
bgk 711d8e9f97 GTK : Fix bad direction detection for analog axes.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@691 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 20:02:03 +00:00
bgk e7ac06f470 GTK : The joypad config dialog now works for Joystick events too. Joystick support is now almost complete.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@690 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 19:53:28 +00:00
bgk bbc6ca50a8 GTK : The joypad config dialog now works again for keyboards events.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@689 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 18:57:21 +00:00
bgk 3e4b6b354e GTK :
- The Joypad config dialog can now display the key associations, but it's read only for now.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@688 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 09:31:14 +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 695c914d39 CMake : Removed the mtune=native from the CFLAGS to make packager's lifes easier.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@686 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 07:39:13 +00:00
bgk 65eb056460 SDL : Fix build on OSX, thanks to KunaiTeam
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@685 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 06:45:24 +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 94549c6713 SDL : Changed some references to VisualBoyAdvance.cfg in the readme
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@681 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-02 06:39:50 +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 3a442af579 GTK : Started hooking up the SDL input code. The events are well transmitted to the input module but the GDK code is still used. WIP.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@677 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-01 19:14:37 +00:00
spacy51 99780b4e91 ADDED soundInterpolation & soundFiltering options to audio core settings dialog
CHANGED soundInterpolation type from int to bool
REMOVED soundInterpolation settings from menu

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@676 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-31 21:54:57 +00:00
spacy51 b3d8dd9a8a ADDED gbSoundDeclicking option
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@675 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-31 20:03:39 +00:00
spacy51 c6c57e2594 ADDED gbSoundSetDeclicking & gbSoundGetDeclicking [blargg]
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@674 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-31 19:29:58 +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 093be7d2cf GTK:
Removed the Keymap class


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@668 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-30 15:02:01 +00:00
bgk a3d7fa464e GTK :
Removed an unnecessary include


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@667 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-30 08:30:40 +00:00
bgk b4ec3b9375 GTK:
The keymap now uses a std::map instead of a glib map


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@666 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-30 08:27:17 +00:00
bgk 930e637894 Fixed a few (thousand) warnings when building the HQ scalers using GCC 4.3
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@665 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-30 07:25:18 +00:00
bgk 0d69aea149 GTK:
Removed the ability to set the volume to a value higher than 200% since it didn't work


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@664 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-29 20:11:59 +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 fc5958a78d GTK:
Try loading the glade file from the source folder to allow running gvbam without installing it


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@661 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-29 19:02:29 +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 8681ef0958 No need to have SDL related stuff in the win32 port
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@659 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-29 08:58:45 +00:00
spacy51 cc32c6b12f ADDED volume control to GB core [blargg]
CLEANUP gbSound.h [blargg]

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@658 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-28 22:06:48 +00:00
spacy51 f76a2165ef FIX use GBC audio core for GBC ROMs instead of GB mono
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@657 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-28 21:07:26 +00:00
spacy51 c304345f61 FIX really use GBA sound when GBA is selected instead of GBC
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@656 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-28 12:03:11 +00:00
spacy51 ee4fd96d82 FIXED use blargg's default values for echo & stereo
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@655 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 19:22:11 +00:00
spacy51 42ddf91111 ADDED save/load gb_effects_config to/from ini file
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@654 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 19:18:07 +00:00
spacy51 20b1f8852d REMOVED volume controls in menu bar
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@653 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 19:02:19 +00:00
spacy51 ea4ff0e24b ADDED volume control to audio effects dialog and renamed it to audio core settings dialog
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@652 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 18:49:09 +00:00
bgk c8873ff7ff CMake : Added generated files to svn:ignore
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@651 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 17:32:00 +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
bgk c93a0a4899 CMake : Use gtkmm library path from pkg-config
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@647 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 15:01:38 +00:00
bgk 020c52a4f5 GTK : Remove some useless config values
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@646 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 12:20:00 +00:00
bgk 195cb65225 GTK :
Readded the sound mute option using the new API


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@645 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 12:18:38 +00:00
bgk eef1c300a5 GTK :
Fixed build by removing obsolete sound options

SDL :
Still broken


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@644 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 11:47:52 +00:00
spacy51 465d70b9cc SMALL fix
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@643 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-26 23:55:52 +00:00
spacy51 7141f3197f Sound code clean up
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@642 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-26 23:45:34 +00:00