Menu

Tools Commit Log


Commit Date  
[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
[r2934] by plombo

Added a tracerealloc() function to tracelib that wraps around realloc() in the standard C library.

2010-11-21 07:34:52 Tree
[r2933] by plombo

Bazaar revision numbers can now be used as the build number when the 'svn-revno' property is not available.

2010-11-21 02:44:54 Tree
[r2932] by plombo

Fixed build numbers for bzr-svn. The Bazaar version control system should now work as a complete alternative to SVN through the bzr-svn plugin.

2010-11-21 02:13:34 Tree
[r2931] by plombo

Fixed version.sh in Windows when the SVN executable is in the PATH, not in tools/bin.

2010-11-15 00:38:28 Tree
[r2930] by plombo

Fixed a 'long is 32 bits' assumption in the SDL menu's font renderer. It appears to be the only such assumption in the SDL backend.

2010-11-12 00:02:36 Tree
[r2929] by plombo

x86_64 Linux building works without cross-compiling now. Thanks for AL13N for confirming that these changes fix the build.

2010-11-10 05:29:49 Tree
[r2928] by plombo

OpenBOR now compiles under 64-bit (x86_64) Linux. I'm not sure yet whether it's buggy or ready for general use.

2010-11-08 04:19:06 Tree
[r2927] by plombo

Removed some unneccessary lines in build.sh that I left in accidentally in 2926.

2010-11-08 02:18:45 Tree
Older >
MongoDB Logo MongoDB