Commit Graph

1020 Commits

Author SHA1 Message Date
Allanis
e70bfacdcd [Add] Documented weapons. [Fix] Input dialogues. 2013-10-20 18:24:03 +01:00
Allanis
d4b945aca7 [Add] Documented glColour. 2013-10-20 17:43:46 +01:00
Allanis
8fa9b389b1 [Add] Documentation for fonts. 2013-10-19 23:14:06 +01:00
Allanis
93fd1eef4d [Add] Player can abort hyperspaec jump sequence. 2013-10-15 23:38:49 +01:00
Allanis
2fdeecaefa [Fix] NAV computer should always be green when in hyperspace mode. 2013-10-15 00:44:21 +01:00
Allanis
a3f791e52f [Change] Tweaked fleet adding a little so it seems more natural. 2013-10-15 00:31:55 +01:00
Allanis
8198a2db77 [Add] Documentation for lfile.c 2013-10-12 18:33:55 +01:00
Allanis
673b83ea6a [Add] More doxygen along with some slight code cleaup. 2013-10-11 23:02:39 +01:00
Allanis
833283add0 [Add] Documentation for random number generations. 2013-10-10 20:34:58 +01:00
Allanis
8feb19e20c [Add] Pilots sort of start as landed. 2013-10-09 22:16:28 +01:00
Allanis
c2d4f39a72 [Add] Ships now have human readable class strings instead of numbers. 2013-10-08 19:34:48 +01:00
Allanis
b748f0f18e [Change] Seperated dialogues from toolkit. 2013-10-05 18:38:40 +01:00
Allanis
898b44b29d [Fix] Should compile in non-debug mode again. 2013-10-04 17:30:21 +01:00
Allanis
0231017e57 [Fix] Some long time snprintf mistakes. 2013-10-04 17:03:48 +01:00
Allanis
652d9352ad [Add] Qtcreator project support for the IDE users of the world. 2013-10-04 16:34:34 +01:00
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