Eugene Sandulenko
afc872cba8
AGI: Fix bug #3017911
...
Bug #3017911 : "AGI (Fan): SQ0 - Ego flickering". It is a regression from r49745,
as it appeared, some of the screen updates were too much.
svn-id: r51223
2010-07-23 21:11:56 +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
Johannes Schickel
e75eee21e3
Use "true" instead of "1" in if statements to make clang a bit more happier with -Werror.
...
svn-id: r50943
2010-07-16 21:50:12 +00:00
Torbjörn Andersson
bde1cbd785
Cleanup.
...
svn-id: r50928
2010-07-16 03:34:25 +00:00
Matthew Hoops
6c22d599ec
Fix non-PCSPK sound types in AGI.
...
svn-id: r50891
2010-07-14 17:04:53 +00:00
Filippos Karapetis
4304a414ab
AGI: Removed the deprecated (and confusing) getGameId() function inside the AgiEngine class, and fixed a related bug, too
...
svn-id: r50607
2010-07-02 23:12:17 +00:00
Filippos Karapetis
188f8d9a11
AGI: Fixed bug #3017905 - "AGI: GR - Crash on start". A free() was done on an already freed reference
...
svn-id: r50606
2010-07-02 22:55:56 +00:00
Max Horn
bbad3f333a
Patch #1956501 : "GUI/LAUNCHER: Midi device selection"
...
svn-id: r50128
2010-06-21 21:36:36 +00:00
Max Horn
49448af6cb
AGI: Turn some more AGI static functions into AgiEngine methods
...
svn-id: r50127
2010-06-21 21:34:06 +00:00
Max Horn
c7a9865a73
AGI: Change a static var to member var AgiEngine::_lastTickTimer
...
svn-id: r50126
2010-06-21 21:33:45 +00:00
Max Horn
e7da62763e
AGI: Turn timerHack and curLogic into AgiEngine members; get rid of some #defines
...
svn-id: r50125
2010-06-21 21:33:22 +00:00
Max Horn
df569a6c82
AGI: Change AGI commands/opcodes to member methods
...
svn-id: r50124
2010-06-21 21:32:56 +00:00
Torbjörn Andersson
41990883bf
Don't go into "menu input mode" unless the game currently allows the menus to
...
be displayed. I hope this is the correct fix to keep Police Quest 1 from
hanging if you press Escape while reading the newspaper in the briefing room.
svn-id: r50072
2010-06-20 09:51:11 +00:00
Max Horn
32668b553f
AGI: Get rid of GID_SQ0
...
svn-id: r50049
2010-06-19 11:08:41 +00:00
Max Horn
0c93154eb9
AGI: Fix detection of AGI Tetris and Caitlyn's Destiny
...
svn-id: r50048
2010-06-19 11:08:16 +00:00
Max Horn
da28fde4c6
AGI: Change some #defines to enums
...
svn-id: r50033
2010-06-18 22:07:32 +00:00
Max Horn
7a8b8c88ae
AGI: cleanup
...
svn-id: r50032
2010-06-18 22:06:56 +00:00
Max Horn
e5fcbc0c3a
AGI: Fix serguei1/serguei2/sqx detection
...
svn-id: r50031
2010-06-18 22:06:31 +00:00
Torbjörn Andersson
93df097f39
Added the same quit/restart test to print() as we have in so many other places.
...
This makes it easier to quit the game during the text box in the King's Quest 3
into, and probably other places as well.
svn-id: r49881
2010-06-15 18:17:51 +00:00
Willem Jan Palenstijn
7c7054dbd1
Remove unnecessary svn:executable properties
...
svn-id: r49870
2010-06-15 17:14:38 +00:00
Max Horn
e62169c383
AGI: Specify bug reference for workaround
...
svn-id: r49845
2010-06-15 12:34:12 +00:00
Max Horn
651e2760a3
Fix spelling, cleanup
...
svn-id: r49843
2010-06-15 12:33:20 +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
2bcafcb02d
Sound: add PCJR as a pseudodriver.
...
Since AGI distinguishes between PCSPK and PCJR/Tandy, make it as a
pseudodriver.
svn-id: r49782
2010-06-15 10:55:31 +00:00
Eugene Sandulenko
eef983c2c6
AGI: enable MIDI in options since now there are ways to play it.
...
svn-id: r49781
2010-06-15 10:55:07 +00:00
Eugene Sandulenko
09b776ad1f
AGI: Made proper Tandy emulator default for PC games.
...
svn-id: r49760
2010-06-15 10:45:14 +00:00
Eugene Sandulenko
db6673c408
AGI: rearranged class methods a bit and cleanup.
...
svn-id: r49758
2010-06-15 10:38:39 +00:00
Eugene Sandulenko
ceb2909e0a
AGI: Split all sound generators into separate modules.
...
Now the sound subsystem of the engine finally is possible to grasp.
Also now it is obvious why CoCo3 sounds are not functioning.
svn-id: r49757
2010-06-15 10:36:54 +00:00
Eugene Sandulenko
6903fc7a07
AGI: Implement FR #2813133 .
...
FR #2813133 : "AGI: Proper Tandy 3-Voice/IBM PCjr Sound Support".
Add proper Tandy music. Heavily based on NAGI source, thus attached
its X11 license.
To run it now use -e pcjr. Old one is still default for adlib but
most likely will be changed in the future.
Also lied ground for further separation of different sound generators.
svn-id: r49755
2010-06-15 10:36:10 +00:00
Eugene Sandulenko
85d8b4f5d8
AGI: Make sure that sound variable is reset once music is stopped.
...
svn-id: r49754
2010-06-15 10:35:42 +00:00
Eugene Sandulenko
c7e9b620ee
AGI: properly setup Sound var.
...
svn-id: r49752
2010-06-15 10:35:10 +00:00
Eugene Sandulenko
0a1a919406
AGI: Implement FR #1913900 .
...
FR #1913900 : "AGI: MIDI support".
Currently it gets selected when Adlib is chosen. Finding a better
way to do it is a todo.
Also default instrument mapping is plain.
Based on original code by Jens. Christian Restemeier.
svn-id: r49751
2010-06-15 10:34:45 +00:00
Eugene Sandulenko
38ef876d5b
AGI: Split out IIgs sound emulator into separate files.
...
svn-id: r49749
2010-06-15 10:33:57 +00:00
Eugene Sandulenko
71917dc52d
AGI: Implement FR #1881179 .
...
FR #1881179 : "AGI detecting agi mouse". Always run ScummVM in
AGIMOUSE compatibility mode, thus no detection for it is
needed.
svn-id: r49748
2010-06-15 10:33:26 +00:00
Eugene Sandulenko
f7c830af26
AGI: Fix walking for some versions of KQ4.
...
svn-id: r49747
2010-06-15 10:33:07 +00:00
Eugene Sandulenko
81870dba58
AGI: Fix bug #2825273 .
...
Bug #2825273 : "AGI: KQ4: Dwarf sequence". Always allow ESC to work
in KQ4.
svn-id: r49746
2010-06-15 10:32:44 +00:00
Eugene Sandulenko
88421532aa
AGI: Implemented immediate update for most of gfx to match original.
...
This fixes many subtle effects as in many cases there were no
special pausing and engine relied only on the slowliness of the
machine.
svn-id: r49745
2010-06-15 10:32:25 +00:00
Eugene Sandulenko
462d1afed8
AGI: Fix bug #1875842 .
...
Bug #1875842 : "AGI: Character loses final walking position".
Do not reset ADJ_EGO_XY if non-directional keys were pressed.
svn-id: r49744
2010-06-15 10:32:01 +00:00
Eugene Sandulenko
83053ecc27
AGI: Fix bug #2825278 .
...
Bug #2825278 : "AGI: KQ4: Swimming on land". Our drawing code was
not picture perfect, and thus priority screen was trashed by one
of Fills, i.e. the color leaked and took whole screen.
svn-id: r49743
2010-06-15 10:31:39 +00:00
Eugene Sandulenko
ffc390e64c
AGI: Fix bug #1945716 .
...
Bug #1945716 : "AGI: Fan(Kings Quest 2 1/4) - Sprite not erased".
Added a workaround, since it is design flaw of our rendering
system.
svn-id: r49742
2010-06-15 10:31:18 +00:00
Eugene Sandulenko
7034d071b6
AGI: proper fix for sprite leftover-related bugs. Removed workarounds.
...
svn-id: r49741
2010-06-15 10:30:54 +00:00
Eugene Sandulenko
295edafdc4
AGI: improve script-related debug output.
...
svn-id: r49740
2010-06-15 10:30:26 +00:00
Eugene Sandulenko
409fe0bd56
AGI: made sprite-related debug output more informative
...
svn-id: r49739
2010-06-15 10:30:01 +00:00
Eugene Sandulenko
341fba383e
AGI: Fix bug #2862508 .
...
Bug #2862508 : "AGI: Black cauldron save through GMM". BC does not
have input line, and that was used for determining that user
can save. Added special case for BC, so it is always allowed to
save. In fact, original does not allow saving in some rare
occasions, but that will require analysing of variables, which
is a gross hack.
svn-id: r49738
2010-06-15 10:29:43 +00:00
Eugene Sandulenko
25948606c4
AGI: Fix bug #2960557 .
...
Bug #2960557 : "AGI: (Fan) SQ0 - Sprite (Ego) not erased".
Added a workaround. Actually root cause is not yet clear.
svn-id: r49737
2010-06-15 10:29:20 +00:00
Eugene Sandulenko
a993e2fb45
AGI: Fix bug #2960563 .
...
Bug #2960563 : "AGI: (Fan) SQ0: Text input field overdraws Text window".
Now our text wrapping code matches original.
svn-id: r49736
2010-06-15 10:28:58 +00:00
Eugene Sandulenko
4dddfd44ce
AGI: Fix bug #2960584 .
...
Bug #2960584 : "AGI: (Fan) SQ0: Music lost on saving (and loading)".
Actually music did not loop at all. Our looping code was broken.
svn-id: r49735
2010-06-15 10:28:40 +00:00
Eugene Sandulenko
968f959158
AGI: Fix bug #2960567 .
...
Bug #2960567 : "AGI: Ego partly erased in Load/Save thumbnails".
Force screen redraw after confirmation window is closed.
svn-id: r49734
2010-06-15 10:28:21 +00:00
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
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
Eugene Sandulenko
7c1df4cbff
Fix bug #2823762 : "AGI: PQ1 All function keys are broken after restart"
...
svn-id: r42658
2009-07-22 11:48:51 +00:00
Matthew Hoops
6e6d5e8b98
Fixing bug #2823854 : Mickey's space adventure crash. There's one too many space characters in a string which causes it to be drawn off the screen.
...
svn-id: r42633
2009-07-20 20:59:35 +00:00
Kari Salminen
3a3b71622a
Remove ioFailed() usage from AGI engine.
...
svn-id: r42495
2009-07-14 23:03:40 +00:00
Kari Salminen
9a2785bc3b
Partially fix automatic restarting of AGI games (Addresses bug #2798797 ('AGI: larry 1 doesn't restart after dying') but doesn't fully fix it. There seems to be more to the problem still. Automatic restarting after dying of an STD doesn't take away the STD-condition and Larry continues to die in a loop).
...
svn-id: r42482
2009-07-14 15:02:17 +00:00
Max Horn
a6b57dc3a9
- Added GCC_PRINTF attribute to several funcs where it makes sense
...
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings
- removed duplicate prototypes for some funcs
- fixed some "increases required alignment of target type" warnings
svn-id: r42009
2009-07-01 20:51:04 +00:00
Filippos Karapetis
47d4794876
Fixed a warning about an uninitialized variable
...
svn-id: r41660
2009-06-19 07:56:30 +00:00
Eugene Sandulenko
c96ec85dbb
Preliminary support for CoCo3 music.
...
svn-id: r41618
2009-06-17 23:16:21 +00:00
Eugene Sandulenko
3bfca53709
Disable music for CoCo3 games. It has different format.
...
svn-id: r41598
2009-06-16 21:59:20 +00:00
Eugene Sandulenko
8bcdd8d7f6
Run AGIMOUSE hack as a side effect always
...
svn-id: r41536
2009-06-15 07:06:52 +00:00
Eugene Sandulenko
d925104b6a
Added sanity checking to stopSound() and a bit more debug output
...
svn-id: r41501
2009-06-13 22:48:16 +00:00
Eugene Sandulenko
2ffe5ed25e
Added set of CoCo3 AGI games
...
svn-id: r41452
2009-06-11 15:45:52 +00:00
Max Horn
ed44e68f9d
AGI: Fixed typo in game name ;)
...
svn-id: r41331
2009-06-07 12:37:16 +00:00
Eugene Sandulenko
a0fa307fc5
Added CoCo3 version of SQ1
...
svn-id: r41284
2009-06-06 18:22:43 +00:00
Eugene Sandulenko
79d082f9c2
Added couple of newly discovered fanmade AGI games.
...
svn-id: r41283
2009-06-06 18:22:18 +00:00
Filippos Karapetis
e572af84aa
Removed unused variable
...
svn-id: r41279
2009-06-06 18:02:16 +00:00
Eugene Sandulenko
1bd6f6c99f
Added game GUI options to advancedDetector and updated all engines
...
svn-id: r41272
2009-06-06 17:56:41 +00:00
Eugene Sandulenko
0057d9b9b2
Add guard check to set.key opcode.
...
svn-id: r41260
2009-06-06 17:48:30 +00:00
Eugene Sandulenko
ea3373708c
Correct implementation for set.key opcode. Fixes #2605104 : "AGI: Manhunter, F3 hotkey dosent work", removed number of hacks
...
svn-id: r41259
2009-06-06 17:48:09 +00:00
Eugene Sandulenko
d6a4dbeb1d
Implement fence.mouse opcode
...
svn-id: r41258
2009-06-06 17:47:29 +00:00
Eugene Sandulenko
8792628a46
Implement hide.mouse and show.mouse opcodes
...
svn-id: r41257
2009-06-06 17:46:55 +00:00
Eugene Sandulenko
9ff714a2db
Implement allow.menu opcode
...
svn-id: r41256
2009-06-06 17:46:38 +00:00
Eugene Sandulenko
c393144b19
Implement hold.key and release.key opcodes
...
svn-id: r41255
2009-06-06 17:46:19 +00:00
Eugene Sandulenko
1a321a2064
Cleanup
...
svn-id: r41254
2009-06-06 17:45:52 +00:00
Eugene Sandulenko
2113060c43
Implement cancel.line. Consider obj.status.f implemented
...
svn-id: r41253
2009-06-06 17:45:06 +00:00
Eugene Sandulenko
72d25455e0
Implement scummvm.ini flag features for AGI engine
...
svn-id: r41252
2009-06-06 17:44:46 +00:00
Eugene Sandulenko
45764de138
Cleanup
...
svn-id: r41251
2009-06-06 17:44:24 +00:00
Eugene Sandulenko
2eb7e914e8
Fix bug #2026605 : "SQ2: Have to wait after dying to do anything."
...
svn-id: r41250
2009-06-06 17:43:51 +00:00
Eugene Sandulenko
ed797c0709
Implement debug commands "room" and "bt"
...
svn-id: r41249
2009-06-06 17:43:26 +00:00
Eugene Sandulenko
531b96bbbe
Remove duplicated amiga busy cursor
...
svn-id: r41248
2009-06-06 17:43:04 +00:00
Eugene Sandulenko
c5f41b29fa
Stop abusing game flag.
...
svn-id: r41247
2009-06-06 17:42:37 +00:00
Eugene Sandulenko
5a07ba9c57
Disable save/load when original did not allow
...
svn-id: r41246
2009-06-06 17:42:12 +00:00
Eugene Sandulenko
b26ae991f8
Store and compare MD5s in the saves
...
svn-id: r41245
2009-06-06 17:41:50 +00:00
Eugene Sandulenko
a5d762c029
Fix bug #1745954 : "GR: Intro "jumpy" in parts (Amiga version)"
...
svn-id: r41244
2009-06-06 17:41:29 +00:00
Eugene Sandulenko
26d8b2bb72
Fix bug #2721940 : "AGI: Gold Rush! Restart Option differs from original"
...
svn-id: r41243
2009-06-06 17:40:56 +00:00
Eugene Sandulenko
3ba873c72b
Fix bug #2026570 : "SQ2: Prompt disappears when it shouldn't"
...
svn-id: r41242
2009-06-06 17:40:27 +00:00
Eugene Sandulenko
a7049e5b3d
Fix implementation of prevent.input. This fixes SQ2 intro
...
svn-id: r41241
2009-06-06 17:40:09 +00:00
Eugene Sandulenko
194ab100c7
Fix bug #2434187 : "SQ2: message not displayed, or vanishes too quickly"
...
svn-id: r41240
2009-06-06 17:39:42 +00:00
Eugene Sandulenko
93d62da652
Whitespace fixes and C++ comments
...
svn-id: r41239
2009-06-06 17:39:13 +00:00
Eugene Sandulenko
c585366ce9
Decrease number of free memory pages to realistic value
...
svn-id: r41238
2009-06-06 17:37:51 +00:00
Torbjörn Andersson
0999534749
The error() and warning() functions add ! and newline automatically. (I didn't
...
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
2009-05-31 10:02:16 +00:00
Max Horn
fb79b18571
Changed SaveFileManager methods to take Common::String params (instead of char pointers)
...
svn-id: r41000
2009-05-29 14:38:22 +00:00
Johannes Schickel
b3c6751b9b
Strip trailing whitespaces in the whole code base.
...
svn-id: r40867
2009-05-24 15:17:42 +00:00
Eugene Sandulenko
7ed8d7f573
Proper fix for bug #2537054 : "AGI: Using GMM to load causes graphics glitches".
...
Save/load via GMM is not allowed in certain situations now.
svn-id: r40773
2009-05-21 21:51:50 +00:00
Eugene Sandulenko
40dd214789
Start of fixing bug #2537054 : "AGI: Using GMM to load causes graphics glitches"
...
The engine still crashes when load from GMM occured with a text box on screen.
svn-id: r40733
2009-05-19 21:09:43 +00:00
Eugene Sandulenko
743650506b
Fix regression introduced in r40438. Saves were badly broken.
...
svn-id: r40731
2009-05-19 20:30:57 +00:00
Max Horn
65b5d31814
COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
...
svn-id: r40725
2009-05-19 11:42:14 +00:00
Eugene Sandulenko
8576b162dc
Implement FR#2103654: "AGI sound volume"
...
svn-id: r40704
2009-05-18 21:37:13 +00:00
Eugene Sandulenko
1d90907f93
Fix bug with AGI ignoring music volume.
...
svn-id: r40703
2009-05-18 21:35:08 +00:00
Johannes Schickel
f0182121f7
Fix some variable may be used uninitialized warnings.
...
svn-id: r40528
2009-05-13 18:12:17 +00:00
Eugene Sandulenko
565c23b601
Fix bug #1946262 : "LSL1: Age Verification answer input not working"
...
svn-id: r40468
2009-05-11 20:58:55 +00:00
Johannes Schickel
7604301c30
Support target names of any length.
...
svn-id: r40438
2009-05-10 21:27:57 +00:00
Willem Jan Palenstijn
2a485abd6d
Make static buffer larger.
...
This fixes crashes with AGI target names like goldrush-amiga.
svn-id: r40437
2009-05-10 21:20:33 +00:00
Willem Jan Palenstijn
81cfd774ad
clean up AGI fillAudio
...
svn-id: r40435
2009-05-10 20:42:46 +00:00
Eugene Sandulenko
3b92b0f583
Add detection for newly discovered AGI demo
...
svn-id: r40417
2009-05-10 11:43:17 +00:00
Max Horn
7077ea36e0
Fix compilation
...
svn-id: r39549
2009-03-19 23:31:20 +00:00
Filippos Karapetis
160acbd9f5
Hopefully, this fixes compilation of the AGI engine on 64-bit platforms
...
svn-id: r39548
2009-03-19 23:23:28 +00:00
Johannes Schickel
e2d33d81ab
Add FIXME comment in AgiEngine::syncSoundSettings.
...
svn-id: r39321
2009-03-10 22:36:06 +00:00
Max Horn
85f6f20419
some cleanup
...
svn-id: r39241
2009-03-08 18:58:09 +00:00
Jordi Vilalta Prat
047f116515
Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
...
svn-id: r39132
2009-03-05 12:04:58 +00:00
Max Horn
3fcbda829a
Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
...
svn-id: r39002
2009-03-01 04:30:55 +00:00
Matthew Hoops
9a89280527
Add detection of another version of the Black Cauldron. (See bug #2628354 ).
...
svn-id: r38936
2009-02-27 22:14:18 +00:00
Matthew Hoops
ddbad0197b
Add detection for the Space Quest 3.5 fan game.
...
svn-id: r38450
2009-02-17 21:55:53 +00:00
Travis Howell
7fc7234312
Fix startup of the Amiga versions of Manhunter NY/SF, which seem to require the older platform value of 20.
...
svn-id: r38341
2009-02-16 04:45:29 +00:00
Filippos Karapetis
0015657caa
Fix for bug #2541237 - "AGI: Restart quits ScummVM"
...
svn-id: r36279
2009-02-12 15:13:52 +00:00
Filippos Karapetis
b2a085b26d
Fix for bug #2538123 - "AGI: loading from launcher disables hotkeys"
...
svn-id: r36266
2009-02-11 15:36:13 +00:00
Kari Salminen
634deef683
Add detection entry for Gold Rush! 3.0 (Bought from The Software Farm, reported by Muyfa666 on the forums and in the bug report #2565036 ).
...
svn-id: r36246
2009-02-07 19:47:26 +00:00
Max Horn
341bc64aaf
do not include common/debug.h from common/util.h
...
svn-id: r36143
2009-01-30 05:25:17 +00:00
Max Horn
7cb437b56f
Renamed SpecialDebugLevel to DebugChannel
...
svn-id: r36142
2009-01-30 05:10:24 +00:00
Max Horn
28cf213605
Moved AdvancedDetector from common/ to engines/
...
svn-id: r36132
2009-01-29 22:13:01 +00:00
Max Horn
ac59693be2
A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
...
svn-id: r36127
2009-01-29 05:26:12 +00:00
Filippos Karapetis
c27c9c37b7
Protect save slot 0 from being overwritten and/or deleted by the GMM save/load menus
...
svn-id: r36112
2009-01-27 20:24:08 +00:00
Willem Jan Palenstijn
8cabfc677f
remove _firstSlot offset from getSavegame*, fixing autosaves ( #2537059 )
...
svn-id: r36110
2009-01-27 19:59:50 +00:00
Willem Jan Palenstijn
e5bff7bf92
typo
...
svn-id: r36109
2009-01-27 19:58:30 +00:00
Max Horn
8f16458e9b
Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
...
svn-id: r36014
2009-01-23 03:41:36 +00:00
Filippos Karapetis
7fba1e9aaf
Removed unused defines, cleaned up some more defines and reduced the places where static data is read from the game's executable
...
svn-id: r35916
2009-01-18 22:02:22 +00:00
Filippos Karapetis
98b3046c09
Removed some unused defines in Mickey's Space Adventure, and removed a case where static data was read from the game's executable
...
svn-id: r35901
2009-01-18 16:41:35 +00:00
Matthew Hoops
bd3ff9c719
fix another regression from the RTL branch merge
...
svn-id: r35888
2009-01-18 02:22:57 +00:00
Matthew Hoops
9bef5d0e72
consistency fix and add a new line
...
svn-id: r35831
2009-01-12 01:29:29 +00:00
Eugene Sandulenko
a266feeb5a
Fix regression when gameids were los for some fanmade games
...
svn-id: r35827
2009-01-11 13:17:05 +00:00
Filippos Karapetis
c8f16d8716
Fixed slight regression
...
svn-id: r35791
2009-01-08 22:41:25 +00:00
Kari Salminen
c7e29bb788
Give more detailed info on recently added KQ4 detection entry (It's KQ4 v2.0, released on 1988-07-27 and it uses PC AGI 3.002.086).
...
svn-id: r35787
2009-01-08 16:38:42 +00:00
Eugene Sandulenko
7ec80cd963
Fix bug #2455850 : "LSL: missing Polish MD5" and add Polish LSL1 demo along the way.
...
svn-id: r35782
2009-01-08 00:24:19 +00:00
Eugene Sandulenko
1395d3ba63
Fix bug #2451381 : "AGI: -x option (or loading from launcher) breaks some games"
...
svn-id: r35771
2009-01-07 20:18:38 +00:00
Kari Salminen
2f7ef3132d
Add detection entry for King's Quest IV AGI (PC 5.25", 2.0) as provided by UsualNoise on ScummVM forums.
...
svn-id: r35770
2009-01-07 18:50:42 +00:00
Eugene Sandulenko
027a010275
Fix bug #2484801 : "PQ1/DOS/Englisv2.0G - One version is detected as MAC Version"
...
svn-id: r35769
2009-01-07 18:13:56 +00:00
Eugene Sandulenko
c31a0f7089
Fix bug #1942471 : "AGI: Fan(Get Outta SQ): No Word wrapping"
...
svn-id: r35767
2009-01-07 13:27:58 +00:00
Torbjörn Andersson
9a9c1a40d9
Added a few more shouldQuit() checks. It's now possible to quit while, for
...
instance, Leisure Suit Larry is waiting for you to enter your age.
svn-id: r35761
2009-01-06 23:29:58 +00:00
Matthew Hoops
0b50c114d8
fix quitting in Mickey's Space Adventure as well as other minor cleanup
...
svn-id: r35735
2009-01-05 01:40:08 +00:00
Matthew Hoops
6e434271fb
fix infinite loop when trying to quit in Troll's Tale
...
svn-id: r35734
2009-01-05 00:51:54 +00:00
Matthew Hoops
41b7f714e9
fix infinite loop when trying to quit in Winnie
...
svn-id: r35732
2009-01-04 19:52:59 +00:00
Eugene Sandulenko
3ba025edd5
Considerably shortened the detection table with use of macros.
...
svn-id: r35702
2009-01-03 14:07:17 +00:00
Eugene Sandulenko
f0c6bfc392
Formatting
...
svn-id: r35701
2009-01-03 14:05:57 +00:00
Eugene Sandulenko
8dfa9a70f2
Fix bugs #1940871 : "AGI: Fan(Beyond Titanic 2) - Lockup" and #1874918 :
...
"AGI GR: Text wrapping broken on long strings in the mines" by replacing our
text wrap routine with one based on GBAGI.
Also made debug messages more clear.
svn-id: r35664
2009-01-02 01:34:53 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Torbjörn Andersson
a4e08d94fc
Allow quitting / returning to launcher while showing "selection boxes", e.g. the
...
pause game dialog.
svn-id: r35445
2008-12-19 21:22:26 +00:00
Torbjörn Andersson
c6bd85e370
Allow quitting/returning to launcher while in the save/load dialog. I don't
...
know if there are other such spots that need to be fixed as well.
svn-id: r35442
2008-12-19 17:31:14 +00:00
Torbjörn Andersson
1477116d9b
Clicking in the scrollbar always caused the save/load list to scroll down a page.
...
Now it can scroll up a page again.
svn-id: r35441
2008-12-19 17:21:55 +00:00
Robin Watts
8f3b2e9b4d
Remove warnings from NDS build.
...
svn-id: r35172
2008-11-29 18:01:16 +00:00
Max Horn
63e7836dec
AGI: fsnodeNameEqualsIgnoreCase and FSNode usage should be replaced by SearchMan
...
svn-id: r35130
2008-11-20 13:50:26 +00:00
Johannes Schickel
5a0556f09c
Committed my patch #2123680 "SDL: Backend transaction / rollback support".
...
svn-id: r35062
2008-11-14 22:08:10 +00:00
Filippos Karapetis
2b59700d2a
AGI save games now contain thumbnails and creation date/time (visible from the GMM save/load screens)
...
svn-id: r34989
2008-11-10 19:02:47 +00:00
Filippos Karapetis
f5729a4a8b
- The GMM save dialog is now working for all engines which support the appropriate features
...
- Added a new method to the MetaEngine class, getMaximumSaveSlot(), and implemented it in all engines for which the listSavefiles() method is implemented (it goes together with the listSavefiles method). It is used to fill the unused save slots in the save/load dialogs of each engine, so that the user can create new save games in empty slots
- Unified the save/load dialog list numbering in the GMM load/save screens and in the load screen of the main menu (before a game is started)
svn-id: r34963
2008-11-09 16:13:34 +00:00
Max Horn
40136f2590
Switched various Engine APIs to use Common::Error
...
svn-id: r34916
2008-11-06 17:05:54 +00:00
Filippos Karapetis
2b0346ca5e
Fix for bug #2071125 - "MICKEY: Mouse movement", by using the waitForTimer() function from the SCUMM engine
...
svn-id: r34914
2008-11-06 16:31:34 +00:00
Max Horn
142a8d5a51
Simplified AdvancedMetaEngine::fallbackDetect usage
...
svn-id: r34909
2008-11-06 13:59:39 +00:00
Max Horn
fe2935ad4b
Got rid of the unused 'filename' attribute in SaveStateDescriptor
...
svn-id: r34905
2008-11-05 15:41:12 +00:00
Max Horn
61aadb378d
Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some EngineFeature comments
...
svn-id: r34896
2008-11-04 16:11:40 +00:00
Filippos Karapetis
b7a219ebc6
Renamed engine feature kSupportsDirectLoad to kSupportsLoadingDuringStartup, as discussed in patch #2122869
...
svn-id: r34854
2008-10-26 16:42:08 +00:00
Max Horn
d387206175
Pushed down some header deps
...
svn-id: r34845
2008-10-23 07:59:10 +00:00
Kari Salminen
c949eb2dac
Patch #2131406 : AGI: Fix Crash with Apple][ Instruments.
...
Applied the patch as it is, thanks clone2727.
Now Apple IIGS AGI games don't crash anymore if the
instruments (They're in *.SYS16) or the instrument
samples (They're in SIERRASTANDARD) aren't found.
svn-id: r34798
2008-10-13 19:17:51 +00:00
Max Horn
6a2f3dc0b9
Added new type Engine::Feature; pushed down some #include dependencies
...
svn-id: r34755
2008-10-06 12:48:52 +00:00
Max Horn
c7fde102e3
Renamed FilesystemNode -> FSNode
...
svn-id: r34716
2008-10-02 16:58:59 +00:00
Max Horn
e798561013
AGI: Simplify WagFileParser by not reading data into a memory stream first (this was there to improve performance on systems with slow seeking; those systems should use another approach, see scummvm-devel)
...
svn-id: r34711
2008-09-30 16:53:04 +00:00
Max Horn
e5dbb3f901
AGI: Got rid of yet another unwarranted use of FSNode::getPath
...
svn-id: r34710
2008-09-30 16:38:46 +00:00
Max Horn
1d7de023d9
AGI: Another case where it is better to use FSNodes directly, instead of converting them to path strings
...
svn-id: r34708
2008-09-30 16:23:35 +00:00
Max Horn
9b160804ab
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
...
svn-id: r34700
2008-09-30 12:27:38 +00:00
Max Horn
1776c75566
Don't use File::name() needlessly (i.e. if you still know which file you just opened :)
...
svn-id: r34685
2008-09-29 11:07:39 +00:00
Max Horn
655ce26b3f
Big patch changing the signature of various Stream methods (some ports may need to be slightly tweaked to fix overloading errors/warnings)
...
svn-id: r34514
2008-09-13 16:51:46 +00:00
Johannes Schickel
0a35842954
Committed my patch #2105593 "Launcher/MetaEngine: Finnished removeSaveState".
...
svn-id: r34495
2008-09-11 19:47:45 +00:00
Max Horn
d3642080de
Moved check for shouldRTL() from engines to scummvm_main
...
svn-id: r34310
2008-09-03 16:56:40 +00:00
Max Horn
531bcf847c
Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
...
svn-id: r34302
2008-09-03 11:22:51 +00:00
Filippos Karapetis
dd8e875b00
Commented out currently broken code, adding a FIXME
...
svn-id: r34297
2008-09-03 09:58:28 +00:00
Max Horn
42a5aa567b
Merging more of the GSoC 2008 RTL branch: AGI
...
svn-id: r34242
2008-09-01 17:46:05 +00:00
Filippos Karapetis
cd3a904f78
Correct fix for bug #2073159 - "MICKEY: Incomplete computer message"
...
svn-id: r34186
2008-08-26 12:34:05 +00:00
Filippos Karapetis
a3404665f6
Fix for bug #2073159 - "MICKEY: Incomplete computer message".
...
Random numbers are calculated from 1 onwards in the preAGI engines, but there was an off-by one error. I'm currently hesitant to add this fix to the 0.12.0 branch, as I'm unsure if it has any possible regressions in Troll's Tale or Winnie the Pooh
svn-id: r34152
2008-08-25 14:55:11 +00:00
Christopher Page
909b66ef54
Merged revisions 33777,33781-33788,33790,33792-33793,33795,33797,33805,33807-33812,33815-33817,33819,33822,33826,33829,33837,33839,33844,33847,33858-33861,33864,33871-33873,33875,33877-33879,33886,33889-33892,33894,33896,33900,33902-33903,33919 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33924
2008-08-16 04:30:01 +00:00
Christopher Page
ec8dac5540
Added a MetaEngineFeature for RTL support, the RTL button is disabled in the GMM if the engine doesn't support it
...
svn-id: r33921
2008-08-16 02:53:16 +00:00
Christopher Page
9d3cdcb2da
Defined some MetaEngineFeatures for the engines, the launcher uses these features to allow/disallow loading and deleting saves
...
svn-id: r33909
2008-08-15 18:15:14 +00:00
Kari Salminen
09762ac7a6
Fixed initialization of some SoundMgr-class's member variables. Moved _sndBuffer's allocation to SoundMgr's constructor and its deallocation to the destructor. Made fillAudio SoundMgr's method and removed a superfluous global static variable 'int16 *buffer'. Should help with the occasional crashes when starting the first sound in an AGI game.
...
svn-id: r33822
2008-08-13 11:57:48 +00:00
Kari Salminen
f69cc559b9
Reverted r33815 (But not r33816).
...
svn-id: r33819
2008-08-13 11:36:45 +00:00
Kari Salminen
be9192687b
Shutting up Valgrind about using uninitialised values from array _chn in function stopNote.
...
svn-id: r33816
2008-08-13 01:10:03 +00:00
Kari Salminen
eeba630cbf
Changed Agi::SoundMgr's sound buffer to a member array of size BUFFER_SIZE. Also added initialization of _playing to false in SoundMgr's constructor. Hopefully helps with the occasional crashes in the sound code when starting the first sound in an AGI game.
...
svn-id: r33815
2008-08-13 01:02:00 +00:00
Christopher Page
c9e0422722
Added Autosave support for AGI
...
svn-id: r33772
2008-08-10 22:53:43 +00:00
Christopher Page
21cd277f13
Fixed some GCC warnings
...
svn-id: r33647
2008-08-05 21:38:59 +00:00
Christopher Page
1fe2700dab
Added support for Savestates to be loaded from the launcher
...
svn-id: r33461
2008-07-30 21:48:45 +00:00
Christopher Page
4394371ab7
Added --list-saves support for AGI
...
svn-id: r33351
2008-07-28 04:50:27 +00:00
Christopher Page
7f480ac571
Quit and RTL code is more modular now. EVENT_RTL no longer sets _shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed
...
svn-id: r33082
2008-07-16 04:22:56 +00:00
Christopher Page
00aee7dd73
Reverted an incorrect change to AGI
...
svn-id: r33077
2008-07-15 19:35:40 +00:00
Christopher Page
3ac3e84ecf
Removed an exit() call in PreAGI
...
svn-id: r33049
2008-07-13 22:41:32 +00:00
Christopher Page
30b1a62e81
Removed unnecessary #inlcudes
...
svn-id: r32984
2008-07-10 05:15:19 +00:00
Christopher Page
e808cdf7a0
Reimplemented pushEvent() and artificialEventQueue to work with Events instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM
...
svn-id: r32971
2008-07-09 02:27:05 +00:00
Christopher Page
3beccaf115
PreAGI works with the new GMM implementation
...
svn-id: r32956
2008-07-08 01:33:57 +00:00
Christopher Page
61d25a912e
Agi works with the new GMM implementation
...
svn-id: r32953
2008-07-07 23:24:12 +00:00
Christopher Page
0bffc3cb7b
Sound settings for AGI are now configurable through the GMM
...
svn-id: r32936
2008-07-07 05:51:39 +00:00
Christopher Page
f878820bbe
Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So far agi, agos, and cine are now using the new _quit flag.
...
svn-id: r32770
2008-06-24 21:15:30 +00:00
Christopher Page
e86a422e25
Merged revisions 32564-32565,32567-32575,32577,32579-32594,32596-32603,32605-32639,32644-32646,32648-32666 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r32667
2008-06-11 17:36:21 +00:00
Max Horn
fefad79249
No need to specify CaseSensitiveString_Hash explicitly anymore
...
svn-id: r32663
2008-06-11 06:00:56 +00:00
Christopher Page
369f7b0d08
AGI: Modified AGI Engine to shutdown without using system->quit
...
svn-id: r32329
2008-05-27 20:15:36 +00:00
Christopher Page
e41bd1eae8
AGI: Fixed two memory leaks when returning to launcher from AGI Engine
...
svn-id: r32236
2008-05-24 00:08:13 +00:00
Johannes Schickel
600ab40bca
Changed all delete [] usages to delete[].
...
svn-id: r31927
2008-05-07 14:31:45 +00:00
Jordi Vilalta Prat
38a8aa516e
Allow static and dynamic plugins to be used at the same time
...
svn-id: r31888
2008-05-06 03:00:26 +00:00
Filippos Karapetis
b804175684
Update AGI timers while waiting for a key to be pressed (e.g. when showing blocking text windows). Fixes bugs #1935909 and #1943872
...
svn-id: r31777
2008-04-29 18:50:17 +00:00
Filippos Karapetis
0de56ea1f9
Fix for original game bug #1942476 - "AGI: Fan(Get Outta SQ) - Score is lost on restart"
...
svn-id: r31776
2008-04-29 16:24:54 +00:00
Eugene Sandulenko
d1d227db83
Fix initialization of Apple //gs sound
...
svn-id: r31659
2008-04-22 20:33:46 +00:00
Kari Salminen
38b2fb1322
Fix timing in Apple IIGS MIDI parsing. Now sounds should get triggered at the correct times without the previously observed time jitter effect.
...
svn-id: r31636
2008-04-21 04:04:24 +00:00
Eugene Sandulenko
3334dbbd9a
Add another verions of fanmade game Kings Quest 2 1/4 mentioned in
...
bugreport #1947051 : "AGI: Kings Quest 2 1/4 - Unknown version"
svn-id: r31629
2008-04-20 20:06:18 +00:00
Kari Salminen
14918b05d1
Tiny cleanup: Fix a parameter name discrepancy between IIgsChannelInfo::noteOn-function's declaration and definition introduced in r31550.
...
svn-id: r31553
2008-04-17 21:05:20 +00:00
Johannes Schickel
b03ec8ac75
Fixed gcc warnings.
...
svn-id: r31550
2008-04-17 18:28:28 +00:00
John Willis
7828d50384
Fix building with GCC (a few extra ;'s got in there somehow).
...
svn-id: r31545
2008-04-17 17:40:28 +00:00
Kari Salminen
29e2b19c92
Implemented Apple IIGS MIDI playing with software mixing.
...
(NOTE: As you can hear this is a work in progress ;-))
- Added IIgsSoundMgr class for handling Apple IIGS sounds and moved functionality inside it
- Added IIgsMidiChannel class for handling Apple IIGS MIDI channels
- Made sound effects playing use the IIgsSoundMgr class too
- Modified software mixing routine to mix multiple sounds
svn-id: r31544
2008-04-17 17:18:43 +00:00
Kari Salminen
719c85f0ca
Make convertWave-function static as it uses no member variables.
...
svn-id: r31510
2008-04-15 23:00:34 +00:00
Kari Salminen
875ee5c913
Cleanup (Remove unneeded functions and rename a struct correctly).
...
svn-id: r31509
2008-04-15 22:35:30 +00:00
Kari Salminen
ade3c38dc1
Move MIDI program change mappings to their own structs (Useful for later changes).
...
svn-id: r31508
2008-04-15 22:31:08 +00:00
Kari Salminen
91e1a6b7be
Fix a couple of typos spotted by Raziel.
...
svn-id: r31487
2008-04-12 13:20:15 +00:00
Filippos Karapetis
e2fe69ff71
Show current text prompt when the accept_input opcode is called. This, together with commit #31477 fix bugs #1875076 - "AGI GR: Input prompt not changing in outhouse" and #1939632 - "SQ2: Text prompt glitch"
...
svn-id: r31485
2008-04-11 17:00:29 +00:00
Filippos Karapetis
58b78bae07
Initial attempt at handling non-default AGI game input prompt
...
svn-id: r31477
2008-04-10 21:58:59 +00:00
Filippos Karapetis
71f6a7e855
Allow the predictive dialog to be shown when ego cannot be moved (i.e. when _game.playerControl is 0), since in those cases it is possible to enter text in the input area. Should fix bugs #1935844 - "PQ1: Predictive Text does not load" and #1936374 - "LSL1: No predictive input at age verification page"
...
svn-id: r31462
2008-04-10 08:27:09 +00:00
Johannes Schickel
b586235fb8
Fixed warnings for msvc9.
...
svn-id: r31460
2008-04-09 15:16:50 +00:00
Filippos Karapetis
08f7059cf2
Fixed an off-by one error in the AGI set_menu opcode. Fixes bug #1935896 - "AGI: Fan(Beyond Titanic 2) - Assertion"
...
svn-id: r31457
2008-04-09 11:25:23 +00:00
Kari Salminen
4cc4bd0f41
Implement the full range of Apple IIGS MIDI program number to instrument mapping. Switch to using 8-bit signed sample data with Apple IIGS (In preparation for mixing multiple channels). Make Apple IIGS wavefile handling use SharedPtr and Array.
...
svn-id: r31451
2008-04-08 14:45:42 +00:00
Filippos Karapetis
9a0825cc06
Added a sanity check for original game script bugs in Agent06. Fixes bugs #1935842 - "AGI: Fan(Agent06) - Graphic errors" and #1935838 - "AGI: Fan(Agent06) - Crash on Quit"
...
svn-id: r31449
2008-04-08 08:54:05 +00:00
Max Horn
29f1e6de38
Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default)
...
svn-id: r31413
2008-04-05 22:29:08 +00:00
Kari Salminen
510a81bbd8
Add Apple IIGS MIDI program number to instrument number mappings (Both for the older instrument set used by SQ1 only and for the newer instrument set used by all the other tested Apple IIGS games).
...
svn-id: r31371
2008-04-03 22:15:59 +00:00
Kari Salminen
25ff174193
After further testing it seems Apple IIGS midi playing speed is actually 60 ticks per second. Hurrah!
...
svn-id: r31367
2008-04-03 18:31:30 +00:00
Kari Salminen
84105227f2
Fix naming of the Apple IIGS midi speed variable and its value (Was erronously named bpm although was really ticks per second rather than ticks per minute).
...
svn-id: r31366
2008-04-03 18:12:09 +00:00
Kari Salminen
4836c1109c
Fix Apple IIGS midi playing speed (Based on tests with Apple IIGS KQ1 and SQ1 under MESS 0.124a)
...
svn-id: r31365
2008-04-03 14:33:53 +00:00
Kari Salminen
bd8df7afee
Add detection entry for Serguei's Destiny II Demo v1.3.1 (March 22nd 2008).
...
svn-id: r31346
2008-04-01 00:23:39 +00:00
Max Horn
57ad73faee
Removed char &operator [] from class String -- it had the potential to wreak havoc when used on shared strings (thanks to tramboi for pointing this out)
...
svn-id: r31334
2008-03-30 18:37:09 +00:00
Max Horn
770bc64f21
Added FIXME comment regarding sorting of pred.dic; replaced weird binary search code with simple binary search code ;-)
...
svn-id: r31291
2008-03-28 09:17:13 +00:00
Max Horn
05dd6cee3a
Got rid of EncapsulatedADGameDesc
...
svn-id: r31130
2008-03-15 15:25:49 +00:00
Max Horn
6547ef6e12
Started to get rid of Common::EncapsulatedADGameDesc (using plain Common::ADGameDescription instead)
...
svn-id: r31121
2008-03-14 17:31:04 +00:00
Max Horn
8a9a14002e
Advanced Detector: Changed fallback detector from a callback function pointer to an overrideable method of AdvancedMetaEngine
...
svn-id: r31119
2008-03-14 13:59:31 +00:00
Filippos Karapetis
93753d2f3b
Fixed some issues with the previous commit, bug #1893564 should be fixed now without affecting anything else
...
svn-id: r30917
2008-02-22 09:13:27 +00:00
Filippos Karapetis
a7e7dfe122
Fix for bug #1893564 - "AGI: Texts messed out in Naturette 1"
...
svn-id: r30916
2008-02-22 08:57:18 +00:00
Max Horn
88bb567e18
Merged lots of _mixer->isReady() warnings into a single one in Engine constructor
...
svn-id: r30871
2008-02-15 17:01:35 +00:00
Kari Salminen
6740541e03
Fix for bug #1883989 (AGI: Jolimie freezes). Game's detection entry had its parameters in wrong order and game feature flags were interpreted as the AGI version number and vice versa... whoops.
...
svn-id: r30857
2008-02-13 01:33:40 +00:00
Kari Salminen
66418e4283
Tiny fix to autodetected game's naming (Removes an extra space).
...
svn-id: r30854
2008-02-12 15:31:09 +00:00
Kari Salminen
98f8e93102
Added better AGIPAL autodetect to the AGI's fallback detector (Now checks files 'pal.100' - 'pal.109' rather than just the file 'pal.101').
...
svn-id: r30852
2008-02-12 15:20:47 +00:00
Jordi Vilalta Prat
c103290e2b
Initial support for plugin types
...
svn-id: r30825
2008-02-08 00:02:23 +00:00
Max Horn
8a73356a2d
Revised Engine plugin API to only provide a single func which returns a MetaEngine instance. Used this to simplify the rest of the plugin system
...
svn-id: r30780
2008-02-03 18:56:47 +00:00