Represents a space ship.
More...
#include <ship.h>
Represents a space ship.
Definition at line 94 of file ship.h.
◆ accel
Ship's acceleration in "pixel/sec^2"
Definition at line 113 of file ship.h.
◆ armour
Maximum base armour in MJ.
Definition at line 127 of file ship.h.
◆ armour_regen
| double Ship::armour_regen |
Maximum armour regeneration in MJ/s.
Definition at line 128 of file ship.h.
◆ base_type
Ship's base type, basically used for figuring out what ships are related.
Definition at line 96 of file ship.h.
◆ cap_cargo
Cargo capacity (in volume).
Definition at line 123 of file ship.h.
◆ class
◆ class_display
| char* Ship::class_display |
Custom ship class, overrides class when displaying.
Definition at line 98 of file ship.h.
◆ cond
Conditional string to see if it can be bought. Must return a boolean.
Definition at line 106 of file ship.h.
◆ condstr
Human readable conditional.
Definition at line 107 of file ship.h.
◆ cpu
Amount of CPU the ship has.
Definition at line 120 of file ship.h.
◆ crew
Crew members.
Definition at line 118 of file ship.h.
◆ desc_extra
Extra description.
Definition at line 110 of file ship.h.
◆ desc_stats
Ship statistics information.
Definition at line 163 of file ship.h.
◆ description
Shipyard description.
Definition at line 109 of file ship.h.
◆ dmg_absorb
Damage absorption in per one [0:1] with 1 being 100% absorption.
Definition at line 133 of file ship.h.
◆ dt_default
Default/minimum time delta.
Definition at line 124 of file ship.h.
◆ energy
Maximum base energy in MJ.
Definition at line 131 of file ship.h.
◆ energy_regen
| double Ship::energy_regen |
Maximum energy regeneration in MJ/s.
Definition at line 132 of file ship.h.
◆ engine_pitch
| double Ship::engine_pitch |
Sets the base pitch of the engine.
Definition at line 151 of file ship.h.
◆ fabricator
Company or organization that fabricates it.
Definition at line 108 of file ship.h.
◆ flags
◆ fuel
How much fuel by default.
Definition at line 121 of file ship.h.
◆ fuel_consumption
| int Ship::fuel_consumption |
Fuel consumption by engine.
Definition at line 122 of file ship.h.
◆ gfx_3d
3d model of the ship
Definition at line 136 of file ship.h.
◆ gfx_3d_scale
| double Ship::gfx_3d_scale |
scale for 3d model of the ship
Definition at line 137 of file ship.h.
◆ gfx_comm
Name of graphic for communication.
Definition at line 142 of file ship.h.
◆ gfx_engine
Space engine glow sprite sheet.
Definition at line 139 of file ship.h.
◆ gfx_overlays
◆ gfx_space
Space sprite sheet.
Definition at line 138 of file ship.h.
◆ gfx_store
Store graphic.
Definition at line 141 of file ship.h.
◆ gfx_target
Targeting window graphic.
Definition at line 140 of file ship.h.
◆ license
License needed to buy it.
Definition at line 105 of file ship.h.
◆ lua_cleanup
Run when the pilot is erased.
Definition at line 175 of file ship.h.
◆ lua_dt
Update rate for Lua update script.
Definition at line 173 of file ship.h.
◆ lua_env
Lua environment. Shared for each outfit to allow globals.
Definition at line 172 of file ship.h.
◆ lua_explode_init
| int Ship::lua_explode_init |
Run when starting explosion.
Definition at line 177 of file ship.h.
◆ lua_explode_update
| int Ship::lua_explode_update |
Run when exploding.
Definition at line 178 of file ship.h.
◆ lua_file
Lua File.
Definition at line 171 of file ship.h.
◆ lua_init
Run when pilot enters a system.
Definition at line 174 of file ship.h.
◆ lua_update
Run periodically.
Definition at line 176 of file ship.h.
◆ mangle
Mount angle to simplify mount calculations.
Definition at line 160 of file ship.h.
◆ mass
Mass ship has.
Definition at line 119 of file ship.h.
◆ name
◆ outfit_intrinsic
| Outfit const** Ship::outfit_intrinsic |
Array (array.h): Intrinsic outfits to start out with.
Definition at line 157 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 99 of file ship.h.
◆ polygon
◆ price
Cost to buy.
Definition at line 104 of file ship.h.
◆ rarity
Rarity.
Definition at line 100 of file ship.h.
◆ shield
Maximum base shield in MJ.
Definition at line 129 of file ship.h.
◆ shield_regen
| double Ship::shield_regen |
Maximum shield regeneration in MJ/s.
Definition at line 130 of file ship.h.
◆ sound
Sound engine uses.
Definition at line 150 of file ship.h.
◆ speed
Ship's max speed in "pixel/sec"
Definition at line 115 of file ship.h.
◆ stats
Ship statistics properties.
Definition at line 164 of file ship.h.
◆ stats_array
Laid out stats for referencing purposes.
Definition at line 165 of file ship.h.
◆ tags
◆ trail_emitters
Trail emitters.
Definition at line 144 of file ship.h.
◆ turn
The documentation for this struct was generated from the following file:
- /builddir/build/BUILD/naev-0.11.5/src/ship.h