Menu

Tools Commit Log


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

Added a new script event, thinkscript. It is declared in an entity's header and runs every time the entity's AI updates itself. It can be used for fine-grained control of entities' AI and movement.

2010-07-14 04:29:55 Tree
[r2856] by sumolx

Updated header comments

2010-07-14 03:19:59 Tree
[r2855] by sumolx

Another Test

2010-07-14 03:11:11 Tree
[r2854] by sumolx

Testing the new server.

2010-07-14 03:09:09 Tree
[r2853] by plombo

Removed debugging code that I accidentally left in the alpha masking code.

2010-07-08 21:47:15 Tree
[r2852] by plombo

Alpha masking supported in 16- and 32-bit color modes. It works flawlessly, but the masks use a currently undocumented format, and there's no program available to create them yet.

2010-07-08 20:21:28 Tree
[r2851] by plombo

Fixed fillcolor in 16-bit and 32-bit color modes.

2010-07-05 18:06:25 Tree
[r2850] by plombo

Dingoo, PSP, and Dreamcast use Tremor for Ogg Vorbis decoding now.

2010-07-05 04:05:35 Tree
Older >
MongoDB Logo MongoDB