Commit Graph

57 Commits

Author SHA1 Message Date
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
Allanis
bc935960f8 [Fix] Annoying ass bug with mission disappearing when no cargo space left. 2013-05-09 18:15:56 +01:00
Allanis
bb48d5ac23 [Add] Missions save code. Global save functions. 2013-05-08 19:45:38 +01:00
Allanis
c769e71c72 [Fixing] Y NO WERK!? 2013-05-05 21:07:07 +01:00
Allanis
2a502f5426 [Add] First time limit mission. 2013-05-02 20:18:34 +01:00
Allanis
9e2bda007b [Add] Missions can actually use flags now. 2013-04-20 15:25:40 +01:00
Allanis
0fbd239680 [Fix] Can't grab a unique mission if it is already running. 2013-04-09 01:20:22 +01:00
Allanis
1b3d884f7e [Add] Unique missions are now actually.. Unique. 2013-04-09 01:14:16 +01:00
Allanis
6a320a27b1 [Fix] Major issue in how hooks worked, now hackishly sane! 2013-04-09 00:19:08 +01:00
Allanis
e152d40fb2 [Add] Track cargo missions so they get cleaned on abort. 2013-04-08 23:29:44 +01:00
Allanis
1c0d0cac11 [Add] Major release: First fancy missions for spaceport bars. 2013-04-06 17:11:35 +01:00
Allanis
91cce3c8c6 [Add] Introduced getListPos to get the position of the list. 2013-04-06 14:53:49 +01:00
Allanis
371e5b8aba [Change] Improved lua api for missions somewhat. 2013-04-04 18:15:56 +01:00
Allanis
67dba8aaeb [Change] Cleanups. 2013-04-03 19:45:49 +01:00
Allanis
3da2a4086b [Fix] toolkit module for lua and accpet mission bug. 2013-04-03 19:38:00 +01:00
Allanis
75f7c81d1b [Fix] Problem with missions is now sorted. 2013-04-03 18:21:26 +01:00
Allanis
1a994d60ad [Add] Option to enable/disable buttons. 2013-04-03 17:02:20 +01:00
Allanis
853a07cf19 [Fix] Proper hook cleanup, tried to impove mission computer a little. 2013-04-02 16:56:52 +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
c45de3044d [Fix] minor mem leak. 2013-03-31 23:44:23 +01:00
Allanis
faff7b2193 [Add] Few more mission functions. Also fixed invalid memory free. 2013-03-31 23:34:06 +01:00
Allanis
6fc39a69e0 [Add] Game now tries to load mission properly, excpet lua needs more bindings. ;) 2013-03-31 19:00:05 +01:00