Commit Graph

607 Commits

Author SHA1 Message Date
Paul Gilbert
b4cff6b9bd Converted fields in data that were originally offsets (such as tick proc offsets) to use indexes, allowing for more generic handling of different language versions
svn-id: r29073
2007-09-23 22:17:57 +00:00
Paul Gilbert
8685b1b456 Added vaildation of new lure.dat file, and added MD5 for Italian version of game
svn-id: r29072
2007-09-23 22:16:46 +00:00
Paul Gilbert
ffa264b9f7 Added support for the lure.dat file now containing multiple language versions
svn-id: r29071
2007-09-23 22:15:22 +00:00
Paul Gilbert
01bfaaa765 Split up the interruptableDelay method into two methods, making the version in events.cpp more generic
svn-id: r29070
2007-09-23 22:14:45 +00:00
Paul Gilbert
155d85b3b6 Removed some old redundant code and moved some string constants to the resource file
svn-id: r29069
2007-09-23 22:13:41 +00:00
Paul Gilbert
532ae68aa2 Tweaked the colour fading code so that room 4 will display correctly
svn-id: r29068
2007-09-23 22:12:37 +00:00
Paul Gilbert
59e9e25a5f Added support for original copy protection, in any anyone ever wants to see it
svn-id: r29067
2007-09-23 22:11:14 +00:00
Paul Gilbert
9d07c3a4c5 Shifted string decoder list to a resource, since it varies from language to language
svn-id: r29066
2007-09-23 22:10:29 +00:00
Paul Gilbert
f0f813b824 Added support for original copy protection, in any anyone ever wants to see it
svn-id: r29065
2007-09-23 22:09:25 +00:00
Torbjörn Andersson
f4507e71d3 Indentation.
svn-id: r29057
2007-09-23 16:48:33 +00:00
Max Horn
f7590de0aa Fix endian bug
svn-id: r29047
2007-09-23 12:11:05 +00:00
Max Horn
3cbf4ad98f Remove superfluous trailing dot (and that error message really is a lie, the docs don't mention lure.dat :)
svn-id: r28981
2007-09-20 08:50:46 +00:00
Torbjörn Andersson
828158a82a I'm probably being overly paranoid, but I'm nervous about initializing an array
of boolean with memset(). Maybe it's perfectly fine and healthy, but using a
loop is consistent with how we do it in killSounds() anyway.

svn-id: r28979
2007-09-20 04:13:37 +00:00
Torbjörn Andersson
4c4d4e7b15 Fixed out-of-bounds writing in killSounds().
svn-id: r28978
2007-09-20 04:09:55 +00:00
Eugene Sandulenko
77eea722af Modified patch : "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
c3d3aebe87 Patch : Merge fsnode-gsoc into trunk (MAJOR change, will break compilation on some ports)
svn-id: r28944
2007-09-18 20:02:04 +00:00
Paul Gilbert
e4c51dfe75 Fix to make characters face upwards initially, and to stand straight when not actively moving
svn-id: r28920
2007-09-16 08:03:18 +00:00
Paul Gilbert
0a7a1f4283 Bugfix to prevent actions being paused sometimes
svn-id: r28919
2007-09-16 04:31:15 +00:00
Paul Gilbert
b2e97060ad Initial sound implementation
svn-id: r28917
2007-09-16 04:06:49 +00:00
Paul Gilbert
041bb546c6 Bugfix to keep language strings in memory across restarts
svn-id: r28916
2007-09-16 04:05:56 +00:00
Paul Gilbert
f1e9fa1f5e Tweaked animation frame delay to better match original game
svn-id: r28915
2007-09-16 04:04:49 +00:00
Paul Gilbert
a19f337a0c Changed ManagedList to make it more thread safe
svn-id: r28914
2007-09-16 04:03:50 +00:00
Max Horn
4a302b25ad Lots of source code formatting corrections
svn-id: r28887
2007-09-10 13:17:20 +00:00
Max Horn
efbef7880b Fixed code formatting (hanging braces); added static/const keywords to data tables; merged Hotspot::doLookAt and doLookThrough code
svn-id: r28880
2007-09-08 11:18:35 +00:00
Paul Gilbert
ca96ba431c Completed the restart/restore dialog screen and functionality
svn-id: r28714
2007-08-25 06:08:02 +00:00
Paul Gilbert
5fd1bf64f2 Bugfix to prevent animations nuking the GUI element palette entries
svn-id: r28713
2007-08-25 06:06:18 +00:00
Paul Gilbert
234c2a5770 Fixed up several sound system script methods
svn-id: r28712
2007-08-25 06:03:24 +00:00
Travis Howell
9a9f801e93 Remove left over debug ocde.
svn-id: r28555
2007-08-12 12:26:46 +00:00
Torbjörn Andersson
84dbc41e47 Fixed warning.
svn-id: r28553
2007-08-12 11:39:02 +00:00
Paul Gilbert
04f2c4e1e4 Added missing calls to the sound system
svn-id: r28552
2007-08-12 11:19:01 +00:00
Paul Gilbert
2f1c5a47db Added code fragment that can change the resource Id to change depending on whether inside/outside
svn-id: r28551
2007-08-12 11:17:48 +00:00
Paul Gilbert
9a9d0cb0a5 Cleaned up structures for room exit joins
svn-id: r28550
2007-08-12 11:16:43 +00:00
Paul Gilbert
4cf99284a7 Added missing calls to the sound system
svn-id: r28549
2007-08-12 11:15:36 +00:00
Paul Gilbert
81fa23f091 Skeleton code added for restart/restore screen
svn-id: r28548
2007-08-12 11:15:06 +00:00
Paul Gilbert
48499f3a52 Added accelerated tick calls during room loads
svn-id: r28547
2007-08-12 11:14:23 +00:00
Paul Gilbert
e1fd529679 Added new resource identifiers and incremented required data version
svn-id: r28546
2007-08-12 11:10:44 +00:00
Paul Gilbert
c247257721 Added part of the framework for playing sounds
svn-id: r28545
2007-08-12 11:08:44 +00:00
Paul Gilbert
52292983b0 Skeleton code added for restart/restore screen
svn-id: r28544
2007-08-12 11:07:44 +00:00
David Corrales
6856535010 Merged fsnode with trunk: r27971:28460
svn-id: r28462
2007-08-05 19:34:20 +00:00
Paul Gilbert
ec1803f838 Removed unused fields
svn-id: r28458
2007-08-05 03:26:00 +00:00
Paul Gilbert
d03e3e9c87 Added code for hotspot fields I didn't originally understand
svn-id: r28457
2007-08-05 02:56:51 +00:00
Paul Gilbert
cfff436ca7 Added proper room change fading effect
svn-id: r28212
2007-07-26 10:11:31 +00:00
David Corrales
9bfe5d5354 Merged the FSNode branch with trunk r27681:27969
svn-id: r27970
2007-07-08 16:58:54 +00:00
Max Horn
e1bcd70436 Re-added __attribute__(packed)
svn-id: r27830
2007-07-01 18:18:43 +00:00
David Corrales
7091babe4d Missed some files in the branch/trunk merge.
svn-id: r27682
2007-06-23 19:04:15 +00:00
David Corrales
cacd7a28fd Merged the FSNode branch with trunk r27031:27680
svn-id: r27681
2007-06-23 18:51:33 +00:00
Max Horn
6ef494ab28 Converted LURE code to use KEYCODEs
svn-id: r27668
2007-06-23 14:59:58 +00:00
Max Horn
2fa0a5c457 Cleaning up after myself (I blame it on, err, uhh... the Vogons?)
svn-id: r27625
2007-06-22 21:16:07 +00:00
Max Horn
54d668ac13 Changed more code to use Common::KEYCODE_ enum
svn-id: r27624
2007-06-22 21:10:57 +00:00
Torbjörn Andersson
73f760becd Don't include sdl_keysym.h. Use our Common::KEYCODE constants instead of SDLK
constants.

svn-id: r27609
2007-06-22 12:42:28 +00:00
Paul Gilbert
47bd4e500b Removed old debug input files no longer being used, and the Lure disassembly folder
svn-id: r27608
2007-06-22 12:40:30 +00:00
Paul Gilbert
5cb367681b Added entries for fights.cpp and sound.cpp
svn-id: r27607
2007-06-22 12:36:49 +00:00
Paul Gilbert
8b3821e9ff Lots of bugfixes - game is now completable
svn-id: r27606
2007-06-22 12:36:04 +00:00
Paul Gilbert
707e62e669 Implemented remaining script methods
svn-id: r27605
2007-06-22 12:31:27 +00:00
Paul Gilbert
5e92ea378f Initial commit
svn-id: r27604
2007-06-22 12:30:18 +00:00
Paul Gilbert
b923618844 Added extra information to some methods, and a new method to show an animation sequence
svn-id: r27603
2007-06-22 12:26:10 +00:00
Max Horn
c7c2cb498c Simplified LURE detection code a little bit
svn-id: r27466
2007-06-16 16:44:33 +00:00
David Corrales
0cab5b7791 Merged the fs branch with trunk. r26949:27031
svn-id: r27032
2007-05-31 23:44:43 +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
Paul Gilbert
5af5c3b0a7 Impelemented game as far as dragon cave entrance
svn-id: r26994
2007-05-28 11:38:57 +00:00
Paul Gilbert
75e87b4c8b Added saving of scheduled scripts, and set script activation times to match original game
svn-id: r26993
2007-05-28 11:38:10 +00:00
Paul Gilbert
5e0fd79a5a Implemented new script methods
svn-id: r26992
2007-05-28 11:36:59 +00:00
Paul Gilbert
30142129c0 Added saving of scheduled scripts, and set script activation times to match original game
svn-id: r26991
2007-05-28 11:36:08 +00:00
Paul Gilbert
6a1290a1d3 Reworked game saving so that restored games don't fire off hotspot activation scripts, and conversation bugfix to keep characters in place
svn-id: r26955
2007-05-27 04:33:19 +00:00
Paul Gilbert
8740e81d1f Bugfix to save whether each NPC has been identified, and correctly transform back from Selena
svn-id: r26935
2007-05-25 22:59:24 +00:00
Paul Gilbert
26b221a701 Added savegame code so characters correctly leave rooms after restoring a game
svn-id: r26888
2007-05-20 13:07:44 +00:00
Paul Gilbert
56bb400ef9 Fixed several room change, NPC behaviour, and door closing code
svn-id: r26887
2007-05-20 12:39:15 +00:00
Paul Gilbert
4a40ecb4df Added saving of the room walkable paths
svn-id: r26883
2007-05-20 07:25:53 +00:00
Paul Gilbert
8be618fb47 Bugfix to constrain savegame names to the dialog width
svn-id: r26882
2007-05-20 07:24:05 +00:00
Paul Gilbert
9631586ce8 Added code responsible for transforming the player back from Selena
svn-id: r26778
2007-05-07 12:17:24 +00:00
Paul Gilbert
6a7b74d99d Reworked the pathfinder to directly return a pathfinding result, and added code to save the pathfinding state to a save game when it's in progress
svn-id: r26777
2007-05-07 12:16:05 +00:00
Paul Gilbert
d2e56f7b66 Added saving of room exit join data in savefiles
svn-id: r26776
2007-05-07 12:10:32 +00:00
Paul Gilbert
643735e8a4 Bugfix for random destination setting so NPCs don't walk outside the valid walkable areas of a room
svn-id: r26747
2007-05-05 01:00:01 +00:00
Paul Gilbert
91fb83a72f Bugfix to prevent characters stopped by a right-hand non-walkable area then being able to walk through it
svn-id: r26744
2007-05-04 09:16:55 +00:00
Paul Gilbert
aba02a6811 Bugfix for characters freezing after talking when in a different room than the player, and fixed NPC to NPC conversations
svn-id: r26740
2007-05-03 05:06:10 +00:00
Paul Gilbert
ab78c626f4 Fix for saving the game when an NPC is doing a non-scripted action
svn-id: r26734
2007-05-02 03:18:11 +00:00
Paul Gilbert
d449697aa5 Cleaned up the script engine opcodes, added debug names for recently added script methods, and bugfix to method that was causing a crash in the first room
svn-id: r26681
2007-04-30 07:58:09 +00:00
Paul Gilbert
2cb3b5a9c6 Added NPC to NPC talk action, and a bugfix for when remote viewing a room
svn-id: r26680
2007-04-30 07:56:45 +00:00
Paul Gilbert
885f687ae5 Reworked hotspot actions so that talking to characters work properly
svn-id: r26675
2007-04-29 11:30:29 +00:00
Max Horn
960f7cd75a Moved lure detection code into a new detection.cpp file
svn-id: r26625
2007-04-27 20:32:09 +00:00
Max Horn
d4660cce55 Removing more semicola
svn-id: r26597
2007-04-26 19:08:53 +00:00
Paul Gilbert
307506df9c General bugfixes, added animation handlers for creating potion and freeing Goewin, and in-progress work on completing original game's action precheck code
svn-id: r26572
2007-04-22 22:42:01 +00:00
Paul Gilbert
fdea5abb34 Added code to prevent NPCs from moving when being talked to
svn-id: r26546
2007-04-19 06:46:56 +00:00
Paul Gilbert
f9a32ff7d2 Bugfix for Grub's animation handler
svn-id: r26538
2007-04-17 03:48:51 +00:00
Paul Gilbert
23a86ea571 Bugfix to have multiple savegame names list vertically
svn-id: r26537
2007-04-17 03:47:47 +00:00
Paul Gilbert
258ab37a9a Altered message display to correctly handle optional display of hotspot/character article prefixes
svn-id: r26491
2007-04-15 12:12:21 +00:00
Paul Gilbert
2d617677df Bugfix to have Ratpouch correctly follow player, and new object animation handlers added
svn-id: r26487
2007-04-15 10:49:59 +00:00
Paul Gilbert
3586004c96 Bugfix to restore the correct part of the screen when the menu changes
svn-id: r26486
2007-04-15 10:44:37 +00:00
Paul Gilbert
e01efe4004 Added new script methods
svn-id: r26485
2007-04-15 10:43:31 +00:00
Travis Howell
c838ae690b Fix a few Valgrind warnings.
svn-id: r26484
2007-04-15 08:34:53 +00:00
Paul Gilbert
98bd127504 Gave proper names to previously unknown/partially-known constants
svn-id: r26467
2007-04-14 11:00:29 +00:00
Torbjörn Andersson
099ffb9cf0 Fixed warning.
svn-id: r26466
2007-04-14 05:02:12 +00:00
Paul Gilbert
68225f7896 Implemented handling for barmen (rooms 29, 32, and 35)
svn-id: r26464
2007-04-14 03:48:24 +00:00
Paul Gilbert
8be6153533 Added script method for barmen serving player
svn-id: r26463
2007-04-14 03:46:30 +00:00
Paul Gilbert
a35e5a42be Adjusted word wrapping width in talk dialogs
svn-id: r26457
2007-04-13 03:34:20 +00:00
Paul Gilbert
a2db95daee Bugfix to prevent a used item in give actions from not getting pased to the talk dialog for display
svn-id: r26447
2007-04-10 03:20:50 +00:00
Paul Gilbert
89a29e32bf Added in more character tick handlers
svn-id: r26368
2007-04-02 06:03:47 +00:00
Paul Gilbert
5a313074bc Bugfix to correctly remove an item from a character's inventory when it is deactivated
svn-id: r26338
2007-04-01 11:48:54 +00:00
Paul Gilbert
3abdfa46f9 Bugfix for strings that wrapped near a carriage return character
svn-id: r26337
2007-04-01 11:47:35 +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
Max Horn
a6f3ed8173 Got rid of Lure::System
svn-id: r26155
2007-03-17 00:39:18 +00:00
Paul Gilbert
c4260e7d8f Added support for Blacksmith's hammering animation and added Morkus' animation handler
svn-id: r26003
2007-03-06 08:24:52 +00:00
Paul Gilbert
41574458fc Added animation handler for standard characters that can be talked to
svn-id: r25888
2007-02-26 22:56:02 +00:00
Paul Gilbert
4f8c66b4cc Added saving of the random actions set state, and implemented NPC opcode 29, which allows for an NPC to be given a custom talk record
svn-id: r25875
2007-02-26 02:50:23 +00:00
Paul Gilbert
0c899f82ab Syntax fixes to conform to ScummVM coding standards
svn-id: r25781
2007-02-22 08:17:41 +00:00
Paul Gilbert
7ac767a2ba Added proper support for the random actions your sidekick can do in each room
svn-id: r25780
2007-02-22 06:29:09 +00:00
Max Horn
348b72e107 Improved (I hope) the 'Unknown MD5' messages in our detectors a little bit
svn-id: r25695
2007-02-18 18:07:32 +00:00
Paul Gilbert
6e0c500bc1 Added line to ensure the current room number field variable is kept up to date
svn-id: r25648
2007-02-17 03:42:43 +00:00
Paul Gilbert
c4cbf9dc92 Added some asserts to setSupportData method to ensure the passed variables are valid
svn-id: r25647
2007-02-17 03:41:41 +00:00
Paul Gilbert
409657cc15 Added animation handler for Catriona (woman in Smithy)
svn-id: r25638
2007-02-16 23:17:00 +00:00
Paul Gilbert
5bd19f022a Added sub-option to hotspot command to allow the activation or deactivation of hotspots
svn-id: r25622
2007-02-16 04:50:42 +00:00
Paul Gilbert
75c74574e8 Bugfix to pathfinder that resulted in some characters bouncing between two rooms
svn-id: r25621
2007-02-16 04:49:15 +00:00
Paul Gilbert
97bb233663 Revised previously committed guard to comply to ScummVM coding standard
svn-id: r25620
2007-02-16 03:49:34 +00:00
Max Horn
62bd2a1544 Make use of md5_file_string
svn-id: r25593
2007-02-14 21:59:57 +00:00
Paul Gilbert
31c0cb7f13 Added proper support for showing a hotspot or character's name in dialogs where the message contains a placeholder mark for it
svn-id: r25582
2007-02-14 02:37:53 +00:00
Paul Gilbert
2ef15f51a7 Added guard to prevent crashing if a hospot or character name is needed and was not provided
svn-id: r25581
2007-02-14 02:35:48 +00:00
Paul Gilbert
64fb3fad3f Bugfix to clipping so player's feet aren't visible in the corner of the screen as the chute is exited
svn-id: r25455
2007-02-10 03:45:06 +00:00
Max Horn
81ec51b8f7 Turned two comments into doxygen comments
svn-id: r25451
2007-02-09 17:47:55 +00:00
Max Horn
a49c22290f fix warning
svn-id: r25450
2007-02-09 17:17:08 +00:00
Paul Gilbert
3dfd1cbda8 Removed redundant line used during testing
svn-id: r25443
2007-02-09 11:03:58 +00:00
Paul Gilbert
a5047b599a Added 'room' command to show room information
svn-id: r25442
2007-02-09 10:59:15 +00:00
Paul Gilbert
87b3f2c6d8 Added new flag for blocked characters and extra checking of dynamic support records versus static schedule entry records
svn-id: r25441
2007-02-09 10:58:06 +00:00
Paul Gilbert
6391e49ee5 Improved character blocked/bumped handling
svn-id: r25440
2007-02-09 10:56:31 +00:00
Paul Gilbert
b79883f3af Removed use of static support data record for player to simplify save process
svn-id: r25439
2007-02-09 10:54:55 +00:00
Paul Gilbert
7f41b6914b Removed use of static support data record for player to simplify save process
svn-id: r25438
2007-02-09 10:54:07 +00:00
Paul Gilbert
f7958231be Bugfix to fix crash when Ratpouch chooses an in-room random destination
svn-id: r25333
2007-02-02 08:35:17 +00:00
Torbjörn Andersson
0a18259d78 Used Fingolfin's workaround for a bogus (?) warning produced by some versions
of GCC. (Not the one he's using, though, which is why I'm doing this instead.)

svn-id: r25327
2007-02-01 20:16:32 +00:00
Paul Gilbert
bc9df7e5c9 Added custom load code for room Notice
svn-id: r25317
2007-02-01 04:41:36 +00:00
Paul Gilbert
a83be36a97 Expanded the chute animation to display the full sequence as the player leaves the dungeon
svn-id: r25302
2007-01-31 02:34:55 +00:00
Paul Gilbert
33707d6e42 Added animation handler for the player exiting the sewer, and some bugfixes to allow Ratpouch to correctly open up the dungeon exit
svn-id: r25301
2007-01-31 02:33:20 +00:00
Paul Gilbert
0bd31443f9 Added constants for the dungeon bricks and chute animation resources
svn-id: r25300
2007-01-31 02:28:51 +00:00
Paul Gilbert
1996046121 Changed the coveredFlag to have an initial state distinct from true or false
svn-id: r25299
2007-01-31 02:28:04 +00:00
Paul Gilbert
9d474d6258 Added check to skip drawing hotspots in layer 1 if their skip flag is set
svn-id: r25298
2007-01-31 02:26:16 +00:00
Paul Gilbert
ee606dc143 Added script methods needed for leaving the dungeon
svn-id: r25297
2007-01-31 02:24:55 +00:00
Eugene Sandulenko
cd8a5f3a98 First phase of detection-related plugins interface improvements. Now plugins
return StringMap instead of fixed list of parameters. This adds great
flexibility.

Current patch should not alter any functionality, i.e. if there are regressions,
submit a report. Phase 2 will benefit from these changes and will come later.

svn-id: r25134
2007-01-20 21:27:57 +00:00
Paul Gilbert
b648aaf64b Bugfix to prevent player freezing in place after bumping into another character
svn-id: r24688
2006-11-12 04:42:37 +00:00
Paul Gilbert
0a5b86736c Bugfix to prevent pathfinder failure after making a small step
svn-id: r24687
2006-11-12 04:39:10 +00:00
Travis Howell
5c72acb536 Set ROOM_EXIT_ANIMATION constant, to fix compile for now. Not sure if value is correct
svn-id: r24625
2006-11-05 08:22:33 +00:00
Paul Gilbert
64817e3887 Added display of the two special between room animations: falling down the chute and hiding in the barrel
svn-id: r24623
2006-11-05 06:56:58 +00:00
Paul Gilbert
99655b59d4 Added a save/restore game dialog class
svn-id: r24071
2006-10-02 12:49:57 +00:00
Paul Gilbert
1a96e26bf6 Added functionality to allow saving/loading the game state
svn-id: r24070
2006-10-02 12:48:56 +00:00
Paul Gilbert
e8623fa477 Added methods for push/pop cursors
svn-id: r24069
2006-10-02 12:47:29 +00:00
Max Horn
4c14cf6d1a Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
svn-id: r23974
2006-09-23 00:42:35 +00:00
Max Horn
919092e5fc Overhaul of the debugger code
* Moved Common::Debuggger to GUI::Debugger (mainly to satisfy linker
  restrictions)
* Change the base Debugger class to *not* be a template class anymore;
  instead, a thin (template based) wrapper class is used to hook up
  debugger commands
* Removed duplicate Cmd_Exit and Cmd_Help methods in favor of a single
  version of each in GUI::Debugger
* New Cmd_Help doesn't word wrap after 39/78 chars, but rather queries
  the console to determine when to wrap
* Debugger::preEnter and postEnter aren't pure virtual anymore

svn-id: r23890
2006-09-16 16:58:27 +00:00
Max Horn
a2dc897fe5 Reduce code duplication
svn-id: r23888
2006-09-16 15:01:14 +00:00
Chris Apers
a851fb353c Make Lure run again on PalmOS fixing unaligned read
svn-id: r23865
2006-09-10 16:29:06 +00:00
Johannes Schickel
8271f1f0dc Makes lure compile with msvc8 again.
svn-id: r23861
2006-09-10 13:09:04 +00:00
Chris Apers
8b13bce6e9 Fixed compilation
svn-id: r23836
2006-09-09 09:09:19 +00:00
Paul Gilbert
d9b5129fb8 Transferred all previously hard-coded English in-game text to a resource
svn-id: r23831
2006-09-07 11:21:20 +00:00
Paul Gilbert
7a0eddeedd Fixed error message that still referred to disk0.vga
svn-id: r23829
2006-09-05 12:17:14 +00:00
Paul Gilbert
92f2e9691e Fixed handling of player occupied areas during room changes
svn-id: r23826
2006-09-03 08:39:06 +00:00
Paul Gilbert
816cc1a62c Bugfix to only list rooms that have been found in the Tell action 'Go To' command
svn-id: r23825
2006-09-03 05:04:58 +00:00
Paul Gilbert
e5fcd5ff2d Changed name of HOTSPOTFLAG_HIGHLIGHTED to HOTSPOTFLAG_FOUND to make it's use clearer
svn-id: r23824
2006-09-03 05:03:50 +00:00
Paul Gilbert
3b994a6a78 Changed name of HOTSPOTFLAG_HIGHLIGHTED to HOTSPOTFLAG_FOUND to make it's use clearer
svn-id: r23823
2006-09-03 05:03:14 +00:00
Paul Gilbert
037f04325d Added code fragment to mark a room as found when the player enters it
svn-id: r23822
2006-09-03 05:02:25 +00:00
Paul Gilbert
3e54f04f3d Implemented the Tell action handling, and added support for current actions with dynamic support data
svn-id: r23810
2006-08-30 12:19:05 +00:00
Paul Gilbert
e0d2b0764f Added word wrapping to the status line (necessary when giving long sets of Tell instructions)
svn-id: r23809
2006-08-30 11:48:43 +00:00
Paul Gilbert
7649160dde Committed recent disassembly efforts
svn-id: r23788
2006-08-27 11:57:30 +00:00
Paul Gilbert
2b06882a68 In progress work on tell command handling
svn-id: r23787
2006-08-27 11:48:41 +00:00
Paul Gilbert
37b4f2039a Added support for selecting a sequence of commands in response to the Tell action
svn-id: r23786
2006-08-27 11:47:03 +00:00
Paul Gilbert
1b60992052 Incremented version number
svn-id: r23785
2006-08-27 11:45:52 +00:00
Paul Gilbert
73b46369c1 Made the Memory::dealloc take a void * to make it easier to free any memory block type
svn-id: r23784
2006-08-27 11:44:39 +00:00
Paul Gilbert
af297a17a3 Added support for rooms in the ShowItems method, and adding alphabetic sorting of entries in action selection
svn-id: r23783
2006-08-27 11:43:09 +00:00
Paul Gilbert
a5c7282752 Added missing initialiser for current talking character
svn-id: r23782
2006-08-27 11:40:33 +00:00
Paul Gilbert
f871f569e6 Added data for room header flags and actions
svn-id: r23781
2006-08-27 11:38:55 +00:00
Paul Gilbert
488980d1b0 Added comments
svn-id: r23780
2006-08-27 11:37:38 +00:00
Paul Gilbert
389c7a403c changed references to StringData::getString to use two parameter version rather than passing NULL values
svn-id: r23697
2006-08-07 13:28:19 +00:00
Paul Gilbert
d80d6157b6 Incremented required data file version
svn-id: r23696
2006-08-07 13:27:28 +00:00
Paul Gilbert
ea90eb0699 Renamed hotspot talking destination character field to make it's use clearer
svn-id: r23695
2006-08-07 13:26:30 +00:00
Paul Gilbert
b1dbf7328f Reworked the talk dialog system to properly handle destination character and active item Id. Also completed ASK action handler
svn-id: r23694
2006-08-07 13:24:45 +00:00
Paul Gilbert
9af1acc901 Fixed item overwriting destination character in ASK action
svn-id: r23693
2006-08-07 13:23:30 +00:00
Paul Gilbert
1a77d61ace Enhanced Room::setTalkDialog to be passed the destination character and active item hotspot Id
svn-id: r23692
2006-08-07 13:21:15 +00:00
Paul Gilbert
c0e600e0fa Fixed displayMessage script method to use the new Hotspot::showMessage
svn-id: r23691
2006-08-07 13:19:10 +00:00
Paul Gilbert
e911afb525 Dialog::showMessage transferred over to the Hotspot class. Also enhanced TalkDialog to handle being passed a destination character and active item
svn-id: r23690
2006-08-07 13:16:07 +00:00
Paul Gilbert
ba32b91688 Fixed signature of GetString method - it is a destination character passed, not the current action. Also added a new method to return a decoded string with the correct definite article prefix (a/an/the)
svn-id: r23689
2006-08-07 13:13:20 +00:00
Paul Gilbert
9f74320aef Reduced MD5 checking to 1Kb, and recalculated MD5 strings
svn-id: r23686
2006-08-06 09:18:38 +00:00
Max Horn
4a80db4c7b * Added copyright string to all engine plugins
* Modified about dialog to list all available plugins with their resp. copyright
* Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too)

