2011-03-12

OpenBOR v3.0 Build 3192

EmuCR:OpenBOR OpenBOR v3.0 Build 3192 is released. OpenBOR is an official port of the OpenBOR (aka Beats of Rage) beat em up game engine to the Wii. The initial port was done by SX and the current maintainer is Plombo.

History
----------------------
In 2004, Senile Team released Beats of Rage, a free beat-'em-up for DOS inspired by SEGA's Streets of Rage series and using sprites from SNK Playmore's King of Fighters series. The game spread only by word of mouth, but it nonetheless amassed popularity very quickly. Senile Team soon released an edit pack allowing anyone interested to create a mod for the BOR engine. In 2005, Kirby2000 asked Senile Team to open the source code to BOR. They agreed, and OpenBOR was born. Development on the engine was continued by the community, and still is to this day.


Heres whats new:
------------------------------------------------------------------------
r3192 | sumolx | 2011-03-11 12:58:41 -0500 (Fri, 11 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c

Dreamcast complaining about i and j not being initialized.
------------------------------------------------------------------------
r3191 | anallyst | 2011-03-11 12:46:47 -0500 (Fri, 11 Mar 2011) | 1 line
Changed paths:
M /engine/resources/meta.xml
M /engine/source/scriptlib/List.c

the problem was that size was accessed after solidify.
------------------------------------------------------------------------
r3190 | sumolx | 2011-03-11 12:29:16 -0500 (Fri, 11 Mar 2011) | 1 line
Changed paths:
M /engine/source/gamelib/commands.c
M /engine/source/gamelib/commands.h

New lines are required for every file.
------------------------------------------------------------------------
r3189 | anallyst | 2011-03-11 11:21:55 -0500 (Fri, 11 Mar 2011) | 1 line
Changed paths:
M /engine/resources/meta.xml
M /engine/source/scriptlib/List.c

free all mem when using the old solidify method
------------------------------------------------------------------------
r3188 | anallyst | 2011-03-11 11:00:14 -0500 (Fri, 11 Mar 2011) | 1 line
Changed paths:
M /engine/resources/meta.xml
M /engine/source/scriptlib/List.c
M /engine/source/scriptlib/List.h
M /engine/source/scriptlib/List_unittest.c

enhanced unittest, renamed internal list for indexes
------------------------------------------------------------------------
r3187 | anallyst | 2011-03-11 09:11:48 -0500 (Fri, 11 Mar 2011) | 1 line
Changed paths:
M /engine/resources/meta.xml
M /engine/source/scriptlib/List.c
M /engine/source/utils.c
M /engine/source/utils.h

fixed the bug in the script interpreter as reported by volcanic. the culprit was actually list_solidify. plombo is innocent.
------------------------------------------------------------------------
r3186 | anallyst | 2011-03-10 19:09:32 -0500 (Thu, 10 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml
M /engine/source/gamelib/packfile.c
M /engine/source/gamelib/packfile.h

added a cache list for filenames. this should make .PAK access as fast as native filesystem access
------------------------------------------------------------------------
r3185 | anallyst | 2011-03-10 17:44:35 -0500 (Thu, 10 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

be more friendly on unknown commands, this way also games which use newer features may still work at least partially
------------------------------------------------------------------------
r3184 | anallyst | 2011-03-10 16:23:53 -0500 (Thu, 10 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

removed code dup
------------------------------------------------------------------------
r3183 | anallyst | 2011-03-10 14:42:43 -0500 (Thu, 10 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

improved load_level_order with the usual commandlist replacement.
------------------------------------------------------------------------
r3182 | anallyst | 2011-03-10 14:12:16 -0500 (Thu, 10 Mar 2011) | 11 lines
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml
M /engine/source/gamelib/commands.c
M /engine/source/gamelib/commands.h

added enum for levelorders, using the following commands

cat levelorder.txt | perl -ne 'if (/stricmp\(command\, \"([\w_]+)\"/)
{$x = $1; print "CMD_LEVELORDER_" . uc($x) . ",\n"}' >
cmd_levelorder.txt

cat levelorder.txt | perl -ne 'if (/stricmp\(command\, \"([\w_]+)\"/)
{$x = $1; print "LIST_ADD(CMD_LEVELORDER_" . uc($x) . ", \"" . $x
."\");\n"}' > cmd_levelorder_add.txt


------------------------------------------------------------------------
r3181 | anallyst | 2011-03-10 13:38:58 -0500 (Thu, 10 Mar 2011) | 1 line
Changed paths:
M /engine/dc/dcport.c
M /engine/dc/gdrom.c
M /engine/dc/video.c
M /engine/openbor.h
M /engine/openborscript.c
M /engine/openborscript.h
M /engine/psp/control/main.c
M /engine/psp/control.c
M /engine/psp/exception/main.c
M /engine/psp/graphics.c
M /engine/psp/image.c
M /engine/psp/menu.c
M /engine/psp/netcomm.c
M /engine/psp/netcomm.h
M /engine/psp/pspport.c
M /engine/sdl/control.c
M /engine/sdl/gp2x/gp2xport.c
M /engine/sdl/menu.c
M /engine/sdl/sblaster.c
M /engine/sdl/timer.c
M /engine/sdl/video.c
M /engine/source/gamelib/anigif.c
M /engine/source/gamelib/borendian.h
M /engine/source/gamelib/draw.c
M /engine/source/gamelib/draw16.c
M /engine/source/gamelib/draw32.c
M /engine/source/gamelib/filecache.c
M /engine/source/gamelib/filters.c
M /engine/source/gamelib/font.c
M /engine/source/gamelib/loadimg.c
M /engine/source/gamelib/packfile.c
M /engine/source/gamelib/palette.c
M /engine/source/gamelib/pixelformat.c
M /engine/source/gamelib/screen16.c
M /engine/source/gamelib/screen32.c
M /engine/source/gamelib/soundmix.c
M /engine/source/gamelib/sprite.c
M /engine/source/gamelib/spritef.c
M /engine/source/gamelib/spriteq.c
M /engine/source/gamelib/spritex8p16.c
M /engine/source/gamelib/spritex8p32.c
M /engine/source/gamelib/texture.c
M /engine/source/gamelib/texture16.c
M /engine/source/gamelib/texture32.c
M /engine/source/gamelib/types.h
M /engine/source/gfxlib/2xSaI.c
M /engine/source/gfxlib/bilinear.c
M /engine/source/gfxlib/dotmatrix.c
M /engine/source/gfxlib/hq2x.c
M /engine/source/gfxlib/hq2x.h
M /engine/source/gfxlib/interp.h
M /engine/source/gfxlib/lq2x.h
M /engine/source/gfxlib/motionblur.c
M /engine/source/gfxlib/scale2x.c
M /engine/source/gfxlib/scanline.c
M /engine/source/gfxlib/simple2x.c
M /engine/source/pcxlib/savepcx.c
M /engine/source/pnglib/pngdec.c
M /engine/source/preprocessorlib/pp_lexer.c
M /engine/source/preprocessorlib/pp_lexer.h
M /engine/source/preprocessorlib/test/tmp.c
M /engine/source/ramlib/ram.c
M /engine/source/scriptlib/Instruction.c
M /engine/source/scriptlib/Instruction.h
M /engine/source/scriptlib/Interpreter.c
M /engine/source/scriptlib/Interpreter.h
M /engine/source/scriptlib/Lexer.c
M /engine/source/scriptlib/Lexer.h
M /engine/source/scriptlib/List.h
M /engine/source/scriptlib/Parser.c
M /engine/source/scriptlib/Parser.h
M /engine/source/scriptlib/ParserSet.c
M /engine/source/scriptlib/ScriptVariant.c
M /engine/source/scriptlib/ScriptVariant.h
M /engine/source/scriptlib/StackedSymbolTable.c
M /engine/source/scriptlib/StackedSymbolTable.h
M /engine/source/scriptlib/SymbolTable.c
M /engine/source/stristr.c
M /engine/source/tracelib/tracemalloc.c
M /engine/source/xpmlib/xpm.c
M /engine/symbian/vsnprintf.h
M /engine/wii/control.c
M /engine/wii/menu.c
M /engine/wii/timer.c
M /engine/xbox/common/include/png.h
M /engine/xbox/common/include/pngconf.h
M /engine/xbox/common/include/xbapp.h
M /engine/xbox/common/include/xbfont.h
M /engine/xbox/common/include/xbhelp.h
M /engine/xbox/common/include/xbinput.h
M /engine/xbox/common/include/xbmesh.h
M /engine/xbox/common/include/xbresource.h
M /engine/xbox/common/include/xbsound.h
M /engine/xbox/common/include/xbstopwatch.h
M /engine/xbox/common/include/xbutil.h
M /engine/xbox/common/include/zconf.h
M /engine/xbox/common/include/zlib.h
M /engine/xbox/generic/2xsaiwin.c
M /engine/xbox/generic/2xsaiwin.h
M /engine/xbox/generic/panel.h
M /engine/xbox/generic/undocumented.h
M /engine/xbox/generic/wnaspi32.h
M /engine/xbox/sblaster.c

fixed indentations in all C source code
------------------------------------------------------------------------
r3180 | anallyst | 2011-03-10 13:27:01 -0500 (Thu, 10 Mar 2011) | 1 line
Changed paths:
A /engine/fixindentation.sh
M /engine/source/utils.c

added the script since it is displayed wrong in the svn commit message.
------------------------------------------------------------------------
r3179 | anallyst | 2011-03-10 13:15:46 -0500 (Thu, 10 Mar 2011) | 4 lines
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

ran the following script on openbor.c to fix indentations:
cat openbor.c | perl -pe 'if((@x = /^(?: )+/g)) { s|^( )+|"\t" x
(length($x[0]) / 4)|eg; }' >> openbor.c2; mv openbor.c2 openbor.c

------------------------------------------------------------------------
r3178 | anallyst | 2011-03-10 11:36:49 -0500 (Thu, 10 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml
M /engine/source/gamelib/commands.c
M /engine/source/utils.c
M /engine/source/utils.h

removed some code duplication and made all commandlist lookups case insensitive
------------------------------------------------------------------------
r3177 | anallyst | 2011-03-10 10:47:35 -0500 (Thu, 10 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

oops, forgot to lowercase user supplied command.
------------------------------------------------------------------------
r3176 | anallyst | 2011-03-10 09:58:06 -0500 (Thu, 10 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

split some lines.
------------------------------------------------------------------------
r3173 | sumolx | 2011-03-09 21:59:31 -0500 (Wed, 09 Mar 2011) | 1 line
Changed paths:
M /engine/build.sh

Fixed execution of calling borpak's build.sh via build.sh from engine's auto build script
------------------------------------------------------------------------
r3172 | anallyst | 2011-03-09 19:32:21 -0500 (Wed, 09 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c

fixed indentations
------------------------------------------------------------------------
r3171 | anallyst | 2011-03-09 18:26:34 -0500 (Wed, 09 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

continue parsing on unknown command, since commentary are treated as such
------------------------------------------------------------------------
r3170 | anallyst | 2011-03-09 17:44:22 -0500 (Wed, 09 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

removed duplicated code, property of UTunnels (TM)
------------------------------------------------------------------------
r3169 | anallyst | 2011-03-09 17:31:46 -0500 (Wed, 09 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml
M /engine/source/gamelib/commands.c
M /engine/source/gamelib/commands.h

improved speed and debuggability of load_level by removing those STUPID thousands of strcmps
------------------------------------------------------------------------
r3168 | anallyst | 2011-03-09 16:47:57 -0500 (Wed, 09 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml
M /engine/source/gamelib/commands.c
M /engine/source/gamelib/commands.h

added enum for load level commands
------------------------------------------------------------------------
r3167 | anallyst | 2011-03-09 16:28:46 -0500 (Wed, 09 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml
M /engine/source/gamelib/commands.c
M /engine/source/gamelib/commands.h

changed MODEL enums
------------------------------------------------------------------------
r3166 | anallyst | 2011-03-09 16:22:33 -0500 (Wed, 09 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml
M /engine/source/gamelib/commands.c
M /engine/source/gamelib/commands.h

changed name of txtCommands
------------------------------------------------------------------------
r3165 | anallyst | 2011-03-09 15:24:23 -0500 (Wed, 09 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

some cleanups
------------------------------------------------------------------------
r3164 | anallyst | 2011-03-09 14:48:23 -0500 (Wed, 09 Mar 2011) | 1 line
Changed paths:
M /engine/source/gamelib/soundmix.c

remove dbg code
------------------------------------------------------------------------
r3163 | anallyst | 2011-03-09 14:44:08 -0500 (Wed, 09 Mar 2011) | 1 line
Changed paths:
M /engine/Makefile
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/sdl/stacktrace.c
M /engine/source/gamelib/soundmix.c
M /engine/source/stringptr.c
M /engine/source/stringptr.h
M /engine/version.h

made plombos stacktrace stuff 64bit aware. who needs it anyway. running the debuggee in gdb while crashing allows you to type bt and get a full stacktrace for free.
------------------------------------------------------------------------
r3160 | sumolx | 2011-03-06 23:02:02 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/Makefile
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

Mac OS X port is now a universal app. Supports i386 and x86_64 architectures. However, MMX Filters are disabled... unless I find a way to build them for both architectures.
------------------------------------------------------------------------
r3159 | sumolx | 2011-03-06 22:52:39 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/build.sh

Added libz and libpng to distribution
------------------------------------------------------------------------
r3158 | sumolx | 2011-03-06 22:52:19 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/darwin.sh

Added libz and libpng to distribution
------------------------------------------------------------------------
r3157 | sumolx | 2011-03-06 20:48:00 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/sdl/stacktrace.h

Removed #error from stacktrace header. Not needed since the source is wrapped around CUSTOM_SIGNAL_HANDLER
------------------------------------------------------------------------
r3156 | sumolx | 2011-03-06 19:23:00 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/environ.sh

Added toolchain check for linux on Mac
------------------------------------------------------------------------
r3155 | sumolx | 2011-03-06 19:07:11 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/build.sh

build.sh now builds borpak when in distribute mode for Windows, Linux and Mac OS X
------------------------------------------------------------------------
r3153 | plombo | 2011-03-06 17:30:55 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/source/preprocessorlib/pp_parser.c
D /engine/source/preprocessorlib/test/List.c
M /engine/source/preprocessorlib/test/build.sh
M /engine/source/scriptlib/ImportCache.c
M /engine/source/scriptlib/Interpreter.c

Now that List_Clear frees memory instead of leaking it, fix some memory leaks in ImportCache, Interpreter, and pp_parser.
------------------------------------------------------------------------
r3152 | plombo | 2011-03-06 16:30:34 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/source/scriptlib/List.c

List: Fixed a segfault and (serious) memory leak exposed by pp_test.
------------------------------------------------------------------------
r3144 | plombo | 2011-03-06 13:13:55 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/Makefile
M /engine/sdl/sdlport.c
A /engine/sdl/stacktrace.c
A /engine/sdl/stacktrace.h
M /engine/sdl/video.c

Added a signal handler for SIGSEGV in debug mode under Linux. It writes the stack trace to the log when the engine segfaults.
------------------------------------------------------------------------
r3143 | sumolx | 2011-03-06 11:29:43 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/source/pnglib/pngdec.c

CopyPasta error, should be using PNG_LIBPNG_VER_RELEASE
------------------------------------------------------------------------
r3142 | sumolx | 2011-03-06 11:16:15 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/source/gamelib/loadimg.c
M /engine/source/pnglib/pngdec.c
M /engine/version.h

libpng wrapper functions not need for loadimage. However, we still need the wrapper for png_set_expand_gray_1_2_4_to_8 as it was introduced in libpng 1.2.9 and Dreamcast uses build 1.2.8
------------------------------------------------------------------------
r3141 | anallyst | 2011-03-06 10:35:17 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

further increase loading speed. loading contra takes only 7 seconds now (13 before)
------------------------------------------------------------------------
r3140 | anallyst | 2011-03-06 10:01:49 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

fixed the loading of models loaded from other models
------------------------------------------------------------------------
r3138 | anallyst | 2011-03-06 08:18:26 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c

changed some function names, added backtrace when shutdown was called with an error
------------------------------------------------------------------------
r3137 | sumolx | 2011-03-06 03:19:13 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/build.sh
M /engine/source/gamelib/loadimg.c

libpng 1.4.X compatible. With backward compatible wrappers for 1.3.X and lower versions
------------------------------------------------------------------------
r3136 | sumolx | 2011-03-06 02:41:31 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/source/gamelib/loadimg.c
M /engine/source/pnglib/pngdec.c
M /engine/version.h

libpng 1.4.X compatible. With backward compatible wrappers for 1.3.X and lower versions
------------------------------------------------------------------------
r3135 | sumolx | 2011-03-06 00:44:02 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/source/pnglib/pngdec.c

SDL include is only required for SDL ports
------------------------------------------------------------------------
r3134 | anallyst | 2011-03-06 00:06:54 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

use calloc, the file is big enough already...
------------------------------------------------------------------------
r3133 | anallyst | 2011-03-06 00:02:28 -0500 (Sun, 06 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

moved initialisation of models into an own func
------------------------------------------------------------------------
r3132 | anallyst | 2011-03-05 23:26:47 -0500 (Sat, 05 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/openbor.h
M /engine/resources/meta.xml

model_list was only there to confuse the reader.
------------------------------------------------------------------------
r3131 | anallyst | 2011-03-05 23:18:53 -0500 (Sat, 05 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

dont calculate again what we already know
------------------------------------------------------------------------
r3130 | plombo | 2011-03-05 21:37:27 -0500 (Sat, 05 Mar 2011) | 1 line
Changed paths:
M /engine/build.sh
M /engine/environ.sh

Restored the old platform numbers for build.sh and environ.sh. They were changed in 3086.
------------------------------------------------------------------------
r3129 | plombo | 2011-03-05 19:56:24 -0500 (Sat, 05 Mar 2011) | 1 line
Changed paths:
M /engine/Makefile
M /engine/openborscript.c
M /engine/openborscript.h
M /engine/source/preprocessorlib/pp_lexer.c
M /engine/source/preprocessorlib/pp_lexer.h
M /engine/source/preprocessorlib/pp_parser.c
M /engine/source/preprocessorlib/pp_parser.h
M /engine/source/preprocessorlib/test/pp_test.c
M /engine/source/preprocessorlib/test/tmp.c
A /engine/source/scriptlib/ImportCache.c
A /engine/source/scriptlib/ImportCache.h
M /engine/source/scriptlib/Interpreter.c
M /engine/source/scriptlib/Interpreter.h
M /engine/source/scriptlib/Lexer.c
M /engine/source/scriptlib/Lexer.h
M /engine/source/scriptlib/Parser.c
M /engine/source/scriptlib/Parser.h

Implemented most of the code for the #import directive. The only thing missing is the ability to actually call the imported functions from the script importing them.
------------------------------------------------------------------------
r3128 | plombo | 2011-03-05 16:58:22 -0500 (Sat, 05 Mar 2011) | 1 line
Changed paths:
M /engine/source/pnglib/pngdec.c
M /engine/source/xpmlib/xpm.c

Fixed memory leaks in xpmToSurface and pngToSurface.
------------------------------------------------------------------------
r3127 | plombo | 2011-03-05 15:11:42 -0500 (Sat, 05 Mar 2011) | 2 lines
Changed paths:
M /engine/Makefile
A /engine/resources/OpenBOR_Icon_32x32_png.h (from /engine/resources/openbor_icon_32x32_png.h:3126)
A /engine/resources/OpenBOR_Logo_320x240_png.h (from /engine/resources/openbor_logo_320x240_png.h:3126)
A /engine/resources/OpenBOR_Logo_480x272_png.h (from /engine/resources/openbor_logo_480x272_png.h:3126)
A /engine/resources/OpenBOR_Menu_320x240_png.h (from /engine/resources/openbor_menu_320x240_png.h:3126)
A /engine/resources/OpenBOR_Menu_480x272_png.h (from /engine/resources/openbor_menu_480x272_png.h:3126)
D /engine/resources/openbor_icon_32x32_png.h
D /engine/resources/openbor_logo_320x240_png.h
D /engine/resources/openbor_logo_480x272_png.h
D /engine/resources/openbor_menu_320x240_png.h
D /engine/resources/openbor_menu_480x272_png.h
M /engine/sdl/menu.c
D /engine/sdl/sdlpng.c
D /engine/sdl/sdlpng.h
M /engine/sdl/video.c
A /engine/source/pnglib
A /engine/source/pnglib/pngdec.c (from /engine/sdl/sdlpng.c:3126)
A /engine/source/pnglib/pngdec.h (from /engine/sdl/sdlpng.h:3126)

Replaced the new SDL PNG decoder with a new, cross-platform one based on the PSP port's PNG decoder. This removes its dependency on SDL_image. Now the Wii's menu should be able to take advantage of it as well.

------------------------------------------------------------------------
r3126 | sumolx | 2011-03-05 13:40:55 -0500 (Sat, 05 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c

typecast required for tolower() argument of type int
------------------------------------------------------------------------
r3125 | sumolx | 2011-03-05 13:39:20 -0500 (Sat, 05 Mar 2011) | 1 line
Changed paths:
M /engine/source/gamelib/commands.h

newline required at the end of files
------------------------------------------------------------------------
r3124 | sumolx | 2011-03-05 13:39:17 -0500 (Sat, 05 Mar 2011) | 1 line
Changed paths:
M /engine/source/gamelib/commands.c

newline required at the end of files
------------------------------------------------------------------------
r3123 | sumolx | 2011-03-05 13:38:38 -0500 (Sat, 05 Mar 2011) | 1 line
Changed paths:
M /engine/source/globals.h

tolower requires #include
------------------------------------------------------------------------
r3122 | anallyst | 2011-03-05 12:47:51 -0500 (Sat, 05 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

removed stupidness. finally DD3 dragon stone level 3-2 works in debug mode.
------------------------------------------------------------------------
r3121 | anallyst | 2011-03-05 00:59:05 -0500 (Sat, 05 Mar 2011) | 1 line
Changed paths:
M /engine/resources/meta.xml
M /engine/source/gamelib/packfile.c
M /engine/source/globals.h

better error message. include errno.
------------------------------------------------------------------------
r3120 | anallyst | 2011-03-04 23:14:43 -0500 (Fri, 04 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

startup() is only called after a game is loaded. dont free stuff thats not initialised, when exiting from the menu.
------------------------------------------------------------------------
r3119 | anallyst | 2011-03-04 21:12:45 -0500 (Fri, 04 Mar 2011) | 1 line
Changed paths:
M /engine/Makefile
A /engine/resources/makeheader.pl
M /engine/resources/meta.xml
A /engine/resources/openbor_icon_32x32_png.h
A /engine/resources/openbor_logo_320x240_png.h
A /engine/resources/openbor_logo_480x272_png.h
A /engine/resources/openbor_menu_320x240_png.h
A /engine/resources/openbor_menu_480x272_png.h
M /engine/sdl/menu.c
A /engine/sdl/sdlpng.c
A /engine/sdl/sdlpng.h
M /engine/sdl/video.c

removed dependencies to the slow xpm decoder. this also saves around 1 MB of binary size.
------------------------------------------------------------------------
r3118 | anallyst | 2011-03-04 15:44:37 -0500 (Fri, 04 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/openbor.h
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

added numeric check for all parsed numbers.
------------------------------------------------------------------------
r3117 | anallyst | 2011-03-03 16:11:33 -0500 (Thu, 03 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

remove code duplication, thus reducing exe size.
------------------------------------------------------------------------
r3116 | anallyst | 2011-03-03 15:42:03 -0500 (Thu, 03 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml
M /engine/source/gamelib/commands.c
M /engine/source/gamelib/commands.h

wow. that was a mess. cleaned up big parts of load_cached_model monster. speed should also be much better.
------------------------------------------------------------------------
r3115 | anallyst | 2011-03-03 12:30:25 -0500 (Thu, 03 Mar 2011) | 1 line
Changed paths:
A /engine/source/gamelib/commands.c

forgot svn add, as usual
------------------------------------------------------------------------
r3114 | anallyst | 2011-03-03 12:29:49 -0500 (Thu, 03 Mar 2011) | 1 line
Changed paths:
M /engine/Makefile
M /engine/openbor.c
M /engine/resources/meta.xml
M /engine/source/gamelib/commands.h
M /engine/source/scriptlib/List.h

we got now a nice list for quick command lookup. in the moment, it only wastes mem, but this will change shortly...
------------------------------------------------------------------------
r3113 | anallyst | 2011-03-03 11:49:44 -0500 (Thu, 03 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml
M /engine/source/gamelib/commands.h

hopefully complete command list now.
------------------------------------------------------------------------
r3112 | anallyst | 2011-03-03 10:58:00 -0500 (Thu, 03 Mar 2011) | 1 line
Changed paths:
A /engine/source/gamelib/commands.h

added enum for commands.... well, here it is...
------------------------------------------------------------------------
r3111 | anallyst | 2011-03-03 10:57:25 -0500 (Thu, 03 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/openbor.h
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

added enum for commands. the first step in taming the beast load_cached_models.
------------------------------------------------------------------------
r3110 | plombo | 2011-03-03 01:12:56 -0500 (Thu, 03 Mar 2011) | 1 line
Changed paths:
M /engine/source/gamelib/packfile.c
M /engine/source/gamelib/packfile.h

Changed some char* parameters to const char* in packfile code.
------------------------------------------------------------------------
r3109 | anallyst | 2011-03-03 00:42:50 -0500 (Thu, 03 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

fixing background layer.
------------------------------------------------------------------------
r3108 | anallyst | 2011-03-02 23:56:15 -0500 (Wed, 02 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c

cosmetic change.
------------------------------------------------------------------------
r3107 | anallyst | 2011-03-02 23:51:40 -0500 (Wed, 02 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/openbor.h

ouch, 18 is max, not 16
------------------------------------------------------------------------
r3106 | anallyst | 2011-03-02 23:48:49 -0500 (Wed, 02 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/openbor.h
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

changed to more efficient and cleaner parsing method, added some functions for numeric checks
------------------------------------------------------------------------
r3105 | anallyst | 2011-03-02 19:03:52 -0500 (Wed, 02 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c

reverted to 3103
------------------------------------------------------------------------
r3104 | anallyst | 2011-03-02 18:26:24 -0500 (Wed, 02 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c

double dragon3 dragon stone was passing load knife in level 3-2, where a number is expected instead. interestingly, this crashed only in debug mode. i added a number of checks... if someone volunteers, theres still a lot of atois and atofs left for you
------------------------------------------------------------------------
r3102 | sumolx | 2011-03-02 11:40:43 -0500 (Wed, 02 Mar 2011) | 1 line
Changed paths:
A /engine/codeblocks
A /engine/codeblocks/OpenBOR.Windows.cbp
A /engine/codeblocks/OpenBOR.Windows.layout

CodeBlocks IDE for Windows is officially supported by OpenBOR.
------------------------------------------------------------------------
r3101 | anallyst | 2011-03-02 08:48:02 -0500 (Wed, 02 Mar 2011) | 1 line
Changed paths:
M /engine/resources/meta.xml
M /engine/source/scriptlib/List.c
M /engine/source/scriptlib/List.h

added hashmap for string search as well. now the script compilation time is near zero. well done. o0
------------------------------------------------------------------------
r3100 | anallyst | 2011-03-02 07:14:29 -0500 (Wed, 02 Mar 2011) | 1 line
Changed paths:
M /engine/resources/meta.xml
M /engine/source/scriptlib/List.c

when USE_INDEX is disabled, would have thrown a unused var warning.
------------------------------------------------------------------------
r3099 | anallyst | 2011-03-02 06:48:40 -0500 (Wed, 02 Mar 2011) | 1 line
Changed paths:
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/source/scriptlib/List.c
M /engine/source/scriptlib/List.h
M /engine/version.h

added contains method to list which has no sideeffects, to accompany list_includes. added some info about the List functionality and how it can be switched on and off.
------------------------------------------------------------------------
r3098 | anallyst | 2011-03-02 05:10:22 -0500 (Wed, 02 Mar 2011) | 1 line
Changed paths:
M /engine/resources/meta.xml
M /engine/source/scriptlib/Interpreter.c
M /engine/source/scriptlib/List.c
M /engine/source/scriptlib/List.h
M /engine/source/scriptlib/List_unittest.c

improved List index and contains lookups by using a hashtable. loading time of contra is decreased by 50 percent.
------------------------------------------------------------------------
r3097 | anallyst | 2011-03-02 02:28:35 -0500 (Wed, 02 Mar 2011) | 1 line
Changed paths:
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/source/scriptlib/Parser.c
M /engine/version.h

properly initialise all lists, pt. 3
------------------------------------------------------------------------
r3096 | anallyst | 2011-03-02 02:14:05 -0500 (Wed, 02 Mar 2011) | 1 line
Changed paths:
M /engine/resources/meta.xml
M /engine/source/scriptlib/Interpreter.c
M /engine/source/scriptlib/Stack.c
M /engine/source/scriptlib/Stack.h

properly initialise all lists - pt. 2
------------------------------------------------------------------------
r3095 | plombo | 2011-03-01 16:58:20 -0500 (Tue, 01 Mar 2011) | 1 line
Changed paths:
M /engine/source/preprocessorlib/pp_lexer.c

pp_lexer: Interpret the non-breaking space (NBSP) character (hex value A0 in both Windows-1252 and ISO-8859-*) as whitespace.
------------------------------------------------------------------------
r3094 | anallyst | 2011-03-01 13:22:32 -0500 (Tue, 01 Mar 2011) | 1 line
Changed paths:
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/source/scriptlib/Interpreter.c
M /engine/version.h

properly initialise all lists
------------------------------------------------------------------------
r3092 | anallyst | 2011-02-28 21:38:32 -0500 (Mon, 28 Feb 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml
M /engine/version.h

dont use any landframe at all when an invalid index is supplied. this way all games will continue gracefully even when buggy. thanks for the hint plombo
------------------------------------------------------------------------
r3091 | sumolx | 2011-02-28 20:58:20 -0500 (Mon, 28 Feb 2011) | 1 line
Changed paths:
D /engine/resources/OpenBOR.rc

OpenBOR.rc is no longer referenced since removing MVS Platform.
------------------------------------------------------------------------

Download: OpenBOR v3.0 Build 3192
Source: Here

0 Comments

Post a Comment