Age | Commit message (Collapse) | Author |
|
Removed a bunch of pause-related code which I either can't remember why
it's there, or which doesn't seem to serve any useful purpose. Most
things I've tried seem to work as well or better than before.
svn-id: r53997
|
|
svn-id: r53995
|
|
svn-id: r53993
|
|
This placates compilers that complain about the semicolon in
"CORO_BEGIN_CONTEXT;"
svn-id: r53992
|
|
svn-id: r53991
|
|
svn-id: r53988
|
|
Also change 3 variable types in order to match types used
in create_hugo
svn-id: r53987
|
|
svn-id: r53986
|
|
svn-id: r53985
|
|
Removing the need for class DataStream and that handle mess.
svn-id: r53984
|
|
svn-id: r53981
|
|
svn-id: r53976
|
|
- Added support for savegame play time
- Removed obsolete variables for calculating the play time (EngineState::gameStartTime and Console::_enterTime)
- Renamed some variables to camelCase
svn-id: r53974
|
|
(Crash in Yvel tavern basement)
svn-id: r53973
|
|
svn-id: r53967
|
|
A new header file common/forbidden.h is included by scummsys.h and it
re-#defines numerous symbols like fopen(), fread(), system(), etc. with
garbage, in order to provoke compile errors in any code using them.
If a .cpp file really *must* use any of these (e.g. because it is a
backend file), then these redefinitions can be disabled by #defining
FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever
this is done, an explanatory comment should be added.
Note that this system cannot catch all "bad" usages (notably the Lua
code in the sword25 engine), as it can only work if scummsys.h is
included.
svn-id: r53961
|
|
svn-id: r53959
|
|
svn-id: r53958
|
|
These are not portable, and (at least in the current code)
do nothing useful either: a file is opened, and closed again,
in write mode. At most this may create / delete the file.
But since the method containing this code is never called...
svn-id: r53957
|
|
- suppress two useless variables
- initialize some variables
svn-id: r53956
|
|
svn-id: r53955
|
|
(Vaelan's Cube can be duplicated at Scotia's Barrier)
This is a bug in the game data of early unpatched floppy versions.
This can also be fixed by applying the official patch (ftp://ftp.westwood.com/pub/lands1/updates/lolus123.exe).
svn-id: r53954
|
|
svn-id: r53953
|
|
svn-id: r53952
|
|
Removing the need to pack that struct
svn-id: r53951
|
|
svn-id: r53950
|
|
Only allow const access through Map::getWayPoint()
svn-id: r53949
|
|
svn-id: r53948
|
|
svn-id: r53947
|
|
- Move enum Direction out of class Map
- Convert kLeft et al into a proper enum RelativeDirection
svn-id: r53946
|
|
svn-id: r53945
|
|
in the dolphin room"
svn-id: r53941
|
|
svn-id: r53940
|
|
Once the audio buffer has been queued in the audio stream, the Theora
decoder is no longer responsible for it. It has to allocate a new
audio buffer for the next set of audio data.
Of course, at the moment the audio is pretty useless because the
playback speed is all wrong.
svn-id: r53939
|
|
Even though our video player does not (yet) support audio, we need to
adjust the values of _audiobufFill and _audiobufReady as if it did, or
it will never realize it has reached the end of the cutscene.
Also fixes what looks like a typo in audio data clipping.
svn-id: r53938
|
|
svn-id: r53937
|
|
svn-id: r53936
|
|
As a nice side effect, this gets rid of 25 out of 64 occurrences
of nullContext in the TINSEL code.
svn-id: r53935
|
|
* Fix a bug which caused coroutines invoked with nullContext to
leak their state.
Sadly, nullContext is underdocumented, yet very delicate and
full of subtleties... ./
* Move nullContext decl from sched.cpp to coroutine.cpp
* Enhance a few doxygen comments
svn-id: r53934
|
|
This fixes some leaks that occurred when exiting the game resp.
returning to launcher. Note that we still leak some coroutines when
exiting after loading a savegame.
svn-id: r53933
|
|
svn-id: r53932
|
|
Caused crashs when exiting when a sfx or voice was still playing
Bug found by Thomas
svn-id: r53928
|
|
(Last commit got trunkated somehow)
svn-id: r53927
|
|
(Users will get AdLib music at default unless they have specified a MIDI device in the launcher (MT-32 for KYRA, GM for HOF and LOL.)
svn-id: r53926
|
|
svn-id: r53925
|
|
svn-id: r53924
|
|
svn-id: r53923
|
|
svn-id: r53922
|
|
svn-id: r53921
|
|
When such a script patch is found, a dialog pops up at the beginning
of the game, asking the user to remove it. The issues that these
script patches fix have already been fixed in ScummVM, thus these
patches aren't necessary, plus they can lead to crashes, freezes, buggy
behavior and/or unexpected errors, thus it is better if they aren't
used at all, if possible
svn-id: r53920
|