Menu

Tools Commit Log


Commit Date  
[r2755] by plombo

Revision 2754 was a mistake...I accidentally bumped the Enter key on my keyboard. This revision reverts the changes from 2754.

2010-05-05 03:11:12 Tree
[r2754] by plombo

Implemented zoomscreen function. It compiles, but it doesn't work correctly yet.

2010-05-05 03:08:12 Tree
[r2753] by plombo

Implemented zoomscreen function. It compiles, but it doesn't work correctly yet.

2010-05-05 03:06:36 Tree
[r2752] by sumolx

We now utilize debug and release versions for OGG and Vorbis. This should have fixed any mvs issues we may have had in the past.

2010-05-03 14:06:27 Tree
[r2751] by sumolx

openbor_strleft() should not be mallocing such a small pointer. This will cause memory fragmentation, use arrays instead since this is a small variable on the stack.

2010-05-03 13:40:42 Tree
[r2750] by damon_caskey

Rolled back string additions from previous two check ins for custom string functions based on VB string manipulation. With this update the following are available:

void s = strinfirst({string}, {find}) - Returns {string} starting from the first instance of {find}.

void s = strleft({string}, {length}) - Returns {length} number of characters from the left side of {string}.

int i = strlength({string}) - Returns number of characters in {string}

void s = strright({string}, {length}) - Returns {length} number of characters from the right side of {string}.

2010-05-02 18:37:07 Tree
[r2749] by damon_caskey

Added validation to strstr (see version 2748), returns -1 if no match found.

2010-04-30 20:14:32 Tree
[r2748] by damon_caskey

Adding string function support (http://www.cplusplus.com/reference/clibrary/cstring/). Supported as of this addition:

strlen
strstr

2010-04-30 20:03:34 Tree
[r2747] by damon_caskey

getentityproperty({ent}, "path") - Returns path to folder housing the entity's text file.

2010-04-29 22:56:46 Tree
[r2746] by damon_caskey

New entity header: Stats {index} {value}. Allows establishment of model/entity values for script use without need of spawn and cleanup script overhead. Similar to health, values exist at the entity and model level.

{index} - Currently 1-20.
{value} - Any integer/decimal value.

getentityproperty({ent}, "stats", {type}, {index}): Returns the entity's stats value.

{type} - 0 = Modeldata. 1 = Entity.
{index} - Value index to retrive.

changeentityproperty({ent}, "stats", {type}, {index}, {value}): Modify the entity's stats value.

{type} - 0 = Modeldata. 1 = Entity.
{index} - Value index to modify.
{value} - New value. Accepts any whole or decimal number.

Will look at setting up for dynamic index limit in the future.

2010-04-29 17:15:09 Tree
Older >
MongoDB Logo MongoDB