Martin Kiewitz
6b63c951eb
SCI: updating screen within kAnimate as well - fixes pseudo hang in eq1 credits (bug #3036154 )
...
svn-id: r51459
2010-07-29 10:48:54 +00:00
Martin Kiewitz
8a843b6c21
SCI: adding support for middle mouse button
...
svn-id: r51422
2010-07-28 14:57:35 +00:00
Martin Kiewitz
710f0257eb
SCI: replacing the keyboard size check for direction type detection with checking for script 933 (pseudoMouse) instead - this is better because its working multiplatform
...
svn-id: r50047
2010-06-19 10:57:01 +00:00
Martin Kiewitz
101218c1b6
SCI: added TODO for keyboard driver size check, maybe this whole stuff isn't needed at all
...
svn-id: r50046
2010-06-19 10:28:41 +00:00
Martin Kiewitz
a7fa0649df
SCI: implemented checking of keyboard driver in case of SCI1EGA/EARLY, also renamed SCI_EVENT_JOYSTICK to SCI_EVENT_DIRECTION
...
svn-id: r50045
2010-06-19 09:46:04 +00:00
Max Horn
69fb703246
SCI: cleanup scancode rows code
...
svn-id: r49964
2010-06-17 23:12:38 +00:00
Max Horn
2556ea192c
SCI: Turn _modifierStates into member of class EventManager
...
svn-id: r49963
2010-06-17 23:12:17 +00:00
Max Horn
fabba55e6d
SCI: cleanup
...
svn-id: r49961
2010-06-17 23:11:34 +00:00
Max Horn
a2bcf9ac31
SCI: Rename sciEvent to SciEvent
...
svn-id: r49960
2010-06-17 23:11:12 +00:00
Max Horn
8e07a1e167
SCI: Moved the event code a little bit around.
...
* Move sleep() from EventManager to SciEngine
* Rename EventManager methods: get -> getSciEvent, and
getFromScummVM -> getScummVMEvent
* Make scancode_rows static const
* Turn altify & numlockify from EventManager methods into static
functions (and comment out the currently unused numlockify)
svn-id: r49959
2010-06-17 23:10:37 +00:00
Filippos Karapetis
13aba8747a
Throttle screen updates to 60fps in some screen transition effects as well
...
svn-id: r49690
2010-06-15 10:09:42 +00:00
Filippos Karapetis
cfdbfaa28e
SCI: Limit the screen refresh rate to 60fps
...
svn-id: r49647
2010-06-14 08:36:52 +00:00
Filippos Karapetis
5cb311ee2c
Renamed the SciEvent class to EventManager, to separate it from the sciEvent structure, and removed it from the engine state
...
svn-id: r49534
2010-06-09 07:59:42 +00:00
Filippos Karapetis
576306c323
Re-enabled the cursor position limiting code
...
svn-id: r49413
2010-06-03 21:52:21 +00:00
Martin Kiewitz
c49930d523
SCI: fixing possible typo for Shift-F1/F10 keys, fixing submarine controls in iceman
...
svn-id: r49048
2010-05-16 17:21:37 +00:00
Martin Kiewitz
194bdd9b83
SCI: reverting r48787 port updates were actually introduced (heard that before) in SCI1. I used the outdated wiki before and that one lists qfg2 and xmas90ega being SCI01. They are actually SCI1
...
svn-id: r48789
2010-04-24 21:45:17 +00:00
Martin Kiewitz
cbd8faa82e
SCI: r48786 port updates were actually introduced during SCI01, qfg2 and xmas90ega only. We enable port updates only for non-multilingual SCI01 games now - fixes percentage bar for qfg1 japanese as well
...
svn-id: r48787
2010-04-24 20:41:26 +00:00
Martin Kiewitz
4fd93aa27c
SCI: changed comment about 8859-1->cp850/437 conversion. ubuntu does work, i just used an outdated build by accident
...
svn-id: r48724
2010-04-19 16:58:18 +00:00
Martin Kiewitz
210bc3a3ce
SCI: comment about platforms, where 8859-1 mapping is working
...
svn-id: r48708
2010-04-19 06:57:39 +00:00
Martin Kiewitz
aaa6e7ee54
SCI: key presses of extended chars (umlauts, etc.) will now get ignored in games that don't support them (which is all non-multilingual games)
...
svn-id: r48693
2010-04-17 20:43:09 +00:00
Martin Kiewitz
5c347aa70a
SCI: map keys from 8859-1 to dos codepage, makes special chars like umlauts work in multilingual games
...
svn-id: r48687
2010-04-17 14:50:31 +00:00
Max Horn
2e68de1e5a
SCI: Turn kernel_sleep() into SciEvent::sleep()
...
svn-id: r48119
2010-02-23 22:47:53 +00:00
Yotam Barnoy
ef330ed9b4
Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
...
svn-id: r48101
2010-02-21 04:04:13 +00:00
Max Horn
ac4d325e0d
SCI: Add global g_sci pointer to the active SciEngine instance
...
svn-id: r48046
2010-02-13 17:42:49 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Martin Kiewitz
41eaeaa61d
SCI: Ctrl-Z now supported as well :D
...
svn-id: r47188
2010-01-08 23:09:30 +00:00
Martin Kiewitz
af8298d4f8
SCI: removed controlify() to ease readability of code
...
svn-id: r47186
2010-01-08 22:52:50 +00:00
Martin Kiewitz
75a4ef14f1
SCI: fix for platform difference between linux and windows, makes Ctrl-Alt-keys work under linux as well (e.g. lsl1, age questions cheat)
...
svn-id: r47185
2010-01-08 22:45:38 +00:00
Martin Kiewitz
5cfd241af9
SCI: we won't do keyboard mapping for sci1late+, because otherwise Ctrl-keys won't work. I couldnt find games that use Alt-keys, so I was unable to check those as well
...
svn-id: r47175
2010-01-08 21:44:18 +00:00
Filippos Karapetis
d99aa0f126
More renaming
...
svn-id: r47009
2010-01-05 01:37:57 +00:00
Yotam Barnoy
080d6da6e4
Minor additions: added full keypad support to GUI and SCI
...
svn-id: r46808
2009-12-31 23:52:49 +00:00
Martin Kiewitz
e56dedec3f
SCI: keyboard change cleanup, fixed Ctrl and Alt related keys on foreign keyboards as well
...
svn-id: r46803
2009-12-31 17:43:54 +00:00
Martin Kiewitz
ba8b15908c
SCI: keyboard events now dont use scancode anymore, fixing compatibility with foreign keyboard layouts (needs testing, cleanup will follow shortly after)
...
svn-id: r46801
2009-12-31 16:50:26 +00:00
Martin Kiewitz
1cc59d5a82
SCI: Removed Ctrl-X to Ctrl-Alt-X mapping cause Ctrl-Alt-X works now directly
...
svn-id: r46261
2009-12-04 20:03:53 +00:00
Martin Kiewitz
0db75cd812
SCI: Typo fixed in SciEvent caused all Ctrl keys to get changed to Ctrl-Alt-X :)
...
svn-id: r46257
2009-12-04 18:41:16 +00:00
Martin Kiewitz
3db1912759
SCI: Renamed "buckybits" to "modifiers" in SciEvent
...
svn-id: r46256
2009-12-04 18:02:48 +00:00
Martin Kiewitz
d982d10505
SCI: Make event constants more verbose
...
svn-id: r46255
2009-12-04 17:58:26 +00:00
Martin Kiewitz
a5f1808c83
SCI: SciEvent created, kernel_sleep() created
...
svn-id: r46252
2009-12-04 17:38:24 +00:00