Commit Graph

791 Commits

Author SHA1 Message Date
Eugene Sandulenko
4c617e8282 AGI: Fixed named fanmade games detection.
svn-id: r49733
2010-06-15 10:28:01 +00:00
Eugene Sandulenko
316e171e67 AGI: Fix bug #2959630.
Bug #2959630: "LSL1: Security in blackjack" fixed by partially
reverting r41241. Do not clear prompt without on disabling input.

svn-id: r49732
2010-06-15 10:27:42 +00:00
Eugene Sandulenko
14205bdbc0 AGI: add more status-related debug output.
svn-id: r49731
2010-06-15 10:27:23 +00:00
Eugene Sandulenko
1c1fb7c9ac AGI: add optional parameter to 'room' debug console command.
svn-id: r49730
2010-06-15 10:27:04 +00:00
Eugene Sandulenko
4046cd8457 AGI: debugger. Improved usage output, added safeguards to runopcode command
svn-id: r49729
2010-06-15 10:26:46 +00:00
Eugene Sandulenko
560809e42c Split out detection tables for AGI engine
svn-id: r49693
2010-06-15 10:15:08 +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
Eugene Sandulenko
f5f104f550 Fix bug #2880229: KQ4 AGI not recognized
svn-id: r49021
2010-05-13 12:39:01 +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
Torbjörn Andersson
65585f6433 Silenced some harmless cppcheck warnings about unreachable code after a return.
In this case, it was always a break after a return in a switch case. There are
similar cases which cppcheck didn't detect, and a couple of cases where we have
a break after a continue in a switch case (where the continue refers to an
outer loop), but I didn't touch those. Not yet, at least.

svn-id: r48218
2010-03-10 06:39:23 +00:00
Yotam Barnoy
ef330ed9b4 Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
svn-id: r48101
2010-02-21 04:04:13 +00:00
Torbjörn Andersson
c5be030077 Silenced some more cppcheck warnings.
svn-id: r47785
2010-01-31 23:28:12 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Torbjörn Andersson
1928a7ba38 Silenced some cppcheck warnings.
svn-id: r47427
2010-01-21 23:05:33 +00:00
Max Horn
f720d99b0a Switch Mixer::playInputStream to use DisposeAfterUse::Flag
svn-id: r47182
2010-01-08 22:09:43 +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
c4106653a8 Fixed bug #2924968, "AGI: Can't click "cancel" in Save/Restore Game Menu". This
regression was probably introduced with r45260, "AGI: cleanup
GfxMgr::testButton".

svn-id: r47030
2010-01-05 18:52:39 +00:00
Eugene Sandulenko
c36caea501 Use new ADGF flag, ADGF_USEEXTRAASTITLE for AGI Fanmade games for giving them
more user-friendly names.

svn-id: r46948
2010-01-03 21:09:26 +00:00
Eugene Sandulenko
8ad5694cb1 Reduce header dependencies for AGI engine.
svn-id: r46942
2010-01-03 20:15:44 +00:00
Eugene Sandulenko
f6880b9821 md5 from bug #2809149: "AGI: SQ1: Checksum of Space Quest 1 Version 1.1A"
svn-id: r46472
2009-12-21 22:40:52 +00:00
Eugene Sandulenko
b1adefc487 Sorted game entries
svn-id: r46469
2009-12-21 22:24:22 +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
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Johannes Schickel
56181a475c Change "=" to ":=" in some module.mk files for consistency.
svn-id: r45364
2009-10-24 21:55:53 +00:00
Matthew Hoops
91dcca89b1 Fix another regression that didn't append data in safeStrcat.
svn-id: r45296
2009-10-21 01:23:05 +00:00
Matthew Hoops
6114381b4c Fix a regression in agiSprintf.
svn-id: r45295
2009-10-21 01:01:23 +00:00
Max Horn
95c572c8b9 AGI: Cleanup AgiEngine::agiSprintf
svn-id: r45267
2009-10-20 12:23:21 +00:00
Max Horn
66fae7bc8a AGI: Change g_useChorus to SoundMgr::_useChorus, and add FIXME comment about it always being true (so maybe it can be removed?)
svn-id: r45266
2009-10-20 12:22:30 +00:00
Max Horn
5ce23633e2 AGI: Oopify LZW decoder
svn-id: r45265
2009-10-20 12:21:43 +00:00
Max Horn
3a1495f247 AGI: Make scancodeTable const
svn-id: r45261
2009-10-20 11:13:42 +00:00
Max Horn
3fe7363d40 AGI: cleanup GfxMgr::testButton
svn-id: r45260
2009-10-20 11:13:22 +00:00
Max Horn
50435d6bae AGI: Turn g_tickTimer & g_mouse into members of class AgiEngine resp. AgiBase
svn-id: r45259
2009-10-20 11:13:00 +00:00
Max Horn
c0f6657797 AGI: cleanup
svn-id: r45256
2009-10-19 22:52:01 +00:00
Max Horn
03953bf292 AGI: Remove some global vars
svn-id: r45255
2009-10-19 22:51:37 +00:00
Max Horn
2bbf708dea Introduced new type Common::DisposeAfterUse::Flag
svn-id: r45233
2009-10-18 19:41:59 +00:00
Max Horn
b846fd6aca cleanup
svn-id: r44810
2009-10-09 09:41:53 +00:00
Max Horn
42120ed626 Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
svn-id: r44793
2009-10-08 19:41:38 +00:00
Max Horn
f242266f6d Change a couple places from 'end of namespace' to 'End of namespace', for consistency
svn-id: r44634
2009-10-04 21:26:33 +00:00
Filippos Karapetis
04493d139e Fixed some potential memory leaks, reported by salty-horse
svn-id: r44516
2009-10-01 12:09:02 +00:00
Max Horn
8ba75fc522 Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
2009-09-30 16:16:53 +00:00
Filippos Karapetis
a983c88e37 Reverted parts of revisions #44292, #44293, #44295 and #44296, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44312
2009-09-24 17:24:42 +00:00
Filippos Karapetis
fe7a64d467 Removed some warnings about unreachable code
svn-id: r44292
2009-09-24 09:01:33 +00:00