Menu

Tools Commit Log


Commit Date  
[r2944] by plombo

Added a clearscreen() builtin function to the script API. It takes a screen pointer as input, and clears the entire screen to solid black.
The clearscreen() script function is a simple wrapper around the clearscreen() function in gamelib.

Usage: void clearscreen(void* screen)

Note: this has not been tested yet.

2010-12-01 03:20:32 Tree
[r2943] by plombo

Reverted most of r2865. It introduced several issues and large chunks of new but unmaintained code. A few fixes and improvements that could have stayed are reverted as part of this, but they can be re-added later if necessary.

2010-11-30 00:21:27 Tree
[r2942] by plombo

Drop the DEBUG_MALLOC flag and just use the DEBUG flag in tracemalloc. (This reverts the tracemalloc changes in r2865.)

2010-11-29 04:17:45 Tree
[r2941] by plombo

Fix a potential segfault in tracecalloc() if tracemalloc() returns a NULL pointer.

2010-11-29 03:50:54 Tree
[r2940] by plombo

Several preprocessor changes:
* Document the script filename in all pp_parser errors.
* Finish the README.
* Fix lexing of foreign/non-standard characters.
* Remove the compiled GNU/Linux binary of pp_test.

2010-11-29 00:57:03 Tree
[r2939] by plombo

Wii video: remove bogus threading optimization. There's no measurable difference in performance, and the code is much neater now, although it still needs some cleanup in places.

2010-11-27 00:37:46 Tree
[r2938] by plombo

Fix by DavidC99 for pp_lexer in the new preprocessor. This should fix its handling of escape sequences inside strings.

2010-11-25 01:51:16 Tree
[r2937] by plombo

Log 'file not found' errors for the #include directive.

2010-11-23 01:01:37 Tree
[r2936] by plombo

Added a brand-new C preprocessor for use in the script engine!

What's supported:
* #include directives, e.g. '#include "data/scripts/foobar.c"' (like before, but less buggy)
* simple #define directives, e.g. '#define MYNUMBER 7' or '#define my_xdir getentityproperty(self, "xdir")'

What's not supported (yet):
* Function-style defines, e.g. '#define rem(x,y) (x % y)'
* Conditional directives (#if, #ifdef, #ifndef, #elif, #else, #endif)
* Any other C preprocessor directives such as #pragma, #warning, #error, etc.

2010-11-21 20:50:13 Tree
[r2935] by plombo

tracelib: added tracecalloc() function and hopefully fixed tracerealloc()

2010-11-21 07:55:51 Tree
Older >
MongoDB Logo MongoDB