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
Johannes Schickel
c05c5fca03
Commit modified patch from bug report #2849084 "AGI: Crash when saving fallback-matched game" to fix that bug.
...
svn-id: r44273
2009-09-23 13:17:08 +00:00
Jordi Vilalta Prat
768f480e58
Implement getDebugger() in AGI
...
svn-id: r43840
2009-08-30 21:43:07 +00:00
Johannes Schickel
fd88dbacd7
Properly uninitialize timer used in AgiEngine.
...
svn-id: r43623
2009-08-22 00:18:22 +00:00
Kari Salminen
2bd1f51d92
Possible fix for #2828330 (AGI: KQ1: Fast text box). If doesn't break anything else then should go to the branch-1-0-0 too, but haven't had the time to do much testing yet - thus committing to the trunk first.
...
svn-id: r43523
2009-08-18 21:37:31 +00:00
Eugene Sandulenko
0d4fc81698
Fix bug #2838551 : "PSP: AGI games are unbearably slow"
...
svn-id: r43452
2009-08-16 19:48:13 +00:00
Kari Salminen
b6a0f3e371
Fix for bug #2835581 (KQ3: Game Crash When Leaving Tavern as Fly):
...
- Use AGI version 0x3149 instead of the previous 0x3086
- Makes ESC pause the game (Identical to original in this respect)
svn-id: r43414
2009-08-15 19:04:21 +00:00
Kari Salminen
9931fb6a44
Fix for bug #2828333 (AGI: KQ1: Greensleeves always plays):
...
- Made all savegame loading in AGI do the same pre-load and post-load stuff.
- Moved load/saveGameState from AgiBase to AgiEngine
- Added rudimentary error handling to load/saveGameState
- Incidentally also fixes the hanging note from bug #2798797 .
svn-id: r43025
2009-08-03 17:18:18 +00:00
Joost Peters
7cf43b9dda
Fix AGI crashes on 64-bit systems that require alignment
...
svn-id: r43011
2009-08-02 21:22:46 +00:00
Johannes Schickel
7e71865e91
Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
...
svn-id: r42751
2009-07-25 12:59:46 +00:00
Eugene Sandulenko
0932497cca
Fix bug #2798797 : "AGI: larry 1 doesn't restart after dying"
...
svn-id: r42663
2009-07-22 16:26:53 +00:00
Eugene Sandulenko
483a4c0eeb
Move functions from agi.cpp to more appropriate files.
...
svn-id: r42662
2009-07-22 15:55:33 +00:00
Eugene Sandulenko
88395007fb
Fix bug #2823759 : "AGI: PQ1 help not showing the first time you press F1"
...
svn-id: r42659
2009-07-22 12:24:55 +00:00