Torbjörn Andersson
f10b1a23f8
Fixed a few cppcheck errors.
...
svn-id: r49919
2010-06-17 05:40:48 +00:00
Filippos Karapetis
9938661ffa
Surface is a struct, not a class
...
svn-id: r49883
2010-06-15 18:36:05 +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
Jordi Vilalta Prat
0e95d8a5fa
Groovie:
...
- Rewritten T7G's font code to subclass Graphics::Font and make it cleaner.
- Use theme fonts for the Mac version of T7G (which used ugly system fonts
originally). With this the Mac version should be completable.
- Cleanup include interdependencies.
svn-id: r49487
2010-06-07 17:14:42 +00:00
Matthew Hoops
f76f64774a
Add initial support for T7G Mac MIDIs. Compressed MIDI is not yet supported.
...
svn-id: r49119
2010-05-20 17:22:45 +00:00
Jordi Vilalta Prat
fd5000fb79
Groovie: Add support for MT-32 custom instruments
...
svn-id: r49117
2010-05-20 15:16:09 +00:00
Jordi Vilalta Prat
75992f856c
Groovie: Tweak a filename of the Mac version of T7G
...
svn-id: r49112
2010-05-20 00:10:53 +00:00
Matthew Hoops
1c0ffdc42d
Add support for loading T7G Mac resources using the MacResManager.
...
svn-id: r49005
2010-05-11 15:41:31 +00:00
Max Horn
2149a2383d
Reduce indirect header dependencies further
...
svn-id: r48936
2010-05-04 12:00:16 +00:00
Max Horn
970745e60c
Move DebugChannel related code to new header
...
svn-id: r48935
2010-05-04 11:59:22 +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
Max Horn
460d69e885
COMMON: Move DebugChannel stuff into a new DebugMan singleton
...
svn-id: r48821
2010-04-27 21:40:52 +00:00
Max Horn
a1840bd573
AUDIO: Rename Mixer::playInputStream to playStream
...
svn-id: r48637
2010-04-12 09:14:17 +00:00
Max Horn
92c896d883
Patch #2973290 : Semicolon cleanup
...
svn-id: r48359
2010-03-22 20:28:08 +00:00
Max Horn
cac0ac66e2
COMMON: Get rid of Common::StringList
...
svn-id: r48287
2010-03-18 15:54:40 +00:00
Max Horn
c934642bdb
COMMON: Move typedef StringList from str.h to new header str-array.h
...
This removes the dependency on array.h from str.h.
Also, begun migration from the confusing type name "StringList" to
the more appropriate StringArray.
svn-id: r48282
2010-03-18 15:09:24 +00:00
Max Horn
d78dba3bca
COMMON: Move Common::RandomSource to common/random.*
...
svn-id: r48279
2010-03-18 15:07:11 +00:00
Max Horn
1565f14bc1
Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
...
svn-id: r47579
2010-01-26 22:48:45 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
dc5e08e623
Move raw audio flags from sound/mixer.h to sound/raw.h
...
svn-id: r47395
2010-01-19 22:30:33 +00:00
Max Horn
557bb394de
Get rid of Mixer::FLAG_AUTOFREE.
...
Also fix several recently introduced new/delete vs. malloc/free mismatches.
svn-id: r47369
2010-01-19 00:56:29 +00:00
Max Horn
b8f2a3a342
cleanup
...
svn-id: r47333
2010-01-16 21:34:36 +00:00
Johannes Schickel
0d995c5920
Rename all "Adlib" uses to "AdLib" to match the real name of the sound card / company.
...
Check this for reference:
http://en.wikipedia.org/wiki/Ad_Lib,_Inc .
http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card)
This commit does not touch "adlib" and "ADLIB" uses!
Also it does not update all the SCUMM detection entries, which still use "Adlib".
svn-id: r47279
2010-01-12 21:07:56 +00:00
Max Horn
be8371fb07
Replace AppendableAudioStream by QueuingAudioStream
...
svn-id: r47189
2010-01-09 00:19:13 +00:00
Max Horn
0cf53b025d
Move DisposeAfterUse::Flag from Common to global namespace, and into a new header common/types.h
...
svn-id: r47180
2010-01-08 22:07:35 +00:00
Torbjörn Andersson
72eb9ec9ea
Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is null
...
before freeing it, which isn't necessary.
svn-id: r46941
2010-01-03 19:37:43 +00:00
Jordi Vilalta Prat
a22fd021e9
Move the LZSS code to the Groovie namespace.
...
svn-id: r46867
2010-01-02 00:07:20 +00:00
Scott Thomas
a55e0531e8
11H: Add some more opcode stubs
...
svn-id: r46524
2009-12-24 08:35:11 +00:00
Scott Thomas
b2ae0e56c5
Tweak Groovie2 video buffer handling
...
svn-id: r46523
2009-12-24 08:33:37 +00:00
Max Horn
c8873d8492
Changed MidiDriver::createMidi to take a MidiDriverType instead of an int
...
svn-id: r46316
2009-12-09 18:12:51 +00:00
Max Horn
5f178e8650
Fix some MSVC warnings (part of patch #2909981 )
...
svn-id: r46291
2009-12-08 20:44:57 +00:00
Scott Thomas
6e26b4a1c8
Brief Groovie namespace comment
...
svn-id: r46161
2009-11-27 06:46:07 +00:00
Max Horn
df651bf20f
Added Doxygen comments for the various engine namespaces (currently mostly without details; help filling these out is welcome)
...
svn-id: r46128
2009-11-24 22:10:14 +00:00
Max Horn
ebcb9b0ff0
GROOVIE: Reduce header interdependency
...
svn-id: r46116
2009-11-23 23:53:25 +00:00
Matthew Hoops
49a8462c5b
Capitalize the word Sequel in The 11th Hour's title.
...
svn-id: r45643
2009-11-03 21:51:24 +00:00
Max Horn
51933629d1
Changed foo(void) to foo() in almost all non-backend source files
...
svn-id: r45616
2009-11-02 21:54:57 +00:00
Jordi Vilalta Prat
c7476aa16f
Groovie: Fix some styling issues pointed by cppcheck
...
svn-id: r45411
2009-10-26 19:06:36 +00:00
Torbjörn Andersson
22116b488e
Fixed cppcheck warning.
...
svn-id: r45241
2009-10-19 04:19:11 +00:00
Max Horn
2bbf708dea
Introduced new type Common::DisposeAfterUse::Flag
...
svn-id: r45233
2009-10-18 19:41:59 +00:00
Scott Thomas
2fa7fbc1a5
T7G: Proper fix for #2847539 - remove ambiguity in multi-byte script reads.
...
svn-id: r44524
2009-10-01 15:58:15 +00:00
Filippos Karapetis
2dbd096dd5
Changed _script to be a pointer, in order to control its creation/destruction, like the rest of the groovie engine parts, and resolve a potential issue that Microsoft claims to be severe (warning C4355, read more here: http://msdn.microsoft.com/en-us/library/3c594ae3.aspx )
...
svn-id: r44303
2009-09-24 10:58:00 +00:00
Johannes Schickel
c50940bbf4
Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel.
...
svn-id: r44266
2009-09-23 00:15:00 +00:00
Johannes Schickel
1b68bf76ac
Wording.
...
svn-id: r44086
2009-09-14 19:30:46 +00:00
Johannes Schickel
5ed03fcd3a
Fix valgrind warning.
...
svn-id: r44084
2009-09-14 18:40:05 +00:00
Torbjörn Andersson
bcc840c95c
Fixed crash when reaching the end of the movie, riggered by recent Stream
...
changes.
svn-id: r44052
2009-09-13 11:02:39 +00:00
Max Horn
37e51f1575
Fixed some (pedantic) warnings
...
svn-id: r44015
2009-09-08 22:03:07 +00:00
Scott Thomas
52cf649a65
T7G: Fix bug #2853185 where card puzzle doesn't clean up, resulting in a blank menu in special instances
...
svn-id: r44009
2009-09-08 06:23:50 +00:00
Scott Thomas
9e7737a653
Groovie: Handle special case for cursor #4
...
svn-id: r43847
2009-08-31 02:04:24 +00:00