naev 0.12.6
src Directory Reference

Files

 
ai.c
 Controls the Pilot AI.
 
ai.h
 
array.c
 
array.h
 Provides macros to work with dynamic arrays.
 
asteroid.c
 Handles asteroid-related stuff.
 
asteroid.h
 
attributes.h
 
background.c
 Handles displaying backgrounds.
 
background.h
 
base64.c
 
base64.h
 
board.c
 Deals with boarding ships.
 
board.h
 
camera.c
 Handles the camera.
 
camera.h
 
cgltf.h
 
claim.c
 Handles claiming of systems.
 
claim.h
 
cmark_wrap.c
 
cmark_wrap.h
 
collision.c
 Deals with 2d collisions.
 
collision.h
 
colour.c
 Predefined colours for use with Naev.
 
colour.h
 
colours_c_gen.py
 
comm.c
 For communicating with spobs/pilots.
 
comm.h
 
commodity.c
 Handles commodities.
 
commodity.h
 
cond.c
 Handles lua conditionals.
 
cond.h
 
conf.c
 
conf.h
 
console.c
 Handles the Lua console.
 
console.h
 
damagetype.c
 Handles damage types.
 
damagetype.h
 
debris.c
 Handles scattering debris around.
 
debris.h
 
debug.c
 Handles low-level debugging hooks.
 
debug.h
 
debug_fpu.c
 Implements the debug_enableFPUExcept function where supported (GNU systems). This is separated into its own file because defining _GNU_SOURCE – the only way to get access to feenableexcept() – does frightening things.
 
dev_diff.c
 Handles saving unidiffs.
 
dev_diff.h
 
dev_mapedit.c
 Handles the star system editor.
 
dev_mapedit.h
 
dev_spob.c
 Handles the spob stuff.
 
dev_spob.h
 
dev_sysedit.c
 Handles the star system editor.
 
dev_sysedit.h
 
dev_system.c
 Handles development of star system stuff.
 
dev_system.h
 
dev_uniedit.c
 Handles the star system editor.
 
dev_uniedit.h
 
dialogue.c
 Is a high-level API around toolkit.c for easy window creation.
 
dialogue.h
 
difficulty.c
 
difficulty.h
 
