Commit Graph

1249 Commits

Author SHA1 Message Date
Allanis
e5d50254d2 [Add] Spit out warning if SDL major/minor versions differ. 2013-11-23 01:50:30 +00:00
Allanis
7dcb5f738c [Remove] Duplicated outfit image removed. 2013-11-23 01:25:03 +00:00
Allanis
4eca6815bc [Add] Cute feature, game doesn't pause with death menu. 2013-11-21 12:55:04 +00:00
Allanis
1edbf5b944 [Add] Pilot:setFaction() added to Lua API. 2013-11-20 23:07:42 +00:00
Allanis
4038b56ac6 [Change] misn.timerStart() now uses milliseconds. 2013-11-20 22:57:51 +00:00
Allanis
0c238662c2 [Add] player.getPilot() to Lua API. 2013-11-20 20:56:38 +00:00
Allanis
47a8efa9ee [Add] Pilot:alive() and Pilot:broadcast() to Lua API. 2013-11-19 21:51:04 +00:00
Allanis
7bbad458e0 [Add] Simple ai for mission pilots that need to escort the player. 2013-11-19 21:33:15 +00:00
Allanis
7344f88916 [Change] Apparently you can't have two parameters in __add, so made add synonymous (same with __sub). 2013-11-19 21:26:57 +00:00
Allanis
67cd35faa5 [Add] Function to get the player, for usage in mission stuff. 2013-11-19 21:24:19 +00:00
Allanis
76bea0092c [Add] Created an 'idle' task to run when idle for easy to change idle behaviours. 2013-11-19 00:27:09 +00:00
Allanis
4af334e5e4 [Fix] Mission timers should save and load properly now. 2013-11-18 23:30:16 +00:00
Allanis
6ad8d75d2d [Add] Mission timers added. 2013-11-17 14:58:33 +00:00
Allanis
1becd0d68a [Change] When creating a new pilot with pilot.add(), pretend to enter from hyperspace if we have a large distance from planet. 2013-11-17 14:28:03 +00:00
Allanis
87771ab892 [Fix] Pilot boarding hooks fixed. 2013-11-17 05:56:36 +00:00
Allanis
5d17f0e31d [Add] Added Planet:pos() and Vec2:dist() plus much more. 2013-11-17 02:55:03 +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
2489949d30 [Fix] Clear velocity when doing Pilot:warp() 2013-11-16 19:10:32 +00:00
Allanis
d2067f9274 [Add] Pilots now use metatables. [Change] Moved Lua pilot stuff into it's own file. 2013-11-16 05:20:55 +00:00
Allanis
2f0d0384c1 [Add] pilot.clear() and pilot.togglespawn() to Lua API. 2013-11-14 18:48:04 +00:00
Allanis
c5cab45910 [Add] First 2D vector support for lua. 2013-11-14 05:01:25 +00:00
Allanis
49c1bd5b4e [Change] Removed dependancy of the spawn_timer on SDL_GetTicks(). 2013-11-13 02:42:23 +00:00
Allanis
a42c21da4e [Add] Pilot "jump" hook. 2013-11-12 00:42:31 +00:00
Allanis
338a41a8e4 [Fix] Fixed broken mission due to AI changes. 2013-11-10 15:35:54 +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
db18dd0516 [Change] Unified attack thinking in ai scripts. 2013-11-10 01:41:50 +00:00
Allanis
c7d85fe6e2 [Change] Improved collective ai. 2013-11-10 00:09:05 +00:00
Allanis
56d10e603b [Add] attack_closestenemy to basic.lua. Pushed the land function into basic.lua. 2013-11-09 23:57:03 +00:00
Allanis
0d569ecc54 [Add] Improved ai.secondary to actually take ammo into account. 2013-11-09 05:49:03 +00:00
Allanis
9c2e35c472 [Add] pilot_getAmmo. 2013-11-09 00:23:57 +00:00
Allanis
e829e71347 [Change] Made ship_classFromString non-static. 2013-11-09 00:18:41 +00:00
Allanis
29ba80afba [Change] control_rate is now defined as a float. 2013-11-09 00:02:06 +00:00
Allanis
7bf8d63e00 [Add] Commodity land mission checks. 2013-11-07 23:10:01 +00:00
Allanis
85d084063a [Add] Faction logo graphics. 2013-11-06 22:20:37 +00:00
Allanis
4b64b1c185 [Add] Allow for faction logo's to be displayed. 2013-11-05 23:50:09 +00:00
Allanis
946dafdf55 [Change] <resedit> Made description window bigger. 2013-11-04 23:26:54 +00:00
Allanis
3f3a51af32 [Add] Graphics for trader planet. 2013-11-03 21:29:19 +00:00
Allanis
4b5f11ae28 [Add] Documented specail effects. 2013-11-01 19:27:18 +00:00
Allanis
8309f473b1 [Add] Sol and many other nebulae systems. 2013-10-31 19:41:07 +00:00
Allanis
9c9a7e07ca [Fix] Remove the outfit when you run out of ammo. 2013-10-30 21:50:44 +00:00
Allanis
b7ee0eb32a [Add] Bash script for checking outfit graphics usage. 2013-10-29 22:50:37 +00:00
Allanis
18e4d9088c [Fix] Silly mistake in image array scrolling. 2013-10-29 20:44:34 +00:00
Allanis
9699b0ed10 [Add] Players shipyard now follows same style as noraml shipyard. 2013-10-28 14:53:05 +00:00
Allanis
3877884730 [Fix] Image arrays going out of sync. 2013-10-28 14:33:05 +00:00
Allanis
ca292cf791 [Add] Use image array for shipyard and made toolkit_getList apply to image array. 2013-10-27 16:00:23 +00:00
Allanis
ea6df25b0c [Change] outfit_getTech returns outfits instead of names. 2013-10-26 20:52:36 +01:00
Allanis
e955b58817 [Add] Significant inprovements to imageArray, including scrollwheel functionality. 2013-10-26 01:11:02 +01:00
Allanis
88c40143c2 [Add] Added image arrays to toolkit. 2013-10-25 01:51:23 +01:00
Allanis
3ffc858863 [Add] Documented Nebulae stuff. 2013-10-24 00:34:08 +01:00
Allanis
435be644cf [Fix] Few corrections in documentation. 2013-10-22 18:54:30 +01:00