aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-03-30Dropped superfluous 'virtual' keyword (saves us a few bytes for each String)Max Horn
svn-id: r31327
2008-03-30#include <cstring> => #include <string.h> (for size_t)Bertrand Augereau
svn-id: r31325
2008-03-30std::max => utils.h MAXBertrand Augereau
Added GPL headers svn-id: r31324
2008-03-30The "anchor" (root) of the linked list is now constructed inplace in the ↵Bertrand Augereau
List instead of being newed (it has the same lifetime as the List itself anyway) svn-id: r31323
2008-03-30Fixed signed/unsigned warning.Torbjörn Andersson
svn-id: r31322
2008-03-30The hashmap uses the memorypool for allocating/deallocating its NodesBertrand Augereau
(It is faster and it saves approximately 70kB the DS or other small devices will appreciate having) svn-id: r31321
2008-03-30Introduction of a fixed size memory pool with a typical free list implementationBertrand Augereau
+ : amortized O(1) allocation, O(1) deallocation, less overhead per allocation - : unused memory is not reclaimed until death or manual invocation of a function svn-id: r31320
2008-03-30Cleanup.Johannes Schickel
svn-id: r31319
2008-03-30Always clip rect to copy in Screen::copyRegion now, like the original does.Johannes Schickel
This fixes bug #1537373 "KYRA1: Crash when meeting Zanthia". svn-id: r31318
2008-03-30- get rid of const_castFlorian Kagerer
svn-id: r31317
2008-03-30Cleanup.Johannes Schickel
svn-id: r31316
2008-03-30Add test for copying hashmaps.Johannes Schickel
svn-id: r31315
2008-03-30Fixed hashmap code. (please make a better check next time when changing code ↵Johannes Schickel
in common/, this was a really bad one :-/) svn-id: r31314
2008-03-30Cleanup.Johannes Schickel
svn-id: r31313
2008-03-30- Added support for custom deletion operator (aka deleter) support for ↵Johannes Schickel
SharedPtr. - Removed two failing comparison tests of SharedPtr in our test suite (those were not supported according to our documentation anyway) svn-id: r31312
2008-03-30Readded friend statement required by standard conform compilers. Disabled ↵Johannes Schickel
for gcc 2.95 though. svn-id: r31311
2008-03-30Renamed some functions according to our coding guidelines.Johannes Schickel
svn-id: r31310
2008-03-30- fixed formattingJohannes Schickel
- fixed const correctness (needed a const_cast though :-/) svn-id: r31309
2008-03-30Formatting.Johannes Schickel
svn-id: r31308
2008-03-29Let mass detector add all hits, instead of only the first oneMax Horn
svn-id: r31307
2008-03-29New drawShape code for Kyra 1 and 2. Scaled sprites no longer appear ↵Florian Kagerer
mutilated. This also fixes bug #1582675 (KYRA1: Brandon standing IN the floor). This still needs some testing (for both Kyra 1 and Kyra 2). svn-id: r31306
2008-03-29Centralized the way the hashmaps allocate and free nodes (in order to ↵Bertrand Augereau
instrument and maybe use a pool allocator later) svn-id: r31305
2008-03-29Removing dead codeMax Horn
svn-id: r31304
2008-03-29Changed FilesystemNode to use a SharedPtr instead of implementing its own ↵Max Horn
ref counting svn-id: r31303
2008-03-29- allow SharedPtr objects with incomplete typeJohannes Schickel
- updated documentation accordingly - clarified documentation about comparison operators of SharedPtr svn-id: r31301
2008-03-29Add patch #1928643 - Czech fan translation of Simon the Sorcerer 1.Travis Howell
svn-id: r31300
2008-03-29Document SharedPtr bool conversion operator; added test cases for it; also ↵Max Horn
added two test cases for the comparision operators, which currently fail svn-id: r31299
2008-03-29Removed unused friends statement (causes internal compiler error with GCC ↵Max Horn
2.95 on BeOS) svn-id: r31298
2008-03-28OopsFilippos Karapetis
svn-id: r31297
2008-03-28Fixed 2 off-by-one errors (thanks next_ghost for spotting them)Filippos Karapetis
svn-id: r31296
2008-03-28Changed HoF GUI code to use common GUI code now.Johannes Schickel
svn-id: r31295
2008-03-28- fixed svn propertiesJohannes Schickel
- reenabled kyra1 layout calculation svn-id: r31294
2008-03-28Updated MSVC8 and MSVC9 ScummVM project files for commit #31287Filippos Karapetis
svn-id: r31293
2008-03-28Updated MSVC8 and MSVC9 kyra project files for commit #31290Filippos Karapetis
svn-id: r31292
2008-03-28Added FIXME comment regarding sorting of pred.dic; replaced weird binary ↵Max Horn
search code with simple binary search code ;-) svn-id: r31291
2008-03-28Refactored Kyrandia GUI code a bit.Johannes Schickel
svn-id: r31290
2008-03-28cleanupMax Horn
svn-id: r31289
2008-03-28Oops that shouldn't be committed yet.Johannes Schickel
svn-id: r31288
2008-03-28Committed shared pointer implementation of patch #1895703 "COMMON: Managed ↵Johannes Schickel
List". Unlike the patch on the tracker this commit includes documentation for SharedPtr. svn-id: r31287
2008-03-28Fixed showing of cauldron animations processing while the inventory is not ↵Johannes Schickel
shown. svn-id: r31286
2008-03-28Implemented command text fadeout.Johannes Schickel
svn-id: r31285
2008-03-28Finished o2_delay implementation.Johannes Schickel
svn-id: r31284
2008-03-28Oops fixed wrong o2_delaySecs.Johannes Schickel
svn-id: r31283
2008-03-28- Clear input queue after loading game via hotkeys.Johannes Schickel
- Fixed bug which caused the need for clicking twice to change pages in spellbook. svn-id: r31282
2008-03-28Implemented savegame loading via command line params -x/--save-slot.Johannes Schickel
svn-id: r31281
2008-03-28Properly set sfx flag when playing digital SFX.Johannes Schickel
svn-id: r31280
2008-03-28Implemented opcodes:Johannes Schickel
- 38: o2_countItemsInScene - 57: o2_setTimerDelay - 84: o2_getSceneExitToFacing - 137: o2_removeItemFromScene svn-id: r31279
2008-03-28- some accuracy changes for KyraEngine_v2::snd_playSoundEffect()Florian Kagerer
- fix one more skip flag bug in the sequence player - fix SoundTowns_v2::voicePlay() svn-id: r31278
2008-03-27- Implemented opcodes:Johannes Schickel
-> 51: o2_getElapsedSecs -> 52: o2_getTimerDelay - Added warnings to o2_delaySecs and o2_delay for unimplemented subfunctions svn-id: r31277
2008-03-27Implemented opcode 74: o2_setSceneAnimPos2.Johannes Schickel
svn-id: r31276