Commit Graph

37432 Commits

Author SHA1 Message Date
Johannes Schickel
86c779bed8 Prevent inifinite loop caused by a check of an unsigned integer against >= 0.
svn-id: r48397
2010-03-24 21:39:26 +00:00
Johannes Schickel
5315993ffc Remove pointer dereferencation in a place, where the result is not used at all.
svn-id: r48396
2010-03-24 21:39:02 +00:00
Paweł Kołodziejski
51110f4be9 not need this for samsungtv
svn-id: r48395
2010-03-24 21:25:18 +00:00
Vladimir Menshakov
93084baf28 implemented screen shaking as in the original engine with delays before moving video memory
svn-id: r48393
2010-03-24 20:45:37 +00:00
Vladimir Menshakov
02ea77a2a8 removed useless updateScreen
svn-id: r48391
2010-03-24 20:26:55 +00:00
Vladimir Menshakov
620e8bb89f added shake screen effect
svn-id: r48390
2010-03-24 20:24:08 +00:00
Frantisek Dufka
03ba4a3318 added desktop and service items for launching
svn-id: r48386
2010-03-24 19:56:16 +00:00
Frantisek Dufka
837b7d096e Maemo icons
svn-id: r48385
2010-03-24 19:50:47 +00:00
Vladimir Menshakov
f3ed66045f fixed warning
svn-id: r48384
2010-03-24 19:48:32 +00:00
Vladimir Menshakov
e9d80d104d validate path before examining object
svn-id: r48383
2010-03-24 19:34:58 +00:00
Vladimir Menshakov
6e26a20b1c fixed big fan room
svn-id: r48382
2010-03-24 19:34:08 +00:00
Torbjörn Andersson
55fb1225c8 Stop the music before starting the next one, after discussing it with joostp.
This should fix bug #2961891 ("FOTAQ: Floda Alarm Tone Won't Stop"). It's
probably too late to get this into the branch - at least before the release -
since it's not a particularly serious bug.

svn-id: r48381
2010-03-24 17:46:35 +00:00
Paweł Kołodziejski
d377ef5626 update samsungtv toolchain prefix
svn-id: r48380
2010-03-24 16:40:35 +00:00
Paul Gilbert
cf5cd833fd Moved new MadsView related code into Mads_Views, where it's more appropriate. Added extra logic necessary for displaying text in the game dialogs
svn-id: r48378
2010-03-24 11:49:26 +00:00
Paul Gilbert
d34fd9cdd6 Bugfix for getting correct quote information
svn-id: r48377
2010-03-24 11:47:08 +00:00
Paul Gilbert
e0f92f61eb Bugfixes for correctly getting string lengths and cropping drawn text
svn-id: r48376
2010-03-24 11:46:09 +00:00
Kari Salminen
5d62e682cc Cine: Fix regression in executePlayerInput (Caused slowness when clicking when moving).
The regression was caused by r47505.

svn-id: r48373
2010-03-23 22:54:32 +00:00
Vladimir Menshakov
164dfdd0ab do not skip warp+walk events
svn-id: r48371
2010-03-23 20:58:40 +00:00
Paul Gilbert
b46a2b4e10 Added further code for the game dialog framework
svn-id: r48368
2010-03-23 12:02:23 +00:00
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