svn-id: r23645
2006-07-31 13:41:21 +00:00
Paul Gilbert
1f8066c333 Added proper item selection handling for the ASK action
svn-id: r23632
2006-07-30 12:15:52 +00:00
Paul Gilbert
0849e46541 Added a popup menu method for listing the items presented in response to an ASK action
svn-id: r23631
2006-07-30 12:13:26 +00:00
Paul Gilbert
6fa9819377 Added constants for known hotspot flags, and added line to flag hotspots that have been highlighted with the cursor
svn-id: r23630
2006-07-30 12:12:18 +00:00
Paul Gilbert
906f36a323 Added script method for changing the current hotspot header flags mask byte
svn-id: r23629
2006-07-30 12:10:44 +00:00
Paul Gilbert
2b4518d8a9 Added a field value for the current hotspot header flags mask byte
svn-id: r23628
2006-07-30 12:09:51 +00:00
Torbjörn Andersson
c32076e5d0 Use #include "..." instead of #include <...> for pack-start.h and pack-end.h
for consistency with other #includes.

svn-id: r23585
2006-07-23 16:13:26 +00:00
Torbjörn Andersson
eabe720a0e Changed __lure_res_h__ to LURE_RES_H etc for consistency.
svn-id: r23584
2006-07-23 15:32:14 +00:00
Torbjörn Andersson
602548cea3 Removed GCC_PACK that must have been re-added by accident.
svn-id: r23581
2006-07-23 15:01:21 +00:00
Paul Gilbert
6585033705 Added extra hotspot flags bytes needed for asking Ratpouch for an object, and changed differing word read macros to use a single standard
svn-id: r23579
2006-07-23 13:19:33 +00:00
Max Horn
2859b64702 Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)
svn-id: r23569
2006-07-22 17:28:48 +00:00
Johannes Schickel
4ae5cef491 - let md5_file accept a FilesystemNode too
- changes some engine detectors to use it

