Commit Graph

37413 Commits

Author SHA1 Message Date
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
Travis Howell
9f53578fd2 Fix compiler warning.
svn-id: r48365
2010-03-23 00:42:42 +00:00
Max Horn
6545e728b6 Patch #2938173: LinuxMoto update 23012010
svn-id: r48362
2010-03-22 23:04:55 +00:00
Max Horn
b104534d0d Patch #2973283: SCUMM: Unneeded pointer dereference
svn-id: r48360
2010-03-22 23:03:09 +00:00
Max Horn
92c896d883 Patch #2973290: Semicolon cleanup
svn-id: r48359
2010-03-22 20:28:08 +00:00
Max Horn
dd7891cdad Add simple testcase for ScopedPtr and SharedPtr
The new test verifies that a given object is indeed deleted after
the smart pointer leaves scope.

svn-id: r48358
2010-03-22 20:26:57 +00:00
Johannes Schickel
86653687d7 Fix for bug #2969211 "NIPPON: Crash in Intro".
It is not a good idea to supply an SubLoopingAudioStream with the start
and end time to be exactly the same time. Clarify that in the
SubLoopingAudioStream documentation, add an assert in the
SubLoopingAudioStream constructor for that case and also prevent
make8SVXStream from doing so.

svn-id: r48356
2010-03-22 15:54:56 +00:00
Johannes Schickel
a725b490e8 Fix shadow member of this warnings of gcc.
svn-id: r48355
2010-03-21 12:36:57 +00:00
Paul Gilbert
68f5f08930 Revert of accidental commit to engines.mk
svn-id: r48354
2010-03-21 10:53:13 +00:00
Paul Gilbert
05922881cb Added framework for displaying game dialogs
svn-id: r48353
2010-03-21 10:51:11 +00:00
Marcus Comstedt
e6619b5792 Ack, typo!
svn-id: r48352
2010-03-21 10:35:15 +00:00
Marcus Comstedt
487eebf9cf Autodetect long V numbers and shorten them.
svn-id: r48351
2010-03-21 10:34:10 +00:00
Vladimir Menshakov
338532ec3c preload inventory graphics on load
svn-id: r48350
2010-03-21 07:49:53 +00:00
Vladimir Menshakov
76ef5d4aea -added overlay rendering flag
-fixed music played too late on some scenes

svn-id: r48349
2010-03-21 07:38:09 +00:00
Vladimir Menshakov
ee2215eaee reverted the z-order patch.
svn-id: r48348
2010-03-21 07:13:13 +00:00
Vladimir Menshakov
6e9b43009c documented psp hack
svn-id: r48343
2010-03-20 23:40:13 +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
Johannes Schickel
01f5610836 Fix out of bounds access.
svn-id: r48338
2010-03-20 20:25:37 +00:00
Johannes Schickel
a8d2c0de10 - Renamed SharedPtr<T>::Pointer to SharedPtr<T>::PointerType
- Introduced ReferenceType to SharedPtr and ScopedPtr

svn-id: r48337
2010-03-20 20:25:12 +00:00
Johannes Schickel
2a2cfe7ab0 Style fixes / cleanup.
svn-id: r48336
2010-03-20 20:16:16 +00:00
Vladimir Menshakov
6e628f59dc removed local scopedptr
svn-id: r48335
2010-03-20 20:03:58 +00:00
Vladimir Menshakov
abdfbafa45 added ScopedPtr template
svn-id: r48334
2010-03-20 20:01:44 +00:00
Vladimir Menshakov
3c884abfa6 textual cleanups
svn-id: r48333
2010-03-20 19:48:21 +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
7666cac789 removed auto_ptr semantics in a favor of boost's scoped_ptr
svn-id: r48329
2010-03-20 17:06:18 +00:00
Vladimir Menshakov
b5d3d0ebcf fixed another stream leak
svn-id: r48327
2010-03-20 16:52:51 +00:00
Johannes Schickel
9d4cb7c23c Add missing tokenizer.h include.
svn-id: r48326
2010-03-20 16:45:11 +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
a61e36dcd2 documented pack classes, restored old substream creation for FilePack
svn-id: r48324
2010-03-20 16:08:28 +00:00
Neil Millstone
6fb96d7e90 DS: Changing version number on title screen
svn-id: r48322
2010-03-20 15:52:31 +00:00
Vladimir Menshakov
73d5251738 fixed stream leaks
svn-id: r48321
2010-03-20 15:24:16 +00:00
Vladimir Menshakov
4da76a96d8 restored subtitle feature
svn-id: r48320
2010-03-20 15:00:42 +00:00
Vladimir Menshakov
f122762309 fixed file leak, cleanups
svn-id: r48319
2010-03-20 14:53:46 +00:00
Vladimir Menshakov
e037ea19ac fixed compilation error
svn-id: r48318
2010-03-20 14:24:19 +00:00
Vladimir Menshakov
4145c2ea88 use TransientFilePack on psp
svn-id: r48317
2010-03-20 13:55:33 +00:00
Vladimir Menshakov
34811eb8dd removed 'subtitle' option, added missing finalize
svn-id: r48316
2010-03-20 13:55:07 +00:00
Vladimir Menshakov
76c9e2a4f2 added close()
svn-id: r48315
2010-03-20 13:54:05 +00:00
Vladimir Menshakov
23f63e7531 added TransientFilePack
svn-id: r48314
2010-03-20 13:52:08 +00:00
Johannes Schickel
e117783379 Some style fixes.
svn-id: r48313
2010-03-20 13:18:47 +00:00
Johannes Schickel
5c1a63026e Remove unused stdarg.h include.
svn-id: r48312
2010-03-20 13:00:23 +00:00
Johannes Schickel
794fcf0170 Sort object files.
svn-id: r48311
2010-03-20 12:57:12 +00:00
Johannes Schickel
38b2b3c04f Move StringTokenizer to its own files (tokenizer.h/tokenizer.cpp).
svn-id: r48310
2010-03-20 12:56:56 +00:00
Vladimir Menshakov
8f30fa1a6c marked all methods with virtual
svn-id: r48309
2010-03-20 12:18:56 +00:00
Vladimir Menshakov
a5c66b64f5 do not read last dummy entry in pack
svn-id: r48308
2010-03-20 12:18:13 +00:00
Johannes Schickel
a0f90fd603 Add common/util.h include to common/algorithm.h for SWAP.
This should fix the compilation with clang++, see bug report
 #2971226 "COMMON: Compile error - SWAP undeclared in algorithm.h".

svn-id: r48307
2010-03-20 12:13:37 +00:00
Max Horn
9015be8165 Also remove Win32PluginProvider::addCustomDirectories, as it obviously isn't being used
svn-id: r48304
2010-03-19 13:55:25 +00:00
Max Horn
23547d6041 DC: Removing unneeded DCPluginProvider::addCustomDirectories
svn-id: r48301
2010-03-19 13:46:59 +00:00