CVSROOT: /home/cvs
Module name: freesci
Changes by: cvsuser 99/12/21 20:26:14
Modified files:
. : ChangeLog
src : main.c
src/core : Makefile.am cfsml.pl kernel.c kfile.c
savegame.c savegame.cfsml scriptdebug.c vm.c
src/graphics : graphics.c graphics_ggi.c menubar.c
src/include : engine.h kernel.h soundserver.h
src/sound : sfx_save.c sound.c soundserver_null.c
Added files:
src/core : game.c said.c state.c
Log message:
* Added CheckSaveGame(), SaveGame(), RestoreGame(), fixed related functions
* Fixed restoring with the sound server (timeout now at 0.1s)
* Fixed a bug in cfsml.pl, where realloc() would be used to decrease the size
of a string somewhat too much
* Fixed several memory leaks in game initialization
* Split vm.c into vm.c, state.c (static state) and game.c (dynamic state, i.e.
state that may change while playing the game, restoring, or restarting).
Still needs some cleanups.
* Added said.c for those of us who don't have yacc or bison at hand.
Save/Restore appears to be broken right now. It's unlikely that I'll be able
to continue work on it until after christmas.
Also, another word of warning: Please don't edit the generated files:
(generated by flex):
src/config.c
(generated by yacc or bison -y):
src/core/said.c
(generated by src/core/cfsml.pl):
src/core/savegame.c
src/sound/sfx_save.c
Some changes were made to savegame.c, and now they're gone. Sorry for
destroying them so rudely, but re-entering them into savegame.cfsml and
piping that through cfsml.pl should be much less work than finding out
the changes.
-- Christoph