svn-id: r23559
2006-07-22 14:59:44 +00:00
Johannes Schickel
cfd9977425 Using FilesystemNode::name instead of FilesystemNode::displayName in all game detectors.
svn-id: r23558
2006-07-22 14:50:50 +00:00
Max Horn
f59cf1fcdc Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS now (hiya eriktorbjorn, this one is for you *ggg*)
svn-id: r23547
2006-07-21 21:25:17 +00:00
Max Horn
f35f4a4d1c Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of checking for GCC / not GCC
svn-id: r23458
2006-07-09 13:01:15 +00:00
Paul Gilbert
dfbc46f877 General additions of newly understood hotspot fields, further decoded talk handling, ratpouch being freed, and several more script methods
svn-id: r23418
2006-07-08 08:44:53 +00:00
Paul Gilbert
a20214e43a Rewrote the talk handling code
Added lots of debugging information
Partial support for characters bumping into each other
Player/NPC action handling generally improved
Added hard-coding for variable width frame animation of Ratpouch being released
Basic support for Ratpouch wondering around

svn-id: r23416
2006-07-08 08:42:58 +00:00
Paul Gilbert
6b5150797a Added support for ScummVM boot parameter values as well invoking the built-in debugger
svn-id: r23413
2006-07-08 08:39:42 +00:00
Paul Gilbert
64d0e4dcd8 Incremented lure.dat version and added new constants for debugging, tick methods, and hotspots
svn-id: r23412
2006-07-08 08:38:44 +00:00
Paul Gilbert
55c80679ba Disabled waiting for mouse release when making a popup selection to match original game
svn-id: r23411
2006-07-08 08:37:47 +00:00
Paul Gilbert
c6b6a2e125 Added new hotspot runtime fields, a list for handling the details of paused characters (who have bumped into each other), and loading of newly added default character states from lure.dat
svn-id: r23410
2006-07-08 08:36:32 +00:00
Paul Gilbert
acb3a5a9ac Added ScummVM debuglevel support for dumping executed scripts
Fixed up some incorrect script methods and added several new ones

