Commit Graph

126 Commits

Author SHA1 Message Date
Allanis
8c3836ce50 [Change] Mkay, escorts should properly hang if they have no target to
escort.
2014-05-21 00:23:41 +01:00
Allanis
230329f868 [Change] Better handling of secondary weapons. 2014-05-21 00:09:43 +01:00
Allanis
5a714940f8 [Fix] Fixed minor memory leak. 2014-05-20 14:45:07 +01:00
Allanis
252f2f87b7 [Fix] Avoid possible out of bounds memory access. 2014-05-19 19:54:12 +01:00
Allanis
ea6db68433 [Add] No longer need Makefile when working in 'trunk', reads from
directories directly.
[Change] Code clean up.
[Add] Documentation.
2014-05-18 19:54:36 +01:00
Allanis
04ed5fe1bc [Fix] Fixed some Lua stack unbalanced issues. 2014-05-17 14:21:45 +01:00
Allanis
d8fd4383b4 [Add] More work on documentation. 2014-05-14 16:24:51 +01:00
Allanis
1f9768ccd6 [Add] Hey, someone has to document this stuff.. 2014-05-12 14:08:42 +01:00
Allanis
8bebc4fbbc [Changed] Cleaned up a bunch of doxygen stuff. 2014-05-10 17:56:50 +01:00
Allanis
44db60f32b [Add] Using the pack cache now, initial loading is a lot faster. 2014-04-27 14:31:21 +01:00
Allanis
05398e71d2 [Change] Huge changes to Lephisto's data management. 2014-04-26 18:53:22 +01:00
Allanis
ac04faacea [Change] Removed all non dt timers from stuff that should be dt based. 2014-04-15 21:08:45 +01:00
Allanis
40aa774ff7 [Fix] Properly fixed the valgrind issues without causing more. 2014-03-10 16:48:42 +00:00
Allanis
cc3955c445 [Fix] Should remove the majority of Valgrind errors. 2014-03-10 16:20:56 +00:00
Allanis
0817a156b9 [Fix] Avoid possible usage of uninitialized data. 2014-03-10 15:01:07 +00:00
Allanis
3540ba0724 [Add] Gave AI customizable bribe messages. 2014-02-01 22:09:49 +00:00
Allanis
37d61803d7 [Add] Added math lib to basic llua. 2014-01-25 19:29:42 +00:00
Allanis
63e2bb55b0 [Add] Implemented bribing. 2014-01-24 21:57:01 +00:00
Allanis
84b20c9bd3 [Fix] Fixed ai.relvel(). Also introduced dot product function. 2014-01-22 17:31:36 +00:00
Allanis
19292edd68 [Change] Improved AI's secondary weapon handling. 2014-01-22 15:26:42 +00:00
Allanis
5518f0c390 [Change] AI now takes into account relative velocities. 2014-01-06 19:49:43 +00:00
Allanis
5a0f5ff145 [Fix] Corrected selecting hyperspace in map not updating window. 2014-01-06 18:56:24 +00:00
Allanis
239f42bb85 [Remove] Removed the disgusting TYPE_PTR from ai. 2014-01-05 21:32:25 +00:00
Allanis
dc3bf1292c [Add] Added escort control ai Lua bindings. 2013-12-31 06:08:01 +00:00
Allanis
3a87ce36ff [Fix] Fixed some escort ai issues, also allowed for fighters to return to ship. 2013-12-31 04:28:05 +00:00
Allanis
b26a1ca968 [Fix] Fixed god damn ai! 2013-12-31 03:07:05 +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
75e438a98f [Fix] Fixed segfaults with new ai system. 2013-12-28 22:50:48 +00:00
Allanis
7db6ad52f9 [Add] Allow for passing parameters to pilot ai on creation. 2013-12-28 16:49:56 +00:00
Allanis
66028742b5 [Add] ai.shipclass() also added a but more documentation to ai. 2013-12-15 01:16:52 +00:00
Allanis
8ef7082c84 [Add] Gave AI some memory. 2013-12-15 00:30:50 +00:00
Allanis
b9f97f321b [Add] Implemented pilot memory tables. 2013-12-14 15:09:34 +00:00
Allanis
25660ff7d1 [Change] Everything now conforms to last nights cleanups. 2013-12-09 00:48:32 +00:00
Allanis
da4b261de7 [Change] Stop firing before starting to jump into hyperspace. 2013-12-06 20:59:24 +00:00
Allanis
3fc6514861 [Fix] Bug in weapon system timers. 2013-11-26 15:36:27 +00:00
Allanis
67cd35faa5 [Add] Function to get the player, for usage in mission stuff. 2013-11-19 21:24:19 +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
0d569ecc54 [Add] Improved ai.secondary to actually take ammo into account. 2013-11-09 05:49:03 +00:00
Allanis
29ba80afba [Change] control_rate is now defined as a float. 2013-11-09 00:02:06 +00:00
Allanis
673b83ea6a [Add] More doxygen along with some slight code cleaup. 2013-10-11 23:02:39 +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
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
5ddb5fff94 [Fix] Bug introduced by assert in WARN/ERR change. 2013-08-22 18:22:18 +01:00
Allanis
aade673567 [Fix] Segfault when popping a task without a next task. 2013-08-15 13:36:25 +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
284823ce25 [Add] Minor sanity checks. 2013-08-12 09:26:59 +01:00
Allanis
b9c1f021b2 [Change] ai.exists() is more lenient with bad parameters. ;) 2013-08-10 18:04:39 +01:00