Mark optional IMD_model fields as such
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6315 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
91dbb225df
commit
5b1c63f31c
|
@ -68,7 +68,7 @@ CREATE TABLE `SENSOR` (
|
|||
time INTEGER NOT NULL,
|
||||
|
||||
-- The turret mount to use.
|
||||
pMountGraphic TEXT NOT NULL
|
||||
pMountGraphic TEXT
|
||||
);
|
||||
|
||||
CREATE TABLE `ECM` (
|
||||
|
@ -85,7 +85,7 @@ CREATE TABLE `ECM` (
|
|||
location INTEGER NOT NULL,
|
||||
|
||||
-- The turret mount to use.
|
||||
pMountGraphic TEXT NOT NULL
|
||||
pMountGraphic TEXT
|
||||
);
|
||||
|
||||
CREATE TABLE `REPAIR` (
|
||||
|
@ -105,7 +105,7 @@ CREATE TABLE `REPAIR` (
|
|||
time INTEGER NOT NULL,
|
||||
|
||||
-- The turret mount to use.
|
||||
pMountGraphic TEXT NOT NULL
|
||||
pMountGraphic TEXT
|
||||
);
|
||||
|
||||
CREATE TABLE `WEAPON` (
|
||||
|
@ -223,7 +223,7 @@ CREATE TABLE `WEAPON` (
|
|||
|
||||
-- Graphics used for the weapon
|
||||
-- The turret mount to use
|
||||
pMountGraphic TEXT NOT NULL,
|
||||
pMountGraphic TEXT,
|
||||
|
||||
-- The muzzle flash
|
||||
pMuzzleGraphic TEXT NOT NULL,
|
||||
|
@ -241,7 +241,7 @@ CREATE TABLE `WEAPON` (
|
|||
pWaterHitGraphic TEXT NOT NULL,
|
||||
|
||||
-- The trail used for in flight
|
||||
pTrailGraphic TEXT NOT NULL,
|
||||
pTrailGraphic TEXT,
|
||||
|
||||
-- Audio
|
||||
iAudioFireID INTEGER NOT NULL,
|
||||
|
@ -268,6 +268,6 @@ CREATE TABLE `CONSTRUCT` (
|
|||
constructPoints INTEGER NOT NULL,
|
||||
|
||||
-- The turret mount to use
|
||||
pMountGraphic TEXT NOT NULL
|
||||
pMountGraphic TEXT
|
||||
);
|
||||
|
||||
|
|
|
@ -523,6 +523,8 @@ typedef struct SENSOR_STATS
|
|||
|
||||
/**
|
||||
* The turret mount to use.
|
||||
*
|
||||
* This field is optional and can be NULL to indicate that it has no value
|
||||
*/
|
||||
iIMDShape* pMountGraphic;
|
||||
} WZ_DECL_MAY_ALIAS SENSOR_STATS;
|
||||
|
@ -595,6 +597,8 @@ typedef struct ECM_STATS
|
|||
|
||||
/**
|
||||
* The turret mount to use.
|
||||
*
|
||||
* This field is optional and can be NULL to indicate that it has no value
|
||||
*/
|
||||
iIMDShape* pMountGraphic;
|
||||
} WZ_DECL_MAY_ALIAS ECM_STATS;
|
||||
|
@ -672,6 +676,8 @@ typedef struct REPAIR_STATS
|
|||
|
||||
/**
|
||||
* The turret mount to use.
|
||||
*
|
||||
* This field is optional and can be NULL to indicate that it has no value
|
||||
*/
|
||||
iIMDShape* pMountGraphic;
|
||||
} WZ_DECL_MAY_ALIAS REPAIR_STATS;
|
||||
|
@ -911,6 +917,8 @@ typedef struct WEAPON_STATS
|
|||
/**
|
||||
* Graphics used for the weapon
|
||||
* The turret mount to use
|
||||
*
|
||||
* This field is optional and can be NULL to indicate that it has no value
|
||||
*/
|
||||
iIMDShape* pMountGraphic;
|
||||
|
||||
|
@ -941,6 +949,8 @@ typedef struct WEAPON_STATS
|
|||
|
||||
/**
|
||||
* The trail used for in flight
|
||||
*
|
||||
* This field is optional and can be NULL to indicate that it has no value
|
||||
*/
|
||||
iIMDShape* pTrailGraphic;
|
||||
|
||||
|
@ -1072,6 +1082,8 @@ typedef struct CONSTRUCT_STATS
|
|||
|
||||
/**
|
||||
* The turret mount to use
|
||||
*
|
||||
* This field is optional and can be NULL to indicate that it has no value
|
||||
*/
|
||||
iIMDShape* pMountGraphic;
|
||||
} WZ_DECL_MAY_ALIAS CONSTRUCT_STATS;
|
||||
|
|
|
@ -227,7 +227,7 @@ struct SENSOR
|
|||
UDWORD time;
|
||||
|
||||
# The turret mount to use.
|
||||
IMD_model pMountGraphic;
|
||||
IMD_model optional pMountGraphic;
|
||||
end;
|
||||
|
||||
struct ECM
|
||||
|
@ -244,7 +244,7 @@ struct ECM
|
|||
UDWORD location;
|
||||
|
||||
# The turret mount to use.
|
||||
IMD_model pMountGraphic;
|
||||
IMD_model optional pMountGraphic;
|
||||
end;
|
||||
|
||||
struct REPAIR
|
||||
|
@ -264,7 +264,7 @@ struct REPAIR
|
|||
UDWORD time;
|
||||
|
||||
# The turret mount to use.
|
||||
IMD_model pMountGraphic;
|
||||
IMD_model optional pMountGraphic;
|
||||
end;
|
||||
|
||||
enum FIREONMOVE
|
||||
|
@ -367,7 +367,7 @@ struct WEAPON
|
|||
# Graphics used for the weapon
|
||||
|
||||
# The turret mount to use
|
||||
IMD_model pMountGraphic;
|
||||
IMD_model optional pMountGraphic;
|
||||
# The muzzle flash
|
||||
IMD_model pMuzzleGraphic;
|
||||
# The ammo in flight
|
||||
|
@ -379,7 +379,7 @@ struct WEAPON
|
|||
# The ammo hitting water
|
||||
IMD_model pWaterHitGraphic;
|
||||
# The trail used for in flight
|
||||
IMD_model pTrailGraphic;
|
||||
IMD_model optional pTrailGraphic;
|
||||
|
||||
# Audio
|
||||
SDWORD iAudioFireID;
|
||||
|
@ -405,7 +405,7 @@ struct CONSTRUCT
|
|||
UDWORD constructPoints;
|
||||
|
||||
# The turret mount to use
|
||||
IMD_model pMountGraphic;
|
||||
IMD_model optional pMountGraphic;
|
||||
end;
|
||||
|
||||
enum TRAVEL_MEDIUM
|
||||
|
|
Loading…
Reference in New Issue