Commit Graph

334 Commits

Author SHA1 Message Date
Jordi Vilalta Prat
eef7417487 TEENAGENT: Sort the object files alphabetically.
svn-id: r51360
2010-07-27 10:40:14 +00:00
Max Horn
1d4c82885d DEBUGGER: Simplify how our console debugger works / is used
* Remove _isAttached member var and isAttached method
* Engines now always call the onFrame method; whether it does
  something is decided by the debugger class resp. its subclasses
* Make detach() protected instead of private, so that subclasses
  can invoke it
* Remove _detach_now member var (call detach() instead).
* Rename _frame_countdown to _frameCountdown and properly
  document it.
* Add more doxygen comments
* Cleanup

svn-id: r50963
2010-07-17 18:38:42 +00:00
Eugene Sandulenko
44a39ffbc6 AdvancedDetector: Add new parameter directoryGlobs.
Without this parameter mass detection gave tons of false alarms.
Use globbing for narrowing down the depth search.

svn-id: r49788
2010-06-15 10:59:23 +00:00
Eugene Sandulenko
4d517ed0e9 Extended advancedDetector with depth parameter.
Now AD can search nested directories. By default it is turned off,
but there is new parameter to ADParameters struct. Usually value
of 2 is good enough for all purposes.

svn-id: r49653
2010-06-14 14:50:23 +00:00
Vladimir Menshakov
2dd34a2123 added voices pack/cd music support
svn-id: r48962
2010-05-07 07:56:57 +00:00
Max Horn
b3e404109c Move initGraphics and initCommonGFX from to new header.
These functions are only used internally be Engine subclasses, and
by moving them to a separate header we can reduce indirect header
dependencies.

svn-id: r48934
2010-05-04 11:58:12 +00:00
Max Horn
5568a8473b Get rid of Engine::_gameDataDir.
This greatly reduces indirect dependencies on several header files
from common.

svn-id: r48933
2010-05-04 11:56:52 +00:00
Vladimir Menshakov
cb17e00f0d added cd-version detection and cdlogo.res support
svn-id: r48831
2010-04-28 19:50:28 +00:00
Max Horn
bb26c04053 Fixing some warnings (with gcc 3.3.6)
svn-id: r48694
2010-04-17 23:19:52 +00:00
Max Horn
a1840bd573 AUDIO: Rename Mixer::playInputStream to playStream
svn-id: r48637
2010-04-12 09:14:17 +00:00
Vladimir Menshakov
b89b64f71a fixed crash during time challenges (rclick without object)
svn-id: r48581
2010-04-07 07:45:50 +00:00
Ori Avtalion
aee05cd21d Remove extra semicolons
svn-id: r48457
2010-04-01 15:03:08 +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
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
Vladimir Menshakov
164dfdd0ab do not skip warp+walk events
svn-id: r48371
2010-03-23 20:58:40 +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
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
Vladimir Menshakov
6e628f59dc removed local scopedptr
svn-id: r48335
2010-03-20 20:03:58 +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
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
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
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
Vladimir Menshakov
412e63123e code convention fixes mentioned by Max Horn
svn-id: r48296
2010-03-18 23:30:29 +00:00
Vladimir Menshakov
e245de962a removed 'varia.res' from the resident pack files
svn-id: r48295
2010-03-18 23:24:32 +00:00
Vladimir Menshakov
062ac9f6f2 do not seek for the empty assets
svn-id: r48293
2010-03-18 22:37:07 +00:00
Vladimir Menshakov
77411ff0f9 added abstract Pack class, moved code into FilePack and MemoryPack
svn-id: r48292
2010-03-18 22:35:58 +00:00
Max Horn
cac0ac66e2 COMMON: Get rid of Common::StringList
svn-id: r48287
2010-03-18 15:54:40 +00:00