German Chinese (Simplified) English Finnish French Greek Italian Japanese Russian Spanish Swedish Turkish
Wii Homebrew Downloads
Übersicht Downloads suchen
Download im Detail

OpenBOR v.3.0 Build 3667

Dateigröße Dateigröße: 5.42 MB Downloads Downloads: 2423 Sprache Sprache: Englisch
Autor Autor: SX, Plombo Webseite Webseite: Homepage Datum Geändert am: 01.02.2012

Download

Bitte bewerten Sie den Download angemessen!
(19 Stimmen)

OpenBOR (Open Beats of Rage) wurde als Tribute zu der beliebten Beat'em'Up Reihe Streets of Rage erschaffen. Genau wie in den drei Originalspielen heißt es hier, durch die Straßen gehen und Gangster vermöbeln. Mods können aus der Homepage des Spiel heruntergeladen werden, die man dann im Verzeichnis Paks unterzubringen hat. Es werden alle möglichen Steuerungsarten supportet, egal ob Wiimote, Nunchuck, Classic Controller oder auch Gamecube Controller.

openbor


 
r3667 | utunnels | 2012-01-29 22:48:24 -0500 (Sun, 29 Jan 2012) | 1 line

Changed paths:

M /engine/openbor.c

Fix maxplayer/single command.

------------------------------------------------------------------------

r3666 | utunnels | 2012-01-20 23:33:16 -0500 (Fri, 20 Jan 2012) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/openborscript.c

Move level set stuff to structure s_set_entry and remove leve and set limit.

------------------------------------------------------------------------

r3665 | utunnels | 2012-01-18 23:34:49 -0500 (Wed, 18 Jan 2012) | 5 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Add clearcount check for secret command's second parameter.

secret 0 5 # must beat the game 5 times to use

secret 1 # old logic, can only be used in bonus set

secret 1 5 # can only be used in bonus set, and must beat the game 5 times

------------------------------------------------------------------------

r3664 | utunnels | 2012-01-09 08:58:20 -0500 (Mon, 09 Jan 2012) | 3 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

The new com code should always match the longest possible com input, fixed. So dfa won't overwrite dfdfa, unless dfdfa runs out of energy, like before.

It would be better if the definition order decides priority, but anyway, backward compatibility.

Also removed unused model property valid_special.

------------------------------------------------------------------------

r3663 | utunnels | 2012-01-07 05:27:25 -0500 (Sat, 07 Jan 2012) | 1 line

Changed paths:

M /engine/openbor.c

Forgot to reset ent_max and ent_count, now added.

------------------------------------------------------------------------

r3662 | utunnels | 2012-01-07 03:38:19 -0500 (Sat, 07 Jan 2012) | 1 line

Changed paths:

M /engine/openbor.h

Remove pain_time from expand_time, otherwise text entity can't do multiple hits at all.

------------------------------------------------------------------------

r3661 | utunnels | 2012-01-05 23:43:51 -0500 (Thu, 05 Jan 2012) | 1 line

Changed paths:

M /engine/openborscript.c

Fix script function getentity.

------------------------------------------------------------------------

r3660 | utunnels | 2012-01-04 22:35:18 -0500 (Wed, 04 Jan 2012) | 1 line

Changed paths:

M /engine/openbor.c

Dynamic entity list size.

------------------------------------------------------------------------

r3659 | utunnels | 2012-01-04 08:03:55 -0500 (Wed, 04 Jan 2012) | 1 line

Changed paths:

M /engine/openbor.c

Revert movestep by 1 after perform ff/dd/uu moves (run, dodge, etc) to avoid conflict with default freespecial1-3.

------------------------------------------------------------------------

r3658 | utunnels | 2012-01-04 04:02:15 -0500 (Wed, 04 Jan 2012) | 1 line

Changed paths:

M /engine/openborscript.c

Add palette to getgfxproperty.

------------------------------------------------------------------------

r3657 | utunnels | 2012-01-03 02:15:56 -0500 (Tue, 03 Jan 2012) | 1 line

Changed paths:

M /engine/openbor.c

Temporary patch to remove freespeical/run conflict.

------------------------------------------------------------------------

r3656 | utunnels | 2012-01-02 23:27:54 -0500 (Mon, 02 Jan 2012) | 3 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

- Change attackbackward input timing back to 1/10 seconds.

Let s_player store input time for each step for later use.

- Add 4 pxiel scroll limit for rocking level to avoid panel over-travelling.

------------------------------------------------------------------------

r3655 | utunnels | 2012-01-01 19:09:15 -0500 (Sun, 01 Jan 2012) | 2 lines

Changed paths:

M /engine/openbor.c

Fix a ptype to autokill conversion bug in arrow_move.

Fix an extra dust problem in dive code (since dive and jumpframe are merged, the default dust in jumpframe must be removed for dive).

------------------------------------------------------------------------

