aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/inventory.cpp
AgeCommit message (Collapse)Author
2012-10-09TEENAGENT: Fix constant naming to comply with Coding Conventions.D G Turner
Adding missing CamelCase k-prefixes.
2012-09-23TEENAGENT: Cleanup Inventory class.D G Turner
This removes the underscores in various variables as per project coding standard.
2012-08-03TEENAGENT: Add symbols for dialog and message text colors.D G Turner
2012-08-01TEENAGENT: Add symbols for inventory items.D G Turner
2012-07-28TEENAGENT: Add constant values for screen width and height.D G Turner
It is unlikely these will be changed, but the symbols make the code more readable.
2012-07-27TEENAGENT: Fix inventory regression due to missing blank entry.D G Turner
This was a regression from f856a0a7466f62ad0bd26484bf5c07c2d01c1461. 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-27TEENAGENT: Add symbols for object callback tables in Inventory class.D G Turner
Also, removed one ptr usage, replacing with direct get_byte / get_word accesses.
2012-07-27TEENAGENT: Add symbols in Inventory class for various sizes.D G Turner
2012-07-27TEENAGENT: Add dsAddr symbols for Inventory. Minor fix to logic.D G Turner
The start address for the inventory item pointer data table was incorrect and has been corrected.
2012-07-22TEENAGENT: Symbol migration associated with remaning display*Message().D G Turner
Have also corrected typo in offset i.e. 0x39b7 was incorrect, it appears that 0x3ab7 was intended.
2012-07-12TEENAGENT: Minor formatting fixes for consistency.D G Turner
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-08TEENAGENT: Migrate engine to using debugflags.D G Turner
This required some restructuring of the header dependencies.
2012-07-07TEENAGENT: Enable commented out debug statements.D G Turner
Commented out code is not good practice. Will change these statements to using debugflags instead in a future commit.
2012-07-07TEENAGENT: Remove static Resources class Instance.D G Turner
This is replaced by an engine instance. This should prevent issues with Return To Launcher and may remove issues with file handles.
2011-10-23TEENAGENT: Improve code formatting.Johannes Schickel
I used astyle and fixed some incorrect changes from it manually.
2011-08-07TEENAGENT: Pass streams as references.Christoph Mallon
2011-06-20ALL: Remove trailing whitespacesMax Horn
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-05-23TEEN: Change Inventory members to comple with CFGMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-01-31TEENAGENT: Fix Memory Leaks.David Turner
svn-id: r55672
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-05-04Get rid of Engine::_gameDataDir.Max Horn
This greatly reduces indirect dependencies on several header files from common. svn-id: r48933
2010-03-23do not close inventory if mouse moves up. better mouseless experience.Vladimir Menshakov
svn-id: r48367
2010-03-21preload inventory graphics on loadVladimir Menshakov
svn-id: r48350
2010-03-20reverted inventory objects patch, added mark's animation z-order patch.Vladimir Menshakov
svn-id: r48342
2010-03-20fixed inventory object overflowVladimir Menshakov
svn-id: r48341
2010-03-20ported all code to ScopedPtrVladimir Menshakov
svn-id: r48340
2010-03-20cleaned up inventory activation, enter toggles the inventory.Vladimir Menshakov
svn-id: r48332
2010-03-20fixed endianess issueVladimir Menshakov
svn-id: r48331
2010-03-20flush inventory items on savegame load, fixing invalid item tiles after ↵Vladimir Menshakov
multiple loads. svn-id: r48325
2010-03-20fixed stream leaksVladimir Menshakov
svn-id: r48321
2010-03-18code convention fixes mentioned by Max HornVladimir Menshakov
svn-id: r48296
2010-03-18removed 'varia.res' from the resident pack filesVladimir Menshakov
svn-id: r48295
2010-02-07added background effect for the inventory itemsVladimir Menshakov
svn-id: r47980
2010-02-07do not trigger combine for the one objectVladimir Menshakov
svn-id: r47975
2010-02-07process object callback both on left and right click. skip r-click callback ↵Vladimir Menshakov
for banknote. svn-id: r47970
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-08fixed inventory animation speedVladimir Menshakov
svn-id: r47148
2010-01-08added zero-object special case in combine tableVladimir Menshakov
svn-id: r47147
2010-01-05separate timers for mark, scene and messages.Vladimir Menshakov
svn-id: r47056
2009-12-01display '&' next to the object name as in original game.Vladimir Menshakov
svn-id: r46226
2009-11-15hide mouse while displaying messages, hide item name while displaying item's ↵Vladimir Menshakov
description. svn-id: r45925
2009-11-15do not close inventory while displaying `examine` message. Vladimir Menshakov
svn-id: r45924
2009-11-09do not trigger examine object while inventory is inactiveVladimir Menshakov
svn-id: r45773
2009-11-08implemented mouse-rock-glue time challengeVladimir Menshakov
svn-id: r45767
2009-11-08removed font::color, added debugger console with ↵Vladimir Menshakov
enable_object/disable_object commands. svn-id: r45755
2009-10-31fixed bird-assert from chapter 1Vladimir Menshakov
svn-id: r45577
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-09-26removed packed structs/direct read/writes, so the game should work on ↵Vladimir Menshakov
big-endian archs. svn-id: r44377