Commit Graph

43 Commits

Author SHA1 Message Date
Gregory Montoir
ec5f7b87c6 cleanup (removed irrevelant comments and useless XXX'ed code)
svn-id: r13214
2004-03-07 10:46:02 +00:00
Paweł Kołodziejski
856b2dd825 fix warning
svn-id: r12499
2004-01-18 20:22:32 +00:00
Gregory Montoir
770d94b607 some assert() calls
svn-id: r12435
2004-01-16 15:51:23 +00:00
Gregory Montoir
6c78f2a6b8 - tweaked a bit walking functions to make persons stop walking when a cutaway is canceled
- removed unpack to bob frame 2 (as it is never used)
- changed some error() calls to assert()
- minor cleanups

svn-id: r12385
2004-01-14 14:34:05 +00:00
Gregory Montoir
3be8219bd9 cleanup
svn-id: r12312
2004-01-10 22:31:41 +00:00
Gregory Montoir
85f8b442f2 - new Grid class to handle all zones / areas stuff
- adapted Logic/Walk code to use it

svn-id: r12250
2004-01-08 14:10:32 +00:00
Gregory Montoir
74829245d9 mostly cleanup :
- moved main update() method to QueenEngine
- merged update() & checkPlayer()
- added a method in Logic class to handle the CUTAWAY_SPECIAL stuff
- Journal remembers last seen page
- no need to call loadPanel() to restore panel palette, use palSetPanel() instead

svn-id: r12240
2004-01-08 10:25:18 +00:00
Gregory Montoir
272eb21287 - moved some Person/Anim code to Graphics
- some renaming

svn-id: r12218
2004-01-07 15:45:24 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Gregory Montoir
232a709fd4 added a class to manage banks, Queen::Graphics cleanup
svn-id: r12157
2004-01-05 13:40:28 +00:00
Gregory Montoir
bd23a44f49 cleanup & follow code conventions
svn-id: r12019
2003-12-29 20:18:31 +00:00
Gregory Montoir
c3c55a457c cleanup
svn-id: r11600
2003-12-12 20:26:20 +00:00
Gregory Montoir
c2be8ed45d constructors cleanup
svn-id: r11589
2003-12-11 22:16:35 +00:00
Gregory Montoir
a17c49d9a7 - handle person bank number hack slighlty differently (fix it when loading, not in personSetData)
- remove some useless checks as there are no invalid bob numbers in actor data
- minor cleanups in Area

svn-id: r11520
2003-12-06 13:15:17 +00:00
Gregory Montoir
8c330b7123 in original DOS version, characters *can* walk in last room
svn-id: r11492
2003-12-04 10:54:26 +00:00
Gregory Montoir
77770ea7fe be consistent with animateJoe
svn-id: r11490
2003-12-03 15:14:30 +00:00
Gregory Montoir
d8d369a086 fix walking person issue (noticeable when Azura is escaping from Floda)
svn-id: r11488
2003-12-03 14:51:16 +00:00
Gregory Montoir
577aad5edd cleanup
svn-id: r11438
2003-11-30 20:41:02 +00:00
Gregory Montoir
871c4f8342 rename some methods (purely cosmetic) and fix some walking problems when closing Journal screen
svn-id: r11373
2003-11-26 20:40:43 +00:00
Gregory Montoir
74d8b6ef28 fix some bugs :
- Joe being unable to grab oil during carbam scene (walking bug, when dest_pt == orig_pt)
- wrong Joe facing direction when opening plane door

updated handlePinnacleRoom() comment

svn-id: r11306
2003-11-16 10:47:31 +00:00
Gregory Montoir
308b5de8a6 fix some bugs :
- right-clicking on inventory item doesn't execute default action
- unapplied room light level when Joe enters a room
- updated comment in roomDisplay on palette fading problem
- during dialogue, invalid mouse-overs (added enum for joeWalk flag too)

preparing Journal stuff :
- add a (almost useless) useJournal method to Logic
- removed useless code in Graphics, as it should (and could) be easily re-written in a more OO way

svn-id: r11299
2003-11-15 15:44:50 +00:00
Gregory Montoir
35cdf26ba6 fix some bugs :
- grayed panel disappearing during cutaway
- canceling joe walk before switching to another room

svn-id: r11277
2003-11-13 09:30:49 +00:00
Paweł Kołodziejski
8f130401a1 cleanup whitespaces
svn-id: r11224
2003-11-08 23:45:45 +00:00
David Eriksson
2a71ac0dc8 Minor fixes.
svn-id: r11185
2003-11-07 10:57:21 +00:00
Gregory Montoir
829b4464fd walking fixes (int16/uint16)
svn-id: r11146
2003-11-05 10:08:55 +00:00
Gregory Montoir
f9b7856afb init Walk::_joeMoveBlock at the right place
svn-id: r11091
2003-11-03 14:48:07 +00:00
Gregory Montoir
c4404baa45 cleanup/remaining Walk cutaway calls
svn-id: r11056
2003-11-02 16:47:31 +00:00
Gregory Montoir
d1ff236f3c use Command class
svn-id: r11017
2003-10-31 13:47:28 +00:00
Gregory Montoir
26a873a2e4 more stuff for future Command class
svn-id: r10987
2003-10-27 15:00:25 +00:00
David Eriksson
ad98347eb0 Initial version of the Input class. Some things still missing.
svn-id: r10944
2003-10-23 06:44:35 +00:00
Gregory Montoir
4e2ffd8d9e WALK, GRAB_JOE, GRAB_DIR, USE_UNDERWEAR, USE_DRESS and USE_CLOTHES implementations
svn-id: r10924
2003-10-21 09:05:16 +00:00
Gregory Montoir
c518ee26ec minor changes to joeMove() code
svn-id: r10888
2003-10-18 08:12:56 +00:00
Gregory Montoir
8c0496194a fix personMove / cutaway problem
svn-id: r10807
2003-10-15 08:46:04 +00:00
Gregory Montoir
cc9599c714 moved some methods from Queen::Walk to Queen::Logic
svn-id: r10802
2003-10-14 19:06:44 +00:00
David Eriksson
c009516dfd Persons must not be in table!
svn-id: r10797
2003-10-14 12:36:32 +00:00
Gregory Montoir
138ee6887a preliminary FIND_STATE implementation
svn-id: r10794
2003-10-14 09:12:01 +00:00
Gregory Montoir
b750398d20 DISP_ROOM additions + 'Person' functions
svn-id: r10779
2003-10-13 14:21:17 +00:00
Gregory Montoir
1e68372816 DISP_ROOM additions/corrections
svn-id: r10743
2003-10-12 13:16:35 +00:00
Gregory Montoir
cd1d7f474d preliminary DISP_ROOM implementation
svn-id: r10731
2003-10-11 10:09:23 +00:00
Gregory Montoir
7286df0c94 additions/corrections to walking functions
svn-id: r10709
2003-10-10 09:19:52 +00:00
David Eriksson
92997ec15f - Make _moveData table readable
- Add missing member in last table entry

svn-id: r10700
2003-10-09 13:42:55 +00:00
Gregory Montoir
d03dfdb6f7 minor additions to walk class + get/set functions for Logic::_area
svn-id: r10699
2003-10-09 13:14:16 +00:00
Gregory Montoir
91aaef03bc added walking functions
svn-id: r10695
2003-10-09 09:09:40 +00:00