Age | Commit message (Collapse) | Author |
|
|
|
|
|
Lua 5.0 introduced new syntax for upvalues so the
old code needs to be preprocessed first.
|
|
|
|
|
|
|
|
|
|
|
|
There are a few C-style comments present in the
Lua files
|
|
|
|
It creates a new Lua environment whenever a new
Lua script is loaded
|
|
|
|
|
|
The previous flow only allowed one subsystem to
be initialized.
|
|
Added the LuaScript *lua pointer. Also called the
destructors for fileMan and lua
|
|
|
|
It creates lua_State (s), initializes them and
executes Lua files in them
|
|
|
|
|
|
_surface is freed in the destructors for Picture
and Tile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The input stream is designed keeping in mind the structure
of the MPC file in mind.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The function getScreenFormat() doesn't work until initGraphics
has been called. Hence, calling it to initialize the
PixelFormat doesn't work.
|
|
The exisitng code to read MPC files was moved into FileMan
|
|
|
|
|
|
|
|
|
|
|
|
The .MPC decompression methods are added to readMPC(). The position and
length of each data file in held in the struct DataFile, which are stored in the
Array gameData. To extract a file, you need to access its entry in
gameData and read the file from the given position.
|