Menu

Tools Commit Log


Commit Date  
[r2789] by plombo

Rewrote stristr.h used by borpak and borplay.

2010-05-18 04:19:11 Tree
[r2788] by plombo

Added an XPM decoder.

2010-05-18 01:24:15 Tree
[r2787] by plombo

C-stick on GameCube controller and right analog stick on Classic Controller can now be used when configuring controls.

2010-05-16 01:52:53 Tree
[r2786] by plombo

The Wii port can now play Battle Toads without SDL. The video is no longer messed up!

2010-05-15 20:36:26 Tree
[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
Older >
MongoDB Logo MongoDB