distance_field.c
 Code for generating our distance fields (.
 
distance_field.h
 
economy.c
 Handles economy stuff.
 
economy.h
 
edtaa3func.c
 
edtaa3func.h
 
effect.c
 Handles pilot effects.
 
effect.h
 
env.c
 
env.h
 
equipment.c
 Handles equipping ships.
 
equipment.h
 
escort.c
 Handles the player's escorts.
 
escort.h
 
event.c
 Handles internal events.
 
event.h
 
explosion.c
 Handles gigantic explosions.
 
explosion.h
 
faction.c
 Handles the Naev factions.
 
faction.h
 
font.c
 OpenGL font rendering routines.
 
font.h
 
gatherable.c
 Handles gatherable objects.
 
gatherable.h
 
gettext.c
 PhysicsFS-aware gettext implementation.
 
gettext.h
 
glad.c
 
glad.h
 
gltf.c
 
gltf.h
 
glue_macos.h
 
glue_macos.m
 Support code for macOS.
 
gui.c
 Contains the GUI stuff for the player.
 
gui.h
 
gui_omsg.c
 
gui_omsg.h
 
gui_osd.c
 
gui_osd.h
 
hook.c
 Handles hooks.
 
hook.h
 
info.c
 
info.h
 Handles the info menu.
 
input.c
 Handles all the keybindings and input.
 
input.h
 
intlist.c
 
intlist.h
 
intro.c
 Handles the introduction sequence.
 
intro.h
 
joystick.c
 Handles joystick initialization.
 
joystick.h
 
khrplatform.h
 
land.c
 Handles all the landing menus and actions.
 
land.h
 
land_outfits.c
 Handles all the landing menus and actions.
 
land_outfits.h
 
land_shipyard.c
 Handles the shipyard at land.
 
land_shipyard.h
 
land_trade.c
 Handles the Trading Center at land.
 
land_trade.h
 
load.c
 Contains stuff to load a pilot or look up information about it.
 
load.h
 
log.c
 Home of logprintf.
 
log.h
 
lua_enet.c
 Lightly modified version of https://github.com/leafo/lua-enet/blob/master/enet.c (rev 97d91e8c4337555425fa751f02f552bbb553f17b, upstream copyright below).
 
lua_enet.h
 
lutf8lib.c
 
lutf8lib.h
 
lvar.c
 Lua Variables.
 
lvar.h
 
lyaml.h
 
map.c
 
map.h
 
map_find.c
 
map_find.h
 
map_overlay.c
 
map_overlay.h
 
map_system.c
 
map_system.h
 
mapData.h
 
mat3.c
 Handles OpenGL matrix stuff for 3 dimension matrices.
 
mat3.h
 
mat4.c
 Handles OpenGL matrix stuff.
 
mat4.h
 
md5.c
 
md5.h
 
menu.c
 
menu.h
 Handles the important game menus.
 
mission.c
 Handles missions.
 
mission.h
 
mission_markers.h
 
msgcat.c
 Message catalog lookup and plural-form evaluation subroutines. This implementation comes from musl. See below for details and copyright info.
 
msgcat.h
 
music.c
 Controls all the music playing.
 
music.h
 
naev.c
 Controls the overall game flow: data loading/unloading and game loop.
 
naev.h
 Header file with generic functions and naev-specifics.
 
naev_version.c
 Implements naev_version() in a separate compilation unit, so that a "git pull" only forces a recompile of this tiny piece plus a relink.
 
naevlua.c
 
naevpedia.c
 
naevpedia.h
 
ndata.c
 Wrappers to set up and access game assets (mounted via PhysicsFS). We choose our underlying directories in ndata_setupWriteDir() and ndata_setupReadDirs(). However, conf.c code may have seeded the search path based on command-line arguments.
 
ndata.h
 
nebula.c
 Handles rendering and generating the nebula.
 
nebula.h
 
news.c
 Handles news generation.
 
news.h
 
nfile.c
 Handles read/write abstractions to the users directory.
 
nfile.h
 
nlua.c
 Handles creating and setting up basic Lua environments.
 
nlua.h
 
nlua_asteroid.c
 Bindings for asteroids from Lua.
 
nlua_asteroid.h
 
nlua_audio.c
 Bindings for Special effects functionality from Lua.
 
nlua_audio.h
 
nlua_bkg.c
 Bindings for modifying the space background.
 
nlua_bkg.h
 
nlua_camera.c
 Bindings for Camera functionality from Lua.
 
nlua_camera.h
 
nlua_canvas.c
 
nlua_canvas.h
 
nlua_cli.c
 Contains Lua bindings for the console.
 
nlua_cli.h
 
nlua_colour.c
 Handles colours.
 
nlua_colour.h
 
nlua_commodity.c
 Handles the Lua commodity bindings.
 
nlua_commodity.h
 
nlua_data.c
 Handles datas.
 
nlua_data.h
 
nlua_diff.c
 Unidiff Lua module.
 
nlua_diff.h
 
nlua_evt.c
 Handles the event Lua bindings.
 
nlua_evt.h
 
nlua_faction.c
 Handles the Lua faction bindings.
 
nlua_faction.h
 
nlua_file.c
 Handles files.
 
nlua_file.h
 
nlua_font.c
 Handles fonts.
 
nlua_font.h
 
nlua_gfx.c
 Handles the rendering of graphics on the screen.
 
nlua_gfx.h
 
nlua_gui.c
 Bindings for GUI functionality from Lua.
 
nlua_gui.h
 
nlua_hook.c
 Lua hook module.
 
nlua_hook.h
 
nlua_jump.c
 Lua jump module.
 
nlua_jump.h
 
nlua_linopt.c
 Handles Linear linoptization in Lua.
 
nlua_linopt.h
 
nlua_misn.c
 Handles the mission Lua bindings.
 
nlua_misn.h
 
nlua_munition.c
 Handles the Lua munition bindings.
 
nlua_munition.h
 
nlua_music.c
 Lua music playing module.
 
nlua_music.h
 
nlua_naev.c
 Contains Naev generic Lua bindings.
 
nlua_naev.h
 
nlua_news.c
 Lua news module.
 
nlua_news.h
 
nlua_outfit.c
 Handles the Lua outfit bindings.
 
nlua_outfit.h
 
nlua_pilot.c
 Handles the Lua pilot bindings.
 
nlua_pilot.h
 
nlua_pilotoutfit.c
 Handles the Lua pilot outfit (equipped) bindings.
 
nlua_pilotoutfit.h
 
nlua_player.c
 Lua player module.
 
nlua_player.h
 
nlua_rnd.c
 Lua bindings for the Naev random number generator.
 
nlua_rnd.h
 
nlua_safelanes.c
 Handles factions' safe lanes through systems.
 
nlua_safelanes.h
 
nlua_shader.c
 Handles shaders.
 
nlua_shader.h
 
nlua_ship.c
 Handles the Lua ship bindings.
 
nlua_ship.h
 
nlua_shiplog.c
 Handles the shiplog Lua bindings.
 
nlua_shiplog.h
 
nlua_spfx.c
 Bindings for Special effects functionality from Lua.
 
nlua_spfx.h
 
nlua_spob.c
 Lua spob module.
 
nlua_spob.h
 
nlua_system.c
 Lua system module.
 
nlua_system.h
 
nlua_tex.c
 Handles the Lua texture bindings.
 
nlua_tex.h
 
nlua_time.c
 Time manipulation Lua bindings.
 
nlua_time.h
 
nlua_tk.c
 Naev toolkit Lua module.
 
nlua_tk.h
 
nlua_transform.c
 Handles transforms.
 
nlua_transform.h
 
nlua_var.c
 Lua Variable module.
 
nlua_var.h
 
nlua_vec2.c
 Handles the Lua vector handling bindings.
 
nlua_vec2.h
 
nluadef.h
 
nmath.c
 Some math routines for naev.
 
nmath.h
 
nopenal.c
 
nopenal.h
 
npc.c
 Handles NPC stuff.
 
npc.h
 
nstring.c
 Some string routines for naev.
 
nstring.h
 
ntime.c
 Handles the Naev time.
 
ntime.h
 
ntracing.h
 
nxml.c
 
nxml.h
 
nxml_lua.c
 Handles the saving and writing of a nlua state to XML.
 
nxml_lua.h
 
opengl.c
 This file handles most of the more generic opengl functions.
 
opengl.h
 
opengl_render.c
 This file handles the opengl rendering routines.
 
opengl_render.h
 
opengl_shader.c
 
opengl_shader.h
 
opengl_tex.c
 This file handles the opengl texture wrapper routines.
 
opengl_tex.h
 
opengl_vbo.c
 Handles OpenGL vbos.
 
opengl_vbo.h
 
options.c
 Options menu.
 
options.h
 
outfit.c
 Handles all the ship outfit specifics.
 
outfit.h
 
pause.c
 Handles pausing and resuming the game.
 
pause.h
 
perlin.c
 Handles creating noise based on perlin noise.
 
perlin.h
 
physfs_archiver_blacklist.c
 Archiver that allows us to blacklist certain files by creating empty versions of them.
 
physfs_archiver_blacklist.h
 
physfsrwops.c
 
physfsrwops.h
 
physics.c
 
physics.h
 
pilot.c
 Handles the pilot stuff.
 
pilot.h
 
pilot_cargo.c
 Handles the pilot cargo stuff.
 
pilot_cargo.h
 
pilot_ew.c
 Pilot electronic warfare information.
 
pilot_ew.h
 
pilot_flags.h
 
pilot_heat.c
 Handles the pilot heat stuff.
 
pilot_heat.h
 
pilot_hook.c
 Handles the pilot hook stuff.
 
pilot_hook.h
 
pilot_outfit.c
 Handles pilot outfits.
 
pilot_outfit.h
 
pilot_ship.c
 Handles pilot ship Lua stuff.
 
pilot_ship.h
 
pilot_weapon.c
 Handles pilot weapon sets which server to manage and interface with active outfits..
 
pilot_weapon.h
 
player.c
 Contains all the player related stuff.
 
player.h
 
player_autonav.c
 Contains all the player autonav related stuff.
 
player_autonav.h
 
player_fleet.c
 Contains all the player fleet related stuff.
 
player_fleet.h
 
player_gui.c
 Handles the GUIs the player owns.
 
player_gui.h
 
player_inventory.c
 Inventory management for the player items.
 
player_inventory.h
 
plugin.c
 Handles plugins to augment data.
 
plugin.h
 
quadtree.c
 
quadtree.h
 
queue.c
 A dodgy implementation of a queue.
 
queue.h
 
render.c
 
render.h
 
rng.c
 Handles all the random number logic.
 
rng.h
 
safelanes.c
 Handles factions' safe lanes through systems. This implements the algorithm described in utils/lanes-generator (whitepaper and much clearer Python version).
 
safelanes.h
 
save.c
 Handles saving/loading games.
 
save.h
 
SDL_keynames.h
 
semver.c
 
semver.h
 
shaders_c_gen.py
 
ship.c
 Handles the ship details.
 
ship.h
 
shiplog.c
 Handles a log/journal of the player's playthrough.
 
shiplog.h
 
shipstats.c
 Handles the ship statistics.
 
shipstats.h
 
slots.c
 Handles the slot properties.
 
slots.h
 
sound.c
 Handles all the sound details.
 
sound.h
 
space.c
 Handles all the space stuff, namely systems and space objects (spobs).
 
space.h
 
space_fdecl.h
 
spfx.c
 Handles the special effects.
 
spfx.h
 
start.c
 Contains information about the module scenario start.
 
start.h
 
target.h
 
tech.c
 Handles tech groups and metagroups for populating the spob outfitter, shipyard and commodity exchange.
 
tech.h
 
threadpool.c
 
threadpool.h
 
toolkit.c
 Handles windows and widgets.
 
toolkit.h
 
unidata.h
 
unidiff.c
 Handles the application and removal of 'diffs' to the universe.
 
unidiff.h
 
union_find.c
 Implements ye olde disjoint-set-forest data structure.
 
union_find.h
 
utf8.c
 
utf8.h
 
vec2.c
 
vec2.h
 
vec3.c
 
vec3.h
 
weapon.c
 Handles all the weapons in game.
 
weapon.h