Commit Graph

882 Commits

Author SHA1 Message Date
Allanis
4fa786ce21 [Fix] space.getSystem(). 2013-08-26 14:56:28 +01:00
Allanis
800ac52895 [Add] Can now save/load planet/system data. 2013-08-26 13:43:53 +01:00
Allanis
ff172951e1 [Add] Display compiled and linked SDL versions. 2013-08-25 22:47:46 +01:00
Allanis
7ebeadc73c [Change] Stage two of the lua API conversion, needs some heavy testing. 2013-08-25 19:34:27 +01:00
Allanis
2c5d3433b5 [Change] Stage one of updating lua API to use metatables. 2013-08-25 16:20:41 +01:00
Allanis
018c3cd39d [Change] Tweaked rumble a bit more. 2013-08-24 13:16:03 +01:00
Allanis
6ea6188711 [Change] Increased default volumes a little. 2013-08-24 13:10:29 +01:00
Allanis
6087d22a5d [Fix] Wasn't freeing sound properly. 2013-08-24 11:55:51 +01:00
Allanis
e3ddc663bf [Add] planet_getClass. Lots more music. 2013-08-24 11:32:13 +01:00
Allanis
f96ece85f8 [Add] Some verbosity. 2013-08-24 08:19:12 +01:00
Allanis
9bb4b6e90e [Add] Primitive positional sound. 2013-08-23 20:45:49 +01:00
Allanis
5e1ac24f68 [Fix] Error when loading a player after another with sound. 2013-08-23 20:25:30 +01:00
Allanis
897bc36111 [Change] Re-wrote entire sound system with SDL_mixer. 2013-08-23 20:18:04 +01:00
Allanis
ae1cc7c494 [Add] Make assert(0) on WARN optional with DEBUG_PARANOID. 2013-08-22 18:31:28 +01:00
Allanis
5ddb5fff94 [Fix] Bug introduced by assert in WARN/ERR change. 2013-08-22 18:22:18 +01:00
Allanis
95c9cef39c [Add] New ships/fleets 2013-08-21 21:11:47 +01:00
Allanis
64e9e2e674 [Change] Some default key bindings to avoid problems with some SDL versions. 2013-08-19 23:32:26 +01:00
Allanis
a234593091 [Change] WARN and ERR now generate asserts in debug mode. 2013-08-19 23:27:47 +01:00
Allanis
a4d1ed9f6d [Change] Weakened the rumble effect. 2013-08-17 15:40:49 +01:00
Allanis
ce15505f7e [Change] Added punctuation to player_message()s 2013-08-17 15:37:05 +01:00
Allanis
a60c84465f [Change] Now using normal distibution for accuracy for weapons (clamped). 2013-08-16 13:45:42 +01:00
Allanis
f3ce7cfb34 [Fix] Faction comparison should be >0 not != 0. 2013-08-15 16:17:26 +01:00
Allanis
17b4e1d44b [Change] Swapped DEBUG's out for WARN's, it makes more sense.. 2013-08-15 16:15:03 +01:00
Allanis
aade673567 [Fix] Segfault when popping a task without a next task. 2013-08-15 13:36:25 +01:00
Allanis
aafeaa43cd [Fix] No longer seg fault if can't find a known system in a save file. 2013-08-15 13:26:07 +01:00
Allanis
719bb753a2 [Change] Improved enemy and turret ai, they hit a lot now!
-- also improved the global attack() ai.
2013-08-14 16:48:32 +01:00
Allanis
d4fe47f184 [Fix] ai.brake. 2013-08-14 10:50:50 +01:00
Allanis
0277fcc750 [Fix] Turrets causing seg fault when there is no target. 2013-08-12 09:39:10 +01:00
Allanis
284823ce25 [Add] Minor sanity checks. 2013-08-12 09:26:59 +01:00
Allanis
520ce4a9d6 [Change] Moved commodity text a little lower. 2013-08-11 18:40:52 +01:00
Allanis
35969bab38 [Add] Can now override pilot AI in a fleet.
[Change] Made fleet_parse() more up to date with xml.h
2013-08-10 20:23:06 +01:00
Allanis
b9c1f021b2 [Change] ai.exists() is more lenient with bad parameters. ;) 2013-08-10 18:04:39 +01:00
Allanis
51db82aa25 [Add] Some error checking in nebulae subsystem to avoid infinite loop. 2013-08-10 17:36:08 +01:00
Allanis
430fe0bb1f [Change] Thrust is per ton, makes more sense. 2013-08-10 17:11:49 +01:00
Allanis
e10841653d [Fix] Improved sanity on some AI functions. 2013-08-10 16:11:54 +01:00
Allanis
562ba56aab [Change] ai.exists() should return false if pilot is dead. 2013-08-10 12:42:23 +01:00
Allanis
4e7f7c73e5 [Remove] Forgot to take out debug message. 2013-08-10 12:33:28 +01:00
Allanis
cd1565a6d5 [Change] Tweaked faction hits to be more useful. 2013-08-10 12:32:06 +01:00
Allanis
03972e305a [Fix] Map fix for multiple faction bug. 2013-08-10 12:23:06 +01:00
Allanis
515c951078 [Change] It should be easiar to lose a faction than it is to gain it. 2013-08-10 12:21:15 +01:00
Allanis
79411d240e [Change] Unified colouring schemes. 2013-08-09 20:45:17 +01:00
Allanis
47f132a467 [Change] Made rating/faction gain not linear. 2013-08-09 20:19:47 +01:00
Allanis
c58223606b [Change] faction_modPlayer() now affects allies and enemies.
[Remove] Alliance references.
2013-08-09 18:11:43 +01:00
Allanis
c792e75240 [Change] Make map check if faction is -1. 2013-08-09 16:37:40 +01:00
Allanis
dc9332dc08 [Change] Made RNG() more robust. 2013-08-09 16:35:31 +01:00
Allanis
95d8eff1c5 [Add] Messages now fade away all sexy like. 2013-08-09 16:24:48 +01:00
Allanis
4d53076677 [Add] Uninhabited planets now show up as so on the radar. 2013-08-09 16:14:49 +01:00
Allanis
aa8408022d [Fix] Clear player lockons when running space_init(). 2013-08-09 13:49:11 +01:00
Allanis
6e0c3cd2d0 [Add] New outfit: Military specific jammers. 2013-08-08 21:45:31 +01:00
Allanis
ea484174e0 [Fix] Missile resist should not be 100 times stronger. :/ 2013-08-08 18:37:43 +01:00
Allanis
115fa94cb8 [Add] Missiles can resist jamming. 2013-08-08 18:31:06 +01:00
Allanis
21ca77d439 [Change] Updated TODO. 2013-08-08 16:35:45 +01:00
Allanis
da83f105e0 [Add] Jammers are now implemented fully. 2013-08-08 16:31:08 +01:00
Allanis
fe1ab6ea0f [Add] Forgot to change energy units of jammer. 2013-08-07 21:07:57 +01:00
Allanis
0db99107e0 [Add] Jammers now loaded (not used yet). 2013-08-07 20:16:45 +01:00
Allanis
9bd191ddfe [Fix] Prevent menu_small from opening when dead. 2013-08-07 14:43:09 +01:00
Allanis
790bd9b472 [Change] Tweaked faction hits from combat a bit. 2013-08-07 14:30:03 +01:00
Allanis
30aaa7852d [Fix] You can no longer buy extra outfits. 2013-08-07 14:26:45 +01:00
Allanis
48353d7c79 [Fix] Missiles are working quite nicely now. 2013-08-07 14:20:02 +01:00
Allanis
6dbfe22d90 [Change] Missiles now hack the physics subsystem, Needs fixing. 2013-08-07 13:30:55 +01:00
Allanis
0bcc2c3135 [Add] vect_reflect() - Mirror a vector off another. 2013-08-07 12:14:47 +01:00
Allanis
4dbc934722 [Add] Another define: FABS. 2013-08-07 12:10:11 +01:00
Allanis
17fba238d1 [Add] Innitial attempt at a proper facing system, primarily for missiles. 2013-08-07 12:07:58 +01:00
Allanis
26099de520 [Fix] misn_condLibs() was missing space lib. 2013-08-06 19:46:15 +01:00
Allanis
e5d050c22d [Fix] Another memleak. :/ 2013-08-06 19:44:53 +01:00
Allanis
c9a9eea55e [Fix] Small memleak. 2013-08-06 19:41:32 +01:00
Allanis
2ec37b673e [Fix] var.push(). 2013-08-06 19:37:17 +01:00
Allanis
f2702222d4 [Fix] Sanitize player faction standing. 2013-08-05 19:56:57 +01:00
Allanis
71e0803b1a [Change] Order files with lfile_readDir by newest first. 2013-08-05 17:10:53 +01:00
Allanis
7c723db96b [Change] Adjust text height to faction name length. 2013-08-03 18:53:18 +01:00
Allanis
f26101197e [Fix] Removed extra offset added to gl_printHeight. 2013-08-03 18:40:47 +01:00
Allanis
a9c57f2cab [Add] Factions are now able to have long names. 2013-08-03 18:38:23 +01:00
Allanis
9d43435d4a [Change] Afterburn now breaks when you run out of energy. 2013-08-03 17:57:35 +01:00
Allanis
846f12cd65 [Add] You can now target unknown system nodes to fly to them. 2013-08-03 16:35:09 +01:00
Allanis
6ebb90dc23 [Change] You can no longer buy a star map if you already know the area. 2013-08-03 16:31:20 +01:00
Allanis
82b210e6cc [Change] Sanitized the pilot_get* a bit. 2013-08-03 15:45:56 +01:00
Allanis
c58e73ade2 [Fix] FPS limiting. 2013-08-03 15:00:26 +01:00
Allanis
44a37c0a2c [Change] Small cosmetic change in fps_control. 2013-08-03 14:30:16 +01:00
Allanis
489b972879 [Change] Render player ontop of target graphics. 2013-08-03 14:28:08 +01:00
Allanis
6bc5e6d5af [Add] You can now specify target graphic different from normal gfx. 2013-08-03 13:25:43 +01:00
Allanis
a76a98de2a [Fix] Let's not segfault if outfit isn't found.. 2013-08-03 12:43:48 +01:00
Allanis
62d37ab334 [Add] Warn if outfit isn't found. 2013-08-03 12:39:38 +01:00
Allanis
0480a2a74e [Change] Added more Lua parameter checking. 2013-08-01 16:30:30 +01:00
Allanis
5109958e29 [Fix] More mission string formatting weirdness. 2013-08-01 16:26:17 +01:00
Allanis
34dccfb646 [Fix] Hook memleak. 2013-08-01 16:23:21 +01:00
Allanis
1c7bd75537 [Fix] Let's not segfault if a mission is not found in the stack when saving. :/ 2013-07-31 20:24:14 +01:00
Allanis
af92dcaaff [Add] player.getRating(). 2013-07-31 20:15:38 +01:00
Allanis
c3d6cf553e [Add] More space planet graphics. 2013-07-31 19:26:26 +01:00
Allanis
80f2e21429 [Add] Conditionalize the player Lua API. 2013-07-30 15:59:24 +01:00
Allanis
413ced137d [Change] Fixed space.faction to allow to check easily for certain factions. 2013-07-28 17:48:05 +01:00
Allanis
9c6567195c [Add] space.faction to get the faction of a star system. 2013-07-27 18:02:14 +01:00
Allanis
10ea68c5c3 [Change] Cleaned up XML loading somewhat. 2013-07-27 15:14:55 +01:00
Allanis
4f6c5fb93f [Fix] Sanitized lua bindings a little. 2013-07-26 18:39:21 +01:00
Allanis
fb7c73aae4 [Fix] printHeight was using wrong width. 2013-07-25 21:45:41 +01:00
Allanis
d0b55f1d1b [Add] Loading screens!!! :D 2013-07-25 21:43:22 +01:00
Allanis
c7e2a69d91 [Change] Replaced unused and depricated gl_blitRotate with gl_blitScale. 2013-07-25 19:26:45 +01:00
Allanis
b4e325a9fe [Change] Removed alliance deal, now each faction states it's own allies/enemies. 2013-07-25 17:23:05 +01:00
Allanis
5de9fd60d9 [Fix] Stupid lua parameter stuff. 2013-07-24 20:21:22 +01:00
Allanis
bda8ebb204 [Remove] Taken nebulae puffs out of the main menu. 2013-07-24 17:35:23 +01:00
Allanis
2f9c91d451 [Fix] More correction in gl_freeTexture() 2013-07-24 17:33:18 +01:00