svn-id: r23409
2006-07-08 08:34:29 +00:00
Paul Gilbert
4a52b14de6 Added improved display of partially off-screen images, as well as proper handling of special talk message Ids that display a puzzled or exclamation dialog talk bubble above a character
svn-id: r23408
2006-07-08 08:32:04 +00:00
Paul Gilbert
e79b3dfd41 Added shortcut stub for decoding a string without passing the current hotspot and action name
svn-id: r23407
2006-07-08 08:30:14 +00:00
Paul Gilbert
9fe05aa007 Rewrote the status line handling code along with tweaks to the debug information display
svn-id: r23406
2006-07-08 08:29:01 +00:00
Paul Gilbert
10e450947d Added extra checking and debugging code, as well as partial rewrite/enhancement of talking and hotspot support methods
svn-id: r23405
2006-07-08 08:27:19 +00:00
Paul Gilbert
6f388eb290 Replaced old debugging files with new ScummVM based one
svn-id: r23404
2006-07-08 08:25:27 +00:00
Paul Gilbert
163a8cb72c Initial commit of ScummVM-based debugging functionality
svn-id: r23403
2006-07-08 08:23:41 +00:00
Max Horn
9a955180a4 * Renamed config.mak to config.mk
* Renamed common.rules to rules.mk
* Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it)

