aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/objects.cpp
AgeCommit message (Collapse)Author
2011-01-28DRASCULA: Fixed Code to allow Quit/RTL Function and avoid Memory Leakage.David Turner
A memory leakage was traced down to a failure to call the engine destructor. This was due to the engine directly calling OSystem quit() i.e. _system->quit(), rather than just allowing engine::run() to return. Have removed this code and implemented the changes required to allow graceful Quit/RTL to occur. svn-id: r55583
2010-09-21DRASCULA: Fix invalid memory access on inventory screenTorbjörn Andersson
When clicking outside of all inventory objects, the whichObject() function would return 43, which is an invalid inventoryObjects[] index. I think that's what caused it to crash for me. There are a few other inventoryObjects[]-related changes as well. svn-id: r52843
2010-06-15Drascula: add even more responsivenessEugene Sandulenko
svn-id: r49718
2010-05-24Fix bug #2827172: DRASCULA: Cursor appears ontop of ending and creditsEugene Sandulenko
svn-id: r49194
2010-03-09DRASCULA: Simplified some code, cleanupMax Horn
svn-id: r48216
2009-05-13Normalized types for several variables. FormattingEugene Sandulenko
svn-id: r40521
2009-05-12Replace verb numbers with constants in selectVerb() callEugene Sandulenko
svn-id: r40476
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-09-11- Merged openDoor() and closeDoor()Filippos Karapetis
- Cleaned up updateDoor() - Bugfixes to exitRoom() and gotoObject() - Moved cursor-related functions to interface.cpp - alapuertakeva -> roomExits svn-id: r34493
2008-09-11- The game's cursor is now handled via ScummVM's cursor manager, instead of ↵Filippos Karapetis
the game itself (this means that there might be regressions where the cursor is visible when it shouldn't be) - Removed the textSurface pointer, which was used in the Spanish version. Non-Spanish versions of the game hold the font data in the tableSurface buffer (which contains picture 96). The font data for Spanish versions is in picture 974. Now both versions load their font data from the tableSurface buffer - hay_que_load -> loadedDifferentChapter - Merged withoutVerb() and selectVerb() This is a big change, it might lead to regressions! svn-id: r34488
2008-09-10Reduced game memory usage by about 400KB by only loading the current ↵Filippos Karapetis
language strings, not all strings svn-id: r34472
2008-06-09- drascula.dat is now read completelyFilippos Karapetis
- Removed the rest of the game static data (staticdata.h) - Some naming convention fixes (added underscore to some shared variables) - Renamed objeto -> object svn-id: r32628
2008-06-07Shuffled around more code. Now the files look more manageable.Eugene Sandulenko
svn-id: r32599