Commit Graph

154 Commits

Author SHA1 Message Date
titiger
88de655b28 and revert the last changes .... 2016-11-16 23:47:02 +01:00
titiger
09ae82b36c more braces 2016-11-16 22:56:41 +01:00
titiger
1f2d93a1b5 braces .... 2016-11-16 22:35:28 +01:00
titiger
031a9d87ea Trying to handle the windows key 2016-11-16 22:34:22 +01:00
titiger
1dfe1b8b42 lets see if this helps with issue #139 2016-11-12 18:04:12 +01:00
titiger
a182ce82bd more bugfix for #138 2016-11-10 00:47:42 +01:00
titiger
cc64196c6b alt+enter #138
Fast toggle on alt+enter and key repeat are different things.
This here should fix the alt+enter issue.
2016-11-09 23:25:59 +01:00
titiger
6c2f722f30 reverting some things related to alt+enter
real reason is false behaviour of static bool isUnprintableChar().
More tests needed.
2016-11-09 00:09:55 +01:00
titiger
4a85b17794 fiddling around with #138 2016-11-06 22:00:51 +01:00
titiger
0c3c636064 Trying to fix the fast fullscreen/windowed toggling 2016-11-06 18:24:11 +01:00
titiger
9dd22ae347 lets see if this fixes alt+return endless toggling 2016-06-07 23:38:16 +02:00
SoftCoder
c25867b5d8 - try to fix mouse pointer for issue #94 2016-01-04 20:56:48 -08:00
SoftCoder
2f52e01a76 - fixed issue #88 (numpad keys work now) 2015-12-22 23:12:33 -08:00
titiger
19df221af2 reintroducing mapping of numpad enter to normal one
tomreyn convinced me that numpad-enter and normal enter should always 
be handled the same way. 
Doing this I also enabled the mapping of delete to backspace .
2015-12-14 01:20:09 +01:00
titiger
982137afed remove remapping of keys, like numpad keys to normal and vice versa 2015-12-02 01:26:44 +01:00
SoftCoder
7e0494bb28 - some bug fixes based on coverity scan 2015-11-25 21:16:29 -08:00
titiger
e7eddca1ee Bugfix for listBox Shortcuts
Holding down shift+letter while selecting  jumps directly to a 
map/faction/ ... which starts with the given letter.
2015-11-26 01:58:15 +01:00
titiger
8d315ba744 first steps for ctrl-v for input
Problems remaining:
paste probably iss too long for ( problem for text input labels )
paste is countet as one single input which deletes the whole pasted string 
on pressing backspace.
2015-11-09 01:31:24 +01:00
titiger
dbee447a9a eventSdlKeyDown
Give the real SDL_KEYDOWN to the Window/Program states.
This fixes issues with group keys and SDL2.
2015-10-30 01:04:01 +01:00
SoftCoder
d5edf6f973 - trying to fix issue #71 alt-enter toggle 2015-10-28 16:07:15 -07:00
SoftCoder
76d41dfc09 - attempt to see if IRC chat works better with sdl2 textinput 2015-10-24 09:02:23 -07:00
SoftCoder
6d0592d4ab - attempt to fix bugs related to sdl2 key handling 2015-10-17 22:46:42 -07:00
SoftCoder
92aa2a7e04 - updated windows build for sdl2 2015-10-17 17:58:25 -07:00
SoftCoder
45598620fa - additional bugfixes for keyboard entry in sdl2 2015-10-08 18:25:28 -07:00
SoftCoder
6707343ac4 - fix special keys in sld2 (like arrow key) 2015-10-08 17:04:43 -07:00
titiger
8991507526 Mouse pointer works a bit better
SDL2 showed native and MG mouse pointer at the same time. Attempt to fix it.
2015-10-07 02:14:07 +02:00
SoftCoder
d80ca9e0b2 - for now make fullscreen mode ONLY use desktop resolution, all other tries seem buggy in SDL2 2015-10-04 20:34:54 -07:00
SoftCoder
5a29608b9c - attempt to fix keyboard inputs for sdl2 2015-10-01 03:40:19 -07:00
titiger
9dda6b59dc toggle fullscreen/windowed works again 2015-09-29 21:37:26 +02:00
SoftCoder
95e5d2782c - bugfix to get proper typed character in sdl2 2015-09-29 06:22:54 -07:00
SoftCoder
8e439a2325 - got sdl2 branch compiling and game loads 2015-09-28 23:28:11 -07:00
titiger
23ea9f6201 first steps for sdl2 ( still many compile errors ) 2015-09-29 01:30:28 +02:00
Mark Vejvoda
9268aaf279 - a few minor bug fixes related to code warnings
- code cleanup based on additional gcc warnings
- enabled additional gcc compiler warnings
2013-11-19 06:14:06 +00:00
Mark Vejvoda
53a557d8d1 - fixed mod center image previews in cases where userdata folder was non default
- removed commented out old code
2013-10-03 05:44:50 +00:00
Mark Vejvoda
6387d1b1b1 add default value of allowed keys in english of none 2013-06-08 21:57:11 +00:00
Mark Vejvoda
173075d962 allow each language to specify special keys allowed for that language (bugfix for polish) 2013-06-05 05:53:59 +00:00
Mark Vejvoda
2c1b181bc7 a bunch more code cleanup from cppcheck 2013-05-26 06:03:32 +00:00
Titus Tscharntke
a3635376cf no more trouble with middle mouse button camera view 2013-02-09 23:20:40 +00:00
Mark Vejvoda
68d8ef11d8 - see if this hotkey fix is ok for titi 2012-11-21 18:54:50 +00:00
Mark Vejvoda
c3ff9973d9 - fixed screenshots so holding shift ignores the screenshot key 2012-11-20 01:12:07 +00:00
Mark Vejvoda
d0006db4a1 - updated for debian compliance 2012-11-15 07:50:43 +00:00
Mark Vejvoda
8793b3400b - bugfix for backspace on mac 2012-11-09 21:05:43 +00:00
Mark Vejvoda
64058b17e7 - code cleanup from cppcheck
- added more checks when loading models, maps and textures
2012-10-20 07:15:13 +00:00
Mark Vejvoda
052fd3373c - attempt to fix client timeout issues in client connected menu when downloading files
- in lobby hold SHIFT + a letter when clicking a map, tileset or techtree and it jumps to the first found item of that letter
2012-10-15 07:44:44 +00:00
Mark Vejvoda
1c211e4ce6 - lots of code cleanup from the cppcheck 2012-09-22 20:13:57 +00:00
Mark Vejvoda
684c35e25a - fix text entry so unicode characters work properly 2012-09-21 03:41:10 +00:00
Mark Vejvoda
4b586bc7b3 - added more opengl checking to see if the user has enough support to run megaglest.
- for windows users, bring error message dialog in front of everything else
2012-08-10 06:19:35 +00:00
Mark Vejvoda
0309e83791 - attempt to have windows screen come to forefront sooner 2012-07-27 19:08:41 +00:00
Mark Vejvoda
194e1868b9 - if holding ctrl while click to change the player type we will change all non human slots to the same player control type 2012-07-26 20:47:16 +00:00
Mark Vejvoda
8c0bf75bf5 - got built in memory leak working. Just edit leak_dumper.h and uncomment:
//#define SL_LEAK_DUMP
- got better / more accurate stack dumps when we detect errors in game.
- Both of these need to be worked on in windows next, win32 may not compile for now until i fix it on that platform.
- BE VERY CAREFUL when working in leak_dumper.* it may cause GCC and your system to crash if you don't know what you are doing!
2012-04-14 21:21:09 +00:00