56 Commits

Author SHA1 Message Date
Gregory Montoir
cbd9963af7 fix bug #1834852
svn-id: r29586
2007-11-20 21:00:41 +00:00
Eugene Sandulenko
c640d1c604 Patch #1825276: "DETECTION: advanced detector engine simplification"
svn-id: r29386
2007-11-03 21:06:58 +00:00
Gregory Montoir
7ca277d252 don't update the screen directly after a gamestate load ; keychars and room background are now redrawn on the same frame (bug #1751226)
svn-id: r29133
2007-09-29 19:14:38 +00:00
Gregory Montoir
bdffcca128 workaround for original game glitch (bug #1751170)
svn-id: r29132
2007-09-29 19:13:04 +00:00
Gregory Montoir
d8831b44da simplified touche savegame listing
svn-id: r29112
2007-09-27 20:38:23 +00:00
Gregory Montoir
3d2485ca97 rename ui.cpp to menu.cpp for consistency with other engines
svn-id: r29108
2007-09-26 19:26:12 +00:00
Gregory Montoir
af9abde7dd _currentObjectNum should also be set in text only talk mode
svn-id: r29103
2007-09-26 19:11:19 +00:00
Johannes Schickel
fb912f9539 Silence warnings on 64bit systems.
svn-id: r29088
2007-09-24 17:23:34 +00:00
Eugene Sandulenko
77eea722af Modified patch #1738058: "Action recorder".
svn-id: r28968
2007-09-19 13:55:05 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
3abc11611e Code formatting fixes
svn-id: r28945
2007-09-18 20:16:33 +00:00
Gregory Montoir
e5e353d89c fixed loading of savestates on startup
svn-id: r28476
2007-08-06 20:24:05 +00:00
Gregory Montoir
012f16d5c3 added missing MIDI gm->mt32 program change mapping (bug #1759318)
svn-id: r28331
2007-07-30 17:45:43 +00:00
Gregory Montoir
d88354a853 renamed wrongly named parameter
svn-id: r28201
2007-07-25 20:05:35 +00:00
Gregory Montoir
38b282b313 renamed some fields for clarification
svn-id: r28184
2007-07-24 09:53:28 +00:00
Gregory Montoir
9bb903ee6b fixed some issues in pathfinding code
svn-id: r28183
2007-07-24 09:50:24 +00:00
Torbjörn Andersson
245c997260 Use KEYCODE constants.
svn-id: r27597
2007-06-22 07:34:07 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
3db1dd05bc Replaced another use of getEventManager() by using Engine::_eventMan
svn-id: r26360
2007-04-01 18:08:19 +00:00
Gregory Montoir
5aca9dce8c added the instance of EventManager returned by OSystem::getEventManager as a member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it.
svn-id: r26357
2007-04-01 17:36:13 +00:00
Torbjörn Andersson
bc253d214b Slight simplification of last change. Make sure we don't "oversleep" in fast
mode.

svn-id: r26351
2007-04-01 15:04:11 +00:00
Torbjörn Andersson
7c4a8c6565 Make the mouse cursor move more smoothly. (Most of this improvement actually
comes from calling processEvents(), not from calling updateScreen() more
often.)

svn-id: r26350
2007-04-01 14:53:03 +00:00
Torbjörn Andersson
b4211fefc8 Call updateScreen() more often when drawing right-click menus, to make mouse
movement smoother.

svn-id: r26347
2007-04-01 14:04:45 +00:00
Torbjörn Andersson
cfa746830f Use the event manager to track the mouse position.
svn-id: r26345
2007-04-01 13:31:11 +00:00
Torbjörn Andersson
4550ca1572 Use the cursor manager instead of calling the backend functions directly.
(Maybe the backend functions ought to be protected?)

svn-id: r26344
2007-04-01 13:16:29 +00:00
Max Horn
ed54ea9155 Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
2007-03-17 19:02:05 +00:00
Max Horn
15d9bc42ea Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
svn-id: r26156
2007-03-17 00:53:21 +00:00
Gregory Montoir
5bdfd2d102 added checks to prevent crash if no datafiles can be found, also fixed a typo
svn-id: r25283
2007-01-30 20:18:06 +00:00
Eugene Sandulenko
843ac74c0e Moved Touche engine to AdvancedDetector.
svn-id: r25272
2007-01-30 00:24:09 +00:00
Gregory Montoir
3341f49429 cleanup
svn-id: r25157
2007-01-21 22:06:54 +00:00
Gregory Montoir
7f01700ac5 workaround a scripting bug (see tracker item #1622114)
svn-id: r24949
2006-12-29 23:44:08 +00:00
Gregory Montoir
3e5240d702 fixed bug #1618695
svn-id: r24888
2006-12-19 14:34:03 +00:00
Gregory Montoir
80dfce00a5 cleanup (added a few more constants, renamed some opcodes) and reverted my previous change to op_sleep.
svn-id: r24830
2006-12-10 00:41:45 +00:00
Gregory Montoir
f6ed99acee force mouse cursor display if first script is different from 90 (startup script number)
svn-id: r24826
2006-12-09 19:07:40 +00:00
Gregory Montoir
60bac00314 cleanup
svn-id: r24825
2006-12-09 18:57:27 +00:00
Gregory Montoir
82601174f3 update the screen at the end of each engine cycle, it should make the mouse cursor more responsive
svn-id: r24781
2006-11-24 18:18:48 +00:00
Gregory Montoir
318c50913d added font data for french version (and probably all other localized versions)
svn-id: r24729
2006-11-18 11:53:36 +00:00
Gregory Montoir
dd075b312f fixed palette glitches during introduction/on restart, cleanup
svn-id: r24728
2006-11-18 01:20:41 +00:00
Gregory Montoir
f93c693ab9 added dirty rects handling
svn-id: r24725
2006-11-15 23:00:41 +00:00
Gregory Montoir
24df07d29d added handler for flag 618 (cursor display on/off) and workaround a palette glitch
svn-id: r24724
2006-11-15 22:35:45 +00:00
Gregory Montoir
f527da0953 fixed valgrind warnings (unitialized data)
svn-id: r24692
2006-11-12 17:39:47 +00:00
Gregory Montoir
196c8a3771 cleanup
svn-id: r24683
2006-11-12 03:02:20 +00:00
Gregory Montoir
c305f6f12c various fixes, Touche should now be completable without any major glitches
svn-id: r24672
2006-11-11 04:42:36 +00:00
Gregory Montoir
588a6842c8 font char width is always equal 16 pixels, removed unneeded parameter
svn-id: r24669
2006-11-10 20:57:26 +00:00
Gregory Montoir
4e8d042e5c new menu code
workaround a possible scripting bug in introduction screen

svn-id: r24668
2006-11-10 20:48:52 +00:00
Gregory Montoir
f6f1dac199 cleanup
svn-id: r24654
2006-11-07 22:24:48 +00:00
Gregory Montoir
c9cb98291d some fixes, some cleanup
svn-id: r24644
2006-11-06 23:32:37 +00:00
Gregory Montoir
ec177bc6ce various fixes
svn-id: r24628
2006-11-05 22:24:15 +00:00
Gregory Montoir
424e9e362e enabled MIDI volume changes
svn-id: r24627
2006-11-05 13:00:20 +00:00
Gregory Montoir
4f4be11631 removed unneeded opcodes
svn-id: r24618
2006-11-05 00:40:35 +00:00