svn-id: r23275
2006-06-24 08:48:11 +00:00
Max Horn
d210b19aec Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h)

svn-id: r23274
2006-06-24 08:07:48 +00:00
Paul Gilbert
1c07797c50 Bugfix to properly detect the end of the indexed room hotspot list
svn-id: r22852
2006-06-03 03:38:24 +00:00
Lars Persson
5755b5a97e Fixed problem when building and debugging using Symbian Emulator.
svn-id: r22820
2006-06-01 22:43:19 +00:00
Lars Persson
9472476acb Symbian Emulator (VC6) compilation fixes.
svn-id: r22809
2006-05-31 20:05:31 +00:00
Torbjörn Andersson
85da5d8157 Fixed two Valgrind warnings. But there are still a couple of invalid reads
at startup.

svn-id: r22800
2006-05-31 13:36:01 +00:00
Paul Gilbert
321acd2740 Further disassembly of NPC actions as well as finally figured out the basics of NPC character modes in standard_character_tick_proc
svn-id: r22789
2006-05-31 08:32:24 +00:00
Paul Gilbert
75be177e90 Removed misspelled version of disassembly folder
svn-id: r22788
2006-05-31 08:32:05 +00:00
Paul Gilbert
5fa3985bcb Player now moves out of the way if he's blocking an entrance when an NPC enters. Also changed errors in unimplemented NPC actions to warnings
svn-id: r22731
2006-05-29 08:12:07 +00:00
Torbjörn Andersson
8062eb6ec3 Set and show/hide mouse cursors through a "cursor manager" (analogous to the
recently added (cursor) palette manager) so that the cursor can be properly
restored after returning from the GUI.

