naev 0.10.4
src Directory Reference

Files

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