r3654 | utunnels | 2011-12-31 10:03:24 -0500 (Sat, 31 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fix a mistake in previous update.

------------------------------------------------------------------------

r3653 | utunnels | 2011-12-31 09:36:43 -0500 (Sat, 31 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

Temporary fix for common_stuck_underneath attack.

------------------------------------------------------------------------

r3652 | utunnels | 2011-12-31 07:56:37 -0500 (Sat, 31 Dec 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Move com and cancel to structure s_com.

Move combo key checking to s_player (those unused properties in entity are not removed yet).

------------------------------------------------------------------------

r3651 | utunnels | 2011-12-29 08:03:52 -0500 (Thu, 29 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fix a backward key input issue for freespecial.

------------------------------------------------------------------------

r3650 | utunnels | 2011-12-26 10:09:48 -0500 (Mon, 26 Dec 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Merge cancel and com code in a single function.

Remove button type check, no direction-action button combination limit anymore.

------------------------------------------------------------------------

r3649 | utunnels | 2011-12-24 10:50:19 -0500 (Sat, 24 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

Fix freespecial conflicting issue.

------------------------------------------------------------------------

r3648 | utunnels | 2011-12-24 02:10:02 -0500 (Sat, 24 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

Revert energycost code to what it was.

------------------------------------------------------------------------

r3647 | utunnels | 2011-12-23 21:22:59 -0500 (Fri, 23 Dec 2011) | 3 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/openborscript.c

M /engine/openborscript.h

Add maxanimations to openborvariant(no other way to obtain unless you calculate all those max_blahblah values).

Give energycost.disable a default value of -1. Hopefully to make seal work for all types.

------------------------------------------------------------------------

r3646 | utunnels | 2011-12-21 11:04:28 -0500 (Wed, 21 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Fix a bug that player can't pick up overlaping items when one provides a weapon he can't use.

------------------------------------------------------------------------

r3645 | utunnels | 2011-12-21 00:08:59 -0500 (Wed, 21 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fix a subtype touch mistake during last updates.

------------------------------------------------------------------------

r3644 | utunnels | 2011-12-20 23:45:13 -0500 (Tue, 20 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

Minor value change in normal aimove code.

------------------------------------------------------------------------

r3643 | utunnels | 2011-12-20 23:42:50 -0500 (Tue, 20 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Merge dive and jumpframe, leave only a dive flag for the animation.

------------------------------------------------------------------------

r3642 | utunnels | 2011-12-20 09:50:29 -0500 (Tue, 20 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

M /engine/openborscript.h

Add "self" to openborvariant. Temporary solution for nested animation script which doesn't have local variable "self".

------------------------------------------------------------------------

r3641 | utunnels | 2011-12-20 04:05:41 -0500 (Tue, 20 Dec 2011) | 1 line

Changed paths:

M /engine/openborscript.c

Print error message for tossentity, and remove the type check for velocity paramters (quite unlikely they'll have any problems).

------------------------------------------------------------------------

r3640 | utunnels | 2011-12-19 20:33:18 -0500 (Mon, 19 Dec 2011) | 2 lines

Changed paths:

M /engine/openbor.c

Remove aggression correction for normal aimove.

------------------------------------------------------------------------

r3639 | utunnels | 2011-12-18 00:54:52 -0500 (Sun, 18 Dec 2011) | 4 lines

Changed paths:

M /engine/openborscript.c

openbor_projectile: give proper default direction for relative projectile.

------------------------------------------------------------------------

r3638 | utunnels | 2011-12-17 22:46:01 -0500 (Sat, 17 Dec 2011) | 1 line

Changed paths:

M /engine/openborscript.c

Add bound to getentityproperty.

------------------------------------------------------------------------

r3637 | utunnels | 2011-12-17 11:17:08 -0500 (Sat, 17 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

Stop sound samples after a level.

------------------------------------------------------------------------

r3636 | utunnels | 2011-12-17 03:09:40 -0500 (Sat, 17 Dec 2011) | 6 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/openborscript.c

- Clearn up some structures in openbor.h (damageonlanding now supports value greater than 127).

- Allow decimal value for freeze time.

- Make script function projectile more usable. All parameters are optional (default to custknife and throwframe values), if the first parameter is 1, then the position is relative to its caster.

For example:

@cmd projectile 1 "hadouken" 50 70 1

------------------------------------------------------------------------

r3635 | utunnels | 2011-12-15 22:20:18 -0500 (Thu, 15 Dec 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/source/gamelib/font.c

M /engine/source/gamelib/font.h

- A little clean-up in font code.

- Check name and index first in knife_spawn and bomb_spawn, because they are obviously intended.

------------------------------------------------------------------------

r3634 | utunnels | 2011-12-15 04:03:46 -0500 (Thu, 15 Dec 2011) | 1 line

Changed paths:

M /engine/openborscript.c

NULL return value in openbor_projectile before return E_FAIL.

------------------------------------------------------------------------

r3633 | utunnels | 2011-12-14 21:24:46 -0500 (Wed, 14 Dec 2011) | 4 lines

Changed paths:

M /engine/openborscript.c

Add selectable as loadmodel's third parameter (since changemodelproperty is not complete).

Add level->bosses count check for openbor_spawn.

------------------------------------------------------------------------

r3632 | utunnels | 2011-12-14 20:45:24 -0500 (Wed, 14 Dec 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

M /engine/openborscript.h

Add waiting to system variant (or should it be a level property?)

Merge some property lists for better maintainability.

------------------------------------------------------------------------

r3631 | utunnels | 2011-12-13 20:35:18 -0500 (Tue, 13 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

Force playercount = 1 even if all players have died in smartspawn, otherwise all spawn slots are skipped.

------------------------------------------------------------------------

r3630 | utunnels | 2011-12-13 02:21:31 -0500 (Tue, 13 Dec 2011) | 1 line

Changed paths:

M /engine/openborscript.c

Forgot to initialize return value for allocscript, fixed.

------------------------------------------------------------------------

r3629 | utunnels | 2011-12-12 21:59:48 -0500 (Mon, 12 Dec 2011) | 8 lines

Changed paths:

M /engine/openborscript.c

M /engine/openborscript.h

New script functions:

allocscript()

loadscript(handle, path) ...multiple times

compiilescript(handle)

executescript(handle)

...

free(handle)

------------------------------------------------------------------------

r3628 | utunnels | 2011-12-12 10:17:56 -0500 (Mon, 12 Dec 2011) | 6 lines

Changed paths:

M /engine/openbor.c

Add combostyle 2 (SOR3 style).

So,

combostyle 0 = default bor pattern (default),

combostyle 1 = golden axe style (range based),

combostyle 2 = SOR3 style (chain without hitting),

combostyle 3 = 1+2 (though it is hardly needed)

------------------------------------------------------------------------

r3627 | utunnels | 2011-12-12 01:27:34 -0500 (Mon, 12 Dec 2011) | 7 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

M /engine/openborscript.h

M /engine/source/gamelib/bitmap.c

M /engine/source/gamelib/screen.c

M /engine/source/gamelib/sprite.c

M /engine/source/gamelib/transform.c

M /engine/source/gamelib/types.h

Use magic number for bitmap, screen and sprite, make script resource management easier.

Remove script function getpixel, use getgfxproperty instead.

* getgfxproperty(handle, propertyname, ...)

- handle can be sprite or screen

- propertyname: width, height, srcwidth, srcheight, centerx, centery, pixel...

- for pixel, x, y must follow

- other properties such offsetx, offsety have not been added yet.

------------------------------------------------------------------------

r3626 | utunnels | 2011-12-09 08:06:57 -0500 (Fri, 09 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

Complete palette none code.

------------------------------------------------------------------------

r3625 | utunnels | 2011-12-09 01:52:07 -0500 (Fri, 09 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

Use palette none to disable palette and use individual palette for each frame.

------------------------------------------------------------------------

r3624 | utunnels | 2011-12-08 02:22:02 -0500 (Thu, 08 Dec 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/source/gamelib/font.c

M /engine/source/gamelib/font.h

Multi-byte string support for font functions.

Add a new command fontmbs in menu.txt to flag this change.

------------------------------------------------------------------------

r3623 | utunnels | 2011-12-05 09:58:48 -0500 (Mon, 05 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

Commented out some debug messages.

------------------------------------------------------------------------

r3622 | utunnels | 2011-12-05 03:24:30 -0500 (Mon, 05 Dec 2011) | 1 line

Changed paths:

M /engine/Makefile

Forgot to update makefile, added.

------------------------------------------------------------------------

r3621 | utunnels | 2011-12-04 19:40:00 -0500 (Sun, 04 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

Move the sound_volume_music line behind the music line in check_music, assuming function music will overwrite the volume.

------------------------------------------------------------------------

r3620 | utunnels | 2011-12-04 03:02:13 -0500 (Sun, 04 Dec 2011) | 1 line

Changed paths:

R /engine/source/gamelib/sprite.c (from /engine/source/gamelib/spritef.c:3619)

D /engine/source/gamelib/spritef.c

Delete long time unused sprite.c, rename spritef.c to sprite.c.

------------------------------------------------------------------------

r3619 | utunnels | 2011-12-03 07:12:24 -0500 (Sat, 03 Dec 2011) | 3 lines

Changed paths:

M /engine/openbor.c

Re-adjust enemy attack chance after playing some mods. When there are too many enemies on screen, their chance to attack is also lowered. Because the new ai patterns tend to swamp on the player, difficulty increases too much when there are more than 5 enemies.

Reduce the chance for the default grab. Previous logic will prevent the entity with a greater index from grabbing another with a smaller index when they are both walking.

------------------------------------------------------------------------

r3618 | utunnels | 2011-12-02 22:43:35 -0500 (Fri, 02 Dec 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/source/gamelib/transform.c

Check transparent bg for 8bit water (though it is rare).

Fix enemy stuck bug when multiple items overlap each other and some of them are not pickable, also reduce their chance to chase items.

------------------------------------------------------------------------

r3617 | utunnels | 2011-12-02 21:42:48 -0500 (Fri, 02 Dec 2011) | 1 line

Changed paths:

M /engine/source/gamelib/transform.c

Optimize 8 bit water.

------------------------------------------------------------------------

r3616 | utunnels | 2011-12-02 04:01:48 -0500 (Fri, 02 Dec 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

M /engine/source/gamelib/spriteq.c

M /engine/source/gamelib/types.h

Move sprite_map and sprite_list declaration from types.h to openbor.c

------------------------------------------------------------------------

r3615 | utunnels | 2011-12-02 00:11:37 -0500 (Fri, 02 Dec 2011) | 2 lines

Changed paths:

M /engine/openbor.c

For some reason models.txt didn't skip commented lines (#....).

Fixed.

------------------------------------------------------------------------

r3614 | utunnels | 2011-12-01 23:30:15 -0500 (Thu, 01 Dec 2011) | 1 line

Changed paths:

M /engine/source/gamelib/commands.h

Fix CMD_MODELSTXT_MAXIDLES, should be 1 instead of 0.

------------------------------------------------------------------------

r3613 | utunnels | 2011-12-01 10:37:57 -0500 (Thu, 01 Dec 2011) | 8 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Fix a hall of fame crash bug when a player model is unloaded (e.g., AOF BORR).

Fix a select screen crash bug when a player model is unloaded (e.g., AOF BORR).

Add a temporary solution that NULLs the model handle in model_cache before deleteModel is called.

TODO: merge model cache logic (model_cache and modellist should be checked at the same time).

Other minor fixes:

Change most of the bit field type to int in openbor.h, otherwise the compiler tends to complain when they are used as array subscripts without a cast.

Clear player keys after a scene (otherwise there's no way to skip a scene before a select txt without triggering a confirm button).

------------------------------------------------------------------------

r3612 | utunnels | 2011-12-01 01:19:33 -0500 (Thu, 01 Dec 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

Removed force mprate check when magic_type = 1.

Change error message of script function loadmodel to fit the new logic.

------------------------------------------------------------------------

r3611 | utunnels | 2011-11-30 10:23:59 -0500 (Wed, 30 Nov 2011) | 2 lines

Changed paths:

M /engine/openbor.c

Update uncache sprite functions.

How it allows unloading only the sprites and keeping the model.

------------------------------------------------------------------------

r3610 | utunnels | 2011-11-30 03:39:33 -0500 (Wed, 30 Nov 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/source/gamelib/spriteq.c

Unload flag 2 for model, delete sprites as well.

TODO: take care of those subclassed models.

------------------------------------------------------------------------

r3609 | utunnels | 2011-11-29 08:28:00 -0500 (Tue, 29 Nov 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

M /engine/source/gamelib/spriteq.c

M /engine/source/gamelib/types.h

Expand s_sprite structure and chagne other sprite related stuff for later use.

Now s_sprite stores original width and height as well as offsets to avoid loading and cropping the same image file multiple times.

------------------------------------------------------------------------

r3608 | utunnels | 2011-11-26 21:15:22 -0500 (Sat, 26 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.h

M /engine/openborscript.c

Change TYPE_RESERVED to 0x40000000 to avoid script variable unsigned to signed problem.

------------------------------------------------------------------------

r3607 | utunnels | 2011-11-26 20:02:51 -0500 (Sat, 26 Nov 2011) | 1 line

Changed paths:

M /engine/openborscript.c

Print different error message for changing candamage/hostile/projectilehit properties.

------------------------------------------------------------------------

r3606 | utunnels | 2011-11-26 11:02:09 -0500 (Sat, 26 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fix a mistake in last update, in check_attack_chance, it should have a higher chance to skip the attack when off-screen, not lower.

------------------------------------------------------------------------

r3605 | utunnels | 2011-11-25 11:16:26 -0500 (Fri, 25 Nov 2011) | 2 lines

Changed paths:

M /engine/openbor.c

Another update of attack chance code after playing test some mods, mostly some value changes.

------------------------------------------------------------------------

r3604 | utunnels | 2011-11-24 23:56:50 -0500 (Thu, 24 Nov 2011) | 3 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Fix blockratio instant death bug.

Update attack chance code, remove the complex logic and make a function.

Update normal ai move code, fast walking characters also changes their pattern faster.

------------------------------------------------------------------------

r3603 | utunnels | 2011-11-24 00:51:28 -0500 (Thu, 24 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Add an index property to s_anim, because handle can't be parsed to int in x64 system.

------------------------------------------------------------------------

r3602 | utunnels | 2011-11-23 23:38:21 -0500 (Wed, 23 Nov 2011) | 2 lines

Changed paths:

M /engine/openbor.c

Update attack chance code.

Will add a switch if necessay.

------------------------------------------------------------------------

r3601 | utunnels | 2011-11-23 11:51:42 -0500 (Wed, 23 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

Lower the chance of enemy attacks.

------------------------------------------------------------------------

r3600 | utunnels | 2011-11-23 01:51:22 -0500 (Wed, 23 Nov 2011) | 2 lines

Changed paths:

M /engine/sdl/opengl.c

M /engine/source/gamelib/pixelformat.c

M /engine/source/gamelib/screen16.c

M /engine/source/gamelib/screen32.c

M /engine/source/gamelib/spritef.c

M /engine/source/gamelib/spritex8p16.c

M /engine/source/gamelib/spritex8p32.c

Commented out reverse memory copy macros since it slows down the compiling.

It can be added back easily later if really needed.

------------------------------------------------------------------------

r3599 | utunnels | 2011-11-22 19:59:28 -0500 (Tue, 22 Nov 2011) | 1 line

Changed paths:

M /engine/openborscript.c

String map slot escapehits and escapecount had wrong order in mapstrings_changeentityproperty, fixed.

------------------------------------------------------------------------

r3598 | utunnels | 2011-11-22 09:36:00 -0500 (Tue, 22 Nov 2011) | 3 lines

Changed paths:

M /engine/openbor.c

Remove random wander for chase AI.

------------------------------------------------------------------------

r3597 | utunnels | 2011-11-20 01:29:47 -0500 (Sun, 20 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.h

M /engine/openborscript.c

Add TYPE_RESERVED, used to mark special flags for model tppes.

------------------------------------------------------------------------

r3596 | utunnels | 2011-11-19 10:23:28 -0500 (Sat, 19 Nov 2011) | 4 lines

Changed paths:

M /engine/openborscript.c

Add candamage, hostile and projectilehit to getentityproperty.

Allow interger value for the three in changeentityproperty, by having the highest bit set. This makes property copying easier.

For example, changeentityproperty(self, "hostile", openborconstant("TYPE_ENEMY")+openborconstant("TYPE_NPC")+0x80000000);

------------------------------------------------------------------------

r3595 | utunnels | 2011-11-19 05:14:10 -0500 (Sat, 19 Nov 2011) | 1 line

Changed paths:

M /engine/openborscript.c

Fix gep edelay, used to use a wrong varlist index.

------------------------------------------------------------------------

r3594 | utunnels | 2011-11-15 07:27:04 -0500 (Tue, 15 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/source/utils.c

Change debug_time and time back to what they were since there're conflicts in DC adn PSP header files.

------------------------------------------------------------------------

r3593 | utunnels | 2011-11-15 02:34:31 -0500 (Tue, 15 Nov 2011) | 1 line

Changed paths:

M /engine/source/gamelib/font.c

Merge putsprite lines in screen_printf.

------------------------------------------------------------------------

r3592 | utunnels | 2011-11-14 23:00:30 -0500 (Mon, 14 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/source/utils.c

M /engine/source/utils.h

Fix screenshot message stay bug.

------------------------------------------------------------------------

r3591 | utunnels | 2011-11-13 08:52:34 -0500 (Sun, 13 Nov 2011) | 2 lines

Changed paths:

M /engine/openbor.c

Force all player characters to be selectable when load a saved game.

This is a temporary fix until allowselect list can be saved.

------------------------------------------------------------------------

r3590 | utunnels | 2011-11-13 07:58:37 -0500 (Sun, 13 Nov 2011) | 1 line

Changed paths:

M /engine/source/scriptlib/Interpreter.c

Reverse changes in 3587, because currently there's not a good way to change animation and frame in one step.

------------------------------------------------------------------------

r3589 | utunnels | 2011-11-13 03:41:45 -0500 (Sun, 13 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

Minor, clean up spawn script load function a bit.

------------------------------------------------------------------------

r3588 | utunnels | 2011-11-13 02:19:41 -0500 (Sun, 13 Nov 2011) | 4 lines

Changed paths:

M /engine/openborscript.c

- Add vulnerable to entity property.

getentityproperty(ent, "vulnerable", anim, frame), the last two are optional.

- Fix bbox property return values, should be empty when the frame is not vulnerable and fail if parameter count doesn't match.

------------------------------------------------------------------------

r3587 | utunnels | 2011-11-12 21:50:41 -0500 (Sat, 12 Nov 2011) | 2 lines

Changed paths:

M /engine/openborscript.c

M /engine/source/scriptlib/Interpreter.c

M /engine/source/scriptlib/Interpreter.h

Fix nested call problem for script engine (when an interepreter calls a function like updateframe, in which case the animation script is reseted before complete).

This fix may cause bugs for old mods, so keep an eye on that to see if a backward compatible flag is required.

------------------------------------------------------------------------

r3586 | utunnels | 2011-11-11 03:26:31 -0500 (Fri, 11 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

Reset gfx_x_offset, gfx_y_offset and gfx_y_offset_adj after a level.

------------------------------------------------------------------------

r3585 | utunnels | 2011-11-07 11:03:12 -0500 (Mon, 07 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fix a mistake in player_check_special in previous update.

------------------------------------------------------------------------

r3584 | utunnels | 2011-11-07 03:35:54 -0500 (Mon, 07 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

Change animation after setting velocities and other flags, change takeaction before animation, so modders can use custom settings in their animation scripts.

------------------------------------------------------------------------

r3583 | utunnels | 2011-11-06 22:28:14 -0500 (Sun, 06 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

Allow pre anim @script tags. For those who want to write their own non-frame-based logic.

------------------------------------------------------------------------

r3582 | utunnels | 2011-11-06 21:17:34 -0500 (Sun, 06 Nov 2011) | 2 lines

Changed paths:

M /engine/openbor.c

Use sortid instead of z to sort grab and bind. Leave platforms alone for now.

------------------------------------------------------------------------

r3581 | utunnels | 2011-11-05 23:26:53 -0400 (Sat, 05 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

Removed unused variables in player_preinput.

------------------------------------------------------------------------

r3580 | utunnels | 2011-11-04 23:09:21 -0400 (Fri, 04 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

Increase distance for normal ai a bit.

------------------------------------------------------------------------

r3579 | utunnels | 2011-11-04 11:13:44 -0400 (Fri, 04 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

Randomize positions more for normal ai move.

------------------------------------------------------------------------

r3578 | utunnels | 2011-11-03 10:51:41 -0400 (Thu, 03 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

Missing brackets, added.

------------------------------------------------------------------------

r3577 | utunnels | 2011-11-03 10:43:58 -0400 (Thu, 03 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fix a mistake in previous update, now s_attack pain_time should work normally.

------------------------------------------------------------------------

r3576 | utunnels | 2011-11-03 04:55:09 -0400 (Thu, 03 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Remove fastattack check, use a small pain time instead. This should have patched the instant death bug, somehow.

------------------------------------------------------------------------

r3575 | utunnels | 2011-11-02 22:42:08 -0400 (Wed, 02 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

Commented out unused function assume_safe_distance just in case some compiler might complain.

------------------------------------------------------------------------

r3574 | utunnels | 2011-11-02 01:02:56 -0400 (Wed, 02 Nov 2011) | 1 line

Changed paths:

M /engine/openbor.c

Increase zdist by 1 in checkhit, or enemies attack before they can actually hit you.

------------------------------------------------------------------------

r3573 | utunnels | 2011-11-01 11:52:02 -0400 (Tue, 01 Nov 2011) | 3 lines

Changed paths:

M /engine/openbor.c

Partially check update_frame animation change after execute_animation_script, since most script users should intend to skip current frame immediately.

Change animation script logic so weapon model can have their own animation script without overriding the original one.

------------------------------------------------------------------------

r3572 | utunnels | 2011-11-01 03:18:14 -0400 (Tue, 01 Nov 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Fix update frame wrong frame pointer bug (animation changed in a script or weaponframe but frame number stays, so function is actually using an unexpected memory address).

There's a side effect from this fix that jumpframe or sound in previous animation will still be played, so I'll wait feedbacks from script users.

------------------------------------------------------------------------

r3571 | utunnels | 2011-10-31 22:54:00 -0400 (Mon, 31 Oct 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Change time values back to u32, because I noticed several bugs that were hard to trace.

Now check stalltime carefully when there's a minus instead.

------------------------------------------------------------------------

r3570 | utunnels | 2011-10-31 02:53:05 -0400 (Mon, 31 Oct 2011) | 3 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Add a new value for modelflag so scripts can also be ignored.

Remove notinair check for cancel, since user can combine landframe and cancel window frames.

------------------------------------------------------------------------

r3569 | utunnels | 2011-10-31 00:02:19 -0400 (Mon, 31 Oct 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Check nomove in common_move and return, so custom velocity can be used.

Fix range picking logic, previous logic tend to choose freespecials too much.

------------------------------------------------------------------------

r3568 | utunnels | 2011-10-30 09:23:43 -0400 (Sun, 30 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fix entity drawmethod alpha property.

------------------------------------------------------------------------

r3567 | utunnels | 2011-10-29 07:35:42 -0400 (Sat, 29 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Change check_range macro so it is possible to return true when minrange==maxrange.

------------------------------------------------------------------------

r3566 | utunnels | 2011-10-29 04:26:59 -0400 (Sat, 29 Oct 2011) | 3 lines

Changed paths:

M /engine/openbor.c

Disable ai character attacks if target is rising and doesn't have any bbox.

Change normal ai move destination points a bit.

Unused function assume_safe_distance.

------------------------------------------------------------------------

r3565 | utunnels | 2011-10-27 20:22:25 -0400 (Thu, 27 Oct 2011) | 12 lines

Changed paths:

M /engine/openborscript.c

M /engine/openborscript.h

New script function getpixel(handle, x, y, type).

Get a pixel from specific screen or sprite.

type - screen or sprite (or other format if supported in the future)

0 - screen

1 - sprite

x,y - position, for sprite, centerx and centery is not considered. If the point falls out of the dimension, the function returns 0.

handle - screen or sprite handle, must be valid.

return - For 8 bit image, it returns the index. For 16 and 32 bit, it returns the color as an integer.

------------------------------------------------------------------------

r3564 | utunnels | 2011-10-27 11:05:58 -0400 (Thu, 27 Oct 2011) | 2 lines

Changed paths:

M /engine/openbor.c

Don't try to set a new color table if the drawmethod already has one.

Unless the entity is doing dying flash.

------------------------------------------------------------------------

r3563 | utunnels | 2011-10-27 01:04:42 -0400 (Thu, 27 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Forgot to take care of elevator panels in previous update, added.

------------------------------------------------------------------------

r3562 | utunnels | 2011-10-26 23:00:28 -0400 (Wed, 26 Oct 2011) | 4 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Fix bglayer y position, now it uses the same logic as x, as well as entities.

gfx_y_offset no longer includes advancey, instead it works exactly the same way as gfx_x_offset.

The macro screenx and screeny in openbor.h now works both with and without level (as long as elevator level logic is not merged, they are necessary).

------------------------------------------------------------------------

r3561 | utunnels | 2011-10-26 11:11:30 -0400 (Wed, 26 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fix front panel vertical scroll speed.

------------------------------------------------------------------------

r3560 | utunnels | 2011-10-26 05:00:38 -0400 (Wed, 26 Oct 2011) | 3 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

M /engine/source/utils.c

M /engine/source/utils.h

Give queued background a default value of MIN_INT.

Terminate getPakName return value with zero.

Fix openfilestream, now return values are always integer.

------------------------------------------------------------------------

r3559 | utunnels | 2011-10-25 22:15:04 -0400 (Tue, 25 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

allowselect takes effect even after level is started, so load a character that is not in the list won't appear in continue menu.

------------------------------------------------------------------------

r3558 | utunnels | 2011-10-25 13:21:12 -0400 (Tue, 25 Oct 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

M /engine/source/gamelib/screen.c

M /engine/source/gamelib/spritef.c

Fix broken drawmethod in next udpate.

Fix in game continue player select bug introduced a while back.

------------------------------------------------------------------------

r3557 | utunnels | 2011-10-24 11:33:24 -0400 (Mon, 24 Oct 2011) | 1 line

Changed paths:

D /engine/openbor_skiptoset.c

Remove an accidentally added file.

------------------------------------------------------------------------

r3556 | utunnels | 2011-10-24 11:31:43 -0400 (Mon, 24 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

A /engine/openbor_skiptoset.c

M /engine/openborscript.c

M /engine/source/gamelib/screen.c

M /engine/source/gamelib/spritef.c

M /engine/source/gamelib/types.h

Move xrepeat and yrepeat from s_layer to s_drawmethod to make background queueing practicably.

------------------------------------------------------------------------

r3555 | utunnels | 2011-10-24 09:43:24 -0400 (Mon, 24 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Save hiscore in function hallfame.

------------------------------------------------------------------------

r3554 | utunnels | 2011-10-23 09:20:49 -0400 (Sun, 23 Oct 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/source/gamelib/spritef.c

Fixed neon table for 16/32bit mode, not a big deal but better than nothing.

Enable watermode logic for entity frames.

------------------------------------------------------------------------

r3553 | utunnels | 2011-10-22 12:37:43 -0400 (Sat, 22 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fix various bugs in previous update.

------------------------------------------------------------------------

r3552 | utunnels | 2011-10-22 04:53:21 -0400 (Sat, 22 Oct 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

M /engine/openborscript.h

M /engine/source/gamelib/screen.c

M /engine/source/gamelib/spriteq.c

M /engine/source/gamelib/spriteq.h

Allow user control sprite queue via script.

Still work in progress.

------------------------------------------------------------------------

r3551 | utunnels | 2011-10-21 00:03:22 -0400 (Fri, 21 Oct 2011) | 2 lines

Changed paths:

M /engine/openborscript.c

M /engine/openborscript.h

Add function changedrawmethod, use property value pair instead of a list of arguments.

Water effect is already supported.

------------------------------------------------------------------------

r3550 | utunnels | 2011-10-19 08:54:52 -0400 (Wed, 19 Oct 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

Fixed savefilestream create directory logic.

Add pakname to openborvariant.

------------------------------------------------------------------------

r3549 | sumolx | 2011-10-18 22:05:29 -0400 (Tue, 18 Oct 2011) | 1 line

Changed paths:

M /engine/Makefile

Unused variable clean-up. Latest GCC compiler now complains when a variable is set but not used.

------------------------------------------------------------------------

r3548 | sumolx | 2011-10-18 21:36:03 -0400 (Tue, 18 Oct 2011) | 1 line

Changed paths:

M /engine/source/utils.c

Unused variable clean-up. Latest GCC compiler now complains when a variable is set but not used.

------------------------------------------------------------------------

r3547 | utunnels | 2011-10-18 21:25:17 -0400 (Tue, 18 Oct 2011) | 1 line

Changed paths:

M /engine/version.sh

M /tools

D /tools/svn/svn-win32-1.6.6.7z

A /tools/svn/svn-win32-1.7.0.7z

Update win32 svn tool to version 1.7.0, please delete the old extracted files in tools\svn.

------------------------------------------------------------------------

r3546 | sumolx | 2011-10-18 21:13:28 -0400 (Tue, 18 Oct 2011) | 1 line

Changed paths:

M /engine/source/gamelib/filecache.c

Unused variable clean-up. Latest GCC compiler now complains when a variable is set but not used.

------------------------------------------------------------------------

r3545 | sumolx | 2011-10-18 21:07:06 -0400 (Tue, 18 Oct 2011) | 1 line

Changed paths:

M /engine/source/gamelib/packfile.c

Unused variable clean-up. Latest GCC compiler now complains when a variable is set but not used.

------------------------------------------------------------------------

r3544 | sumolx | 2011-10-18 20:58:07 -0400 (Tue, 18 Oct 2011) | 1 line

Changed paths:

M /engine/openborscript.c

Unused variable clean-up. Latest GCC compiler now complains when a variable is set but not used.

------------------------------------------------------------------------

r3543 | sumolx | 2011-10-18 20:48:48 -0400 (Tue, 18 Oct 2011) | 1 line

Changed paths:

M /engine/Makefile

Added compiler flag -Wno-unused-result to suppress warnings.

------------------------------------------------------------------------

r3542 | sumolx | 2011-10-18 20:46:48 -0400 (Tue, 18 Oct 2011) | 1 line

Changed paths:

M /engine/Makefile

M /engine/openbor.c

Added compiler flag -Wno-unused-result to suppress warnings.

------------------------------------------------------------------------

r3541 | utunnels | 2011-10-18 20:35:31 -0400 (Tue, 18 Oct 2011) | 1 line

Changed paths:

M /engine/openborscript.c

openfilestream returns -1 if it failed to open a pakfile.

------------------------------------------------------------------------

r3540 | sumolx | 2011-10-18 20:05:27 -0400 (Tue, 18 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Cast fread()'s return value to (void) to clean up warnings.

------------------------------------------------------------------------

r3539 | sumolx | 2011-10-18 19:50:17 -0400 (Tue, 18 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Unused variable clean-up. Latest GCC compiler now complains when a variable is set but not used.

------------------------------------------------------------------------

r3538 | utunnels | 2011-10-18 11:15:29 -0400 (Tue, 18 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

Restrict default working directory in ./Saves/pakname/ for filestream functions.

------------------------------------------------------------------------

r3537 | utunnels | 2011-10-18 02:56:24 -0400 (Tue, 18 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/openborscript.c

Move filestreams out of level.

------------------------------------------------------------------------

r3536 | utunnels | 2011-10-17 23:43:11 -0400 (Mon, 17 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

M /engine/openborscript.h

Avoid extra pcurrentscript checking by adding an extra parameter for local variant functions. The previous architecture was causing bugs and hard to trace.

------------------------------------------------------------------------

r3535 | utunnels | 2011-10-17 10:58:39 -0400 (Mon, 17 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Separate target finding logic for ai block.

------------------------------------------------------------------------

r3534 | utunnels | 2011-10-17 04:23:50 -0400 (Mon, 17 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Removed legacy code that forced move speed in common_dodge.

------------------------------------------------------------------------

r3533 | utunnels | 2011-10-17 03:44:01 -0400 (Mon, 17 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fix range for block animation. Always find a new target everytime the entity tries to block.

------------------------------------------------------------------------

r3532 | utunnels | 2011-10-16 23:40:11 -0400 (Sun, 16 Oct 2011) | 4 lines

Changed paths:

M /engine/openbor.c

Minor changes:

1. Remove time checking for gfx_y_offset, otherwise the screen starts 4 pixels lower and immediately jump up by 4 pixels. Can't see why the checking is necessary, but will keep an eye on that if something unusual happens.

2. Use alpha 1 for Game Mode scroller background.

------------------------------------------------------------------------

r3531 | utunnels | 2011-10-15 23:57:31 -0400 (Sat, 15 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Removed MAX_WEAPONS limit, the constant is still there for backward compatibility.

------------------------------------------------------------------------

r3530 | utunnels | 2011-10-15 20:29:48 -0400 (Sat, 15 Oct 2011) | 2 lines

Changed paths:

M /engine/openbor.c

Temporary fix for select screen summon/spawn y offset.

------------------------------------------------------------------------

r3529 | utunnels | 2011-10-15 08:26:37 -0400 (Sat, 15 Oct 2011) | 3 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Restore changes lost since 3528, missing logs later.

Rearrange menus to fit bigger fonts.

------------------------------------------------------------------------

r3528 | utunnels | 2011-10-12 23:15:47 -0400 (Wed, 12 Oct 2011) | 2 lines

Changed paths:

M /engine/source/scriptlib/Parser.c

Fix script while statement infinite loop bug since 3515.

------------------------------------------------------------------------

r3527 | utunnels | 2011-10-12 22:38:31 -0400 (Wed, 12 Oct 2011) | 1 line

Changed paths:

M /engine/source/scriptlib/Parser.c

Fix a label memory leak issue in Parser.c

------------------------------------------------------------------------

r3526 | utunnels | 2011-10-11 10:21:09 -0400 (Tue, 11 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Reset weapon entity idle or spawn animation when dropped, as if it's newly spawned.

------------------------------------------------------------------------

r3525 | utunnels | 2011-10-11 06:53:49 -0400 (Tue, 11 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Forgot to handle pathfindstep command in load_cached_model, now added.

------------------------------------------------------------------------

r3524 | utunnels | 2011-10-11 03:05:15 -0400 (Tue, 11 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Add some comments to ai functions.

------------------------------------------------------------------------

r3523 | utunnels | 2011-10-11 01:24:50 -0400 (Tue, 11 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Forgot to check pathfindstep, now added.

------------------------------------------------------------------------

r3522 | utunnels | 2011-10-11 01:16:32 -0400 (Tue, 11 Oct 2011) | 5 lines

Changed paths:

M /engine/openbor.h

M /engine/openborscript.c

M /engine/openborscript.h

M /engine/source/gamelib/commands.c

M /engine/source/gamelib/commands.h

Add a new model command pfstep (pathfindstep), when it is greater than 0 pathfinding is enabled. Smaller value means more accuracy, but the valid search area is also reduced. This property is also opened to script.

Add a new script function waypoints that allows way points setup.

------------------------------------------------------------------------

r3521 | utunnels | 2011-10-11 00:18:02 -0400 (Tue, 11 Oct 2011) | 3 lines

Changed paths:

M /engine/openbor.c

Minor change.

TODO, make pathfinding optional.

------------------------------------------------------------------------

r3520 | utunnels | 2011-10-10 23:58:53 -0400 (Mon, 10 Oct 2011) | 3 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Paralyze weapon entity animation after picked up.

Add a pathfinding logic, though it is experimental.

------------------------------------------------------------------------

r3519 | utunnels | 2011-10-09 09:52:09 -0400 (Sun, 09 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Minor change, also check PLAYER_MAX_Z - PLAYER_MIN_Z instead of only videomodes.vRes in ai move code.

------------------------------------------------------------------------

r3518 | utunnels | 2011-10-09 01:21:05 -0400 (Sun, 09 Oct 2011) | 9 lines

Changed paths:

M /engine/openbor.c

Current mix aimove logic:

Pure wander:

Use common_try_wandercompletely and don't adjust stalltime even if the target is moving.

Mixed wander (wander + other):

Use default ai's wander part instead and stalltime will be adjust if the target is moving.

TODO: play more mods to see if there're still flickering problems. Entity shouldn't change from idle to walk too frequently or else it looks buggy.

------------------------------------------------------------------------

r3517 | utunnels | 2011-10-08 05:33:20 -0400 (Sat, 08 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

y + 4 when use screen related spawn/summon to neutralize default gfx_y_offset.

------------------------------------------------------------------------

r3516 | utunnels | 2011-10-08 04:58:12 -0400 (Sat, 08 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fix walk frame synchronizing code.

------------------------------------------------------------------------

r3515 | utunnels | 2011-10-07 23:57:19 -0400 (Fri, 07 Oct 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/source/scriptlib/FirstFollow.h

M /engine/source/scriptlib/Parser.c

AI: Finetune ai code after testing on some mods.

Script: Add support for continue statement, needs more test, but at least it works in for loop.

------------------------------------------------------------------------

r3514 | utunnels | 2011-10-07 03:20:41 -0400 (Fri, 07 Oct 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

Missing type for fglayer, added.

Make getlayerproperty and changelayerproperty print more accurate error messages.

------------------------------------------------------------------------

r3513 | utunnels | 2011-10-07 02:39:10 -0400 (Fri, 07 Oct 2011) | 3 lines

Changed paths:

M /engine/openbor.c

Don't adjust direction too frequency for wander type ai, or it looks panic. Should be a temporary solution until I rewrite the logic for wander type ai.

Only give default bgspeedratio for background type layer, or strange things happen in some old mod like Night Slasher X.

------------------------------------------------------------------------

r3512 | utunnels | 2011-10-07 00:19:01 -0400 (Fri, 07 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Make avoid type a bit more aggressive or else they won't attack at all.

------------------------------------------------------------------------

r3511 | utunnels | 2011-10-06 23:32:11 -0400 (Thu, 06 Oct 2011) | 3 lines

Changed paths:

M /engine/openbor.c

Use same logic for pick up item logic.

Although when path is blocked it still looks bad.

------------------------------------------------------------------------

r3510 | utunnels | 2011-10-06 23:07:13 -0400 (Thu, 06 Oct 2011) | 3 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/openborscript.c

Reworked aimove.

Entity now uses a destination point instead of xdir/zdir only. This change should have removed most flickering problems.

------------------------------------------------------------------------

r3509 | utunnels | 2011-10-05 12:37:56 -0400 (Wed, 05 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Make riseinv accept float argument.

------------------------------------------------------------------------

r3508 | utunnels | 2011-10-05 09:53:18 -0400 (Wed, 05 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fixed a crash issue when level has no background.

------------------------------------------------------------------------

r3507 | utunnels | 2011-10-05 09:36:30 -0400 (Wed, 05 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

Script function finditem now returns proper value, previous update missed the return value.

------------------------------------------------------------------------

r3506 | utunnels | 2011-10-05 05:05:12 -0400 (Wed, 05 Oct 2011) | 1 line

Changed paths:

M /engine/openborscript.c

M /engine/openborscript.h

Add aicheckpathblocked to handle default behavior when the path is blocked.

------------------------------------------------------------------------

r3505 | utunnels | 2011-10-05 04:53:38 -0400 (Wed, 05 Oct 2011) | 2 lines

Changed paths:

M /engine/openborscript.c

M /engine/openborscript.h

Added aicheckjump, handle default jump logic.

------------------------------------------------------------------------

r3504 | utunnels | 2011-10-05 04:45:53 -0400 (Wed, 05 Oct 2011) | 1 line

Changed paths:

M /engine/openborscript.c

Fix a mistake in last update.

------------------------------------------------------------------------

r3503 | utunnels | 2011-10-05 04:40:43 -0400 (Wed, 05 Oct 2011) | 4 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

M /engine/openborscript.h

New script functions finditem and pickup.

finditem(entity)

pickup(entity, item)

------------------------------------------------------------------------

r3502 | utunnels | 2011-10-05 01:05:13 -0400 (Wed, 05 Oct 2011) | 2 lines

Changed paths:

M /engine/openborscript.c

M /engine/openborscript.h

New script function adjustwalknimation, make it easier for modder to change walk direction and speed.

Entity property boss opened to script.

------------------------------------------------------------------------

r3501 | utunnels | 2011-10-05 00:35:54 -0400 (Wed, 05 Oct 2011) | 3 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/openborscript.c

M /engine/openborscript.h

M /engine/source/gamelib/transform.c

Broke rotate code, fixed.

Break down ai think to many smaller functions that can be called by script. Make it easier for modder to write thinkscript.

------------------------------------------------------------------------

r3500 | plombo | 2011-10-04 23:00:56 -0400 (Tue, 04 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

After finishing the "how to play" sequence, switch back to the previous music instead of continuing to play the "how to play" music in the main menu.

------------------------------------------------------------------------

r3499 | utunnels | 2011-10-04 22:36:06 -0400 (Tue, 04 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

M /engine/openborscript.h

Add comment to script, error log makes more sense now.

------------------------------------------------------------------------

r3498 | utunnels | 2011-10-04 20:48:45 -0400 (Tue, 04 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Mistakenly used memset array pointer order instead of panels in load_level. Fixed now.

------------------------------------------------------------------------

r3497 | utunnels | 2011-10-04 10:42:07 -0400 (Tue, 04 Oct 2011) | 2 lines

Changed paths:

M /engine/source/gamelib/transform.c

M /engine/source/gamelib/triangle.c

Replace sin/cos table with float values.

Double seemed to do nothing good but waste of space.

------------------------------------------------------------------------

r3496 | utunnels | 2011-10-04 02:26:55 -0400 (Tue, 04 Oct 2011) | 1 line

Changed paths:

M /engine/source/gamelib/transform.c

Minor change, clean up.

------------------------------------------------------------------------

r3495 | utunnels | 2011-10-04 01:17:07 -0400 (Tue, 04 Oct 2011) | 1 line

Changed paths:

M /engine/source/gamelib/transform.c

M /engine/source/gamelib/transform.h

M /engine/source/gamelib/triangle.c

Optimize transform code a bit.

------------------------------------------------------------------------

r3494 | utunnels | 2011-10-04 00:36:15 -0400 (Tue, 04 Oct 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Expend arglist arg count to 32 (should be enough for now).

Force health = 0 if an entity falls into hole, or else those who use cheat get stuck.

------------------------------------------------------------------------

r3493 | plombo | 2011-10-03 22:27:58 -0400 (Mon, 03 Oct 2011) | 1 line

Changed paths:

M /engine/sdl/menu.c

Use the startup logo without the LavaLit URL. We already show the URL on the menu screen immediately after.

------------------------------------------------------------------------

r3492 | utunnels | 2011-10-03 11:17:04 -0400 (Mon, 03 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Simplified layer scroll calculation a little bit.

------------------------------------------------------------------------

r3491 | utunnels | 2011-10-02 22:33:04 -0400 (Sun, 02 Oct 2011) | 7 lines

Changed paths:

M /engine/version.sh

version.sh :

export LC_MESSAGES=en_US

Fix version.h language issue on non-English windows.

export LC_TIME=en_US

Not working on windows since it uses date.bat instead. LOL

------------------------------------------------------------------------

r3490 | plombo | 2011-10-02 15:47:15 -0400 (Sun, 02 Oct 2011) | 1 line

Changed paths:

D /engine/resources/Info.plist

D /engine/resources/meta.xml

D /engine/version.h

Removed files from the tree that are auto-generated at build time. This will make committing and updating much less painful.

------------------------------------------------------------------------

r3489 | plombo | 2011-10-02 14:59:28 -0400 (Sun, 02 Oct 2011) | 2 lines

Changed paths:

M /engine/openbor.c

Fix the invisible menu option under "Quit" on the main menu, which appeared

after Movie Mode was removed.

------------------------------------------------------------------------

r3488 | utunnels | 2011-10-02 11:58:48 -0400 (Sun, 02 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fix a water layer left clip bug.

------------------------------------------------------------------------

r3487 | utunnels | 2011-10-02 03:14:28 -0400 (Sun, 02 Oct 2011) | 2 lines

Changed paths:

M /engine/source/gamelib/screen.c

M /engine/source/gamelib/spritef.c

Check water command valid in drawmethod.

Just found some old modder didn't follow the rule strictly.

------------------------------------------------------------------------

r3486 | utunnels | 2011-10-01 09:32:56 -0400 (Sat, 01 Oct 2011) | 1 line

Changed paths:

M /engine/openbor.c

Stop rocking when animations are frozen.

------------------------------------------------------------------------

r3485 | utunnels | 2011-09-30 22:57:41 -0400 (Fri, 30 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

Change default gfx_y_offset to -4 again.

------------------------------------------------------------------------

r3484 | utunnels | 2011-09-30 13:04:19 -0400 (Fri, 30 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

M /engine/source/gamelib/commands.c

M /engine/source/gamelib/commands.h

Add command layer to level txt. The syntax is same as fglayer.

------------------------------------------------------------------------

r3483 | utunnels | 2011-09-30 11:49:20 -0400 (Fri, 30 Sep 2011) | 7 lines

Changed paths:

M /engine/Makefile

M /engine/openbor.c

M /engine/openbor.h

M /engine/openborscript.c

M /engine/openborscript.h

M /engine/source/gamelib/transform.c

M /engine/source/gamelib/types.h

M /engine/source/globals.h

Lots of changes.

Merge panel, bglayer and fglayer logic.

Script functions changed to getlayerproperty/changelayerproperty.

For example, getlayerproperty("bglayer", 3, "alpha")

------------------------------------------------------------------------

r3482 | utunnels | 2011-09-27 21:05:05 -0400 (Tue, 27 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

More check for menuScreen variable, because there are too many entrances to cutscene, selectscreen, halloffame, etc from the menu screen.

------------------------------------------------------------------------

r3481 | utunnels | 2011-09-27 20:59:35 -0400 (Tue, 27 Sep 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

Add in_showcomplete to openborvariant.

------------------------------------------------------------------------

r3480 | utunnels | 2011-09-27 11:01:52 -0400 (Tue, 27 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

Make avoid ai pattern walk towards the target if they are too far away from each other.

------------------------------------------------------------------------

r3479 | utunnels | 2011-09-27 08:57:45 -0400 (Tue, 27 Sep 2011) | 1 line

Changed paths:

M /engine/source/gamelib/anigif.c

Forgot anigif global palette numcolours calculation, now add it back.

------------------------------------------------------------------------

r3478 | utunnels | 2011-09-27 00:40:10 -0400 (Tue, 27 Sep 2011) | 1 line

Changed paths:

M /engine/source/gamelib/anigif.c

Update anigif.c, better support for local palette.

------------------------------------------------------------------------

r3477 | utunnels | 2011-09-26 23:20:28 -0400 (Mon, 26 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/source/gamelib/anigif.c

M /engine/source/gamelib/anigif.h

Update anigif to support local palette of each image.

------------------------------------------------------------------------

r3476 | utunnels | 2011-09-26 04:49:48 -0400 (Mon, 26 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Hard check grab positions to avoid grab into wall and platform bug.

------------------------------------------------------------------------

r3475 | utunnels | 2011-09-26 03:00:41 -0400 (Mon, 26 Sep 2011) | 3 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Also fix spawn entry per1 and per2.

Fix a grab-into-wall bug.

------------------------------------------------------------------------

r3474 | utunnels | 2011-09-26 01:25:51 -0400 (Mon, 26 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.h

Use unsigned short for both per1 and per2.

------------------------------------------------------------------------

r3473 | utunnels | 2011-09-26 00:57:47 -0400 (Mon, 26 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Fixed dying flash with forcemap (perhaps not as fast as before, but it works nonetheless).

------------------------------------------------------------------------

r3472 | utunnels | 2011-09-25 05:13:16 -0400 (Sun, 25 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

No actual changes, add a function adjustspeed which can be used by chase type entity later.

------------------------------------------------------------------------

r3471 | utunnels | 2011-09-25 02:19:06 -0400 (Sun, 25 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

Give entity a default palette instead of NULL to avoid extra checkings and loopholes.

------------------------------------------------------------------------

r3470 | utunnels | 2011-09-25 00:35:41 -0400 (Sun, 25 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.h

Make LEVEL_MAX_FGLAYERS 100, it should be plenty enough now.

------------------------------------------------------------------------

r3469 | utunnels | 2011-09-24 11:45:36 -0400 (Sat, 24 Sep 2011) | 1 line

Changed paths:

M /engine/source/gamelib/screen.c

Clean up allocscreen code, removed unused stuff for tracemalloc.

------------------------------------------------------------------------

r3468 | utunnels | 2011-09-24 11:25:44 -0400 (Sat, 24 Sep 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/source/gamelib/pixelformat.c

M /engine/source/gamelib/spriteq.c

M /engine/source/gamelib/transform.c

Minor changes.

Sprite queue now check drawmethod switch instead of setting it to 1.

------------------------------------------------------------------------

r3467 | utunnels | 2011-09-23 22:16:30 -0400 (Fri, 23 Sep 2011) | 1 line

Changed paths:

M /engine/source/gamelib/pixelformat.c

Fix blend dodge in 16bit.

------------------------------------------------------------------------

r3466 | utunnels | 2011-09-23 00:03:15 -0400 (Fri, 23 Sep 2011) | 1 line

Changed paths:

M /engine/openborscript.c

Add ANI_WALKOFF to openborconstant.

------------------------------------------------------------------------

r3465 | utunnels | 2011-09-22 19:18:19 -0400 (Thu, 22 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

Allow float argument for forcemap since it uses second.

------------------------------------------------------------------------

r3464 | utunnels | 2011-09-22 01:01:13 -0400 (Thu, 22 Sep 2011) | 1 line

Changed paths:

M /engine/source/gamelib/transform.c

More clip check for watermode 3.

------------------------------------------------------------------------

r3463 | utunnels | 2011-09-21 19:54:26 -0400 (Wed, 21 Sep 2011) | 1 line

Changed paths:

M /engine/source/gamelib/transform.c

Fix a minor problem in watermode 3 clipping.

------------------------------------------------------------------------

r3462 | utunnels | 2011-09-21 10:28:47 -0400 (Wed, 21 Sep 2011) | 6 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/openborscript.c

M /engine/source/gamelib/transform.c

M /engine/source/gamelib/types.h

Update water plane code with float calculations (slower but easier to handle).

When watermode is set to 3:

bglayer blahblah... {watermode} {beginsize} {endsize} {perspetive} ....

beginsize and endsize are multplier of the top and bottom size. Perspective specify whether z depth effect should be corrected: 0=no effect(default), 1=perspective&tile, 2=perspective&stretch...

------------------------------------------------------------------------

r3461 | utunnels | 2011-09-20 22:56:58 -0400 (Tue, 20 Sep 2011) | 1 line

Changed paths:

M /engine/source/gamelib/transform.c

Minor change in water plane code.

------------------------------------------------------------------------

r3460 | utunnels | 2011-09-20 11:24:36 -0400 (Tue, 20 Sep 2011) | 1 line

Changed paths:

M /engine/Makefile

M /engine/openbor.c

M /engine/openbor.h

D /engine/source/gamelib/texture.c

D /engine/source/gamelib/texture.h

D /engine/source/gamelib/texture16.c

D /engine/source/gamelib/texture32.c

M /engine/source/gamelib/transform.c

Merge texture and bglayer, remove texture files from gamelib.

------------------------------------------------------------------------

r3459 | utunnels | 2011-09-20 00:52:10 -0400 (Tue, 20 Sep 2011) | 1 line

Changed paths:

M /engine/source/gamelib/transform.c

Fix bglayer water plane effect overflow issue.

------------------------------------------------------------------------

r3458 | utunnels | 2011-09-19 11:21:11 -0400 (Mon, 19 Sep 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/source/gamelib/transform.c

Almost done watermode 3 for bglayer/fglayer.

Will finish it soon later.

------------------------------------------------------------------------

r3457 | utunnels | 2011-09-19 08:03:10 -0400 (Mon, 19 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

Double updated bgtravelled in applyfglayers and applybglayers during previous copy and paste, fixed.

------------------------------------------------------------------------

r3456 | utunnels | 2011-09-19 04:22:53 -0400 (Mon, 19 Sep 2011) | 3 lines

Changed paths:

M /engine/openbor.c

Infinite loop for default bg and fg, in both sides.

Change bgspeed logic back to rev 1960.

------------------------------------------------------------------------

r3455 | utunnels | 2011-09-19 00:35:07 -0400 (Mon, 19 Sep 2011) | 1 line

Changed paths:

M /engine/source/gamelib/pixelformat.c

Dodge blend was broken in 16bit mode, fixed now.

------------------------------------------------------------------------

r3454 | utunnels | 2011-09-18 23:50:39 -0400 (Sun, 18 Sep 2011) | 4 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/source/gamelib/palette.h

M /engine/source/gamelib/pixelformat.c

M /engine/source/gamelib/screen.c

M /engine/source/gamelib/screen.h

M /engine/source/gamelib/screen16.c

M /engine/source/gamelib/screen32.c

M /engine/source/gamelib/spritef.c

M /engine/source/gamelib/transform.c

M /engine/source/gamelib/transform.h

M /engine/source/gamelib/types.h

Lots of fixes to previous AI code.

Move bglayer water logic to transform.c, water effect for fglayer is enabled.

Use lookup table for 16 and 32bit (32bit is not as efficient).

And lots of other major/minor changes.

------------------------------------------------------------------------

r3453 | utunnels | 2011-09-17 08:33:41 -0400 (Sat, 17 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/source/gamelib/anigif.c

M /engine/source/gamelib/anigif.h

M /engine/source/gamelib/pixelformat.c

anigif only blacken the first color when the scene is not in rgb mode.

------------------------------------------------------------------------

r3452 | utunnels | 2011-09-17 07:53:31 -0400 (Sat, 17 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

Make bglayer looping like before.

------------------------------------------------------------------------

r3451 | utunnels | 2011-09-17 03:42:53 -0400 (Sat, 17 Sep 2011) | 1 line

Changed paths:

M /engine/Makefile

M /engine/source/gamelib/spritef.c

M /engine/source/gamelib/spritex8p16.c

M /engine/source/gamelib/spritex8p32.c

A /engine/source/gamelib/transform.c

A /engine/source/gamelib/transform.h

M /engine/source/gamelib/triangle.c

M /engine/source/gamelib/types.h

Move rotate/scale code to transform.c and rewrite the logic.

------------------------------------------------------------------------

r3450 | utunnels | 2011-09-17 03:34:04 -0400 (Sat, 17 Sep 2011) | 4 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

Fix script local clear bug (shouldn't readjust array bound during the loop).

Damageonlanding now receives damage type correctly.

------------------------------------------------------------------------

r3449 | utunnels | 2011-09-16 12:47:23 -0400 (Fri, 16 Sep 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Make grab over platform possible.

Remove movie option.

------------------------------------------------------------------------

r3448 | utunnels | 2011-09-16 01:43:26 -0400 (Fri, 16 Sep 2011) | 2 lines

Changed paths:

M /engine/openbor.c

Another fix to the bug enemies walk in run speed.

------------------------------------------------------------------------

r3447 | utunnels | 2011-09-16 01:19:14 -0400 (Fri, 16 Sep 2011) | 4 lines

Changed paths:

M /engine/openbor.c

Fix a bug enemies walk in run animation.

Minor change, limit drawmethod rotate within 360.

------------------------------------------------------------------------

r3446 | utunnels | 2011-09-15 08:34:32 -0400 (Thu, 15 Sep 2011) | 2 lines

Changed paths:

M /engine/openbor.c

Disable movie options, to be removed.

Fix a bug that ai characters never pick up weapons.

------------------------------------------------------------------------

r3445 | utunnels | 2011-09-13 23:05:22 -0400 (Tue, 13 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/openborscript.c

Update platform code. Add an extra parameter exclude, to avoid checking if the platform entity is current entity.

------------------------------------------------------------------------

r3444 | utunnels | 2011-09-13 20:42:02 -0400 (Tue, 13 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

Check nomove in wander code.

------------------------------------------------------------------------

r3443 | utunnels | 2011-09-13 12:17:47 -0400 (Tue, 13 Sep 2011) | 3 lines

Changed paths:

M /engine/openbor.c

Don't change bomb velocity to 0 in every update after the bomb explodes. Modder should be able to change that if they want.

Also, player_blink and suicide now have active nextthink value, other wise velocity change just won't work after they die.

------------------------------------------------------------------------

r3442 | utunnels | 2011-09-13 01:41:51 -0400 (Tue, 13 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

Check NULL in dust spawn code.

------------------------------------------------------------------------

r3441 | utunnels | 2011-09-12 21:40:32 -0400 (Mon, 12 Sep 2011) | 1 line

Changed paths:

M /engine/openborscript.c

Update getentityproperty for defense, previous version can't handle other attack types than normal.

------------------------------------------------------------------------

r3440 | utunnels | 2011-09-12 09:36:12 -0400 (Mon, 12 Sep 2011) | 4 lines

Changed paths:

M /engine/openbor.c

M /engine/source/gamelib/spritef.c

M /engine/source/gamelib/spritex8p16.c

M /engine/source/gamelib/spritex8p32.c

There were some errors in sin/cos tables for 16bit drawmethod.

Merged all those tables anyway to reduce the size of the exe a bit.

Minor change, prevent ai character from doing special to break a grab/slam in air.

------------------------------------------------------------------------

r3439 | utunnels | 2011-09-12 05:57:09 -0400 (Mon, 12 Sep 2011) | 1 line

Changed paths:

M /engine/openborscript.c

Dummy aiflag walking to prevent crash.

------------------------------------------------------------------------

r3438 | utunnels | 2011-09-12 04:03:19 -0400 (Mon, 12 Sep 2011) | 3 lines

Changed paths:

M /engine/openbor.c

Add code to make enemies walk a bit longer if they are returning form offscreen.

If level width equals to screen width, level position should be always increasing or it gets stuck unless the player stand beyond the center of the screen.

------------------------------------------------------------------------

r3437 | utunnels | 2011-09-12 02:18:16 -0400 (Mon, 12 Sep 2011) | 3 lines

Changed paths:

M /engine/openbor.c

Level width should never be smaller than screen width.

Give obstacle default aimove and aiattack, for some mysterious reasons sometimes they are spawned moving (mostly script spawn).

Spawn dust before landframe update, to avoid conflicting with weaponframe.

------------------------------------------------------------------------

r3436 | utunnels | 2011-09-11 13:47:43 -0400 (Sun, 11 Sep 2011) | 3 lines

Changed paths:

M /engine/openbor.c

Give bomb toss 0.5 extra starting height to prevent freezing in air bug.

Spawn dust before landframe update, just in case the frame is also a weaponframe.

------------------------------------------------------------------------

r3435 | utunnels | 2011-09-11 01:18:17 -0400 (Sun, 11 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

Update aimove avoid, now they won't panic at the screen border.

------------------------------------------------------------------------

 
 

------------------------------------------------------------------------

r3434 | utunnels | 2011-09-10 12:51:38 -0400 (Sat, 10 Sep 2011) | 3 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/source/gamelib/soundmix.c

M /engine/source/gamelib/soundmix.h

Also pause sound effects when game paused.

Simplified AI code.

------------------------------------------------------------------------

r3433 | utunnels | 2011-09-10 02:58:36 -0400 (Sat, 10 Sep 2011) | 2 lines

Changed paths:

M /engine/source/gamelib/spritef.c

M /engine/source/gamelib/spritex8p16.c

M /engine/source/gamelib/spritex8p32.c

Fix a single pixel overflow loophole in drawmethod code (gfxshadow outside the screen).

For example, Golden Axe Legend saved civilian shows a single moving black pixel running across the screen.

------------------------------------------------------------------------

r3431 | utunnels | 2011-09-09 11:53:34 -0400 (Fri, 09 Sep 2011) | 2 lines

Changed paths:

M /engine/openbor.c

Update kill_all function.

Should call clear_all_scripts after onkill script.

------------------------------------------------------------------------

r3430 | utunnels | 2011-09-09 05:09:54 -0400 (Fri, 09 Sep 2011) | 4 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

M /engine/source/gamelib/commands.c

M /engine/source/gamelib/commands.h

M /engine/source/scriptlib/Interpreter.c

M /engine/source/scriptlib/Interpreter.h

New models.txt command nodropspawn {0/1}

When it is on, the spawn position will be restricted to spawn entry setting.

Script engine will execute clear method when a script is being cleared. Local variable "localclear" is accessible.

------------------------------------------------------------------------

r3429 | utunnels | 2011-09-09 00:03:31 -0400 (Fri, 09 Sep 2011) | 1 line

Changed paths:

M /engine/openborscript.c

M /engine/openborscript.h

Add size function for array.

------------------------------------------------------------------------

r3428 | utunnels | 2011-09-08 11:35:00 -0400 (Thu, 08 Sep 2011) | 17 lines

Changed paths:

M /engine/openborscript.c

M /engine/openborscript.h

New script functions (don't use, still under polishing):

array(int size)

get(array, int index)

set(array, int index, value)

Example:

int i;

void arr = array(99);

set(arr, 98, 233);

log(get(arr, 98));

for(i=0; i<99; i="" p="">

set(arr, i, NULL());

}

free(arr);

arr = NULL();

------------------------------------------------------------------------

r3427 | utunnels | 2011-09-07 22:31:19 -0400 (Wed, 07 Sep 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/openborscript.c

M /engine/source/gamelib/commands.c

M /engine/source/gamelib/commands.h

Add nokill command for attack box.

The attack won't kill the target but will leave 1 HP.

------------------------------------------------------------------------

r3426 | utunnels | 2011-09-07 21:56:14 -0400 (Wed, 07 Sep 2011) | 2 lines

Changed paths:

M /engine/openbor.c

Change to (float)GAME_SPEED in applybglayer to fix rock command staying still bug.

Though it is not a must since bgspeed always works.

------------------------------------------------------------------------

r3425 | utunnels | 2011-09-07 04:22:17 -0400 (Wed, 07 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fix weaploss 2.

------------------------------------------------------------------------

r3424 | utunnels | 2011-09-07 02:44:38 -0400 (Wed, 07 Sep 2011) | 5 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/source/gamelib/anigif.c

Don't render the first color black when playing a gif, modder should be able to control that if they want.

Restore bgbuffer.

Add new aimove switch notargetmove(no target move) for second parameter. Play idle animation when there's no target.

------------------------------------------------------------------------

r3423 | utunnels | 2011-09-07 01:27:21 -0400 (Wed, 07 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

Let enemies wander around if there's no target.

------------------------------------------------------------------------

r3422 | utunnels | 2011-09-06 23:25:19 -0400 (Tue, 06 Sep 2011) | 2 lines

Changed paths:

M /engine/openborscript.c

M /engine/openborscript.h

M /engine/source/utils.c

Fix screenshot 100 limit.

Add closefilestream.

------------------------------------------------------------------------

r3421 | utunnels | 2011-09-06 09:51:02 -0400 (Tue, 06 Sep 2011) | 4 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/source/gamelib/spritef.c

M /engine/source/gamelib/spritex8p16.c

M /engine/source/gamelib/spritex8p32.c

M /engine/source/scriptlib/depends.h

1. Fix drawmethod overflow bug when scaling a sprite.

2. Add #pragma pack(4) in scriptlib, since it is causing mysterious bugs, we shall keep an eye on that.

3. Update script variables saving function saveScriptFile.

4. Unfinished global plan feature to make AI more flexible (no effect right now, the functions are still being written).

------------------------------------------------------------------------ 
 
 

------------------------------------------------------------------------

r3416 | utunnels | 2011-09-03 10:56:07 -0400 (Sat, 03 Sep 2011) | 4 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/openborscript.c

Twist default ai code.

Aggression now affects the chance aimove normal characters go after the target.

AI characters don't attack a grounded target if it doesn't have a bbox, but they will still walk around the target waiting for a chance.

------------------------------------------------------------------------

r3415 | utunnels | 2011-09-02 23:50:08 -0400 (Fri, 02 Sep 2011) | 3 lines

Changed paths:

M /engine/openbor.c

M /engine/source/gamelib/screen.c

M /engine/source/gamelib/screen.h

Clean up bylayer water code in 8bit mode a bit.

Don't clear script variables after a new game or exit a game to avoid lost handles.

------------------------------------------------------------------------

r3414 | utunnels | 2011-09-02 10:56:08 -0400 (Fri, 02 Sep 2011) | 2 lines

Changed paths:

M /engine/openbor.c

Leave global_var_list alone when new game option is chosen.

This solution avoids overwriting sprites handles.

------------------------------------------------------------------------

r3413 | utunnels | 2011-09-02 10:15:15 -0400 (Fri, 02 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

Rewrite script save/load function anyway since previous ones didn't work as expected.

------------------------------------------------------------------------

r3412 | utunnels | 2011-09-02 02:23:28 -0400 (Fri, 02 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fix remap in 16/32bit mode.

------------------------------------------------------------------------

r3411 | utunnels | 2011-09-01 21:51:47 -0400 (Thu, 01 Sep 2011) | 1 line

Changed paths:

M /engine/source/gamelib/packfile.c

Still let the engine print a warning message if cdr header size is too large.

------------------------------------------------------------------------

r3410 | utunnels | 2011-09-01 21:33:48 -0400 (Thu, 01 Sep 2011) | 2 lines

Changed paths:

M /engine/source/gamelib/packfile.c

Remove cd header size checking in packfile.c

Large pak file shouldn't be able to play now.

------------------------------------------------------------------------

r3409 | utunnels | 2011-09-01 11:46:11 -0400 (Thu, 01 Sep 2011) | 2 lines

Changed paths:

M /engine/openbor.c

display_ents

Disable platform layer adjust if setlayer is present.

------------------------------------------------------------------------

r3408 | utunnels | 2011-09-01 04:29:49 -0400 (Thu, 01 Sep 2011) | 1 line

Changed paths:

M /engine/openbor.c

Temporary fix for gfxshadow over a platform above a hole. Not perfect, but further checking require going through the entity list multiple times.

------------------------------------------------------------------------

r3407 | utunnels | 2011-09-01 03:24:34 -0400 (Thu, 01 Sep 2011) | 3 lines

Changed paths:

M /engine/openbor.c

Keep normal aimove close enough to the target instead of wander too far away outside the screen.

Don't save game in a new game level 1, so you can keep your old save if you choose new game by accident.

------------------------------------------------------------------------

r3406 | utunnels | 2011-08-31 22:12:52 -0400 (Wed, 31 Aug 2011) | 1 line

Changed paths:

M /engine/openborscript.c

Knockdowncount code missing breaks in switch/case, fixed.

------------------------------------------------------------------------

r3405 | sumolx | 2011-08-31 14:05:33 -0400 (Wed, 31 Aug 2011) | 2 lines

Changed paths:

M /engine/psp/audiodrv.c

M /engine/psp/audiodrv.h

M /engine/psp/sblaster.c

AudioDriver rewrite completed.

All sound issues have been resolved.

------------------------------------------------------------------------

r3404 | utunnels | 2011-08-31 11:30:26 -0400 (Wed, 31 Aug 2011) | 1 line

Changed paths:

M /engine/source/gamelib/screen.c

M /engine/source/gamelib/screen16.c

M /engine/source/gamelib/screen32.c

Fix bglayer water clipping problem (hope this is the last time LOL).

------------------------------------------------------------------------

r3403 | utunnels | 2011-08-31 04:28:20 -0400 (Wed, 31 Aug 2011) | 2 lines

Changed paths:

M /engine/openbor.c

Fix ai character get animation.

Disable bgbuffer(to be removed).

------------------------------------------------------------------------

r3402 | utunnels | 2011-08-31 01:45:29 -0400 (Wed, 31 Aug 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fix 16/32bit bgbuffer for bglayer water.

------------------------------------------------------------------------

r3401 | utunnels | 2011-08-31 00:09:25 -0400 (Wed, 31 Aug 2011) | 1 line

Changed paths:

M /engine/source/gamelib/screen16.c

M /engine/source/gamelib/screen32.c

Fix bglayer water crash in 16 and 32bit without remap.

------------------------------------------------------------------------ 
 
 

------------------------------------------------------------------------

r3400 | utunnels | 2011-08-30 21:34:43 -0400 (Tue, 30 Aug 2011) | 8 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/source/gamelib/commands.c

M /engine/source/gamelib/commands.h

New script:

datascriptsloading.c

Called in loading screen update loop.

Randomize the movement of an AI controlled entity if its path has been blocked for many times. It's a temporarily solution, I shall refine the wall checking code in the future.

Expand attack## to 99.

------------------------------------------------------------------------

r3399 | utunnels | 2011-08-28 02:47:08 -0400 (Sun, 28 Aug 2011) | 1 line

Changed paths:

M /engine/source/gamelib/spritef.c

M /engine/source/gamelib/spritex8p16.c

M /engine/source/gamelib/spritex8p32.c

Fix gfxshadow overclip problem (when character walks off the screen, the shadow disappears as well).

------------------------------------------------------------------------

r3398 | utunnels | 2011-08-28 01:38:12 -0400 (Sun, 28 Aug 2011) | 3 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

New animation type ANI_WALKOFF

Triggered after walking off a cliff.

------------------------------------------------------------------------

r3397 | utunnels | 2011-08-27 10:42:34 -0400 (Sat, 27 Aug 2011) | 3 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

Show entities for in game player input setup menu in.

Add nolife to get/changeentityproperty.

------------------------------------------------------------------------

r3396 | utunnels | 2011-08-27 08:11:08 -0400 (Sat, 27 Aug 2011) | 1 line

Changed paths:

M /engine/source/gamelib/spritef.c

M /engine/source/gamelib/spritex8p16.c

M /engine/source/gamelib/spritex8p32.c

Major fix in sprite scale and rotate code (Previous code has problem when drawing large sprites).

------------------------------------------------------------------------

r3395 | utunnels | 2011-08-27 01:46:37 -0400 (Sat, 27 Aug 2011) | 5 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/source/gamelib/commands.c

M /engine/source/gamelib/commands.h

New model command grabflip:

1 grabber flip to face target

2 target flip to face grabber

3 both 1 & 2 (default value)

------------------------------------------------------------------------

r3394 | utunnels | 2011-08-26 01:54:54 -0400 (Fri, 26 Aug 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

Copy grabforce, paingrab and antigrab from modeldata in ent_copy_uninit. Just in case the model and the weapon has different values.

------------------------------------------------------------------------

r3393 | utunnels | 2011-08-26 00:51:14 -0400 (Fri, 26 Aug 2011) | 1 line

Changed paths:

M /engine/openbor.c

Minor change, make default combodelay same as before (GAME_SPEED/2)

------------------------------------------------------------------------

r3392 | utunnels | 2011-08-26 00:50:04 -0400 (Fri, 26 Aug 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/source/gamelib/commands.c

M /engine/source/gamelib/commands.h

Make combodelay customizable to eliminate endless combo.

------------------------------------------------------------------------

r3391 | utunnels | 2011-08-25 22:54:14 -0400 (Thu, 25 Aug 2011) | 2 lines

Changed paths:

M /engine/openbor.h

M /engine/openborscript.c

Add antigrab to getentityproperty.

Check modeldata instead of model for this property to avoid global effect.

------------------------------------------------------------------------

r3390 | utunnels | 2011-08-25 11:35:10 -0400 (Thu, 25 Aug 2011) | 1 line

Changed paths:

M /engine/source/gamelib/screen.c

M /engine/source/gamelib/screen16.c

M /engine/source/gamelib/screen32.c

Fix bglayer water effect overflow.

------------------------------------------------------------------------

r3389 | utunnels | 2011-08-25 01:39:59 -0400 (Thu, 25 Aug 2011) | 3 lines

Changed paths:

M /engine/openbor.c

Reset idle status for the grabber if opponent performed special no matter it hits or not.

Clear branch_name after playgame is done.

------------------------------------------------------------------------

r3388 | utunnels | 2011-08-23 10:47:27 -0400 (Tue, 23 Aug 2011) | 1 line

Changed paths:

M /engine/source/gamelib/spritef.c

M /engine/source/gamelib/spritex8p16.c

M /engine/source/gamelib/spritex8p32.c

Restore old drawmethod code.

------------------------------------------------------------------------

r3387 | utunnels | 2011-08-23 08:25:00 -0400 (Tue, 23 Aug 2011) | 1 line

Changed paths:

M /engine/source/gamelib/triangle.c

Clear global values every time in triangle.c

------------------------------------------------------------------------

r3386 | utunnels | 2011-08-23 05:28:45 -0400 (Tue, 23 Aug 2011) | 1 line

Changed paths:

M /engine/openbor.c

Change direction after set grabbed animation so you can check it in script.

------------------------------------------------------------------------

r3385 | utunnels | 2011-08-22 22:34:18 -0400 (Mon, 22 Aug 2011) | 1 line

Changed paths:

M /engine/source/gamelib/triangle.c

NULL shadow_buffer after free it in draw_triangle_list

------------------------------------------------------------------------

r3384 | plombo | 2011-08-22 21:30:30 -0400 (Mon, 22 Aug 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/sdl/opengl.c

M /engine/sdl/video.c

Make OpenGL settings, including whether to use OpenGL, configurable in fullscreen mode. The OpenGL usage and filter settings are stored separately for windowed and fullscreen.

------------------------------------------------------------------------

r3383 | utunnels | 2011-08-21 04:12:59 -0400 (Sun, 21 Aug 2011) | 1 line

Changed paths:

M /engine/source/gamelib/soundmix.c

SOUND_MAX_SAMPLES changed to 1024

------------------------------------------------------------------------

r3382 | utunnels | 2011-08-21 03:50:55 -0400 (Sun, 21 Aug 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fix shutdown loop bug.

------------------------------------------------------------------------

r3381 | utunnels | 2011-08-20 11:04:57 -0400 (Sat, 20 Aug 2011) | 6 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

M /engine/openborscript.h

M /engine/source/gamelib/spritef.c

M /engine/source/gamelib/spritex8p16.c

M /engine/source/gamelib/spritex8p32.c

M /engine/source/gamelib/triangle.c

M /engine/source/gamelib/triangle.h

Rewrite putsprite_ex using the new triangle function.

Add script functions:

settexture

setvertex

trianglelist

------------------------------------------------------------------------

r3380 | utunnels | 2011-08-19 02:48:56 -0400 (Fri, 19 Aug 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/source/gamelib/pixelformat.c

M /engine/source/gamelib/spritef.c

M /engine/source/gamelib/triangle.c

Some changes in triangle code.

------------------------------------------------------------------------

r3379 | utunnels | 2011-08-18 12:50:55 -0400 (Thu, 18 Aug 2011) | 1 line

Changed paths:

M /engine/Makefile

M /engine/openbor.c

M /engine/openbor.h

M /engine/source/gamelib/triangle.c

A /engine/source/gamelib/triangle.h

M /engine/source/gamelib/types.h

Add triangle.h

------------------------------------------------------------------------

r3378 | utunnels | 2011-08-18 05:34:13 -0400 (Thu, 18 Aug 2011) | 1 line

Changed paths:

M /engine/source/gamelib/triangle.c

Minor change

------------------------------------------------------------------------

r3377 | utunnels | 2011-08-18 05:26:42 -0400 (Thu, 18 Aug 2011) | 1 line

Changed paths:

M /engine/openbor.c

A /engine/source/gamelib/triangle.c

M /engine/source/gamelib/types.h

Add triangle.c (WIP)

------------------------------------------------------------------------

r3376 | utunnels | 2011-08-18 02:00:28 -0400 (Thu, 18 Aug 2011) | 2 lines

Changed paths:

M /engine/openbor.c

No actual changes to the engine.

Except a commented-out 3d test function.

------------------------------------------------------------------------

r3375 | utunnels | 2011-08-16 21:46:15 -0400 (Tue, 16 Aug 2011) | 1 line

Changed paths:

M /engine/openbor.c

Stop checking if model is loaded when parsing allowselect, since empty model will be skipped automatically.

------------------------------------------------------------------------

r3374 | utunnels | 2011-08-17 06:55:38 -0400 (Wed, 17 Aug 2011) | 1 line

Changed paths:

M /engine/source/gamelib/font.c

Parse n in font_printf

------------------------------------------------------------------------

r3373 | utunnels | 2011-08-16 09:24:00 -0400 (Tue, 16 Aug 2011) | 1 line

Changed paths:

M /engine/openborscript.c

Add jumpid as a new aiflag.

------------------------------------------------------------------------

r3372 | utunnels | 2011-08-15 07:18:26 -0400 (Mon, 15 Aug 2011) | 2 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

Add pause to openborvariant.

Enable update in pause menu.

------------------------------------------------------------------------

r3371 | utunnels | 2011-08-09 21:49:36 -0400 (Tue, 09 Aug 2011) | 2 lines

Changed paths:

M /engine/openbor.c

Music entries should not count as spawn points (if-->else if).

Fixed.

------------------------------------------------------------------------

r3370 | utunnels | 2011-08-09 20:48:48 -0400 (Tue, 09 Aug 2011) | 1 line

Changed paths:

M /engine/openbor.c

zoombuffer receives backgrounds now.

------------------------------------------------------------------------

r3369 | utunnels | 2011-08-09 04:05:55 -0400 (Tue, 09 Aug 2011) | 1 line

Changed paths:

M /engine/sdl/video.c

Restore old SDL full screen with 2x filters.

------------------------------------------------------------------------

r3368 | utunnels | 2011-08-09 03:29:40 -0400 (Tue, 09 Aug 2011) | 1 line

Changed paths:

M /engine/source/scriptlib/Lexer.c

Fixed an escape character bug in Lexer.c

------------------------------------------------------------------------ 
 
 
------------------------------------------------------------------------

r3367 | utunnels | 2011-08-08 21:16:28 -0400 (Mon, 08 Aug 2011) | 1 line

Changed paths:

M /engine/openborscript.c

Add pain_time to entity property list.

------------------------------------------------------------------------

r3366 | utunnels | 2011-08-07 07:55:40 -0400 (Sun, 07 Aug 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

M /engine/openborscript.h

M /engine/source/gamelib/screen.c

M /engine/source/gamelib/screen16.c

M /engine/source/gamelib/screen32.c

M /engine/source/gamelib/spriteq.c

M /engine/source/gamelib/spriteq.h

Unfinished zoom feature.

------------------------------------------------------------------------

r3365 | utunnels | 2011-08-06 18:56:42 -0400 (Sat, 06 Aug 2011) | 1 line

Changed paths:

M /engine/openbor.c

Draw locked items in sprite queue during in game option menu.

------------------------------------------------------------------------

r3364 | utunnels | 2011-08-06 06:54:05 -0400 (Sat, 06 Aug 2011) | 1 line

Changed paths:

M /engine/openbor.c

Fixed camera offsets

------------------------------------------------------------------------

r3363 | utunnels | 2011-08-06 04:52:34 -0400 (Sat, 06 Aug 2011) | 1 line

Changed paths:

M /engine/openbor.c

Change followed in do_attack to a macro.

------------------------------------------------------------------------

r3362 | utunnels | 2011-08-04 15:02:24 -0400 (Thu, 04 Aug 2011) | 1 line

Changed paths:

M /engine/source/gamelib/types.h

Nothing really changed, except some commented-out stuff.

------------------------------------------------------------------------

r3361 | utunnels | 2011-07-31 14:50:47 -0400 (Sun, 31 Jul 2011) | 4 lines

Changed paths:

M /engine/openbor.c

Fix level scrolling position temporarily.

If the scrolling position past the end of the level, it will keep increasing by 1 despite the scrollspeed setting. This will prevent dead spawn entries which lie outside the panel.

Further fix will require a float type level->pos, though.

------------------------------------------------------------------------

r3360 | utunnels | 2011-07-29 20:49:21 -0400 (Fri, 29 Jul 2011) | 1 line

Changed paths:

M /engine/openborscript.c

Fixed a mistake in openborvariant name list.

------------------------------------------------------------------------

r3359 | utunnels | 2011-07-29 11:39:45 -0400 (Fri, 29 Jul 2011) | 7 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

New properties for openborvariant:

in_gameoverscreen

in_titlescreen

in_menuscreen

in_halloffamescreen

current_scene (file name)

------------------------------------------------------------------------

r3358 | utunnels | 2011-07-29 10:07:25 -0400 (Fri, 29 Jul 2011) | 9 lines

Changed paths:

M /engine/openbor.c

Add missing line:

Script_Init(&updated_script, "updated", 1);

Add new command in script.txt

alwaysupdate {0/1} # always execute update/updated script

Fix system variant in_level, should be 1 when level is not null.

------------------------------------------------------------------------

r3357 | utunnels | 2011-07-25 09:44:13 -0400 (Mon, 25 Jul 2011) | 1 line

Changed paths:

M /engine/openborscript.c

Add scrollspeed to getlevelproperty.

------------------------------------------------------------------------

r3356 | damon_caskey | 2011-07-22 11:28:55 -0400 (Fri, 22 Jul 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

Use of va_list in normal_find_target causing inconsistencies. Replaced with static parameters.

------------------------------------------------------------------------

r3355 | damon_caskey | 2011-07-20 12:21:13 -0400 (Wed, 20 Jul 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/openborscript.c

findtarget(int iAni, int iExDetect) - Added optional iExDetect parameter. If passed, it is added to callers current {detect} property for locating target.

------------------------------------------------------------------------

r3354 | utunnels | 2011-07-19 21:44:43 -0400 (Tue, 19 Jul 2011) | 5 lines

Changed paths:

M /engine/openbor.c

M /engine/openborscript.c

Script properties in openbor_systemvariant:

soundvol -- master sound volume

effectvol -- sound effect volume

musicvol -- music volume

------------------------------------------------------------------------

r3353 | utunnels | 2011-07-11 04:16:40 -0400 (Mon, 11 Jul 2011) | 1 line

Changed paths:

M /engine/openborscript.c

------------------------------------------------------------------------ 
 
------------------------------------------------------------------------

r3352 | utunnels | 2011-07-08 00:46:28 -0400 (Fri, 08 Jul 2011) | 1 line

Changed paths:

M /engine/openbor.c

M /engine/openbor.h

M /engine/source/gamelib/commands.c

M /engine/source/gamelib/commands.h

Restore scrollspeed for level.txt for now.

------------------------------------------------------------------------

r3351 | niltonpd | 2011-06-24 13:44:26 -0400 (Fri, 24 Jun 2011) | 1 line

Changed paths:

M /engine/sdl/menu.c

Fixed quit button's name display on Dingoo

------------------------------------------------------------------------

r3350 | damon_caskey | 2011-05-25 16:50:44 -0400 (Wed, 25 May 2011) | 1 line

Changed paths:

M /engine/openborscript.c

M /engine/resources/Info.plist

M /engine/resources/meta.xml

M /engine/version.h

Fix getentityproperty({ent} 'energycost' {subproperty}) error trapping bug (all entries rejected).

------------------------------------------------------------------------

r3348 | damon_caskey | 2011-05-15 23:45:23 -0400 (Sun, 15 May 2011) | 13 lines

Changed paths:

M /engine/codeblocks/OpenBOR.Windows.layout

M /engine/openborscript.c

M /engine/resources/Info.plist

M /engine/resources/meta.xml

M /engine/version.h

Sprite array access added (get/change).

getentityproperty({ent}, "spritea", {property}, {ani ID}, {frame});

changeentityproperty({ent}, "spritea", {property}, {ani ID}, {frame}, {value});

{subproperty}:

~centerx: Sprite offset - For frames, always identical to frame offset.

~centery: ...

~file: File path of sprite.

~offsetx: Frame offset.

~offsety: ...

~sprite: Sprite handle.

------------------------------------------------------------------------

r3347 | utunnels | 2011-05-14 21:58:06 -0400 (Sat, 14 May 2011) | 1 line

Changed paths:

D /engine/source/pcxlib

Deleted pcxlib folder.

------------------------------------------------------------------------

r3346 | utunnels | 2011-05-14 20:07:05 -0400 (Sat, 14 May 2011) | 2 lines

Changed paths:

M /engine/Makefile

M /engine/source/utils.c

Removed pcxlib related stuff from utils.c and makefile.

------------------------------------------------------------------------

r3345 | plombo | 2011-05-14 12:35:35 -0400 (Sat, 14 May 2011) | 1 line

Changed paths:

M /engine/source/pnglib/savepng.h

Added missing include to savepng.h.

------------------------------------------------------------------------

r3344 | plombo | 2011-05-14 11:36:36 -0400 (Sat, 14 May 2011) | 2 lines

Changed paths:

M /engine/Makefile

A /engine/source/pnglib/savepng.c

A /engine/source/pnglib/savepng.h

M /engine/source/utils.c

Added PNG writer. PNG is now used instead of PCX for screenshots.

 
r3342 | sumolx | 2011-04-20 16:06:59 -0400 (Wed, 20 Apr 2011) | 1 line
Changed paths:
M /engine/LICENSE
M /engine/README
M /engine/build.sh

Added Mac OS X to README and cleaned up whitespaces in LICENSE.
------------------------------------------------------------------------
r3341 | sumolx | 2011-04-20 13:46:13 -0400 (Wed, 20 Apr 2011) | 1 line
Changed paths:
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h
M /tools/borpak/source/borpak.c

filename_valid() should allow tilda and space characters.
------------------------------------------------------------------------
r3340 | damon_caskey | 2011-04-14 17:55:30 -0400 (Thu, 14 Apr 2011) | 1 line
Changed paths:
M /engine/openborscript.c
M /engine/resources/meta.xml

Added subproperty "time" to knockdowncount script access.
------------------------------------------------------------------------
r3339 | damon_caskey | 2011-04-14 17:26:48 -0400 (Thu, 14 Apr 2011) | 1 line
Changed paths:
M /engine/openborscript.c
M /engine/resources/meta.xml

Enabled script access to change knockdowncount property. Sub properties are enumerated (identical to get; see previous build).
------------------------------------------------------------------------
r3338 | damon_caskey | 2011-04-14 16:56:02 -0400 (Thu, 14 Apr 2011) | 4 lines
Changed paths:
M /engine/openborscript.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

Enumerated knockdowncount script access (get only):
~"current": Current knockdowncount. Default return if subproperty not provided.
~"max": Model knockdowncount setting.

------------------------------------------------------------------------
r3337 | plombo | 2011-04-11 15:31:29 -0400 (Mon, 11 Apr 2011) | 4 lines
Changed paths:
M /engine/source/scriptlib/Interpreter.c
M /engine/source/scriptlib/List.c
M /engine/source/scriptlib/List.h
M /engine/source/scriptlib/Parser.c

Changed some char* parameters in List.c to const char* and removed some casts.

Also, handle FUNCDECL instructions in Interpreter_CompileInstructions and Interpreter_EvalInstruction.

------------------------------------------------------------------------
r3336 | plombo | 2011-04-11 13:30:04 -0400 (Mon, 11 Apr 2011) | 2 lines
Changed paths:
M /engine/Makefile
M /engine/openborscript.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/List.c
M /engine/source/scriptlib/List.h
D /engine/source/scriptlib/SolidList.c
D /engine/source/scriptlib/SolidList.h

Move solidlist functionality back into List. This makes list solidification much less painful.

------------------------------------------------------------------------
r3335 | damon_caskey | 2011-04-08 16:42:33 -0400 (Fri, 08 Apr 2011) | 1 line
Changed paths:
M /engine/openborscript.c
M /engine/resources/meta.xml

Fixed accidental string omissions that broke script access to several entity properties.
------------------------------------------------------------------------
r3334 | damon_caskey | 2011-04-08 12:22:58 -0400 (Fri, 08 Apr 2011) | 3 lines
Changed paths:
M /engine/Makefile
M /engine/build.bat
M /engine/build.sh
M /engine/openbor.c
M /engine/openbor.h
M /engine/openborscript.c
M /engine/openborscript.h
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/sdl/control.c
M /engine/sdl/control.h
M /engine/sdl/hankaku.h
M /engine/sdl/joysticks.c
M /engine/sdl/joysticks.h
M /engine/sdl/loadgl.c
M /engine/sdl/loadgl.h
M /engine/sdl/menu.c
M /engine/sdl/menu.h
M /engine/sdl/opengl.c
M /engine/sdl/opengl.h
M /engine/sdl/sblaster.c
M /engine/sdl/sblaster.h
M /engine/sdl/sdlport.c
M /engine/sdl/sdlport.h
M /engine/sdl/timer.c
M /engine/sdl/vga.h
M /engine/sdl/video.c
M /engine/sdl/video.h
M /engine/source/adpcmlib/adpcm.c
M /engine/source/adpcmlib/adpcm.h
M /engine/source/gamelib/anigif.c
M /engine/source/gamelib/anigif.h
M /engine/source/gamelib/bitmap.c
M /engine/source/gamelib/bitmap.h
M /engine/source/gamelib/borendian.h
M /engine/source/gamelib/draw.c
M /engine/source/gamelib/draw.h
M /engine/source/gamelib/draw16.c
M /engine/source/gamelib/draw32.c
M /engine/source/gamelib/filters.c
M /engine/source/gamelib/filters.h
M /engine/source/gamelib/font.c
M /engine/source/gamelib/font.h
M /engine/source/gamelib/loadimg.c
M /engine/source/gamelib/loadimg.h
M /engine/source/gamelib/packfile.c
M /engine/source/gamelib/packfile.h
M /engine/source/gamelib/palette.c
M /engine/source/gamelib/palette.h
M /engine/source/gamelib/pixelformat.c
M /engine/source/gamelib/screen.c
M /engine/source/gamelib/screen.h
M /engine/source/gamelib/screen16.c
M /engine/source/gamelib/screen32.c
M /engine/source/gamelib/soundmix.c
M /engine/source/gamelib/soundmix.h
M /engine/source/gamelib/sprite.h
M /engine/source/gamelib/spritef.c
M /engine/source/gamelib/spriteq.c
M /engine/source/gamelib/spriteq.h
M /engine/source/gamelib/spritex8p16.c
M /engine/source/gamelib/spritex8p32.c
M /engine/source/gamelib/texture.c
M /engine/source/gamelib/texture.h
M /engine/source/gamelib/texture16.c
M /engine/source/gamelib/texture32.c
M /engine/source/gamelib/timer.h
M /engine/source/gamelib/types.h
M /engine/source/gfxlib/2xSaI.c
M /engine/source/gfxlib/bilinearmmx.asm
M /engine/source/gfxlib/dotmatrix.c
M /engine/source/gfxlib/gfx.c
M /engine/source/gfxlib/gfx.h
M /engine/source/gfxlib/gfxtypes.h
M /engine/source/gfxlib/hq2x.h
M /engine/source/gfxlib/lq2x.h
M /engine/source/gfxlib/tv2x.c
M /engine/source/globals.h
M /engine/source/pcxlib/savepcx.c
M /engine/source/pcxlib/savepcx.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/ramlib/ram.c
M /engine/source/ramlib/ram.h
M /engine/source/randlib/rand32.c
M /engine/source/randlib/rand32.h
M /engine/source/scriptlib/FirstFollow.h
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/Parser.c
M /engine/source/scriptlib/Parser.h
M /engine/source/scriptlib/ParserSet.c
M /engine/source/scriptlib/ParserSet.h
M /engine/source/scriptlib/Productions.h
M /engine/source/scriptlib/ScriptVariant.c
M /engine/source/scriptlib/ScriptVariant.h
M /engine/source/scriptlib/Stack.c
M /engine/source/scriptlib/Stack.h
M /engine/source/scriptlib/StackedSymbolTable.c
M /engine/source/scriptlib/StackedSymbolTable.h
M /engine/source/scriptlib/SymbolTable.c
M /engine/source/scriptlib/SymbolTable.h
M /engine/source/scriptlib/depends.h
M /engine/source/stringptr.c
M /engine/source/stringptr.h
M /engine/source/stristr.c
M /engine/source/stristr.h
M /engine/source/utils.c
M /engine/source/utils.h
M /engine/version.h

~Staydown entity array moved to struct.
~Staydown script access enumerated.
~References to BSD license (which we don't use) removed to avoid confusion.
------------------------------------------------------------------------
r3333 | damon_caskey | 2011-04-08 09:42:55 -0400 (Fri, 08 Apr 2011) | 1 line
Changed paths:
M /engine/codeblocks/OpenBOR.Windows.layout
M /engine/openborscript.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

Finished alphabetizing openbor_changeentityproperty() property case statement.
------------------------------------------------------------------------
r3332 | damon_caskey | 2011-04-07 15:33:57 -0400 (Thu, 07 Apr 2011) | 16 lines
Changed paths:
M /engine/openborscript.c
M /engine/resources/meta.xml

~Enumerated maps property for script access (get only at this time):

Count: Total maps entity has available.
current: Current remap in use.
default: Map entity spawned into play with.
dying: Map entity uses for dying flash.
dying_critical: % of HP when entity begins to flash more rapidly.
dying_low: % of HP when entity starts dying flash.
frozen: Entity’s fmap.
hide_end: End range of maps hidden during player’s select screen.
hide_start: Start range of maps hidden during player’s select screen.
ko: Map assumed when entity is defeated.
kotype: 0 = KO map applied immediately on KO. 1 = Applied on last frame of fall/death animation.
table: Color table currently in use.
time: Time set by forcemap.

------------------------------------------------------------------------
r3331 | damon_caskey | 2011-04-07 14:35:56 -0400 (Thu, 07 Apr 2011) | 4 lines
Changed paths:
M /engine/LICENSE
M /engine/openbor.c
M /engine/openbor.h
M /engine/openborscript.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/source/scriptlib/List.c
M /engine/source/scriptlib/List.h

~Color map elements moved to struct.
~openbor_changeentityproperty property case alphabetized up to freeze time.
~Fixed license formatting.
~Removed sub license (not permitted by global license).
------------------------------------------------------------------------
r3330 | damon_caskey | 2011-04-05 16:54:55 -0400 (Tue, 05 Apr 2011) | 3 lines
Changed paths:
M /engine/openbor.c
M /engine/openbor.h
M /engine/openborscript.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

~Guardpoints, Icon, Jugglepoints, Sight and Stealth arrays moved to structs.
~Flash, Icon, and Staydown property script access enumerated.
~Opebor_getentityproperty() property case statement reordered alphabetically.
------------------------------------------------------------------------
r3329 | damon_caskey | 2011-04-04 23:31:45 -0400 (Mon, 04 Apr 2011) | 4 lines
Changed paths:
M /engine/openborscript.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

Fix grabbing property (reversed with grabforce in version http://lavalit.com:8080/websvn/listing. ... =3317)



------------------------------------------------------------------------
r3328 | damon_caskey | 2011-04-03 10:50:15 -0400 (Sun, 03 Apr 2011) | 7 lines
Changed paths:
M /engine/openbor.c
M /engine/openborscript.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml

gfx_x_offset - X screen draw adjustment.
gfx_y_offset_adj - Added to gfx_y_offset (modders would not see any result from adjusting gfx_y_offset directly as it is reset on each update)

Following enabled for script access (change/openborvariant)
gfx_x_offset
gfx_y_offset
gfx_y_offset_adj


r3273 | sumolx | 2011-03-20 01:49:38 -0400 (Sun, 20 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

level_order() uses the first argument to set the loadingbg type. However, in load_level() the first argument is the image location for the background. This implies that if defined we are to use background + bar. This keeps us backward compatible with all existing mods. Strange that I never had the modder specify this before, Hence, this was a bug. All mods ie Contra, Final Fight, GoldenAxeRemake and more now display a background when loading a level.
------------------------------------------------------------------------
r3272 | anallyst | 2011-03-19 23:31:43 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

loadingbg: be compatible to wrong values... i.e. golden axe.
------------------------------------------------------------------------
r3271 | anallyst | 2011-03-19 23:13:50 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/source/scriptlib/List.c
M /engine/source/scriptlib/List.h
A /engine/source/tracelib2
A /engine/source/tracelib2/tracelib2.c
A /engine/source/tracelib2/tracelib2.h
A /engine/source/tracelib2/tracelib2_test.c

added tracelib2, written from scratch. especially for SX. see tracelib2_test for how to use
------------------------------------------------------------------------
r3270 | sumolx | 2011-03-19 23:10:47 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c

Issue 1 fixed. In load_models() since we keep trac of total models to be loaded. The logic now reflects the user's intent. Issue 2 fixed. Loading bar never displayed 100 percent. Added quick check in update_loading if value == max to force one last draw of bar.
------------------------------------------------------------------------
r3269 | anallyst | 2011-03-19 18:52:03 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

ok.... finally there.
------------------------------------------------------------------------
r3268 | anallyst | 2011-03-19 18:47:27 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c

now it does what its supposed to do
------------------------------------------------------------------------
r3267 | anallyst | 2011-03-19 18:31:11 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/openbor.h

implemented 8th parameter for loadingbg, which tells the number of milliseconds for loading bg refresh. the loadingbar is initialized with a negative offset, if you havent noticed the calls.
------------------------------------------------------------------------
r3266 | sumolx | 2011-03-19 18:07:52 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

Dreamcast compiler complaining about non-initilized value: Script* tempscript = NULL;
------------------------------------------------------------------------
r3265 | sumolx | 2011-03-19 17:48:05 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/Makefile
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

The following CFLAGS are causing issues with console toolchains.
------------------------------------------------------------------------
r3264 | sumolx | 2011-03-19 17:15:55 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/openbor.h

This is the 2nd to final revision of loading. This needs to end. Anallyst will add the 8 argument to this feature that will allow the modder to control if they want a choppy yet fast loading bar or a smooth yet slower loading bar. It's up to the modder how they want this.... there is no -1 anymore. 0 == disabled, 1 == background and bar, 2 == background only, 3 == bar only
------------------------------------------------------------------------
r3263 | plombo | 2011-03-19 17:09:58 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/openbor.h

Restore advancex and advancey to global variable status. Fixes segfault on the Beats of Rage character select screen introduced in r3255.
------------------------------------------------------------------------
r3262 | sumolx | 2011-03-19 16:59:16 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/Makefile
M /engine/openbor.c
M /engine/openbor.h

Reverting back to 3261. I will take care of this feature as the default behavior is not what I want. The openbor manual will need to be updated.
------------------------------------------------------------------------
r3261 | plombo | 2011-03-19 16:49:25 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c

Small optimization to loading bar; don't redraw background or 'Loading...' text when only the progress bar needs to be redrawn.
------------------------------------------------------------------------
r3260 | plombo | 2011-03-19 16:11:26 -0400 (Sat, 19 Mar 2011) | 6 lines
Changed paths:
M /engine/Makefile
M /engine/openbor.c
M /engine/openbor.h

Changes to loading screen:
* Restored loading bar speed/smoothness to what SX, DC, and I agreed on.
* Fixed display of default loading screen ("Loading..." text centered on black background with no progress bar)
* Make sure the engine does not try to draw a loading bar and refresh the screen if sizex <= 0="" br="">* Removed "loadingbg 2" (background only) as a separate option, instead the loading bar is disabled by setting sizex to 0

------------------------------------------------------------------------
r3259 | anallyst | 2011-03-19 15:14:21 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

finally the first loading bar(models.txt) shows accurate timing...
------------------------------------------------------------------------
r3258 | anallyst | 2011-03-19 14:49:03 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

fixed bug reported by bloodbane on the ff gold topic
------------------------------------------------------------------------
r3257 | anallyst | 2011-03-19 14:38:47 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

removed moar code duplication
------------------------------------------------------------------------
r3256 | anallyst | 2011-03-19 13:53:58 -0400 (Sat, 19 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 loading of commands. why the heck was it done twice? the values read in the first round were never accessed before finishing the second round.
------------------------------------------------------------------------
r3255 | anallyst | 2011-03-19 12:39:03 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/openbor.h
M /engine/resources/meta.xml

put some global variables where they belong
------------------------------------------------------------------------
r3254 | anallyst | 2011-03-19 11:29:51 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

as far as i have seen, there's no second argument to spawnscript in load_level. why the author used another variable will remain a secret.
------------------------------------------------------------------------
r3253 | anallyst | 2011-03-19 11:06:58 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/openbor.h
M /engine/resources/meta.xml

cleaned up load_level a bit
------------------------------------------------------------------------
r3252 | anallyst | 2011-03-19 01:27:29 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/wii/menu.c

aha, that was done in drawlogo. very clever. since the app is not multithreaded, how could it have run in parallel?
------------------------------------------------------------------------
r3251 | anallyst | 2011-03-19 01:21:45 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/resources/meta.xml
M /engine/sdl/video.c
M /engine/wii/menu.c

ok, the wii should now also compile without xpm. i couldnt test it though.
------------------------------------------------------------------------
r3250 | anallyst | 2011-03-19 00:55:13 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/dc/dcport.c
M /engine/psp/graphics.c
M /engine/psp/image.c
M /engine/psp/pspport.c
M /engine/psp/video.c
M /engine/sdl/sblaster.c
M /engine/wii/wiiport.c

removed remaining traces of tracemalloc.
------------------------------------------------------------------------
r3249 | anallyst | 2011-03-19 00:50:42 -0400 (Sat, 19 Mar 2011) | 1 line
Changed paths:
M /engine/Makefile

mac osx gcc warns when debug is enabled and dead code elimination is used
------------------------------------------------------------------------
r3248 | anallyst | 2011-03-18 23:09:47 -0400 (Fri, 18 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.h
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

updated header to reflect the changes
------------------------------------------------------------------------
r3247 | anallyst | 2011-03-18 23:06:50 -0400 (Fri, 18 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

implemented the background only mode
------------------------------------------------------------------------
r3246 | sumolx | 2011-03-18 22:14:51 -0400 (Fri, 18 Mar 2011) | 1 line
Changed paths:
M /engine/build.sh
M /engine/darwin.sh

build.sh and darwin.sh now reference Darwin's environ.sh variables.
------------------------------------------------------------------------
r3245 | anallyst | 2011-03-18 22:09:28 -0400 (Fri, 18 Mar 2011) | 1 line
Changed paths:
M /engine/Makefile
M /engine/resources/meta.xml

added dead code elimination compiler flags
------------------------------------------------------------------------
r3244 | anallyst | 2011-03-18 20:42:30 -0400 (Fri, 18 Mar 2011) | 1 line
Changed paths:
M /engine/resources/meta.xml
M /engine/source/gamelib/commands.c

further duplication removal, as taught by the book -clean code- http://theholyjava.wordpress.com/2011/0 ... ign-rules/
------------------------------------------------------------------------
r3243 | anallyst | 2011-03-18 20:28:05 -0400 (Fri, 18 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
M /engine/source/scriptlib/List.c
M /engine/source/scriptlib/List_unittest.c

removed self-induced code duplication
------------------------------------------------------------------------
r3242 | anallyst | 2011-03-18 18:20:11 -0400 (Fri, 18 Mar 2011) | 1 line
Changed paths:
M /engine/resources/meta.xml
M /engine/source/gamelib/commands.c
M /engine/source/gamelib/packfile.c
M /engine/source/scriptlib/ImportCache.c
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
M /engine/source/scriptlib/Parser.c
M /engine/source/scriptlib/SymbolTable.c

removed LPCSTR from List.c, which i plan to use in other projects as well, since its brilliant, and i really dont want that type mess.
------------------------------------------------------------------------
r3241 | anallyst | 2011-03-18 17:34:15 -0400 (Fri, 18 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

loadingbar does what it should now, and made everything much clearer.
------------------------------------------------------------------------
r3240 | anallyst | 2011-03-18 11:12:42 -0400 (Fri, 18 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/openbor.h
M /engine/openborscript.c
M /engine/openborscript.h
M /engine/resources/meta.xml
M /engine/sdl/video.c
M /engine/source/gamelib/commands.c
M /engine/source/gamelib/commands.h
M /engine/source/gamelib/packfile.c
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/scriptlib/FirstFollow.h
M /engine/source/scriptlib/ImportCache.c
M /engine/source/scriptlib/ImportCache.h
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.c
M /engine/source/scriptlib/List.h
M /engine/source/scriptlib/List_unittest.c
M /engine/source/scriptlib/Parser.c
M /engine/source/scriptlib/Parser.h
M /engine/source/scriptlib/ParserSet.h
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/scriptlib/SymbolTable.h
M /engine/source/scriptlib/depends.h
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/generic/configuration.h
M /engine/xbox/generic/graphicscontext.h
M /engine/xbox/generic/iosupport.h
M /engine/xbox/generic/panel.h
M /engine/xbox/generic/skin.h
M /engine/xbox/generic/undocumented.h

ok, its maybe better if we leave that for the moment. restored 3235
------------------------------------------------------------------------
r3239 | anallyst | 2011-03-18 03:53:24 -0400 (Fri, 18 Mar 2011) | 1 line
Changed paths:
M /engine/openborscript.c
M /engine/resources/meta.xml
M /engine/source/preprocessorlib/pp_lexer.c
M /engine/source/preprocessorlib/pp_lexer.h
M /engine/source/scriptlib/Lexer.c
M /engine/source/scriptlib/Lexer.h

and another one
------------------------------------------------------------------------
r3238 | anallyst | 2011-03-18 03:46:43 -0400 (Fri, 18 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/openbor.h

and another one
------------------------------------------------------------------------
r3237 | anallyst | 2011-03-18 03:44:06 -0400 (Fri, 18 Mar 2011) | 1 line
Changed paths:
M /engine/dc/video.c
M /engine/openbor.c
M /engine/resources/meta.xml

fixed subst errors
------------------------------------------------------------------------
r3236 | anallyst | 2011-03-18 03:34:30 -0400 (Fri, 18 Mar 2011) | 1 line
Changed paths:
M /engine/dc/video.c
M /engine/openbor.c
M /engine/openbor.h
M /engine/openborscript.c
M /engine/openborscript.h
M /engine/resources/meta.xml
M /engine/sdl/video.c
M /engine/source/gamelib/commands.c
M /engine/source/gamelib/commands.h
M /engine/source/gamelib/packfile.c
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/scriptlib/FirstFollow.h
M /engine/source/scriptlib/ImportCache.c
M /engine/source/scriptlib/ImportCache.h
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.c
M /engine/source/scriptlib/List.h
M /engine/source/scriptlib/List_unittest.c
M /engine/source/scriptlib/Parser.c
M /engine/source/scriptlib/Parser.h
M /engine/source/scriptlib/ParserSet.h
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/scriptlib/SymbolTable.h
M /engine/source/scriptlib/depends.h
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/generic/configuration.h
M /engine/xbox/generic/graphicscontext.h
M /engine/xbox/generic/iosupport.h
M /engine/xbox/generic/panel.h
M /engine/xbox/generic/skin.h
M /engine/xbox/generic/undocumented.h

removed weird WINDOWS types
------------------------------------------------------------------------
r3235 | anallyst | 2011-03-18 03:11:48 -0400 (Fri, 18 Mar 2011) | 1 line
Changed paths:
M /engine/Makefile
M /engine/resources/meta.xml
M /engine/sdl/sdlport.c
D /engine/sdl/stacktrace.c
D /engine/sdl/stacktrace.h

removed stacktrace, which is unportable anyway
------------------------------------------------------------------------
r3234 | anallyst | 2011-03-18 02:50:10 -0400 (Fri, 18 Mar 2011) | 1 line
Changed paths:
M /engine/Makefile
M /engine/openbor.c
M /engine/openborscript.c
M /engine/psp/image.c
M /engine/psp/menu.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/sdl/menu.c
M /engine/sdl/sdlport.c
M /engine/sdl/video.c
M /engine/source/gamelib/bitmap.c
M /engine/source/gamelib/commands.c
M /engine/source/gamelib/filecache.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/palette.h
M /engine/source/gamelib/screen.c
M /engine/source/gamelib/screen.h
M /engine/source/gamelib/soundmix.c
M /engine/source/gfxlib/hq2x.c
M /engine/source/globals.h
M /engine/source/pcxlib/savepcx.c
M /engine/source/pnglib/pngdec.c
M /engine/source/preprocessorlib/pp_parser.c
M /engine/source/scriptlib/ImportCache.c
M /engine/source/scriptlib/Instruction.c
M /engine/source/scriptlib/Interpreter.c
M /engine/source/scriptlib/List.c
M /engine/source/scriptlib/List.h
M /engine/source/scriptlib/Parser.c
M /engine/source/scriptlib/ScriptVariant.c
M /engine/source/scriptlib/StackedSymbolTable.c
M /engine/source/scriptlib/SymbolTable.c
D /engine/source/tracelib
M /engine/source/utils.c
D /engine/source/xpmlib
M /engine/version.h
M /engine/wii/menu.c

major cleanup. if you dont like it, its still available on https://github.com/rofl0r/openbor
------------------------------------------------------------------------
r3233 | plombo | 2011-03-17 20:39:08 -0400 (Thu, 17 Mar 2011) | 1 line
Changed paths:
M /engine/build.sh

Fixed indentation in build.sh.
------------------------------------------------------------------------
r3232 | plombo | 2011-03-17 20:32:16 -0400 (Thu, 17 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c

Don't display a loading bar by default; only use one if the modder specifies a positive width for one in levels.txt.
------------------------------------------------------------------------
r3231 | plombo | 2011-03-17 20:32:12 -0400 (Thu, 17 Mar 2011) | 2 lines
Changed paths:
M /engine/source/preprocessorlib/pp_parser.c

pp_parser: Fixed #undef for function-style macros. Also, when a macro is redefined, emit a warning and undefine the previous definition.

------------------------------------------------------------------------
r3230 | anallyst | 2011-03-17 20:11:49 -0400 (Thu, 17 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

subclassing seems to work now, no bugs anymore on free
------------------------------------------------------------------------
r3229 | anallyst | 2011-03-17 18:45:53 -0400 (Thu, 17 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/openbor.h
M /engine/resources/meta.xml

oh yeah, that was missing.
------------------------------------------------------------------------
r3228 | anallyst | 2011-03-17 18:39:26 -0400 (Thu, 17 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/openbor.h
M /engine/resources/meta.xml

WIP for a new feature, which should allow one to subclass a model like in OOP
------------------------------------------------------------------------
r3227 | anallyst | 2011-03-17 17:48:55 -0400 (Thu, 17 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

change for SX decision. no loading by default. loading speed is now under 0.5 secs for contra
------------------------------------------------------------------------
r3226 | anallyst | 2011-03-17 17:43:04 -0400 (Thu, 17 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

moar cleanup
------------------------------------------------------------------------
r3225 | anallyst | 2011-03-17 17:25:28 -0400 (Thu, 17 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

removed bloat
------------------------------------------------------------------------
r3224 | anallyst | 2011-03-17 16:50:06 -0400 (Thu, 17 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/openbor.h
M /engine/resources/meta.xml

better encapsulation of scripts, allows to use synergies between entity and s_model
------------------------------------------------------------------------
r3223 | plombo | 2011-03-17 15:27:16 -0400 (Thu, 17 Mar 2011) | 4 lines
Changed paths:
M /engine/openbor.c

Brought back loading bar changes.

It is NOT okay to revert several optimizations, reinstate a dirty hack, and take a crap on aesthetic appeal just to save 0.5 seconds of loading time. Period.

------------------------------------------------------------------------
r3222 | anallyst | 2011-03-17 15:04:02 -0400 (Thu, 17 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

removed foolish and overcomplicated try. it it too slow.
------------------------------------------------------------------------
r3221 | anallyst | 2011-03-17 14:51:39 -0400 (Thu, 17 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 consistent memory cleanup to load_cached_model, and line number information on error
------------------------------------------------------------------------
r3220 | plombo | 2011-03-17 14:04:19 -0400 (Thu, 17 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c

Restore smoothness to loading bar, but speed up loading by not redrawing the screen when the position of the bar has not changed.
------------------------------------------------------------------------
r3219 | anallyst | 2011-03-16 23:07:47 -0400 (Wed, 16 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

removed 2 obsolete comments
------------------------------------------------------------------------
r3218 | anallyst | 2011-03-16 22:23:11 -0400 (Wed, 16 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml
M /engine/source/scriptlib/Interpreter.c

check candamage when AI picking up stuff
------------------------------------------------------------------------
r3217 | sumolx | 2011-03-16 21:26:03 -0400 (Wed, 16 Mar 2011) | 1 line
Changed paths:
M /engine/sdl/opengl.c

DARWIN's older compiler requires GLint to be used instead, since it's how the GL function's argument is defined anyway.
------------------------------------------------------------------------
r3216 | sumolx | 2011-03-16 21:24:21 -0400 (Wed, 16 Mar 2011) | 1 line
Changed paths:
M /engine/Makefile

DARWIN is now automatically handled in Makefile. Built via CrossCompiler or Natively
------------------------------------------------------------------------
r3215 | anallyst | 2011-03-16 15:14:26 -0400 (Wed, 16 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

cleaned up a bit, made stuff more readable
------------------------------------------------------------------------
r3214 | sumolx | 2011-03-16 00:02:40 -0400 (Wed, 16 Mar 2011) | 1 line
Changed paths:
M /engine/build.sh
M /tools/borpak/source/build.sh

borpak's build.sh required initializing of variables to empty in order to work with engine's build.sh
------------------------------------------------------------------------
r3213 | anallyst | 2011-03-15 23:41:10 -0400 (Tue, 15 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

allow using remix when no menu music is available
------------------------------------------------------------------------
r3212 | sumolx | 2011-03-15 23:35:47 -0400 (Tue, 15 Mar 2011) | 1 line
Changed paths:
M /engine/build.sh

Reset PATH prior to building every platform
------------------------------------------------------------------------
r3211 | sumolx | 2011-03-15 22:39:25 -0400 (Tue, 15 Mar 2011) | 1 line
Changed paths:
M /engine/environ.sh

Fixed linux environment check for host_platform check.
------------------------------------------------------------------------
r3210 | sumolx | 2011-03-15 22:38:31 -0400 (Tue, 15 Mar 2011) | 1 line
Changed paths:
M /engine/build.sh

Re-Enabled all platform checks for server
------------------------------------------------------------------------
r3209 | sumolx | 2011-03-15 22:37:46 -0400 (Tue, 15 Mar 2011) | 1 line
Changed paths:
M /engine/Makefile

Wiz port now supported by two different SDK(s)
------------------------------------------------------------------------
r3208 | sumolx | 2011-03-15 21:20:00 -0400 (Tue, 15 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c

Dingoo compiler complaining about uninitialized values
------------------------------------------------------------------------
r3207 | sumolx | 2011-03-15 20:58:18 -0400 (Tue, 15 Mar 2011) | 1 line
Changed paths:
M /engine/build.sh

build.sh 3 for gp2x
------------------------------------------------------------------------
r3206 | anallyst | 2011-03-15 11:57:08 -0400 (Tue, 15 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

oh, there has been a special rule for even more attack types. we account for that now
------------------------------------------------------------------------
r3205 | anallyst | 2011-03-14 14:16:18 -0400 (Mon, 14 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

unnecessary looping costs cpu and debuggers time
------------------------------------------------------------------------
r3204 | anallyst | 2011-03-13 21:44:40 -0400 (Sun, 13 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

never commit before testing...
------------------------------------------------------------------------
r3203 | anallyst | 2011-03-13 21:42:05 -0400 (Sun, 13 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c

it may be better if we keep self untouched...
------------------------------------------------------------------------
r3202 | anallyst | 2011-03-13 21:34:51 -0400 (Sun, 13 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/sdl/video.c
M /engine/version.h

fixed regression by 3201 (landframe index too big as in KD_Final caused game to crash. fixed segfault when screen is null in video.c
------------------------------------------------------------------------
r3201 | damon_caskey | 2011-03-13 19:45:02 -0400 (Sun, 13 Mar 2011) | 1 line
Changed paths:
M /engine/codeblocks/OpenBOR.Windows.layout
M /engine/openbor.c
M /engine/openborscript.c
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/version.h

http://www.caskeys.com/dc/?p=1155#3.201
------------------------------------------------------------------------
r3200 | anallyst | 2011-03-13 14:39:25 -0400 (Sun, 13 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

fixed a bug which caused openbor to crash when ATTACK2 was pressed in contras select player screen
------------------------------------------------------------------------
r3199 | anallyst | 2011-03-13 00:53:15 -0500 (Sun, 13 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

allow overriding of default offscreenkill via command line, to make it possible to play incompatible mods
------------------------------------------------------------------------
r3198 | anallyst | 2011-03-13 00:35:43 -0500 (Sun, 13 Mar 2011) | 1 line
Changed paths:
M /engine/dc/dcport.c
M /engine/dc/dcport.h
M /engine/openbor.c
M /engine/openbor.h
M /engine/psp/pspport.c
M /engine/psp/pspport.h
M /engine/resources/meta.xml
M /engine/sdl/sdlport.c
M /engine/sdl/sdlport.h
M /engine/wii/wiiport.c
M /engine/wii/wiiport.h
M /engine/xbox/generic/xboxport.cpp
M /engine/xbox/generic/xboxport.h

allow passing of argc, argv
------------------------------------------------------------------------
r3197 | anallyst | 2011-03-13 00:12:44 -0500 (Sun, 13 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

no, actually i want it FAST.
------------------------------------------------------------------------
r3196 | anallyst | 2011-03-12 20:23:56 -0500 (Sat, 12 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c
M /engine/resources/meta.xml

prevent entities of type_none to get idle, this fixes shooting in Contra - Locked n loaded
------------------------------------------------------------------------
r3195 | anallyst | 2011-03-12 17:52:03 -0500 (Sat, 12 Mar 2011) | 1 line
Changed paths:
M /engine/resources/Info.plist
M /engine/resources/meta.xml
M /engine/source/gamelib/packfile.c
M /engine/version.h

renamed variable to proper english
------------------------------------------------------------------------
r3194 | anallyst | 2011-03-12 16:07:07 -0500 (Sat, 12 Mar 2011) | 1 line
Changed paths:
M /engine/openbor.c

actually it did save 6 seconds when starting up contra. let's find a compromise between speed and smoothness, with redraw at every 8th frame.
------------------------------------------------------------------------
r3193 | plombo | 2011-03-11 19:55:33 -0500 (Fri, 11 Mar 2011) | 4 lines
Changed paths:
M /engine/openbor.c

Restore smoothness to the animation of the loading bar.

This undoes an optimization to improve the loading time. However, much of this loading time could be alleviated by not redrawing the screen when the position of the loading bar hasn't changed.


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



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.
------------------------------------------------------------------------
r3090 | sumolx | 2011-02-28 20:56:33 -0500 (Mon, 28 Feb 2011) | 1 line
Changed paths:
D /engine/resources/BOR_Icon_144x80.png
D /engine/resources/BOR_Icon_32x32.bmp
D /engine/resources/BOR_Icon_32x32.ico
D /engine/resources/BOR_Logo_480x272.png
D /engine/resources/BOR_Menu_320x240.gif
D /engine/resources/BOR_Menu_480x272.png
M /engine/resources/Info.plist

OpenBOR 3.0 Build 2843

- More mapstrings updates. I think that's all of them!

OpenBOR 3.0 Build 2836

- Significantly improved performance due to further video optimizations by Plombo.
- You can now choose in the video options whether to preserve the aspect ratio (using black bars) or stretch the picture to the screen ignoring aspect ratio.

OpenBOR 3.0 Build 2818

- Widescreen (480x272) mods supported.
- Widescreen (16:9) displays supported without stretching.
- No aspect ratio distortion with any mod regardless of display. Horizontal/vertical black bars are used when needed.
- Can now be run from a USB flash drive or FAT32-formatted USB hard drive.
- OpenBOR no longer depends on SDL Wii. All I/O handling is done natively through libogc.
- Performance boost due to using GX directly for video instead of going through SDL.

OpenBOR 3.0 Build 2743

- Added required libraries for MVS

OpenBOR 3.0 Build 2645

Fixes:
* Plombo: Fixed (another) menu selection issue with the Classic Controller in the Wii port, as described by NickyP.
* Plombo: Added support for Classic Controller and GameCube controller analog sticks in the Wii port.
* Plombo: Added button mappings on GC and Classic Controller for Attack 3 and 4.
* Plombo: Fixed case-sensitivity issue when loading mods from the data folder on Linux. Expect a Neo Edit Pack release for Linux soon!

 

Test: Lizenz

Kommentar schreiben


Sicherheitscode
Aktualisieren

 

Impressum | Team | Über unsere Webseite | Partner | Markennamen sind Eigentum der jeweiligen Firmen. Wii ist ein eingetragenes Warenzeichen der Firma Nintendo.
Powered by Joomla! Designed by SiteGround web hosting and modified by Quali| Wii-Homebrew.com ist ein inoffizielles & unabhängiges Download/Informationsportal.

TOP Partner: Nintendomax - WiiTDB - MonkeyDesk - PDRoms -
GeckoCodes - NintenBrew