Commit Graph

345 Commits

Author SHA1 Message Date
Max Horn
2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
059944e59c COMMON: Push #include audiocd.h in system.h out to .cpp files
svn-id: r54148
2010-11-08 23:07:42 +00:00
Max Horn
82e473bc3b BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes only
This commit contains the AudioCDManager changes from the gsoc2010-opengl
branch. The other changes in that branch are restricted to the backends
directory only (plus configure).

The Nintendo DS and Dreamcast ports still need to be ported over to
the new Audio CD system, but that should be fairly easy to do.

svn-id: r54147
2010-11-08 22:53:36 +00:00
Max Horn
18d40017e8 ENGINES: Unify code layout of all ADParams instances
svn-id: r54105
2010-11-07 01:01:18 +00:00
Max Horn
e27b05ef35 COMMON: Rename String::printf() to String::format()
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.

The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.

svn-id: r54004
2010-11-01 16:02:28 +00:00
Max Horn
4ccce19876 ENGINES: Enhance namespace comments a bit
svn-id: r53484
2010-10-15 12:48:19 +00:00
Vladimir Menshakov
bacbf08900 Bug #3087858: fixed null pointer dereferencing
svn-id: r53465
2010-10-15 05:50:19 +00:00
Alejandro Marzini
fb4086cadb Merged from trunk, from Rev 50841 to HEAD
svn-id: r51495
2010-07-30 05:28:09 +00:00
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
Alejandro Marzini
609e08d5db Merged from trunk, from Rev 49499 to HEAD
svn-id: r50840
2010-07-13 04:31:15 +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
Alejandro Marzini
e1ef3cd9fc Renamed getAudioCD to getAudioCDManager.
svn-id: r49678
2010-06-15 04:13:12 +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
Alejandro Marzini
e991cd8c53 - Revised abstract AudioCDManager.
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem.
- Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL.

svn-id: r49548
2010-06-09 20:09:57 +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