Represents a space ship.
More...
#include <ship.h>
Represents a space ship.
Definition at line 97 of file ship.h.
◆ _gfx_store
Store graphic.
Definition at line 156 of file ship.h.
◆ accel
Ship's acceleration in "pixel/sec^2"
Definition at line 125 of file ship.h.
◆ armour
Maximum base armour in MJ.
Definition at line 139 of file ship.h.
◆ armour_regen
| double Ship::armour_regen |
Maximum armour regeneration in MJ/s.
Definition at line 140 of file ship.h.
◆ base_path
Ship's base type path, used for finding graphics and such.
Definition at line 103 of file ship.h.
◆ base_type
Ship's base type, basically used for figuring out what ships are related.
Definition at line 101 of file ship.h.
◆ cap_cargo
Cargo capacity (in volume).
Definition at line 135 of file ship.h.
◆ class
◆ class_display
| char* Ship::class_display |
Custom ship class, overrides class when displaying.
Definition at line 107 of file ship.h.
◆ cond
Conditional string to see if it can be bought. Must return a boolean.
Definition at line 117 of file ship.h.
◆ condstr
Human readable conditional.
Definition at line 119 of file ship.h.
◆ cpu
Amount of CPU the ship has.
Definition at line 132 of file ship.h.
◆ crew
Crew members.
Definition at line 130 of file ship.h.
◆ desc_extra
Extra description.
Definition at line 122 of file ship.h.
◆ desc_stats
Ship statistics information.
Definition at line 180 of file ship.h.
◆ description
Shipyard description.
Definition at line 121 of file ship.h.
◆ dmg_absorb
Damage absorption in per one [0:1] with 1 being 100% absorption.
Definition at line 145 of file ship.h.
◆ dt_default
Default/minimum time delta.
Definition at line 136 of file ship.h.
◆ energy
Maximum base energy in MJ.
Definition at line 143 of file ship.h.
◆ energy_regen
| double Ship::energy_regen |
Maximum energy regeneration in MJ/s.
Definition at line 144 of file ship.h.
◆ engine_pitch
| double Ship::engine_pitch |
Sets the base pitch of the engine.
Definition at line 168 of file ship.h.
◆ fabricator
Company or organization that fabricates it.
Definition at line 120 of file ship.h.
◆ faction
Dominant faction of the ship.
Definition at line 108 of file ship.h.
◆ flags
◆ fuel
How much fuel by default.
Definition at line 133 of file ship.h.
◆ fuel_consumption
| int Ship::fuel_consumption |
Fuel consumption by engine.
Definition at line 134 of file ship.h.
◆ gfx_3d
3d model of the ship
Definition at line 153 of file ship.h.
◆ gfx_comm
Name of graphic for communication.
Definition at line 157 of file ship.h.
◆ gfx_engine
Space engine glow sprite sheet.
Definition at line 155 of file ship.h.
◆ gfx_overlays
◆ gfx_path
Path to load GFX from (lazy loading).
Definition at line 150 of file ship.h.
◆ gfx_space
Space sprite sheet.
Definition at line 154 of file ship.h.
◆ inherits
Ship from which it is inheriting values.
Definition at line 99 of file ship.h.
◆ license
License needed to buy it.
Definition at line 116 of file ship.h.
◆ lua_cleanup
Run when the pilot is erased.
Definition at line 194 of file ship.h.
◆ lua_descextra
Run when obtaining description.
Definition at line 192 of file ship.h.
◆ lua_dt
Update rate for Lua update script.
Definition at line 191 of file ship.h.
◆ lua_env
Lua environment. Shared for each outfit to allow globals.
Definition at line 190 of file ship.h.
◆ lua_explode_init
| int Ship::lua_explode_init |
Run when starting explosion.
Definition at line 196 of file ship.h.
◆ lua_explode_update
| int Ship::lua_explode_update |
Run when exploding.
Definition at line 197 of file ship.h.
◆ lua_file
Lua File.
Definition at line 188 of file ship.h.
◆ lua_init
Run when pilot enters a system.
Definition at line 193 of file ship.h.
◆ lua_update
Run periodically.
Definition at line 195 of file ship.h.
◆ mass
Mass ship has.
Definition at line 131 of file ship.h.
◆ name
◆ noengine
Don't try to load engine graphics.
Definition at line 152 of file ship.h.
◆ outfit_intrinsic
| Outfit const** Ship::outfit_intrinsic |
Array (array.h): Intrinsic outfits to start out with.
Definition at line 176 of file ship.h.
◆ outfit_structure
◆ outfit_utility
◆ outfit_weapon
◆ points
Number of points the ship costs (used for presence et al.)
Definition at line 110 of file ship.h.
◆ polygon
◆ polygon_path
Path to load polygon.
Definition at line 151 of file ship.h.
◆ price
Cost to buy.
Definition at line 115 of file ship.h.
◆ rarity
Rarity.
Definition at line 111 of file ship.h.
◆ rawdata
Raw data trick.
Definition at line 98 of file ship.h.
◆ shield
Maximum base shield in MJ.
Definition at line 141 of file ship.h.
◆ shield_regen
| double Ship::shield_regen |
Maximum shield regeneration in MJ/s.
Definition at line 142 of file ship.h.
◆ size
Size of the ship.
Definition at line 149 of file ship.h.
◆ sound
Sound engine uses.
Definition at line 167 of file ship.h.
◆ speed
Ship's max speed in "pixel/sec"
Definition at line 127 of file ship.h.
◆ stats
Ship statistics properties.
Definition at line 181 of file ship.h.
◆ stats_array
Laid out stats for referencing purposes.
Definition at line 182 of file ship.h.
◆ sx
◆ sy
◆ tags
◆ trail_emitters
Trail emitters.
Definition at line 159 of file ship.h.
◆ turn
The documentation for this struct was generated from the following file:
- /pbulk/work/games/naev/work/naev-0.12.5/src/ship.h