2007-08-03 06:35:35 +00:00
|
|
|
const array:int sound = sounds.*
|
|
|
|
const array:int weapon = weapons.*
|
|
|
|
const array:int gametype = playerstats.*
|
|
|
|
const array:int powerup = powerups.*
|
|
|
|
|
2007-07-21 19:25:10 +00:00
|
|
|
struct weapon {
|
|
|
|
int firedelay = firedelay@1
|
|
|
|
int meleedamage = meleedamage@1
|
|
|
|
int meleereach = meleereach@1
|
|
|
|
int ammoregentime = ammoregentime@1
|
|
|
|
int maxammo = maxammo@1
|
2007-08-04 01:53:26 +00:00
|
|
|
int costammo = costammo@1
|
2007-07-21 19:25:10 +00:00
|
|
|
int duration = duration@1
|
|
|
|
int movetime = movetime@1
|
|
|
|
int velocity = velocity@1
|
|
|
|
}
|
|
|
|
|
2007-07-23 17:50:55 +00:00
|
|
|
struct powerupinf {
|
|
|
|
int amount = amount@1
|
|
|
|
int respawntime = respawntime@1
|
|
|
|
int startspawntime = startspawntime@1
|
|
|
|
}
|
|
|
|
|
2007-07-21 19:25:10 +00:00
|
|
|
struct playerstats {
|
|
|
|
int maxhealth = maxhealth@1
|
|
|
|
int maxarmor = maxarmor@1
|
|
|
|
}
|
|
|
|
|
2007-07-13 13:40:04 +00:00
|
|
|
struct data_container {
|
2007-07-21 19:25:10 +00:00
|
|
|
array:weapon weapons = weapons.*
|
|
|
|
array:playerstats playerinfo = playerstats.*
|
2007-07-23 17:50:55 +00:00
|
|
|
array:powerupinf powerupinfo = powerups.*
|
2007-07-13 13:40:04 +00:00
|
|
|
}
|