Commit Graph

1305 Commits

Author SHA1 Message Date
Allanis
69b05ae150 [Change] No point playing sound for entering hyperspace range when already jumping. 2013-10-04 01:36:52 +01:00
Allanis
89fd3509e9 [Add] OHHHHHH YEAAAAHHHHH!!! You can sell your ships now ladies! 2013-10-04 01:34:05 +01:00
Allanis
e2b8e738f5 [Add] Sanity check to spfx_add() 2013-10-04 01:08:53 +01:00
Allanis
4cac5ba5b2 [Add] Beam weapons require spfx and proper spfx usage. 2013-10-04 01:07:12 +01:00
Allanis
1177685e62 [Fix] Beam stops moving if enemy got destroyed. 2013-10-04 00:02:33 +01:00
Allanis
4340b8042c [Change] Tweaked beam aggro chance somewhat. 2013-10-03 01:17:11 +01:00
Allanis
0ae6b8cecd [Fix] Killed startup warning about missing 'turn' element on non-turret beams. 2013-10-03 01:15:08 +01:00
Allanis
566e96505f [Add] Display sound driver on init plox. 2013-10-03 01:11:08 +01:00
Allanis
2cade50bc9 [Fix] Possible race condition and improved sound_exit correctness. 2013-10-03 01:08:38 +01:00
Allanis
62f7986459 [Change] Make the start of beam not be so abrupt. 2013-10-03 01:01:39 +01:00
Allanis
5bf8a0b689 [Add] Sound should be fully positional now. 2013-10-02 01:17:01 +01:00
Allanis
cc34292293 [Add] Actively ask for doublebuffering. 2013-10-01 22:26:51 +01:00
Allanis
ebdfaad9a7 [Add] Improved sound system considerably, not used properly yet. 2013-10-01 22:12:39 +01:00
Allanis
810e4afb28 [Fix] Just a few lame typos. 2013-10-01 00:13:03 +01:00
Allanis
6dd9de9835 [Fix] Some obscure bugs like not being able to shoot secondary weapons right away. 2013-09-30 22:43:33 +01:00
Allanis
090bcb96c8 [Add] You can now cancel beams as secondary weapon instead of having to hold shift. 2013-09-30 22:34:46 +01:00
Allanis
4d8b462359 [Add] First round to bring more control to beam weapons. 2013-09-30 22:29:53 +01:00
Allanis
70d4987a00 [Add] starting to add sound for beam weapons. Sound system could do with an overhaul tbh. 2013-09-29 21:25:59 +01:00
Allanis
1a03c08672 [Add] Documented joystick.c 2013-09-29 01:29:43 +01:00
Allanis
8516b33391 [Add] Beam weapons now render properly. 2013-09-25 20:45:14 +01:00
Allanis
f2144b1053 [Change] Fewer explosions with beam weapons. 2013-09-24 23:31:44 +01:00
Allanis
55bb07c560 [Add] More improvements for beam turrets, they also use energy properly now.
[Add] New outfit: Ragnorak beam.
2013-09-24 22:22:41 +01:00
Allanis
5832239b74 [Change] Render spfx in reverse order. 2013-09-24 21:35:24 +01:00
Allanis
71ab2d863f [Add] Added outfit states and beam hit function. Also added compile option for clang. 2013-09-23 22:59:01 +01:00
Allanis
06ea30d96e [Add] Beam weapons now use delay and duration. 2013-09-23 21:04:56 +01:00
Allanis
7030d97402 [Change] Some cleaning up and more documentation of outfit.* 2013-09-23 20:58:55 +01:00
Allanis
f0336e14af [Change] Improved some of the shooting handling. 2013-09-23 20:28:12 +01:00
Allanis
81fd657540 [Add] Documented board.c 2013-09-22 16:24:33 +01:00
Allanis
4674fe7248 [Add] Documented faction.c 2013-09-22 16:07:44 +01:00
Allanis
2e444ff54b [Change] Split beam/bolt loading logic. 2013-09-21 21:30:51 +01:00
Allanis
5557963d1f [Change] Made outfit.h sexier. 2013-09-21 21:09:48 +01:00
Allanis
1ad17e0dae [Fix]? F*ck collisions!! I'll fix it tomorrow. kbai. 2013-09-20 23:36:28 +01:00
Allanis
b8a4d4fe37 [Fix] LineSprite is almost working flawlessly. 2013-09-20 23:11:38 +01:00
Allanis
8bf7a67af7 [Add] Some more beam support stuff. 2013-09-19 22:35:06 +01:00
Allanis
c969041367 [Add] Making room for some beam weapons. 2013-09-19 22:15:18 +01:00
Allanis
9f8b1be682 [Add] Some untested collision detection routines. 2013-09-15 22:34:11 +01:00
Allanis
b31fda7ce8 [Add] Input dialogues can now be cancelled and return NULL. 2013-09-15 21:39:51 +01:00
Allanis
7f10a1e69e [Add] Documented pack.* 2013-09-14 22:56:57 +01:00
Allanis
2cb22a8b7a [Change] Some code quality improvements. 2013-09-14 01:02:01 +01:00
Allanis
e9985fc8ca [Change] Improved accuracy of collision on explosions. 2013-09-12 16:10:36 +01:00
Allanis
b88bba7bdb [Fix] Bug when exiting with rumble effect not cleared. 2013-09-12 15:36:01 +01:00
Allanis
687ed47839 [Fix] Segfault if not checking for player when displaying small_menu. 2013-09-12 15:34:10 +01:00
Allanis
584f56e2a0 [Change] Check for GL_ARB_fragment_program instead of GL_ARB_fragment_shader. 2013-09-12 15:32:06 +01:00
Allanis
7b77faa53e [Fix] Fixed double free if an invalid faction was loaded. 2013-09-11 23:40:59 +01:00
Allanis
ef10443cda [Add] Documented space.h 2013-09-10 02:24:14 +01:00
Allanis
b44fb505cd [Add] Documented Pilot.h 2013-09-09 01:31:14 +01:00
Allanis
e1a43e2248 [Add] Documented ai.h. 2013-09-07 19:07:01 +01:00
Allanis
d1df9aeaae [Add] Pilot death explosion sounds.
[Add] More documentation.
2013-09-06 19:45:24 +01:00
Allanis
aa58ab2ef1 Merge branch 'testing' 2013-09-06 16:45:36 +01:00
Allanis
2533439f1b [Add] Audio noise when player enters jump-safe zone. 2013-09-06 16:45:01 +01:00
Allanis
a8fe667a34 Merge branch 'testing' 2013-09-06 16:38:09 +01:00
Allanis
fc3276464a [Add] Targetting sounds implemented.
[Add] More doxygen.
2013-09-06 16:37:38 +01:00
Allanis
c7ce52127a Merge branch 'testing' 2013-09-05 13:32:51 +01:00
Allanis
eae283417f [Add] Partially documented pilot.c 2013-09-05 13:32:30 +01:00
Allanis
1c09245b6c Merge branch 'testing' 2013-09-04 15:19:56 +01:00
Allanis
9178376c28 [Change] Split engine sounds and GUI sounds for player.
[Fix] Some issues in sound.c
[Add] More documentation.
2013-09-04 15:19:04 +01:00
Allanis
9faea8acaa [Add] music.c is documented. 2013-09-03 19:50:58 +01:00
Allanis
ffdb20f50b [Add] Fully doxygenized sound.c 2013-09-03 15:16:32 +01:00
Allanis
d3173f2949 [Add] player.c is now partially documented. 2013-09-02 17:08:51 +01:00
Allanis
ca4c910ec8 [Add] Preliminary doxygen support. 2013-08-31 14:19:36 +01:00
Allanis
de91ebd91f [Fix] Bug concerning not being able to shoot seeker weapons. 2013-08-30 17:54:02 +01:00
Allanis
e20b45a383 [Fix] Resource editor somehow destroyed all the planet techs. 2013-08-30 16:47:12 +01:00
Allanis
e4b72c0302 [Fix] Planets with 0 tech won't segfault anymore. :/ 2013-08-30 16:31:59 +01:00
Allanis
b387cf0da7 [Add] faction_modPlayerRaw and the misn bindings for it. 2013-08-29 15:30:55 +01:00
Allanis
01b3f2f77b [Change] AI now use more weapon types and uses them more wisely.
[Add] Draktharr gets mace rockets.
2013-08-28 15:08:22 +01:00
Allanis
74c0297b02 [Add] New Outfit. Also implemented dumb missiles. 2013-08-27 20:14:52 +01:00
Allanis
cc437a51e6 [Add] Can now handle outfit places without outfits. 2013-08-27 14:22:48 +01:00
Allanis
582afbd617 [Change] Using atan2 instead of atan. 2013-08-26 16:44:00 +01:00
Allanis
014ba77361 [Change] Improved the faction colouring a little. 2013-08-26 16:41:37 +01:00
Allanis
871a57ecd7 [Add] More faction validity checking. 2013-08-26 16:38:37 +01:00
Allanis
a9780b6c4d [Fix] Bug that converted a 100% chance mission to 0%.. 2013-08-26 15:40:28 +01:00
Allanis
569c77ab80 [Fix] Bug where hooks would not get removed properly. 2013-08-26 15:37:21 +01:00
Allanis
68a82bd3c9 [Fix] Mission emp_collective00.lua is working again. 2013-08-26 15:23:27 +01:00
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
Allanis
e1308dc570 [Add] Pilots lose their cargo when the die. 2013-07-24 16:59:28 +01:00
Allanis
8a294f76c0 [Add] Fancy cargo graphics for when jettisoning. 2013-07-24 16:38:07 +01:00
Allanis
d6643b0a51 [Fix] More warnings. 2013-07-24 16:10:13 +01:00
Allanis
1d734e7898 [Fix] More memory related fixes. 2013-07-24 15:10:24 +01:00
Allanis
1f3947bc49 [Fix] A few memleaks. 2013-07-24 14:59:23 +01:00
Allanis
a0f6dec666 [Add] You can jettison cargo now. :) 2013-07-23 21:37:14 +01:00
Allanis
8cac584d45 [Add] Here is something you have been waiting for, for a long time! Cargo window in info panel. :P 2013-07-23 21:17:36 +01:00
Allanis
23733b032f [Add] Oh, and the lack of them. 2013-07-23 21:00:30 +01:00
Allanis
cf5f8c8c48 [Add] Map informs you of available services. 2013-07-23 20:59:02 +01:00
Allanis
cf1bf0d647 [Add] Allow to move or get window positions after creation.
[Change] Simplified window position creation.
[Add] More comments for window creation.
2013-07-23 20:42:17 +01:00
Allanis
b680520738 [Fix] Spelled "Dangerous" wrong. :/ 2013-07-23 14:13:12 +01:00
Allanis
7376a30527 [Add] Display whether or not a system has nebulae. 2013-07-23 14:11:48 +01:00
Allanis
8ef0ada807 [Add] Map now displays faction standing of star system. 2013-07-23 14:00:14 +01:00
Allanis
b65385a1bd [Change] Accidently pushed a small NEBULAE_Z. :/ 2013-07-23 12:56:53 +01:00
Allanis
3fcdc8e288 [Fix] Segfault with calculating new position of nebulae with no player. 2013-07-23 12:54:19 +01:00
Allanis
352083a0ce [Fix] Forgot to change free. 2013-07-23 12:52:15 +01:00
Allanis
11e5607477 [Change] Load gfx_exterior for planets only on demand. 2013-07-23 12:49:50 +01:00
Allanis
11b31c9be7 Merge branch 'testing' 2013-07-23 12:13:45 +01:00
Allanis
dcaa96b5e9 [Fix] Rumble can no longer "leak" over to menu, nebulae etc. 2013-07-23 12:13:06 +01:00
Allanis
20ec0cb848 Merge branch 'testing' 2013-07-23 12:01:30 +01:00
Allanis
7eca1ff5b9 [Change] Toned down the effect of rumble a little. 2013-07-23 12:00:47 +01:00
Allanis
c4705b7142 [Fix] A bug in window_create, it's been there since forever. :P 2013-07-22 18:51:27 +01:00
Allanis
1d5a88ba95 [Add] Nebulae is now ingame! Have a screenshot?
http://saracraft.net/projects/Lephisto/nebu_ingame.png
2013-07-22 18:41:36 +01:00
Allanis
cc37706fb1 [Change] Puffs of nebulae now look more visually pleasing. 2013-07-22 17:58:44 +01:00
Allanis
497081b3ed [Change] Split player rendering properly into GUI and player. 2013-07-22 17:21:28 +01:00
Allanis
092b48651d [Change] Restructured a little to prepare for puffs of nebulae. 2013-07-22 15:53:09 +01:00
Allanis
1e7d19b2a6 [Change] Moved some code from perlin to nebulae. 2013-07-22 12:06:55 +01:00
Allanis
7b7ddae70e [Add] Rolled my own, much better python xml writing scheme. 2013-07-22 10:27:13 +01:00
Allanis
240869046b [Fix] dt weirdness on low fps. 2013-07-21 16:03:32 +01:00
Allanis
e066250c1f [Change] Improved nebulae system. 2013-07-21 15:58:58 +01:00
Allanis
ea3573404f [Fix] Nebulae overlay. 2013-07-21 15:35:30 +01:00
Allanis
7ea6e809e8 [Change] Increased star map size. 2013-07-21 13:37:11 +01:00
Allanis
df8af779ee [Add] Star system can now set nebuale density and volatility. 2013-07-21 13:33:43 +01:00
Allanis
9fb781d27e [Fix] Rumble no longer affects nebulae. 2013-07-21 13:29:05 +01:00
Allanis
2381ca3a36 [Fix] spfx_clear() also clears rumble. 2013-07-21 11:40:32 +01:00
Allanis
e331a8e8b6 [Fix] Map giving stats about unknown systems. 2013-07-21 11:33:44 +01:00
Allanis
6e3417907f [Fix] Segfault with creating new pilot. 2013-07-21 11:25:20 +01:00
Allanis
42a57d09e9 [Add] space_renderOverlay(). 2013-07-21 11:13:53 +01:00
Allanis
862ef7759b [Change] Split the star rendering to be able to switch to nebulae soon. 2013-07-20 19:17:10 +01:00
Allanis
475aa1f1fa [Add] Check for multitexture abilities and texture leaks. 2013-07-20 19:06:36 +01:00
Allanis
5584c3171c [Add] Gave menu screen a nice finished look. 2013-07-19 20:12:24 +01:00
Allanis
17db004ba1 [Fix] Tweaked a little bit, and the transitions is perfectly smooth now. 2013-07-19 19:18:04 +01:00
Allanis
86f7480826 [Add] Animated nebulae ftw!!! 2013-07-19 19:05:01 +01:00
Allanis
06fec494a5 [Fix] Nebulae is now fully working. 2013-07-19 15:01:48 +01:00
Allanis
cd158e5102 [Add] Nebulae almost working, There is a major graphical bug however. 2013-07-19 14:25:15 +01:00
Allanis
86b2ef3fe1 [Add] Initialize nebulae and use it in menu. 2013-07-15 12:24:51 +01:00
Allanis
fefc7e793c [Add] Nebulae render function. 2013-07-14 15:09:39 +01:00
Allanis
02e136520e [Add] -G option to force regeneration of nebulae. 2013-07-13 16:56:08 +01:00
Allanis
897fb9918d [Add] Now we will initialize the nebulae. 2013-07-13 16:38:29 +01:00
Allanis
40df85b5ab [Change] Some needed cleanup in perlin noise stuff. 2013-07-12 22:33:03 +01:00
Allanis
243795e068 [Add] Give errors on unsupported OS code. 2013-07-12 19:11:10 +01:00
Allanis
5ed5cf6b6d [Change] Hardcoded everything to have three dimensions. [perlin noise.] 2013-07-12 19:05:39 +01:00
Allanis
02e8b560fa [Fix] Forgot to give prototype for noise_generateNebulae(). 2013-07-12 17:45:24 +01:00
Allanis
ec6cabf2fe [Add] Some SSE stuff for speedups. 2013-07-11 18:44:37 +01:00
Allanis
1442259c0b [Add] Nebulae generation code. (Not using it at the minute). 2013-07-11 17:43:33 +01:00
Allanis
e4e7bf4b17 [Add] save png method to save a surface to a file as png. 2013-07-11 16:42:18 +01:00
Allanis
4fd8308706 [Change] Moving things around a litting in perling.* I made a little mess. 2013-07-11 16:16:38 +01:00
Allanis
2d1040b703 [Fix] Stupid me, last commit I was checking for a prefix instead of suffix. :/ 2013-07-11 16:01:55 +01:00
Allanis
4c1ee89ffb [Add] Fancy new "cloud" generator. This needs some heavy tweaking/cleanup. 2013-07-10 22:58:31 +01:00
Allanis
b8bafb4700 [Add] More planet functions for ai: ai.getrndplanet() and ai.getlandplanet(). 2013-07-10 19:30:58 +01:00
Allanis
09636a6c90 [Change] Need to run enter and takeoff hooks on load game. 2013-07-10 18:39:16 +01:00
Allanis
abab808387 [Fix] Bug with changing hyperspace path after selecting a route. 2013-07-10 18:32:13 +01:00
Allanis
2ec09b0ee3 [Add] ai.haslockon() to check for locked on missiles. 2013-07-10 18:04:36 +01:00
Allanis
7a6f27da43 [Add] Warn the player when a missile is locked onto her. 2013-07-09 19:03:03 +01:00
Allanis
f7c10bf329 [Add] Pilots now keep track of how many weapons are locked onto them. 2013-07-09 18:53:55 +01:00
Allanis
1f8e6a22fe [Change] Merged together some semi-redundant code in weapon_create. 2013-07-09 17:17:53 +01:00
Allanis
dcf093b13e [Add] Two new hooks: Board and disable. Also made lua debug more verbose. 2013-07-09 16:11:14 +01:00
Allanis
6099849f4f [Fix] A few warnings. 2013-07-08 22:34:19 +01:00
Allanis
c8b99cb35f [Change] Increased AL_GAIN somewhat. 2013-07-08 22:11:21 +01:00
Allanis
a580cdeed3 [Change] ai.dist() now accepts pilot id's as parameter. 2013-07-07 19:11:14 +01:00
Allanis
ef5a8e5a5f [Fix] Few lua script fixes. 2013-07-06 21:42:29 +01:00
Allanis
10418a5ba9 [Change] Knockback is now dependent on DamageType. 2013-07-06 19:10:34 +01:00
Allanis
698b22a324 [Change] Player no longer "hardcoded" into pilot_stack[0]. 2013-07-06 17:28:26 +01:00
Allanis
715fecfa03 [Change] Missed another /2 in binary pilot search. 2013-07-06 16:44:54 +01:00
Allanis
ab277eabb4 [Change] pilot_free uses memmove. 2013-07-06 16:42:28 +01:00
Allanis
30b6dfed77 [Add] Weapons save their faction and take that into account. 2013-07-06 16:35:42 +01:00
Allanis
71fdcffd07 [Add] Ai now calculates optimal distance when shooting. 2013-07-06 16:28:00 +01:00
Allanis
00fbe34b62 [Fix] Bug with unlimited range turret bolts. 2013-07-06 15:34:33 +01:00
Allanis
bbc46d0eef [Fix] Segfault when player dies. 2013-07-06 15:29:01 +01:00
Allanis
7a66419f7c [Fix] Fuel loads properly now. 2013-07-06 14:46:06 +01:00
Allanis
26211ee1f5 [Change] Switched SPFX timers to something more sane. 2013-07-06 13:02:34 +01:00
Allanis
90707480d9 [Change] Swithced weapon timer methods to something a little more sane. 2013-07-05 15:33:07 +01:00
Allanis
8213cb9f48 [Change] Switched l+(h-l)/2 to (h+l) >> 1 in binary search. 2013-07-04 13:43:24 +01:00
Allanis
19e3e818a4 [Change] Renamed pilots and mpilots to pilot_nstack and pilot_mstack. 2013-07-04 13:33:38 +01:00
Allanis
c20fe36c27 [Change] Place turrets before missiles. 2013-07-03 17:44:55 +01:00
Allanis
8e6e690388 [Change] Outfit_getTech now sorts by type and price. 2013-07-02 13:11:25 +01:00
Allanis
9dc797a8a3 [Add] Just a few more comments. :/ 2013-07-01 19:49:13 +01:00
Allanis
203079bcfa [Add] Check for errors when using "include". 2013-06-30 17:19:40 +01:00
Allanis
05fe285d87 [Change] Now load the basic lua stuff. 2013-06-30 17:17:09 +01:00
Allanis
cad5bd932c [Change] No longer calling luaopen directly. 2013-06-30 17:07:06 +01:00
Allanis
d692035039 [Add] Lua wrappers for luaL_newState and luaopen_base. 2013-06-29 17:58:01 +01:00
Allanis
185039ae62 [Change] Cleaned up some variable/function names, also added -Wshadow CFLAG. 2013-06-28 16:08:56 +01:00
Allanis
5eff5317c6 [Add] Using -Wpointer-arith flag. 2013-06-28 13:23:01 +01:00
Allanis
14fed140c3 [Change] A little opengl code cleanup. 2013-06-28 13:05:32 +01:00
Allanis
c70b87743c [Change] Let radiation weapons do a bit more shield damage. 2013-06-27 23:22:34 +01:00
Allanis
c8c23ef4bb [Change] Death menu button labels. 2013-06-27 23:03:27 +01:00
Allanis
d53caec803 [Change] Renamed ships to ship_nstack to follow current convention. 2013-06-26 21:21:46 +01:00
Allanis
a041751ec1 [Add] More debug magicz for misn_lua. 2013-06-26 20:54:12 +01:00
Allanis
692fb388df [Add] Missions can now mark systems. [Fix] Seg fault when switching pilots. 2013-06-26 00:28:16 +01:00
Allanis
73d8e18a2a [Add] Fuel is saved too now. 2013-06-25 22:34:15 +01:00
Allanis
d11eabd358 [Add] New outfit: Star map, allows you to see two jump points from current location. 2013-06-25 22:21:56 +01:00
Allanis
5760978e56 [Change] Moved A* jump pathfinding from space.c to map.c. 2013-06-25 21:07:54 +01:00
Allanis
700e47cd57 [Add] Use flags now for systems to allow missions to mark them. 2013-06-24 21:48:57 +01:00
Allanis
6c3d96ba51 [Add] Pathfinding avoids unknown systems. 2013-06-23 20:42:33 +01:00
Allanis
10a4791d81 [Add] Magor: You don't already know all the star system location. Go explore. 2013-06-23 19:22:07 +01:00
Allanis
b0d4415cff [Change] No longer use int id's for outfit types. [Add] Heavy Ion Turret. 2013-06-23 16:42:16 +01:00
Steven Arnow
84c90b5c97 Your SDL include lines .-. 2013-06-23 16:21:16 +02:00
Allanis
1d2b530fdc [Add] New damage types: Ion and Radiation. 2013-06-23 15:02:05 +01:00
Allanis
0941c2d2d7 [Fix] Button getting selected when it shouldn't. 2013-06-23 13:32:34 +01:00
Allanis
046259db79 [Change] Lowering default ms delay to trigger afterburner from 500 to 200. 2013-06-23 13:28:32 +01:00
Allanis
1051a39a09 [Fix] Now you can't rumble afterburner when in toolkit or hyperspacing. 2013-06-23 13:24:29 +01:00
Allanis
fed0d8c798 [Add] New ship to system. 2013-06-23 13:20:22 +01:00
Allanis
07f69e58c6 [Change] Turns out pairs is in the lua base library and we need that. 2013-06-23 13:00:00 +01:00
Allanis
a99c82b47c [Add] Another ship! :D 2013-06-23 12:56:54 +01:00
Allanis
b7b590ba8f [Fix] Oh, --help was wrong about width and hight setting. :/ 2013-06-23 01:03:58 +01:00
Allanis
a2ee4ea0ee [Change] Optimised image loading, loading graphics once only. 2013-06-23 00:10:58 +01:00
Allanis
53f1da128c [Change] Make ships appear to enter from hyperspace, I'm not completely satisfied yet. 2013-06-22 22:01:19 +01:00
Allanis
9cfb07eb59 [Change] Lowered threshold to skip frames (now under 4FPS skips). 2013-06-22 21:50:11 +01:00
Allanis
7fd06bd265 [Fix] Doxygen comments. 2013-06-22 21:48:25 +01:00
Steven Arnow
858295b3f4 Ahem. Forgot headers. Apparently, all the source/header should be updated. Woops 2013-06-22 22:17:28 +02:00
Steven Arnow
a2bb0df939 All C++-comments in src/ should now be C89 comments 2013-06-22 22:10:25 +02:00
Allanis
d8705a6f7a [Fix] New player cleanup stuff. 2013-06-22 20:43:57 +01:00
Allanis
d195480622 [Change] Formalized space station types. 2013-06-22 19:21:51 +01:00
Steven Arnow
efa8b80eb9 Added NULL-pointer check for testing purposes 2013-06-22 18:51:14 +02:00
Allanis
03ca0bf5d2 [Add] Adding a ton more systems, optimised graphics etc. 2013-06-22 17:19:13 +01:00
Allanis
883523e1e5 [Fix] Another seg fault with music system when disabled. 2013-06-22 15:37:56 +01:00
Allanis
dca1a33c36 [Fix] Problems with system with one unlandable planet. 2013-06-21 23:30:10 +01:00
Allanis
3f269033be [Fix] Segfault when running Lephisto muted. 2013-06-21 22:02:21 +01:00
Allanis
f5039ca320 [Change] Cosmetic tweakage. 2013-06-21 20:34:01 +01:00
Allanis
47cf24d254 [Fix] A* bugs where because of a typo. Changed to Djikstra now though. 2013-06-16 16:24:39 +01:00
Allanis
bc0ebf678e [Fix] Pathfinding doesn't seg fault anymore? 2013-06-16 16:05:04 +01:00
Allanis
7547bb80c5 [Change] Exiting from a game drops you to main menu instead of simply quiting. 2013-06-16 12:45:51 +01:00
Allanis
5800461f1d [Add] Possibility to delete save games. 2013-06-16 02:25:04 +01:00
Allanis
2120f5da90 [Fix] Accidently used assignment operator rather than logical to check if a file exists. :/ 2013-06-16 02:09:58 +01:00
Allanis
234a73635c [Fix] Forgot to load snd/music.lua into packfile. 2013-06-16 01:12:59 +01:00
Allanis
25cd9e3ae5 [Fix] type trying to enable a button. 2013-06-15 20:29:11 +01:00
Allanis
7e0963ad35 [Fix] Possible buffer overflows with strncpy. 2013-06-14 13:50:08 +01:00
Allanis
edd3f9cd54 [Add] Doxygen support. 2013-06-11 23:56:43 +01:00
Allanis
16baff189e [Change] Added a few nazi flags, and fixed code up a little. 2013-06-11 22:50:04 +01:00
Allanis
56d0b46b14 Merge branch 'testing' 2013-06-10 21:16:22 +01:00
Allanis
d5b80c1522 [Change] Improved music handling. 2013-06-10 21:15:48 +01:00
Allanis
5864bf9cdf Merge branch 'testing' 2013-06-10 19:20:15 +01:00
Allanis
82f724eb04 [Add] Music is now controlled by lua, now we can set music based on scenario. ^.^ 2013-06-10 19:19:26 +01:00
Allanis
5e975e5d3b Merge branch 'testing' 2013-06-10 00:42:44 +01:00
Allanis
3c4383b325 [Change] Cleaned up the ai lua wrappers a bit, needs plenty more work. 2013-06-10 00:42:08 +01:00
Allanis
f15b2b50a6 Merge branch 'testing' 2013-06-09 19:35:16 +01:00
Allanis
e57c6768b7 [Change] Began cleaning lua wrappers up a bit. 2013-06-09 19:33:26 +01:00
Allanis
8976622b73 [Change] Make sounds play fully. 2013-06-09 17:09:35 +01:00
Allanis
331cc86c98 [Fix] Potential issues with reallocs. Added more comments too. 2013-06-09 17:04:44 +01:00
Allanis
44dbdaaf91 [Fix] Changed some input things to hopefully prevent blocking. 2013-06-09 16:39:48 +01:00
Allanis
ebb67fd966 [Fix] Forgot to exit alut. 2013-06-09 16:21:37 +01:00
Allanis
12eae87db9 [Add] Shoot me. But I have added alut as a dep. It loads sounds well. Engine sounds are now playing too. 2013-06-09 16:19:54 +01:00
Allanis
8d3d58ffb4 [Things] An assortment of fixes, also added afterburner sounds. 2013-06-06 21:44:57 +01:00
Allanis
b2eb68d38c [Fix] Typo errors..... 2013-06-04 20:28:56 +01:00
Allanis
7f74fbfff4 [Fix] Some sound cleanup and fixed potential bugs. 2013-06-04 19:43:39 +01:00
Allanis
7fc15f650c [Fix] Corrected small desciation on all sprites. 2013-06-04 17:02:42 +01:00
Allanis
fb326610f6 [Fix] [Phase 4] Clean up sounds a better. Fixed segfaults. Added some more sounds. 2013-06-04 16:58:38 +01:00
Allanis
f191a1d824 [Fix] [Phase 3] Sound is enabled by default again. 2013-06-04 16:40:30 +01:00
Allanis
2ac26a5aed [Fix] [Phase 2] Almost there, Don't use this build, it is unstable. 2013-06-04 16:32:15 +01:00
Allanis
6870dd2057 [Add] Sound System [Phase 1] Cleaned up and made a few fixed ready for [phase 2.] 2013-06-04 16:08:59 +01:00
Allanis
65e25f6ce0 [Change] Moved from damage_armour and co, to just damage and damagetype. 2013-06-04 12:06:39 +01:00
Allanis
493f67691e [Change] New philosophy. When you swap ships, your cargo should stay with you, will fix issues. Also, major outfit add/rm cleanup. 2013-06-03 22:22:50 +01:00
Allanis
123ddb3d46 [Add] Cargo affects weight. Also fixed bug when changing ships. 2013-06-02 16:43:16 +01:00
Allanis
28e936b828 [Change] Use a config file from home directory. 2013-06-02 16:28:37 +01:00
Allanis
00730b50a7 [Clean] gl_screen.[wh] = SCREEN_[WH] in most places. 2013-06-02 14:43:24 +01:00
Allanis
d8f3372abe [Fix] Some outstanding bugs in OpenGL textures. 2013-06-02 14:12:15 +01:00
Allanis
a6805df42d [Fix] Segfault when trying to land on a system with no planets. 2013-06-02 13:57:00 +01:00
Allanis
fee98162a6 [Fix] OpenGL blitting stuff. 2013-06-01 21:59:08 +01:00
Allanis
61cb4a3f67 [Change] Have pilots re-calculate cargo load when calculating stats. 2013-06-01 20:25:40 +01:00
Allanis
d0171998c4 [Fix] Delete a hook that shouldn't be there for some reason it get's stuck.
[Fix] Makefile infinate loop.
2013-06-01 19:49:14 +01:00
Allanis
cec46124f8 [Change] Updated TODO. 2013-06-01 19:37:52 +01:00
Allanis
9701687dc7 [Fix] I haz been told that older versions of gcc won't compile this. I say FFFFUUUUU!! 2013-06-01 19:34:40 +01:00
Allanis
273607eda0 [Add] You can now use lua as conditions for missions. 2013-06-01 19:11:38 +01:00
Allanis
848a5e120d [Fix] Added PLAYER_CREATING flag to fix all creation/death issues propperly. 2013-06-01 18:39:37 +01:00
Allanis
3ff2885fd2 [Fix] Annoying ass bug with overwriting a pilot that is dead!! 2013-06-01 18:11:56 +01:00
Allanis
f91505b950 [Change] Some code cleanup and made map a little more sane when selecting paths. 2013-06-01 18:07:45 +01:00
Allanis
91aa3268c0 [Fix] Slight graphical bug in map that VLack complained about, and I thing @medek. 2013-06-01 17:46:45 +01:00
Allanis
39871138e6 [Add] Conserve hyperspace path when taking off. 2013-06-01 17:39:20 +01:00
Allanis
6932ea8a8a [Add] Taken @medek 's advice and wrote my own saver for lua rather than using pluto. A lot cleaner and faster. 2013-06-01 17:31:50 +01:00
Allanis
304bc81ea1 [Add] mission/hook save disabled right now - Pluto is still being a bitch! 2013-05-30 18:33:15 +01:00
Allanis
d4e46a6210 [Clean] WTF is this?! 2013-05-25 18:01:25 +01:00
Allanis
a90f0d66c0 [Add] Missions are now loaded! Still need to load hooks for them to work. 2013-05-25 00:56:36 +01:00
Allanis
484b482c4b [Fix] Issue with pilot being marked as hostile when not hostile. :/ 2013-05-23 21:36:51 +01:00
Allanis
e4f76c9b08 [Add] Be a little trickiar when generating mission id's. 2013-05-23 21:34:42 +01:00
Allanis
97baac1c3e [Add] Comments to base64. 2013-05-23 21:30:49 +01:00
Allanis
a064eec5eb [Fix] Minor decode bug in base64 2013-05-23 21:26:05 +01:00
Allanis
0195e84cca [Change] Meh. 2013-05-23 20:26:09 +01:00
Allanis
5060e9b7ba [Change] Just a few bits of cleanup. 2013-05-23 20:13:41 +01:00
Allanis
ad212c78d1 [Fix] Killed warnings for base64 2013-05-23 19:50:13 +01:00
Allanis
7cf183ea88 [Fix] Base64 encoder/decoder actually werks now! 2013-05-23 19:46:23 +01:00
Allanis
1d2a0cfed4 [Add] Saving lua active mission states. Fixed Makefile to build pluto. 2013-05-23 17:58:23 +01:00
Allanis
8b12c22369 [Add] Start of base64 encode/decode routines. Not quite working yet. 2013-05-23 17:01:08 +01:00
Allanis
e77ac4a022 [Add] Simply added M_PI to lephisto.h for the people with strange setups. 2013-05-23 16:36:14 +01:00
Allanis
9eae9cf71c [Change] Rumble of the afterburners are now stored in outift.xml 2013-05-23 16:32:05 +01:00
Allanis
c7deebc62c [Add] Quick hack until active missions are saved. 2013-05-23 16:26:21 +01:00
Allanis
ef103b6548 [Fix] Prevent acceleration from sticking sometimes. 2013-05-23 16:24:44 +01:00
Allanis
71b68003f9 [Change] Missions increase/lower faction standing. Fixed bug with factions. 2013-05-23 16:17:53 +01:00
Allanis
d6f266323f [Fix] Bug with no death window apearing after cinematic view. 2013-05-23 15:10:28 +01:00
Allanis
05ed57907f [Change] Seperated cinematics into spfx. 2013-05-23 15:06:25 +01:00
Allanis
b860e38959 [Add] You can lose faction now, fixed ai to set you as hostile. 2013-05-23 14:31:41 +01:00
Allanis
26354ff28f [Add] Player faction standings are now saved and loaded. 2013-05-23 01:03:16 +01:00
Allanis
ce0bb15446 [Add] First player faction stuff. 2013-05-23 00:30:20 +01:00
Allanis
b5ec83322e [Add] Rumble the screen a little if you take armour damage. 2013-05-23 00:01:57 +01:00
Allanis
878172d32a [Add] Parametize chunks to realloc. Grow pilot and weapon stack. 2013-05-22 23:57:04 +01:00
Allanis
f271a2cbb8 [Add] Let's get ready to RUUUMMMBLLLEEEEE!! 2013-05-18 15:40:18 +01:00
Allanis
049b52fc79 [Change] Minor misn_lua cleanup and added pilot.rename(). 2013-05-17 02:25:54 +01:00
Allanis
75954df719 [Add] Now completed missions and mission variables are also loaded. 2013-05-17 02:02:56 +01:00
Allanis
ca675db52e [Change] Simply made a few things power of two. 2013-05-17 01:16:29 +01:00
Allanis
052c40897c [Add] Mods can now add cargo. Fixed rmOutfit bug. 2013-05-17 01:13:27 +01:00
Allanis
6ec1a2a407 [Add] Hellz yeah!! You can refuel when low now. 2013-05-16 21:47:04 +01:00
Allanis
d2da1f6df3 [Fix] Seg fault with map. 2013-05-16 21:31:39 +01:00
Allanis
709c611a20 [Add] Fuel info to ship information panel. 2013-05-16 21:26:17 +01:00
Allanis
960017f2f9 [Add] Fuel is now used ingame. 2013-05-16 19:25:56 +01:00
Allanis
b4d3bb72a8 [Fix] Silly map bug. 2013-05-16 19:18:12 +01:00
Allanis
25adf125e4 [Change] Preparations for adding fuel. 2013-05-16 19:15:00 +01:00
Allanis
5f2f57f6ee [Change] Some more minor cleanup that noone cares about. 2013-05-16 15:59:46 +01:00
Allanis
54cd8f90a1 [Add] Change dimensions from commandline. 2013-05-16 15:44:25 +01:00
Allanis
0815682bfc [Fix] Slight plasma fractal issue. 2013-05-16 15:35:57 +01:00
Allanis
856ea04d8d [Add] Prompt before overwriting pilot's save. 2013-05-16 15:18:12 +01:00
Allanis
2034a02f74 [Fix] *Mutters something about macro hell.* 2013-05-16 00:57:05 +01:00
Allanis
6552fc2cf2 [Change] Some openGL cleanup. 2013-05-16 00:09:39 +01:00
Allanis
8f7ec2fa09 [Add] Finally added opengl error checking in DEBUG builds. 2013-05-15 23:22:39 +01:00
Allanis
bd6281692b [Fix] Fullscreen: double free (someone should have told me not to free the ListModes :/ 2013-05-15 23:02:58 +01:00
Allanis
c4ede9fcce [Add] Check for shaders (not used yet). 2013-05-15 23:01:16 +01:00
Allanis
2f3cae5b6b [Fix] Fonts: off by one memory issue. 2013-05-15 22:39:11 +01:00
Allanis
1f5c05ac77 [Change] It's about time I optimised space_render. 2013-05-15 22:36:10 +01:00
Allanis
7b509e4e08 [Change] Save when taking off or quitting, instead of when landing as we need to save purchased ships etc. 2013-05-15 22:02:27 +01:00
Allanis
c1058cb7a5 [Fix] Mem leak: What if there is no files to load in load menu? 2013-05-15 21:57:37 +01:00
Allanis
46dfa4a8c3 [Add] You can now save and partially load games (mission is data is lost). 2013-05-15 21:53:03 +01:00
Allanis
2e7a2b6e18 [Add] More bindings ingame to avoid seg faults. 2013-05-15 21:19:59 +01:00
Allanis
4bcf431d31 [Add] Save version in savegame. 2013-05-15 21:16:00 +01:00
Allanis
3e51896bc1 [Fix] Screenshots save in home directory now as apposed to project directory. 2013-05-14 22:37:30 +01:00
Allanis
3f0faf7983 [Fix] Silly bug in Lephisto filesystem. 2013-05-14 22:34:05 +01:00
Allanis
fbcbea050d [Change] Might be an idea to gray out sell button when no outfits are available. 2013-05-14 22:26:15 +01:00
Allanis
b791a6e7dc [Add] Filesystem abstraction and path based stuff. 2013-05-14 22:16:10 +01:00
Allanis
c51612d764 [Add] Linux specific stuff for saving. 2013-05-14 21:39:00 +01:00
Allanis
a741250073 [Add] You can kinda load games, still need to fix some issues. 2013-05-11 20:59:12 +01:00
Allanis
92c7d549f0 [Change] Cleaned up a little XML parsing stuff. 2013-05-11 16:33:29 +01:00
Allanis
32adddc8d0 [Add] Save the completed missions. 2013-05-11 16:27:35 +01:00
Allanis
9c1a094f36 [Add] Save player variables. 2013-05-11 16:23:45 +01:00
Allanis
bc935960f8 [Fix] Annoying ass bug with mission disappearing when no cargo space left. 2013-05-09 18:15:56 +01:00
Allanis
95ee7852de [Change] Cosmetic GUI fixes. 2013-05-08 22:08:24 +01:00
Allanis
18b57ff29b [Fix] <blushes> Bugz. 2013-05-08 20:25:22 +01:00
Allanis
fa7138f907 [Fix] Couple bugs with saving. 2013-05-08 20:11:38 +01:00
Allanis
bb48d5ac23 [Add] Missions save code. Global save functions. 2013-05-08 19:45:38 +01:00
Allanis
e5620f86eb [Add] First commit of Lephisto save stuff. 2013-05-08 19:12:01 +01:00
Allanis
c609780acc [Add] Improved xml #define magic stuff. 2013-05-08 18:49:24 +01:00
Allanis
1bec93918e [Add] Few additions to lua mission wrappers ready for a new type of mission. 2013-05-06 23:18:36 +01:00
Allanis
f81016feed [Fix] I should have taken a career in bug extermination. 2013-05-06 21:57:27 +01:00
Allanis
1c9bc7ed9d [Add] Missions can now add fleets. 2013-05-06 17:14:32 +01:00
Allanis
c769e71c72 [Fixing] Y NO WERK!? 2013-05-05 21:07:07 +01:00
Allanis
8e1745bd7a [Add] Implemented pilot hooks with the "death" hook as an example. 2013-05-02 20:46:55 +01:00
Allanis
2e5606b845 [Fix] It's a seldom bug, but this will stop us from exploding while entering into hyperspace. 2013-05-02 20:29:16 +01:00
Allanis
2a76ee4d42 [Change] Improved ltime_pretty and increased time to do rush deliveries. 2013-05-02 20:24:53 +01:00
Allanis
2a502f5426 [Add] First time limit mission. 2013-05-02 20:18:34 +01:00
Allanis
6665424d97 [Add] Couple more commodities. 2013-04-28 09:23:16 +01:00
Allanis
b1ce5c83c6 [Add] You can now visually see the A* system paths now in map. 2013-04-24 18:42:02 +01:00
Allanis
57837e637a [Fix] Probably not the best fix for a mem leak, but eh. 2013-04-24 18:11:06 +01:00
Allanis
d58d3283a4 [Fix] Removed of a warning on 32bit machines. 2013-04-24 18:07:36 +01:00
Allanis
82ee8a41a7 [Add] Cargo missions take into account fright distance. 2013-04-24 18:05:49 +01:00
Allanis
472579aa2a [Add] A* algorithm to get paths between systems. 2013-04-23 22:57:46 +01:00
Allanis
ccb954324c [Change] Maybe that off-by-one thing is sw mesa issues. :s 2013-04-23 22:03:34 +01:00
Allanis
1391fabc65 [Change] Instead of seeding the MT with a bit of random, we use full urandom. 2013-04-23 22:01:18 +01:00
Allanis
ceb96b0f13 [Add] More hooks to mission lua and improved behaviour. 2013-04-22 16:13:58 +01:00
Allanis
3a4115ca5d [Change] Time units. 2013-04-22 14:56:12 +01:00
Allanis
0ab44366ea [Change] Minor map tweak. 2013-04-22 14:53:38 +01:00
Allanis
1e30edbc83 [Add] Date to player info window. 2013-04-22 14:49:42 +01:00
Allanis
5bfb1cb71e [Fix] Some long standing map issues. 2013-04-22 14:46:10 +01:00
Allanis
35bcabdf16 [Add] Using clipping planes on starmap for better results. 2013-04-22 14:30:07 +01:00
Allanis
b156c96662 [Add] Time bindings to mission lua. 2013-04-22 14:10:19 +01:00
Allanis
7c1816aa2b [Add] Time in the form of Galactic Date. 2013-04-22 14:02:15 +01:00
Allanis
5b29539c17 [Change] Make accel speed dependent, not thrust. 2013-04-20 15:30:33 +01:00
Allanis
9e2bda007b [Add] Missions can actually use flags now. 2013-04-20 15:25:40 +01:00
Allanis
209e75bda1 [Fix] Mission var stuff. 2013-04-20 14:58:14 +01:00
Allanis
a6bca29fa1 [Add] Log more verbose, and added a variable stack to missions. 2013-04-20 14:36:23 +01:00
Tamir Atias
f6b0171562 [Add] Code to prevent objects from free'd when they were already freed before. 2013-04-20 01:11:23 +03:00
Allanis
f2c7676846 [Add] Woops, forgot to save file before commiting.... 2013-04-19 20:23:39 +01:00