If there's any C++ magic that can keep the backend functions from being called
by anything else than these managing classes, that would probably be a good
idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps
there are at least some backends that will no longer need to?

svn-id: r22639
2006-05-25 22:51:42 +00:00
Paul Gilbert
622c8b57e7 Reworked the DISPATCH current action to support NPC schedules like the original game does. Additionally added basic implementation of necessary support routines
svn-id: r22582
2006-05-23 12:43:42 +00:00
Paul Gilbert
e22de3ab36 Added a new outer loop for what will later allow the restarting of the game. Also added the animation of the Skorl catching the player if the game state indicates it has happened
svn-id: r22581
2006-05-23 12:41:28 +00:00
Paul Gilbert
dddaa015df Added the loading of NPC schedules
svn-id: r22580
2006-05-23 12:39:39 +00:00
Paul Gilbert
0ebf2be4a4 Added new resource entries for NPC schedules, the Skorl catching animation, and miscellaneous
svn-id: r22579
2006-05-23 12:38:51 +00:00
Paul Gilbert
6bac5a257e Added support structures for NPC schedules
svn-id: r22578
2006-05-23 12:37:43 +00:00
Paul Gilbert
3e4566e196 Added some extra safety checks. Also contains some started work on redesigning the display of the current action
svn-id: r22577
2006-05-23 12:36:57 +00:00
Paul Gilbert
5f64d7009e Added script methods for manipulating current action support data and a stub for a script method that plays background music
svn-id: r22576
2006-05-23 12:24:50 +00:00
Paul Gilbert
fa23893974 Disassembled code responsible for making NPCs walk between rooms
svn-id: r22476
2006-05-14 22:11:14 +00:00
Torbjörn Andersson
d6af07989d This could be completely wrong, but I don't think Hotspot::stopWalking() is
supposed to call setCurrentAction() in Resources, because then ScummVM will
crash in getCurrentActionStr() whenever we try to interact with any object.

Since Hotspot::walkTo() calls setCurrentAction() in Hotspot, it seems like a
reasonable guess that this is the setCurrentAction() that stopWalking() should
call as well.

svn-id: r22409
2006-05-11 08:25:09 +00:00
Torbjörn Andersson
21b91adcdf Changed "it's" to "its" in a few comments.
svn-id: r22408
2006-05-11 08:04:41 +00:00
Torbjörn Andersson
dba0c5ca2c Whitespace changes.
svn-id: r22407
2006-05-11 07:59:50 +00:00
Paul Gilbert
30231a39c8 Added proper labels in some of the existing disassembled methods
svn-id: r22406
2006-05-11 07:25:54 +00:00
Torbjörn Andersson
e2656a276a Changed abs() to ABS()
svn-id: r22389
2006-05-08 13:34:21 +00:00
Paul Gilbert
b20966b92b Initial disassembly of NPC schedule handling methods
svn-id: r22380
2006-05-07 22:36:26 +00:00
Max Horn
84b2a4f76f It's wrong to assume a given file is located in gameDataPath, so do not use that to print out warnings that pretend otherwise
svn-id: r22272
2006-05-01 22:27:56 +00:00
Paul Gilbert
5584ea5c7e Incremented required lure.dat version
svn-id: r22236
2006-04-30 05:35:39 +00:00
Paul Gilbert
8f1604e4cf Added load of new script offset field for NPC handling of hotspots
svn-id: r22235
2006-04-30 05:34:54 +00:00
Max Horn
0aabdf821c Fix warning
svn-id: r22210
2006-04-29 11:56:59 +00:00
Paul Gilbert
1192f0dfca Enhanced hotspot action so that the player will properly walk to a hotspot before performing an action
svn-id: r22209
2006-04-29 11:22:05 +00:00
Paul Gilbert
946d0582dc Added proper action display after selection along with showing the camera cursor
svn-id: r22208
2006-04-29 11:19:55 +00:00
Paul Gilbert
8b184ad5b0 Changed resource Id constants, added a few more general constants, and slightly increased game speed
svn-id: r22207
2006-04-29 11:18:08 +00:00
Paul Gilbert
302c825a17 Reworked resource loading to no longer load hotspot proximities separately, or provide access to the list
svn-id: r22206
2006-04-29 11:17:06 +00:00
Paul Gilbert
3e8763f454 Reworked resources to handle moved hotspot proximity (walk to) co-ordinates
svn-id: r22205
2006-04-29 11:15:03 +00:00
Paul Gilbert
d88ce16b12 Tweaked dialog display code to refresh the screen and warn about message Ids needing display styles that aren't yet implement
svn-id: r22204
2006-04-29 11:13:47 +00:00
Max Horn
bf73598811 * Changed the createEngine() factory function of our plugins to return an error code (the engine is now passed indirectly via a double pointer)
* Removed Engine_Empty (obsolete now that engines can return actual error codes)

