Menu

Tools Commit Log


Commit Date  
[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
[r2775] by sumolx

Final update to ramlib for all currently support platforms.
Without rewritting scriptlib... access to ramlib will return KByte values instead of Bytes.

2010-05-09 18:04:55 Tree
[r2774] by damon_caskey

getentityproperty({ent}, "flash", {argument}) - Returns model's flash info.

{argument}
0 = Return flash model index.
1 = Return noatflash
2 = Return bflash model index.

2010-05-09 13:42:48 Tree
[r2773] by sumolx

Default BYTES for ram stats

2010-05-09 02:38:54 Tree
Older >
MongoDB Logo MongoDB