Menu

Tools Commit Log


Commit Date  
[r2867] by Paulo

remove old path

2010-09-03 18:45:44 Tree
[r2866] by Paulo

Start of OpenBOR Trunk

2010-09-03 18:41:44 Tree
[r2865] by gringo

Some Cleanings : deleted model_list and model_map, renamed entity field name item to item_nam, renamed s_model field from subentity to subent_index, added Array_Check_Size() function to utils.c

2010-09-01 11:44:32 Tree
[r2864] by plombo

Added OpenGL video backend as an alternative to SDL software blitting.

2010-08-23 02:44:50 Tree
[r2863] by plombo

Changes to SDL control backend:

PC joystick code almost entirely rewritten. This should fix most of the problems OpenBOR has historically had with joystick support.

The engine now shuts down properly instead of exiting immediately when closed with F10, Alt+F4, or the window's "X" button.

2010-08-05 21:28:27 Tree
[r2862] by plombo

Added _makecolour() to openbor.h to fix compile error.

2010-07-21 02:02:26 Tree
[r2861] by plombo

Added new script function:
int rgbcolor(int r, int g, int b)
r, g, and b are integers between 0 and 255, inclusive. Returns the closest color to the specified color in the current color mode.

2010-07-21 01:58:54 Tree
[r2860] by sumolx

Updated version info.

2010-07-21 00:39:38 Tree
[r2859] by damon_caskey

openborvariant("models_cached"); Returns total number of models.

openborvariant("models_loaded"); Returns number of models loaded.

getmodelproperty({index}, {property}); Returns property from cached model.

{index} - Model index. Enumerate the collection to find a specific model.

{property}
0: Loaded (1 = yes, 2 = no)
1: Model (Unstable, returns name for now).
2: Model name.
3: Path.
4: Selectable (1 = Yes, 2 = No).

changemodelproperty({index}, {property}, {value}); Change a model property. Any property (see getmodelproperty) is accepted, but only "selectable" property can actually be changed.

2010-07-15 20:55:53 Tree
[r2858] by plombo

Fixed bug in sprite code that caused engine crashes, introduced in 2851.

Also, the fillcolor parameter of the drawmethod command can now be in the format "R_G_B". For example, a yellow fillcolor (red 255, green 255, blue 0) can be specified as 255_255_0. Unlike the old format for fillcolor (which still works for backwards compatibility), the new format isn't dependent on color depth and doesn't require a complicated formula to calculate.

2010-07-15 04:12:22 Tree
Older >
MongoDB Logo MongoDB