svn-id: r22199
2006-04-29 00:27:20 +00:00
Paul Gilbert
14beeb3492 Added disassembly of door close support routines and other miscellaneous action support code
svn-id: r22162
2006-04-25 22:38:00 +00:00
Torbjörn Andersson
72906f2508 Made the Lure engine call updateScreen() more often - particularly when using
the menu bar at the top of the window - for smoother mouse movement. (After a
discussion with sev.)

svn-id: r21992
2006-04-17 23:37:22 +00:00
Max Horn
ba1b25305e Removed the directory parameter from md5_file
svn-id: r21937
2006-04-16 12:50:39 +00:00
Max Horn
68cb7f52c8 - Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a new getActiveDomain method that returns a pointer to the actual active *domain*
- Added Engine::_targetName whose value is computed from the name of the active domain
- Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain
- This in turn allowed for removing usage of GameDetector in many places

svn-id: r21916
2006-04-15 20:36:41 +00:00
Eugene Sandulenko
9610a4daef Fix warning.
svn-id: r21810
2006-04-11 22:11:12 +00:00
Torbjörn Andersson
d846f9a5e1 Added delays to the main and menu event loops to keep Lure from gobbling up all
available CPU time.

svn-id: r21787
2006-04-11 11:55:27 +00:00
Torbjörn Andersson
cba4871140 Changed max() to MAX(). This fixes compilation for me.
svn-id: r21786
2006-04-11 11:34:06 +00:00
Paul Gilbert
e3254a8879 Added disassembly of room exit handling, as well as a few cleanups to the path finding code
svn-id: r21785
2006-04-11 10:53:24 +00:00
Paul Gilbert
b8c80af183 Added proper path finding code for rooms, as well as miscellaneous support methods
svn-id: r21784
2006-04-11 10:52:11 +00:00
Paul Gilbert
4b91326131 Added a destRoomNumber variable to store which room a highlighted exit goes to, as well as some temporary code used to display pathfinding information onscreen when Toggle Info is turned on
svn-id: r21783
2006-04-11 10:50:18 +00:00
Paul Gilbert
169c8d78d1 Implemented better handling of changing rooms via room exits
svn-id: r21782
2006-04-11 10:48:28 +00:00
Paul Gilbert
7b32b7ef9c Added new resources for pathfinding and new resources
svn-id: r21781
2006-04-11 10:46:36 +00:00
Paul Gilbert
9b87224036 Resource loader enhanced to load hotspot proximity data and room walkable areas
svn-id: r21780
2006-04-11 10:45:22 +00:00
Paul Gilbert
f6b2cf2c6d Updated resource structures to add support for hotspot y corrections, proximity data, room walkable areas, and the room exit coordinate list
svn-id: r21779
2006-04-11 10:43:53 +00:00
Paul Gilbert
70654bc2a9 Added a script method for setting a blocking hotspot script
svn-id: r21778
2006-04-11 10:42:32 +00:00
Eugene Sandulenko
5a2ad04a9e Introduced language EN_ANY used for general English game entries. EN_USA and
EN_GRB should be used for games which have both variants. Currently it is
MM NES and BASS. All other are switched to EN_ANY.

svn-id: r21702
2006-04-08 23:12:56 +00:00
Max Horn
e7a8bb6abf Modified the REGISTER_PLUGIN macro so that it allows (and requires) a trailing semicolon (this helps certain tools to parse our code better)
svn-id: r21689
2006-04-08 12:06:07 +00:00
Max Horn
8cf8acfd63 Renamed various *GameSettings to GameSettings (our namespaces are enough to distinguish them)
svn-id: r21686
2006-04-08 11:21:04 +00:00
Paul Gilbert
4ee3298550 Completed disassembly of the Lure pathfinding code
svn-id: r21593
2006-04-04 11:53:45 +00:00
Max Horn
8cdee5a931 Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
svn-id: r21500
2006-03-29 15:59:37 +00:00
Max Horn
9f93e5bb81 Renamed various container isEmpty() methods to empty() to match STL conventions
svn-id: r21472
2006-03-28 09:42:54 +00:00
Paul Gilbert
b54d73d220 Further progress on disassembling pathfinding and support methods
svn-id: r21470
2006-03-27 21:32:43 +00:00
Eugene Sandulenko
22042bc637 - Implemented case insensitive file reading. Left old system as a fallback
in case some engine writer decide to do something unwise
- Removed used of ConfMan.getKey("path") in file-related cases, because
  now File class handles that
- Fixed bug in ScummEngine_v80he::o80_getFileSize() where path delimiters
  weren't translated

svn-id: r21443
2006-03-25 04:17:17 +00:00
Paul Gilbert
f596612344 Partially disassembly of the pathfinding code and miscellaneous support methods
svn-id: r21418
2006-03-23 21:26:13 +00:00
Paul Gilbert
dcf029e947 Further work on disassembling player tick/movement handler
svn-id: r21349
2006-03-17 21:59:29 +00:00
Paul Gilbert
15d4593412 In progress work on disassembling player tick/actions handler method
svn-id: r21310
2006-03-15 11:37:12 +00:00
Travis Howell
71a7754a37 Fix a valgrind warning
svn-id: r21260
2006-03-13 11:58:01 +00:00
Travis Howell
b8cf88622b Fix a few valgrind warnings
svn-id: r21258
2006-03-13 11:52:16 +00:00
Paul Gilbert
c5d90e026f Fix to remove warning on validating frame offsets in animation decoder
svn-id: r21257
2006-03-13 11:40:40 +00:00
Paul Gilbert
c44069fdfc Added further disassembly of animation decoder routine
svn-id: r21256
2006-03-13 11:33:17 +00:00
Paul Gilbert
3c303c0dfd Add proper handling for animations with frame offset tables during decoding
svn-id: r21255
2006-03-13 11:20:58 +00:00
Paul Gilbert
92eb7b7aa5 Changed temp variable from byte to word to fix decoding of some animation resources
svn-id: r21254
2006-03-13 11:18:18 +00:00
Lars Persson
04151343a7 Compile fixes for VC6
svn-id: r21179
2006-03-09 13:54:36 +00:00
Max Horn
de295c562d Replaced GF_ENGLISH in LureGameSettings by a proper Common::Language member variable; added (commented out) entries for the german and french lure
svn-id: r21168
2006-03-09 12:59:46 +00:00
Max Horn
6b19677e1d Make use of DetectedGame::updateDesc in the kyra & lure engines
svn-id: r21167
2006-03-09 12:52:54 +00:00
Max Horn
86565fcca5 - Renamed GameSettings to PlainGameDescriptor
- Added new GameDescriptor struct (similar to PlainGameDescriptor but with
  Common::String members instead of const char * ones)
