Menu

Tools Commit Log


Commit Date  
[r464] by SumolX

optimizations in vga_setpalette()

2007-01-24 22:52:10 Tree
[r463] by SumolX

user can now escape from display_credits().

2007-01-16 16:23:45 Tree
[r462] by SumolX

Added more robustnuess to last update:

for(i=0; i<models_loaded; i++){
if(model_list[i]->type == TYPE_PLAYER){
for(weap=0; weap<MAX_WEAPONS; weap++){
if(strncmp(newchar->name, model_list[i]->weapon[weap], MAX_NAME_LEN) == 0){
players_weapon = 1;
break;
}
}
}
if(players_weapon) break;
}

2007-01-14 17:26:20 Tree
[r461] by SumolX

Previously smartbombs would only allow "type players" to have full access
to smartbomb properties. Now if a weapon is associated with player we will
scan for all weapons that are to be used and allow them as well to have
full control to smartbomb.

before:

if(newchar->type == TYPE_PLAYER){
newchar->dofreeze = atoi(findarg(buf+pos, 3)); // Are all animations
frozen during special
newchar->speclen = atoi(findarg(buf+pos, 4)) * GAME_SPEED;
}

after:

for(i=0; i<models_loaded; i++){
for(weap=0; weap<MAX_WEAPONS; weap++){
if(strncmp(newchar->name, model_list[i]->weapon[weap], MAX_NAME_LEN) ==
0) players_weapon = 1;
}
}

if(newchar->type == TYPE_PLAYER || players_weapon){
newchar->dofreeze = atoi(findarg(buf+pos, 3)); // Are all animations
frozen during special
newchar->speclen = atoi(findarg(buf+pos, 4)) * GAME_SPEED;
}

2007-01-14 16:43:29 Tree
[r460] by SumolX

nocost was being checked after attack had landed on enemy. Which is incorrect as once the attack lands on an enemy we must subtract the shot from health or mp.

2007-01-13 23:06:40 Tree
[r459] by SumolX

Looking at the code I could see that the default for player_fall() was using a value of 1 for toss as self->model->jumpheight by default is 4. Therefore, I changed the following from toss(self, self->model->jumpheight/4); to toss(self, 1);

2007-01-13 22:09:54 Tree
[r458] by SumolX

Performance impact on handling backgrounds fixed for PSP and SDL.

2007-01-11 03:35:06 Tree
[r457] by SumolX

fixed timer issue with credits.

2007-01-11 02:27:02 Tree
[r456] by SumolX

finished updating credits().

2007-01-10 23:56:58 Tree
[r455] by SumolX

missing #if now fixed.

2007-01-10 22:50:33 Tree
Older >