Age | Commit message (Collapse) | Author |
|
of producing incorrect code
svn-id: r54005
|
|
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.
The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.
svn-id: r54004
|
|
svn-id: r54003
|
|
svn-id: r54002
|
|
svn-id: r54001
|
|
svn-id: r54000
|
|
svn-id: r53999
|
|
Removed some of the debug code that has never ever been enabled for as
long as this engine has been in ScummVM.
svn-id: r53998
|
|
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
|
|
exists in the main executable, causing it not to be built in the plugins.
svn-id: r53996
|
|
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: r53990
|
|
This is currently necessary for the PS2 port and possibly others.
svn-id: r53989
|
|
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
|
|
Also realign arrays to make them (a bit) more readable.
These modifications don't modify Hugo.dat
svn-id: r53983
|
|
svn-id: r53982
|
|
svn-id: r53981
|
|
svn-id: r53980
|
|
svn-id: r53979
|
|
I tried to untangle the header interdependencies a bit, but this
is still quite a mess.
This commit also fixes some warnings.
svn-id: r53978
|
|
svn-id: r53977
|
|
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: r53972
|
|
svn-id: r53971
|
|
svn-id: r53970
|
|
svn-id: r53969
|
|
svn-id: r53968
|
|
svn-id: r53967
|
|
svn-id: r53966
|
|
svn-id: r53965
|
|
svn-id: r53964
|
|
svn-id: r53963
|
|
svn-id: r53962
|
|
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: r53960
|
|
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
|