- Changed DetectedGame to subclass GameDescriptor
- Removed toGameSettings() in favor of new (template) constructors in
  DetectedGame and GameDescriptor
- Fixed a bug in the obsolete gameid handling in the SCUMM & SIMON engines

svn-id: r21150
2006-03-09 02:52:51 +00:00
Max Horn
d2f78184af - added new toDetectedGame() template function (analog to toGameSettings)
- made use of the new DetectedGame constructor from my last commit
- some related cleanup

svn-id: r21149
2006-03-09 01:42:56 +00:00
Max Horn
907bd7128d Fix for bug (Targets are case sensitive)
svn-id: r21017
2006-03-02 22:29:01 +00:00
Paul Gilbert
1ef22b315f Lure - started work on disassembling player walking
svn-id: r21016
2006-03-02 21:27:09 +00:00
Paul Gilbert
dc75adbb25 Initial add of the Lure of the Temptress disassembly
svn-id: r20947
2006-02-26 21:36:33 +00:00
Torbjörn Andersson
094382a6d0 With the added delay to the popup menu loop, it's much more likely that each
iteration will see several events, so pop all events from the queue each time.
Of course, we still only need to check the mouse position once. Warp the mouse
back to neutral even if we're trying to go past the first/last menu entry.

svn-id: r20918
2006-02-26 15:24:11 +00:00
Torbjörn Andersson
f13d294ae5 Cleaned up my earlier "delay in busy-wait loop" commit, and added a similar
delay to PopupMenu::Show().

svn-id: r20914
2006-02-26 13:43:50 +00:00
Torbjörn Andersson
686d463def Added delays to the waitForRelease() and waitForPress() busy-wait loops.
svn-id: r20912
2006-02-26 13:02:25 +00:00
Paul Gilbert
dd6b207025 Improved layering of objects within rooms - for example, Ratpouch now properly shows up on the rack
svn-id: r20804
2006-02-21 09:25:39 +00:00
Max Horn
85b9205f42 Fixed compiler warning
svn-id: r20773
2006-02-19 17:44:50 +00:00
Paul Gilbert
1cc03798d9 Cleaned up the main game loop, improved handling for changing rooms, and improved click handling to properly support areas that override standard click handling, such as when having a conversation
svn-id: r20769
2006-02-19 04:29:26 +00:00
Paul Gilbert
9496df6f1b Added basic support for conversations, as well as reworking the Hotspot class to allowing for non-hotspot animations like the floating talk icon during conversations
svn-id: r20768
2006-02-19 04:25:28 +00:00
Paul Gilbert
9a653960c7 Converted mouse and events classes to use new getReference style
svn-id: r20767
2006-02-19 04:22:00 +00:00
Paul Gilbert
cf99c2092d Updated memory set method call to new name
svn-id: r20766
2006-02-19 04:20:18 +00:00
Paul Gilbert
8de9189ffe Changed hotspot references to use updated hotspot methods
svn-id: r20765
2006-02-19 04:19:09 +00:00
Paul Gilbert
d0fe9fdd79 Added handling for conversation data, as well as moved storing cursor data into it
svn-id: r20764
2006-02-19 04:17:54 +00:00
Paul Gilbert
5d8d871df3 Added new resources for conversations, cleaned up existing class names, and expanded hotspot resources to add newly understood fields
svn-id: r20763
2006-02-19 04:15:33 +00:00
Paul Gilbert
d525af4685 Added display of talk dialogs during conversations
svn-id: r20762
2006-02-19 04:13:08 +00:00
Paul Gilbert
3d0ada9443 Implemented several more script engine methods
svn-id: r20761
2006-02-19 04:11:22 +00:00
Paul Gilbert
b55cf4b0ff Added new class for displaying conversation talk dialogs
svn-id: r20760
2006-02-19 04:08:41 +00:00
Paul Gilbert
7ce5441ad6 Added new definitions used by the conversation subsystem
svn-id: r20759
2006-02-19 04:07:11 +00:00
Paul Gilbert
91d6bd57d7 Changed subsystem object create methods whose constructors I've switched to the newer getReference access
svn-id: r20758
2006-02-19 04:05:45 +00:00
Paul Gilbert
f868a59940 Changed the menu subsystem to use getReference rather than being passed in the constructor
svn-id: r20757
2006-02-19 04:04:07 +00:00
Paul Gilbert
441d0a89cc Changed the changed memset method to setBytes, which I like better
svn-id: r20756
2006-02-19 04:02:01 +00:00
Max Horn
8ac17430ac - renamed PLUGIN_getSupportedGames to PLUGIN_gameIDList for consistency
- renamed Engine_XXX_gameList to Engine_XXX_gameList for consistency
- added new Engine_XXX_findGameID / PLUGIN_findGameID function
- updated plugins code to take advantage of the new plugin API, to support
  obsolete gameids w/o showing them to the user

svn-id: r20752
2006-02-18 11:15:37 +00:00
Max Horn
81798556db - Removed the 'features' field from GameSettings
- Removed GF_DEFAULT_TO_1X_SCALER

svn-id: r20747
2006-02-18 00:12:36 +00:00
Max Horn
7967e30c73 Added global toGameSettings() template function for convenience; simplified GameSettings usage in some engines
svn-id: r20739
2006-02-17 00:22:53 +00:00
Max Horn
a96760a2fd Reduced use of GF_DEFAULT_TO_1X_SCALER in favor of a new param to Engine::initCommonGFX; added a TODO stating that it should eventually be removed completly
svn-id: r20738
2006-02-17 00:01:18 +00:00
Max Horn
be068cf6f3 The GameDetector is no longer a required parameter for Engine constructors
svn-id: r20590
2006-02-12 01:42:34 +00:00
Max Horn
80cf2fa46f Reduced data duplication in module.mk files; added module.mk files for null and x11 backends; added engines/module.mk
svn-id: r20584
2006-02-12 00:16:31 +00:00
Max Horn
26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00