Commit Graph
62 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Cameron Cawley 837ac7e7ec TEENAGENT: Add debug commands to play voices and sound effects 2019-08-02 00:08:58 +01:00
Johannes Schickel 47b6111033 TEENAGENT: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
D G Turner c92ff8db33 TEENAGENT: Fix constant naming to comply with Coding Conventions.
Adding missing CamelCase k-prefixes.
2012-10-09 09:14:44 +01:00
D G Turner 82e9011d24 TEENAGENT: Cleanup Inventory class.
This removes the underscores in various variables as per project coding
standard.
2012-09-23 18:12:34 +01:00
D G Turner dc009160bb TEENAGENT: Add symbols for dialog and message text colors. 2012-08-03 16:28:58 +01:00
D G Turner 92aa3123cb TEENAGENT: Add symbols for inventory items. 2012-08-01 06:40:49 +01:00
D G Turner be4be025b9 TEENAGENT: Add constant values for screen width and height.
It is unlikely these will be changed, but the symbols make the code more
readable.
2012-07-28 07:31:41 +01:00
D G Turner de59b3c25a TEENAGENT: Fix inventory regression due to missing blank entry.
This was a regression from f856a0a746.
The _objects list starts with a blank Inventory Object entry, but this
was previously done in an implicit manner with an address overlap. Fixed
in a more explicit manner.
2012-07-27 22:04:27 +01:00
D G Turner b19c164f1a TEENAGENT: Add symbols for object callback tables in Inventory class.
Also, removed one ptr usage, replacing with direct get_byte / get_word
accesses.
2012-07-27 06:46:34 +01:00
D G Turner 7dce94c70b TEENAGENT: Add symbols in Inventory class for various sizes. 2012-07-27 05:48:48 +01:00
D G Turner f856a0a746 TEENAGENT: Add dsAddr symbols for Inventory. Minor fix to logic.
The start address for the inventory item pointer data table was
incorrect and has been corrected.
2012-07-27 03:49:15 +01:00
D G Turner c373ed4ea4 TEENAGENT: Symbol migration associated with remaning display*Message().
Have also corrected typo in offset i.e. 0x39b7 was incorrect, it appears
that 0x3ab7 was intended.
2012-07-22 04:55:46 +01:00
D G Turner 85cf79a57f TEENAGENT: Minor formatting fixes for consistency.
This is mainly ensuring that all hexadecimal usages i.e. addresses are
 in lowercase for consistency, but also includes some minor comment
formatting correction.
2012-07-12 21:03:47 +01:00
D G Turner 0e6ba29ede TEENAGENT: Migrate engine to using debugflags.
This required some restructuring of the header dependencies.
2012-07-08 00:36:05 +01:00
D G Turner 62c4c09225 TEENAGENT: Enable commented out debug statements.
Commented out code is not good practice. Will change these statements
to using debugflags instead in a future commit.
2012-07-07 17:04:42 +01:00
D G Turner 313502e2ee TEENAGENT: Remove static Resources class Instance.
This is replaced by an engine instance. This should prevent issues
with Return To Launcher and may remove issues with file handles.
2012-07-07 13:46:28 +01:00
Johannes Schickel 8a7f3e69ff TEENAGENT: Improve code formatting.
I used astyle and fixed some incorrect changes from it manually.
2011-10-23 02:07:23 +02:00
Christoph Mallon a5675c3dbe TEENAGENT: Pass streams as references. 2011-08-07 15:19:08 +02:00
Max Horn 88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Max Horn 0bca049ce8 TEEN: Change Inventory members to comple with CFG 2011-05-23 12:13:02 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion 9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
David Turner c11fdabab9 TEENAGENT: Fix Memory Leaks.
svn-id: r55672
2011-01-31 07:44:40 +00:00
Max Horn 2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn 5568a8473b Get rid of Engine::_gameDataDir.
This greatly reduces indirect dependencies on several header files
from common.

svn-id: r48933
2010-05-04 11:56:52 +00:00
Vladimir Menshakov 9571c817c7 do not close inventory if mouse moves up. better mouseless experience.
svn-id: r48367
2010-03-23 08:33:51 +00:00
Vladimir Menshakov 338532ec3c preload inventory graphics on load
svn-id: r48350
2010-03-21 07:49:53 +00:00
Vladimir Menshakov 109dbcbca6 reverted inventory objects patch, added mark's animation z-order patch.
svn-id: r48342
2010-03-20 23:04:18 +00:00
Vladimir Menshakov 933299f6b9 fixed inventory object overflow
svn-id: r48341
2010-03-20 22:03:28 +00:00
Vladimir Menshakov 22dd1a616f ported all code to ScopedPtr
svn-id: r48340
2010-03-20 20:37:36 +00:00
Vladimir Menshakov 88656ae7c6 cleaned up inventory activation, enter toggles the inventory.
svn-id: r48332
2010-03-20 18:15:32 +00:00
Vladimir Menshakov 1bcf90c2e3 fixed endianess issue
svn-id: r48331
2010-03-20 18:02:43 +00:00
Vladimir Menshakov 9c2289b7a3 flush inventory items on savegame load, fixing invalid item tiles after multiple loads.
svn-id: r48325
2010-03-20 16:23:15 +00:00
Vladimir Menshakov 73d5251738 fixed stream leaks
svn-id: r48321
2010-03-20 15:24:16 +00:00
Vladimir Menshakov 412e63123e code convention fixes mentioned by Max Horn
svn-id: r48296
2010-03-18 23:30:29 +00:00
Vladimir Menshakov e245de962a removed 'varia.res' from the resident pack files
svn-id: r48295
2010-03-18 23:24:32 +00:00
Vladimir Menshakov 049436313c added background effect for the inventory items
svn-id: r47980
2010-02-07 18:05:55 +00:00
Vladimir Menshakov ad8ebf0130 do not trigger combine for the one object
svn-id: r47975
2010-02-07 17:47:34 +00:00
Vladimir Menshakov 9ed02ae0c6 process object callback both on left and right click. skip r-click callback for banknote.
svn-id: r47970
2010-02-07 17:14:32 +00:00
Johannes Schickel aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Vladimir Menshakov adcb8cfa7d fixed inventory animation speed
svn-id: r47148
2010-01-08 10:35:25 +00:00
Vladimir Menshakov 65c29eb851 added zero-object special case in combine table
svn-id: r47147
2010-01-08 07:58:04 +00:00
Vladimir Menshakov 841e2d3424 separate timers for mark, scene and messages.
svn-id: r47056
2010-01-05 22:09:16 +00:00
Vladimir Menshakov 7bbcc1830b display '&' next to the object name as in original game.
svn-id: r46226
2009-12-01 07:54:50 +00:00
Vladimir Menshakov 58cd917bba hide mouse while displaying messages, hide item name while displaying item's description.
svn-id: r45925
2009-11-15 17:49:26 +00:00
Vladimir Menshakov 274b1306e3 do not close inventory while displaying examine message.
svn-id: r45924
2009-11-15 17:43:47 +00:00
Vladimir Menshakov e9f2f2b291 do not trigger examine object while inventory is inactive
svn-id: r45773
2009-11-09 08:23:19 +00:00
Vladimir Menshakov ea0b2a8cb8 implemented mouse-rock-glue time challenge
svn-id: r45767
2009-11-08 22:37:03 +00:00
Vladimir Menshakov c1b1d42b87 removed font::color, added debugger console with enable_object/disable_object commands.
svn-id: r45755
2009-11-08 19:11:57 +00:00