Commit Graph

78 Commits

Author SHA1 Message Date
Allanis
d8fd4383b4 [Add] More work on documentation. 2014-05-14 16:24:51 +01:00
Allanis
05398e71d2 [Change] Huge changes to Lephisto's data management. 2014-04-26 18:53:22 +01:00
Allanis
08ec271629 [Add] Added more complicated xml parse functions.
[Change] Renamed xml.h to lxml.h
2014-04-23 20:02:50 +01:00
Allanis
e536ab4da3 [Fix] Too many missions without any "active missions". 2014-04-13 23:26:07 +01:00
Allanis
2809e5323f [Change] It's about time I changed the deprecated malloc headers in
favour of stdlib right?
2014-04-10 00:36:53 +01:00
Allanis
ee57228de5 [Add] Mission destinations are now marked when selecting mission at the
mission computer.
2014-03-17 00:22:46 +00: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
7ca91311cc [Fix] Should fix empty mission listings. 2014-03-10 01:51:39 +00:00
Allanis
1d811a613f [Fix] On the rare occasion, accepting a mission has caused a segfault.
This should sort it out.
2014-03-10 00:14:02 +00:00
Allanis
c1a85e2e99 [Change] OK. Remove the cargo only when it makes sense, eg.. Player
doesn't have the active mission, or the player died or something.
2014-03-09 23:48:26 +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
ff11ba3cc8 [Add] Added full tutorial and fixed a few mission bugs. 2014-03-06 23:43:26 +00:00
Allanis
c762fe278d [Fix] Hm.. Fixed an issue with mission timers. 2014-03-04 00:55:22 +00:00
Allanis
401ea9b4e5 [Add] Now you can define start mission in start.xml, also began initial tutorial level. 2014-03-04 00:53:04 +00:00
Allanis
751bbbefe8 [Fix] misn.accept() not clearing missions at mission computer. 2013-12-15 17:35:27 +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
ad12c52cd0 [Add] Fourth mission in tutorial campaign. Also fixed a few bugs preventing campaign form working. 2013-12-04 22:04:05 +00:00
Allanis
6c4983120d [Fix] Segfault when having active missions. 2013-11-25 15:51:24 +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
7bf8d63e00 [Add] Commodity land mission checks. 2013-11-07 23:10:01 +00:00
Allanis
a9780b6c4d [Fix] Bug that converted a 100% chance mission to 0%.. 2013-08-26 15:40:28 +01:00
Allanis
800ac52895 [Add] Can now save/load planet/system data. 2013-08-26 13:43:53 +01:00
Allanis
2c5d3433b5 [Change] Stage one of updating lua API to use metatables. 2013-08-25 16:20:41 +01:00
Allanis
c9a9eea55e [Fix] Small memleak. 2013-08-06 19:41:32 +01:00
Allanis
10ea68c5c3 [Change] Cleaned up XML loading somewhat. 2013-07-27 15:14:55 +01:00
Allanis
b4e325a9fe [Change] Removed alliance deal, now each faction states it's own allies/enemies. 2013-07-25 17:23:05 +01:00
Allanis
1f3947bc49 [Fix] A few memleaks. 2013-07-24 14:59:23 +01:00
Allanis
cad5bd932c [Change] No longer calling luaopen directly. 2013-06-30 17:07:06 +01:00
Allanis
d692035039 [Add] Lua wrappers for luaL_newState and luaopen_base. 2013-06-29 17:58:01 +01:00
Allanis
185039ae62 [Change] Cleaned up some variable/function names, also added -Wshadow CFLAG. 2013-06-28 16:08:56 +01:00
Allanis
692fb388df [Add] Missions can now mark systems. [Fix] Seg fault when switching pilots. 2013-06-26 00:28:16 +01:00
Allanis
fed0d8c798 [Add] New ship to system. 2013-06-23 13:20:22 +01:00
Allanis
07f69e58c6 [Change] Turns out pairs is in the lua base library and we need that. 2013-06-23 13:00:00 +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
82f724eb04 [Add] Music is now controlled by lua, now we can set music based on scenario. ^.^ 2013-06-10 19:19:26 +01:00
Allanis
273607eda0 [Add] You can now use lua as conditions for missions. 2013-06-01 19:11:38 +01:00
Allanis
6932ea8a8a [Add] Taken @medek 's advice and wrote my own saver for lua rather than using pluto. A lot cleaner and faster. 2013-06-01 17:31:50 +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
a90f0d66c0 [Add] Missions are now loaded! Still need to load hooks for them to work. 2013-05-25 00:56:36 +01:00
Allanis
e4f76c9b08 [Add] Be a little trickiar when generating mission id's. 2013-05-23 21:34:42 +01:00
Allanis
a064eec5eb [Fix] Minor decode bug in base64 2013-05-23 21:26:05 +01:00
Allanis
0195e84cca [Change] Meh. 2013-05-23 20:26:09 +01:00
Allanis
5060e9b7ba [Change] Just a few bits of cleanup. 2013-05-23 20:13:41 +01:00
Allanis
1d2a0cfed4 [Add] Saving lua active mission states. Fixed Makefile to build pluto. 2013-05-23 17:58:23 +01:00
Allanis
75954df719 [Add] Now completed missions and mission variables are also loaded. 2013-05-17 02:02:56 +01:00
Allanis
32adddc8d0 [Add] Save the completed missions. 2013-05-11 16:27:35 +01:00