1
0
Fork 0
Commit graph

180 commits

Author SHA1 Message Date
Peter Veenstra
01a09d7086 Improve the results of the windowed resolution calculation so that the one off errors are gone.
Create a small wrapper function around SDL_SetVideoMode, so that we don't set the same mode twice. 
Both changes benefit people who record footage with external recording software and it speeds up mode video mode changes. (especially with aspect=true)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3863
2014-06-18 14:39:49 +00:00
Peter Veenstra
14ac0f241f Stop rethrowing the error, as SDL doesn't know what to do with it anyways. Fix a couple of formatting related warnings/errors.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3857
2014-01-12 13:41:01 +00:00
Peter Veenstra
8582cfb2e9 Extend fullresolution=0x0 to more OSes. Tested on Windows, Linux and Mac OS X. Thanks for the hint about SDL_GetVideoInfo ny00123
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3827
2013-03-25 20:07:42 +00:00
Peter Veenstra
2cd140bed2 Replace NV_PixelDataRange with ARB_PixelBufferObject extension. Thanks gulikoza
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3824
2013-03-18 19:52:41 +00:00
Peter Veenstra
2fea508f7f Year update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3812
2013-01-15 09:03:13 +00:00
Peter Veenstra
30577ca990 Restore Icon and title after restarting the graphics subsystem.
(tested on a pc with broken directx surface support)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3783
2012-06-26 12:38:44 +00:00
Peter Veenstra
84b8100dbb Add cmd-q => exit for Mac OS X
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3777
2012-01-27 18:38:49 +00:00
Sebastian Strohhäcker
77970d28cd small additions: vga override, lazy fullscreen switching, pci read override
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3768
2011-12-11 17:30:50 +00:00
Peter Veenstra
a7af902f2f Even our comments and status messages have less bugs now (jomalin)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3764
2011-12-08 12:47:04 +00:00
Peter Veenstra
2bca1b7ecb Fix compilation on linux. Thank salty
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3754
2011-11-01 16:31:30 +00:00
Peter Veenstra
1a8afec751 Disable sticky keys in fullscreen mode. (pressing shift 5 times gives a menu)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3753
2011-10-30 15:06:40 +00:00
Peter Veenstra
999f33de27 Update year. Remove CVS tags
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3700
2011-04-26 09:34:55 +00:00
Peter Veenstra
b25d481e66 Fix startup detection of numlock and capslock.
Improve behaviour with SDL 1.2.14 with respect to lock keys.
What works:
- dosbox compiled against SDL < 1.2.14 used with SDL < 1.2.14
- dosbox compiled against SDL < 1.2.14 used with SDL >= 1.2.14
- dosbox compiled against SDL >=1.2.14 used with SDL >= 1.2.14
What doesn't work:
- dosbox compiled against SDL >=1.2.14 used with SDL < 1.2.14
- debian/ubuntu SDL < 1.2.14. (Check comment in src/gui/sdlmain.cpp on how to fix it.)
Untested:
- debian/ubuntu SDL >=1.2.14.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3689
2011-03-24 10:46:56 +00:00
Ralf Grillenberger
143beec6b1 Add new features to the config command for control of the config file:
- manipulate the autoexec section
- display information on sections and values
- show the used config files and startup command line parameters 
- restart capability
- save config files either in the config or program directory

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3651
2010-10-28 17:35:45 +00:00
Peter Veenstra
0d7b792d05 Check return code of SDL_LockYUVOverlay. Should fix some rare crashes.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3650
2010-10-18 13:49:31 +00:00
Sebastian Strohhäcker
70cda9f577 minor typos
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3645
2010-09-27 21:07:54 +00:00
Peter Veenstra
969ab8aeb0 Add -userconf to force loading of user specific configfile.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3598
2010-05-09 07:52:01 +00:00
Peter Veenstra
9d0ef05f8d some mapper reset clarifications
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3597
2010-05-07 19:54:17 +00:00
Peter Veenstra
044521630e A missing (. Thanks Tryton.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3596
2010-05-07 18:31:08 +00:00
Peter Veenstra
79f692235a Add some more descriptive texts, add aliases resetconf and resetmapper. Change titlebar to always include percentage. (rc3t2 changes)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3590
2010-05-04 14:40:11 +00:00
Peter Veenstra
953cf4d318 Change default name again.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3565
2010-04-03 16:16:27 +00:00
Peter Veenstra
e19e93e5c2 Add + document option to remove mapperfile used by a clean configuration.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3553
2010-02-26 15:18:56 +00:00
Peter Veenstra
a78b2c4f8b Update year
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3548
2010-02-11 13:36:50 +00:00
Peter Veenstra
e4666d2baf basic SDL 1.2.14 support.(Still testing)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3546
2010-02-10 20:33:31 +00:00
Peter Veenstra
ad03dd1cb1 To prevent problems in the future and to make things more identical. rename mapper.txt to mapper-version.conf
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3528
2010-01-08 19:03:48 +00:00
Sjoerd van der Berg
6352cfa88b Disable 8bpp love
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3492
2009-11-06 13:43:48 +00:00
Peter Veenstra
eca7e8600f Some mapper fixes related to interfacing with mapper overlay. Fixes missing keyups etc
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3414
2009-06-01 10:25:51 +00:00
Peter Veenstra
f427a52f11 Add the functionality.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3405
2009-05-25 16:29:36 +00:00
Sebastian Strohhäcker
b01982bf3d cleanup
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3400
2009-05-22 20:56:35 +00:00
Peter Veenstra
0e589b8b89 Add splash and various new configuration file functionality
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3399
2009-05-20 18:26:35 +00:00
Sebastian Strohhäcker
6934389b52 update displayed year entries
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3309
2009-02-25 19:58:11 +00:00
Sebastian Strohhäcker
e2d1fc598f prevent stuck keys when exiting the mapper, due to the mapper event preceding the addkey one
(thanks to etillite, see sf bug #2581983 and posted patch)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3301
2009-02-11 22:16:05 +00:00
Peter Veenstra
4141de4aee Add header for win32.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3294
2009-02-01 16:32:33 +00:00
Peter Veenstra
0c570b7b79 Disable menu, reintroduce pausedosbox. reintroduce -startmapper and keybindings.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3293
2009-02-01 16:06:26 +00:00
Peter Veenstra
4b1a5010f2 Split of sdl configuration part into seperate function. Add hopefully vista compatible configuration layout. Add -printconf and -editconf
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3288
2009-02-01 14:24:12 +00:00
Sebastian Strohhäcker
a5bbd753a1 update displayed copyright year
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3262
2009-01-17 21:31:21 +00:00
Sebastian Strohhäcker
c78a9f6c03 fix/work around some gcc Wall warnings
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3192
2008-08-06 18:34:21 +00:00
Peter Veenstra
a82bd865f0 workaround for debian/ubuntu sdl changes. force mouse release on more events.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3163
2008-05-28 09:14:06 +00:00
Peter Veenstra
f209b02e6b Add some modified version of some uncommited part of moe his patch. which add helptexts in the configfile.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3130
2008-03-19 20:35:18 +00:00
Sebastian Strohhäcker
cb1b1fcbce release special alt-state when starting the gui (fixes tab-completion bug)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3107
2008-02-21 19:25:34 +00:00
Peter Veenstra
ff3634a5d9 Add "hack" to display the initial values of the prop_multival entries.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3100
2008-02-10 18:55:23 +00:00
Peter Veenstra
45074288cf Partial rewrite of the configsystem part 2. Should be usuable. Missing parts are cosmetic. (based on Moe his stuff). I hope everything works in visual C.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3098
2008-02-10 11:14:03 +00:00
Sebastian Strohhäcker
ae447b6477 prevent auto cycle adjusting to lower the cycles too much on heavy background load
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3080
2008-01-16 20:17:15 +00:00
Peter Veenstra
ecb56a96ac Sync mouse on fullscreen startup.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3061
2007-12-12 13:37:38 +00:00
Peter Veenstra
134b7f8ef2 Fix printfing the same string twice. Makes it possible to print %d
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3042
2007-11-06 20:08:34 +00:00
Peter Veenstra
c4f26c724b Add menu to dosbox. V8 from Moe, with some fixes inspired by ykhwong
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3028
2007-10-28 16:36:42 +00:00
Peter Veenstra
5c9a311f7b Disable buildin icon loading on os x
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2990
2007-08-26 18:03:25 +00:00
Peter Veenstra
189b269dfc small fixes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2976
2007-08-18 16:32:04 +00:00
Peter Veenstra
57f5ce73ad Some license info
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2971
2007-08-17 18:00:09 +00:00
Sebastian Strohhäcker
0c24e87fdc silence some warnings, add most of sf patch #1185267 by Moe
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2883
2007-06-12 20:22:09 +00:00