Searched refs:gas_max (Results 1 – 7 of 7) sorted by relevance
/dports/games/spacezero/spacezero/src/ |
H A D | ai.c | 522 if(obj->gas<.20*obj->gas_max){ in ai() 712 if(obj->gas>.75*obj->gas_max){ in ai() 722 if(obj->gas<.03*obj->gas_max){ in ai() 1950 obj->gas>.75*obj->gas_max && in Risk_08() 1954 if(obj->gas>.75*obj->gas_max){ in Risk_08() 2015 if(obj->gas<.25*obj->gas_max){ in Risk_08() 2024 if(obj->gas<.75*obj->gas_max){ in Risk_08() 2107 obj->gas>.75*obj->gas_max && in Risk() 2138 if(obj->gas<.15*obj->gas_max){ in Risk() 2219 if(obj->gas<.25*obj->gas_max){ in Risk() [all …]
|
H A D | objects.c | 236 obj->gas_max=100; in NewObj() 237 obj->gas=obj->gas_max; in NewObj() 248 obj->gas_max=0; in NewObj() 4015 obj->gas_max=1000; in ShipProperties() 4029 obj->gas_max=1000; in ShipProperties() 4049 obj->gas_max=2000; in ShipProperties() 4063 obj->gas_max=2000; in ShipProperties() 4079 obj->gas_max=500; in ShipProperties() 4094 obj->gas_max=1000; in ShipProperties() 4107 obj->gas_max=0; in ShipProperties() [all …]
|
H A D | graphics.c | 3183 if(obj->gas_max==0)n=0; in DrawEnemyShipInfo() 3185 n=obj->gas/obj->gas_max; in DrawEnemyShipInfo() 3250 if(obj->gas_max==0)n=0; in DrawShipInfo() 3252 n=(float)obj->gas/obj->gas_max; in DrawShipInfo() 3328 cargoobj.gas_max=1; in DrawShipInfo() 4247 if(obj->state<50 || obj->gas<0.5*obj->gas_max){color=2;} in DrawPlayerList() 4248 if(obj->state<25 || obj->gas<0.25*obj->gas_max){color=3;} in DrawPlayerList() 4262 if(obj->gas < 0.95*obj->gas_max){ in DrawPlayerList() 4264 snprintf(cad,MAXTEXTLEN,"%se:%d ",tmpcad,(int)(100*obj->gas/obj->gas_max)); in DrawPlayerList()
|
H A D | spacezero.c | 2182 if(obj->gas > obj->gas_max)obj->gas=obj->gas_max; in UpdateShip() 2191 if(obj->gas > 0.1*obj->gas_max && in UpdateShip() 2236 if(obj->gas < obj->gas_max){ in UpdateShip() 2238 if(obj->gas>obj->gas_max)obj->gas=obj->gas_max; in UpdateShip() 2242 if(obj->gas > 0.5*obj->gas_max){ in UpdateShip() 3708 obj->gas,obj->gas_max, in PrintfObjInfo()
|
H A D | spacecomm.c | 1034 oall.gas_max=obj->gas_max; in CopyObj2Buffer() 1351 nobj->gas_max=objall.gas_max; in ReadObjsfromBuffer()
|
H A D | save.c | 1111 obj->ang_a,obj->accel,obj->gas,obj->gas_max, in FprintfObj() 1252 &obj->ang_a,&obj->accel,&obj->gas,&obj->gas_max, in FscanfObj()
|
/dports/games/spacezero/spacezero/include/ |
H A D | objects.h | 372 float gas_max; /* gas capacity */ member 443 float gas_max; /* gas capacity */ member
|