Commit Graph

24736 Commits

Author SHA1 Message Date
Max Horn
9bda498099 Patch #1932094: Missing directory in dists/debian/scummvm.dirs fix
svn-id: r31363
2008-04-02 10:48:23 +00:00
Torbjörn Andersson
ff688574c4 Changed spaces to tabs.
svn-id: r31362
2008-04-02 04:23:00 +00:00
Johannes Schickel
4fa0740a27 Implemented death menu. This also fixes bug #1926892 "HoF: Odd behaviour when Zanthia gets killed(?)".
svn-id: r31360
2008-04-02 03:16:34 +00:00
Johannes Schickel
887f7dfb28 Fixed warnings with gcc 3.3.
svn-id: r31359
2008-04-02 02:46:50 +00:00
Johannes Schickel
a614273cf0 Oops forgot to enable friend statement.
svn-id: r31358
2008-04-02 02:15:47 +00:00
Johannes Schickel
da9701d19b Implemented transparent List::iterator to List::const_iterator conversion and updated our tests accordingly.
svn-id: r31357
2008-04-02 02:15:00 +00:00
Johannes Schickel
8436943bfd Committed patch #1929274 "HashMap: Iterator rework".
svn-id: r31356
2008-04-02 02:01:31 +00:00
Johannes Schickel
3b81a73e52 Fixed bug in GUI code, should hopefully fix white boxes appearing around inventory.
svn-id: r31355
2008-04-01 18:35:14 +00:00
Johannes Schickel
7744a3b053 Fixed spellbook graphics in German CD version.
svn-id: r31354
2008-04-01 18:23:54 +00:00
Filippos Karapetis
df470ec33a Updated MSVC7 project files using the new MSVC project file conversion tool
svn-id: r31350
2008-04-01 09:22:54 +00:00
Filippos Karapetis
72aceb5c72 Updated MSVC71 project files using the new MSVC project file conversion tool
svn-id: r31349
2008-04-01 09:21:05 +00:00
Filippos Karapetis
02551f50b8 Added my MSVC8->MSVC7/MSVC71 conversion tool from patch #1861744 - "MSVC project files cleanup"
svn-id: r31348
2008-04-01 09:19:22 +00:00
Kari Salminen
bd8df7afee Add detection entry for Serguei's Destiny II Demo v1.3.1 (March 22nd 2008).
svn-id: r31346
2008-04-01 00:23:39 +00:00
Kari Salminen
3c52cfecef Fix compilation on MSVC 8 & 9 (Added memorypool.h and memorypool.cpp to the project file).
svn-id: r31345
2008-03-31 23:59:27 +00:00
Filippos Karapetis
06749f3fcc Updated MSVC8 and MSVC9 kyra project files for commit #31295
svn-id: r31340
2008-03-31 07:49:20 +00:00
Johannes Schickel
39995e29ad Added fixme regarding header 'new'.
svn-id: r31339
2008-03-30 18:59:24 +00:00
Torbjörn Andersson
a03547dc8e Some minor whitespace changes, and the customary "end of namespace" comment.
svn-id: r31338
2008-03-30 18:53:16 +00:00
Johannes Schickel
bd85909ff9 Don't enter run loop when quit flag is set.
svn-id: r31337
2008-03-30 18:41:55 +00:00
Johannes Schickel
54d2e7128e Implement quit flag handling in Kyra2 GUI code.
svn-id: r31336
2008-03-30 18:41:11 +00:00
Johannes Schickel
4a9891c006 Fixed bug which caused sometimes garbage text to be displayed.
svn-id: r31335
2008-03-30 18:37:27 +00:00
Max Horn
57ad73faee Removed char &operator [] from class String -- it had the potential to wreak havoc when used on shared strings (thanks to tramboi for pointing this out)
svn-id: r31334
2008-03-30 18:37:09 +00:00
Johannes Schickel
351851971b Committed salty-horse's documentation patch.
svn-id: r31333
2008-03-30 18:32:42 +00:00
Johannes Schickel
a9d256108d Cleanup.
svn-id: r31332
2008-03-30 18:31:30 +00:00
Johannes Schickel
f4e6109b33 - fixed savegame description loading in kyra1
- added Kyra2 load menu, currently just accessable from startup menu though

