Commit Graph

79 Commits

Author SHA1 Message Date
Allanis
e9d216446d [Change] Major rewrite of xml parser, increased sanity checks. 2014-04-08 21:28:52 +01:00
Allanis
83fb0634cc [Add] Aborting missions should also have the mission cargo jettisoned.
kthx.
2014-03-15 03:05:40 +00:00
Allanis
b4bb214f79 [Add] Mission cargo should get jettisoned off the ship once you die and
explode into oblivion.
2014-03-14 23:59:14 +00:00
Allanis
25f0e6f9fe [Fix] No longer delete missions if misn.finish() has no params. Should
fix regressions.
2014-03-10 20:21:05 +00:00
Allanis
618e1cd9ec [Fix] Force missions to remove cargo properly. 2014-03-09 23:42:39 +00:00
Allanis
ccb2be36c1 [Change] Sanitized dealing with mission cargo somewhat. 2014-03-07 21:45:54 +00:00
Allanis
9539e22d8b [Change] Faction and combat ratings are now continuous. 2013-12-31 17:38:02 +00:00
Allanis
571b801a49 [Add] Added faction metatable to Lua API. 2013-12-16 23:43:31 +00:00
Allanis
72781329cb [Add] Actually load the diff library in mission Lua. 2013-12-14 00:11:11 +00:00
Allanis
fdd5e930f5 [Add] First release of unidiff - Save changes to the universe in a diff format. 2013-12-10 22:51:00 +00:00
Allanis
4176b20749 [Add] Allow missions to interact with music subsystem. 2013-12-06 20:52:35 +00:00
Allanis
b172453841 [Fix] Slight bug with loading mission variables. 2013-11-23 22:43:31 +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
6ad8d75d2d [Add] Mission timers added. 2013-11-17 14:58:33 +00:00
Allanis
5d17f0e31d [Add] Added Planet:pos() and Vec2:dist() plus much more. 2013-11-17 02:55:03 +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
a42c21da4e [Add] Pilot "jump" hook. 2013-11-12 00:42:31 +00:00
Allanis
b387cf0da7 [Add] faction_modPlayerRaw and the misn bindings for it. 2013-08-29 15:30:55 +01:00
Allanis
4fa786ce21 [Fix] space.getSystem(). 2013-08-26 14:56:28 +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
26099de520 [Fix] misn_condLibs() was missing space lib. 2013-08-06 19:46:15 +01:00
Allanis
2ec37b673e [Fix] var.push(). 2013-08-06 19:37:17 +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
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
5de9fd60d9 [Fix] Stupid lua parameter stuff. 2013-07-24 20:21:22 +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
a580cdeed3 [Change] ai.dist() now accepts pilot id's as parameter. 2013-07-07 19:11:14 +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
Steven Arnow
a2bb0df939 All C++-comments in src/ should now be C89 comments 2013-06-22 22:10:25 +02:00
Allanis
16baff189e [Change] Added a few nazi flags, and fixed code up a little. 2013-06-11 22:50:04 +01:00
Allanis
e57c6768b7 [Change] Began cleaning lua wrappers up a bit. 2013-06-09 19:33:26 +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
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
304bc81ea1 [Add] mission/hook save disabled right now - Pluto is still being a bitch! 2013-05-30 18:33:15 +01:00
Allanis
71b68003f9 [Change] Missions increase/lower faction standing. Fixed bug with factions. 2013-05-23 16:17:53 +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
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
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