Menu

Tools Commit Log


Commit Date  
[r2785] by plombo

Changed 32-bit integer typedefs in gfxtypes.h from long to int. Remember: 64-bit compilers treat longs as 64-bit integers; int is 32-bit across all platforms!

2010-05-15 15:31:20 Tree
[r2784] by plombo

The Wii port can now run Battle Toads without using SDL. The video is messed up, but everything else in the game works perfectly, and the game is still playable.

2010-05-13 03:23:51 Tree
[r2783] by plombo

Reverted my previous makefile change; we link with libogg and libvorbis again.

2010-05-12 21:50:26 Tree
[r2782] by plombo

The engine no longer links explicitly to libogg and libvorbis; it doesn't directly depend on them but instead uses libvorbisfile for Ogg Vorbis decoding.

2010-05-11 22:35:38 Tree
[r2781] by kbandressen

New Functions

createfilestream() - makes a new blank filestream that can be added to, returns filestream index

savefilestream(int filestreamindex, "filepath") - saves the specified filestream at Saves\PAKNAME\filepath
-Mods cannot save data anywhere besides Saves\PAKNAME\ to prevent mods from overwriting each another mod's save data. They can read from anywhere in the Saves directory though, so mods can do things based on save data from other mods.
-Automatically adds a blank line to the end of the file so it can be read without issues.
-Costly operation. You can get away with calling it ingame on Windows, but it makes a lag spike when called ingame on PSP (and presumably, other consoles).

filestreamappend(int filestreamindex, scriptvar, 0/1) - adds scriptvar to the end of the specified filestream
- 0 (default): for writing commands, creates a new line before writing
- 1: for writing arguments
This command adds a space after anything appended so that arguments can be distinguished. I wanted to just add a space before an argument append but could not for the life of me persuade C to go along with it.

Modified Functions:

openfilestream("filepath", int x) - loads the file at filepath into a new filestream, returns filestream index
- x = 0 (default): loads file from inside the pak (or base directory if running the mod as a data folder)
- x = 1: loads file from Saves directory
IE: openfilestream("PACKNAME/file.txt", 1); would open the file at Saves/PACKNAME/file.txt.

2010-05-11 18:54:54 Tree
[r2780] by sumolx

Darwin now links SDL libraries statically

2010-05-11 02:51:19 Tree
[r2779] by sumolx

Linux SDL libraries are now statically linked.

2010-05-11 00:14:42 Tree
[r2778] by plombo

Integer types defined in endian.h now work with both 32-bit and 64-bit compilers.

2010-05-09 23:49:42 Tree
[r2777] by plombo

Added missing ehcmodule.elf.o file to Wii port.

2010-05-09 23:02:41 Tree
[r2776] by plombo

Implemented some Wii video functions.

2010-05-09 22:55:48 Tree
Older >
MongoDB Logo MongoDB