svn-id: r31331
2008-03-30 18:27:46 +00:00
Bertrand Augereau
5f3529ce78 Whitespacing fixes
svn-id: r31330
2008-03-30 14:07:34 +00:00
Johannes Schickel
a51c2657b6 Added checks for implicit SharedPtr casting functionallity.
svn-id: r31329
2008-03-30 13:13:51 +00:00
Travis Howell
3fffcec59e Add section about converting savedgames from original versions. Please add details for other games, where this is possible.
svn-id: r31328
2008-03-30 12:46:21 +00:00
Max Horn
7e1ba4732e Dropped superfluous 'virtual' keyword (saves us a few bytes for each String)
svn-id: r31327
2008-03-30 12:44:05 +00:00
Bertrand Augereau
de5fca43e6 #include <cstring> => #include <string.h> (for size_t)
svn-id: r31325
2008-03-30 12:06:47 +00:00
Bertrand Augereau
7624cf28ab std::max => utils.h MAX
Added GPL headers

svn-id: r31324
2008-03-30 11:56:32 +00:00
Bertrand Augereau
78419238f9 The "anchor" (root) of the linked list is now constructed inplace in the List instead of being newed (it has the same lifetime as the List itself anyway)
svn-id: r31323
2008-03-30 06:37:46 +00:00
Torbjörn Andersson
49e3efe55e Fixed signed/unsigned warning.
svn-id: r31322
2008-03-30 06:12:16 +00:00
Bertrand Augereau
a84d1ea78b The hashmap uses the memorypool for allocating/deallocating its Nodes
(It is faster and it saves approximately 70kB the DS or other small devices will appreciate having)

svn-id: r31321
2008-03-30 06:02:34 +00:00
Bertrand Augereau
411a588850 Introduction of a fixed size memory pool with a typical free list implementation
+ : 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-30 05:42:39 +00:00
Johannes Schickel
dc813c1c20 Cleanup.
svn-id: r31319
2008-03-30 03:21:01 +00:00
Johannes Schickel
b7a3dfd9df Always clip rect to copy in Screen::copyRegion now, like the original does.
This fixes bug #1537373 "KYRA1: Crash when meeting Zanthia".

svn-id: r31318
2008-03-30 03:18:16 +00:00
Florian Kagerer
91e30d8e50 - get rid of const_cast
svn-id: r31317
2008-03-30 02:43:22 +00:00
Johannes Schickel
ff5743ba8f Cleanup.
svn-id: r31316
2008-03-30 02:43:18 +00:00
Johannes Schickel
06cf3d3c54 Add test for copying hashmaps.
svn-id: r31315
2008-03-30 02:39:21 +00:00
Johannes Schickel
dcc385f3de Fixed hashmap code. (please make a better check next time when changing code in common/, this was a really bad one :-/)
svn-id: r31314
2008-03-30 02:36:23 +00:00
Johannes Schickel
a957b45d5c Cleanup.
svn-id: r31313
2008-03-30 01:35:12 +00:00
Johannes Schickel
3db24addcd - Added support for custom deletion operator (aka deleter) support for 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-30 01:26:51 +00:00
Johannes Schickel
08b54da75e Readded friend statement required by standard conform compilers. Disabled for gcc 2.95 though.
svn-id: r31311
2008-03-30 01:09:05 +00:00
Johannes Schickel
b3f858af2b Renamed some functions according to our coding guidelines.
svn-id: r31310
2008-03-30 01:01:12 +00:00
Johannes Schickel
30c513eb2d - fixed formatting
- fixed const correctness (needed a const_cast though :-/)

svn-id: r31309
2008-03-30 00:55:16 +00:00
Johannes Schickel
6a5ae22368 Formatting.
svn-id: r31308
2008-03-30 00:54:46 +00:00
Max Horn
85f8d617b0 Let mass detector add all hits, instead of only the first one
svn-id: r31307
2008-03-29 23:20:53 +00:00
Florian Kagerer
25b9a8a1cb New drawShape code for Kyra 1 and 2. Scaled sprites no longer appear 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-29 23:16:44 +00:00
Bertrand Augereau
7b295995dc Centralized the way the hashmaps allocate and free nodes (in order to instrument and maybe use a pool allocator later)
svn-id: r31305
2008-03-29 23:04:10 +00:00
Max Horn
e93a1f0c32 Removing dead code
svn-id: r31304
2008-03-29 21:17:43 +00:00