Commit Graph

230 Commits

Author SHA1 Message Date
Allanis
8047f198e9 [Add] Escorts kinda work. 2013-12-31 00:08:23 +00:00
Allanis
8aaba0be4c [Add] Added a ton more escort stuff. 2013-12-30 21:51:59 +00:00
Allanis
febcfdbbb5 [Remove] Eradicated some useless target parameters. 2013-12-29 22:46:12 +00:00
Allanis
8b0fbb8772 [Change] Moving to target on pilot structure. 2013-12-29 22:13:28 +00:00
Allanis
7db6ad52f9 [Add] Allow for passing parameters to pilot ai on creation. 2013-12-28 16:49:56 +00:00
Allanis
11a96c9b00 [Add] Implemented volatility damage. 2013-12-21 00:45:14 +00:00
Allanis
e8257c2555 [Add] Just a minor comment. 2013-12-15 01:18:12 +00:00
Allanis
b9f97f321b [Add] Implemented pilot memory tables. 2013-12-14 15:09:34 +00:00
Allanis
980282f655 [Add] Implementing auto navigation. 2013-12-14 14:58:31 +00:00
Allanis
f26cf7e4e1 [Change] Useing memset for pilot initialization. Also making a start on auto navigation stuff. 2013-12-14 00:45:01 +00:00
Allanis
3ddc034344 [Change] Reduced calls to xmlCleanupParser(), only one for all the loading now. 2013-12-13 03:38:50 +00:00
Allanis
da4b261de7 [Change] Stop firing before starting to jump into hyperspace. 2013-12-06 20:59:24 +00:00
Allanis
11bbd0854f [Change] Secondary weapon greys out when you can't use it again. 2013-11-29 20:55:41 +00:00
Allanis
05b1d19e55 [Add] Added explosions, only being used on deaths right now. 2013-11-24 21:56:40 +00:00
Allanis
87771ab892 [Fix] Pilot boarding hooks fixed. 2013-11-17 05:56:36 +00:00
Allanis
ef19939647 [Add] Pilots can now have up to four hooks at any given time. 2013-11-16 20:13:31 +00:00
Allanis
a42c21da4e [Add] Pilot "jump" hook. 2013-11-12 00:42:31 +00:00
Allanis
5a87b2da77 [Change] MAJOR AI rehaul, split all the lua stuff into generic templates.
[Add] Bomber attack routines.
[Fix] Bug with AI forgetting about you if another enemy attacks.
2013-11-10 05:03:59 +00:00
Allanis
9c2e35c472 [Add] pilot_getAmmo. 2013-11-09 00:23:57 +00:00
Allanis
9c9a7e07ca [Fix] Remove the outfit when you run out of ammo. 2013-10-30 21:50:44 +00:00
Allanis
93fd1eef4d [Add] Player can abort hyperspaec jump sequence. 2013-10-15 23:38:49 +01:00
Allanis
673b83ea6a [Add] More doxygen along with some slight code cleaup. 2013-10-11 23:02:39 +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
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
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
71ab2d863f [Add] Added outfit states and beam hit function. Also added compile option for clang. 2013-09-23 22:59:01 +01:00
Allanis
f0336e14af [Change] Improved some of the shooting handling. 2013-09-23 20:28:12 +01:00
Allanis
d1df9aeaae [Add] Pilot death explosion sounds.
[Add] More documentation.
2013-09-06 19:45:24 +01:00
Allanis
fc3276464a [Add] Targetting sounds implemented.
[Add] More doxygen.
2013-09-06 16:37:38 +01:00
Allanis
eae283417f [Add] Partially documented pilot.c 2013-09-05 13:32:30 +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
de91ebd91f [Fix] Bug concerning not being able to shoot seeker weapons. 2013-08-30 17:54:02 +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
018c3cd39d [Change] Tweaked rumble a bit more. 2013-08-24 13:16:03 +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
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
cd1565a6d5 [Change] Tweaked faction hits to be more useful. 2013-08-10 12:32: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
aa8408022d [Fix] Clear player lockons when running space_init(). 2013-08-09 13:49:11 +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
30aaa7852d [Fix] You can no longer buy extra outfits. 2013-08-07 14:26:45 +01:00
Allanis
9d43435d4a [Change] Afterburn now breaks when you run out of energy. 2013-08-03 17:57:35 +01:00
Allanis
82b210e6cc [Change] Sanitized the pilot_get* a bit. 2013-08-03 15:45:56 +01:00
Allanis
e1308dc570 [Add] Pilots lose their cargo when the die. 2013-07-24 16:59:28 +01:00
Allanis
7a6f27da43 [Add] Warn the player when a missile is locked onto her. 2013-07-09 19:03:03 +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
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
00fbe34b62 [Fix] Bug with unlimited range turret bolts. 2013-07-06 15:34:33 +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
d11eabd358 [Add] New outfit: Star map, allows you to see two jump points from current location. 2013-06-25 22:21:56 +01: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
331cc86c98 [Fix] Potential issues with reallocs. Added more comments too. 2013-06-09 17:04:44 +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
61cb4a3f67 [Change] Have pilots re-calculate cargo load when calculating stats. 2013-06-01 20:25:40 +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
d6f266323f [Fix] Bug with no death window apearing after cinematic view. 2013-05-23 15:10:28 +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
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
052c40897c [Add] Mods can now add cargo. Fixed rmOutfit bug. 2013-05-17 01:13:27 +01:00
Allanis
25adf125e4 [Change] Preparations for adding fuel. 2013-05-16 19:15:00 +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
c609780acc [Add] Improved xml #define magic stuff. 2013-05-08 18:49:24 +01:00
Allanis
1c9bc7ed9d [Add] Missions can now add fleets. 2013-05-06 17:14:32 +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
1d57250606 [Add] Mission tracks cargo and makes sure you have it. 2013-04-06 13:32:19 +01:00
Allanis
8172d0f21f [Add] Introduced concept of mission cargo being un-tradable. 2013-04-05 20:19:27 +01:00
Allanis
bf6577ccc1 [Fix] Nailed the memory leak and a silly error. 2013-04-03 19:49:05 +01:00
Allanis
2e63c40ef4 [Fix] Fixed up most warnings, there are a couple remaining but they aren't important. 2013-04-01 17:42:14 +01:00
Allanis
faff7b2193 [Add] Few more mission functions. Also fixed invalid memory free. 2013-03-31 23:34:06 +01:00
Allanis
a66a9ea264 [Change] Use ids for factions instead of pointers. 2013-03-31 16:12:33 +01:00
Allanis
99857ba716 [Add] Can now change ships once purchased more, and also have them transported to another planet. 2013-03-22 23:28:16 +00:00
Allanis
269de8dcfe [Add] player_getLoc and don't allow player to repeat ship names. 2013-03-22 21:04:25 +00:00
Allanis
697876409e [Add] Save purchased ships in a stack. Just need to be able to change them. 2013-03-22 13:26:11 +00:00
Allanis
829d24eb79 [Add] pilot_copy function. 2013-03-22 12:48:16 +00:00
Allanis
6a7c051851 [Fix] Moving from tab to space messed all the indents up. I thing that got them all now. 2013-03-21 19:34:35 +00:00
Allanis
4ea444b9ae [Change] All tabs back to spaces. 2013-03-21 00:27:05 +00:00
Allanis
927280f778 [Fix] Death explosions. 2013-03-20 21:36:32 +00:00
Allanis
9ea3f985d2 [Add] Prevention in case of pilot_stack reallocation. 2013-03-20 21:27:57 +00:00
Allanis
ccffdae9fd [Add] Player death with short cinematic. 2013-03-20 20:23:39 +00:00
Allanis
0d6ac1e5b1 [Add] Afterburners are in! After buying the outfit, double tap 'w'. 2013-03-19 22:34:20 +00:00
Allanis
c2d44ebb74 [Fix] FFS. Wasn't incrementing number of outfits while trying to add it. 2013-03-17 20:13:43 +00:00
Allanis
a037112f72 [Fix] Eheh. Typo affecting merchant ships going to hyperspace.. 2013-03-17 19:55:40 +00:00
Allanis
b66c6f7ecf [Add] Attempted to get modifications actually working. Everything is
brokened. Don't even attempt to play..
2013-03-17 19:28:45 +00:00
Allanis
2f59ae1b84 [Add] Energy is actively in use now. ^.^ 2013-03-17 16:36:59 +00:00