Commit Graph

494 Commits

Author SHA1 Message Date
Allanis
8df3171916 [Add] Pretend to be multilingual for easiar conversion later. [Fix] Allow null on toolkit_modifyText. 2013-04-06 17:56:03 +01:00
Allanis
1c0d0cac11 [Add] Major release: First fancy missions for spaceport bars. 2013-04-06 17:11:35 +01:00
Allanis
83d3fbf07c [Fix] Bug in ze missionz 2013-04-06 15:04:20 +01:00
Allanis
91cce3c8c6 [Add] Introduced getListPos to get the position of the list. 2013-04-06 14:53:49 +01:00
Allanis
07883a8a3b [Add] Gave mission cargo special marker in gui. 2013-04-06 14:10:53 +01:00
Allanis
1d57250606 [Add] Mission tracks cargo and makes sure you have it. 2013-04-06 13:32:19 +01:00
Allanis
8172d0f21f [Add] Introduced concept of mission cargo being un-tradable. 2013-04-05 20:19:27 +01:00
Allanis
7f973d7fe8 [Add] Improved space.getPlanet() mission lua. 2013-04-04 21:24:25 +01:00
Allanis
64f929c1d3 [Add] Missions info window. 2013-04-04 21:04:34 +01:00
Allanis
97bd83e7da [Fix] Small bug fixes. 2013-04-04 18:22:04 +01:00
Allanis
2388dbcef0 [Fix] Did an oops in the last commit. 2013-04-04 18:17:07 +01:00
Allanis
371e5b8aba [Change] Improved lua api for missions somewhat. 2013-04-04 18:15:56 +01:00
Allanis
6f7f889160 [Change] Improved shipyard ui. 2013-04-03 20:36:11 +01:00
Allanis
80ad3081f0 [Fix] Fixed up all the bugs for missions, they are now working. 2013-04-03 20:06:51 +01:00
Allanis
bf6577ccc1 [Fix] Nailed the memory leak and a silly error. 2013-04-03 19:49:05 +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
4f93fba024 [Add] Finally, fixed two horrible ugly ass bugs. 2013-04-03 19:08:42 +01:00
Allanis
75f7c81d1b [Fix] Problem with missions is now sorted. 2013-04-03 18:21:26 +01:00
Allanis
1ef8cbfe44 [Fix] Attempting to kill some seg faults. 2013-04-03 17:24:06 +01:00
Allanis
d9c0459f4b [Change] Some cosmetic changes to Shipyard. 2013-04-03 17:15:40 +01:00
Allanis
1a994d60ad [Add] Option to enable/disable buttons. 2013-04-03 17:02:20 +01:00
Allanis
2233635cdc [Fix] At least mission computer doesn't crash now, right? 2013-04-02 22:11:34 +01:00
Allanis
853a07cf19 [Fix] Proper hook cleanup, tried to impove mission computer a little. 2013-04-02 16:56:52 +01:00
Allanis
4a504e0228 [Fix] And that children, is why you don't C/P your code. 2013-04-01 18:00:59 +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
68710f9fb5 [Add] View missions at land screen. 2013-04-01 00:23:05 +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
Allanis
fc0a6776c2 [Add] Load mission factions and such. 2013-03-31 17:46:04 +01:00
Allanis
e58813337b [Fix] Typo. 2013-03-31 16:41:40 +01:00
Allanis
ec860d8296 [Change] Also store alliance as a number, more aux functions for factions. 2013-03-31 16:40:09 +01:00
Allanis
b5bfb19911 [Change] Made the toolkit thingies more flexible in height. 2013-03-31 16:17:43 +01:00
Allanis
a66a9ea264 [Change] Use ids for factions instead of pointers. 2013-03-31 16:12:33 +01:00
Allanis
bcdce29654 [Change] Minor simplificationz. 2013-03-30 23:35:31 +00:00
Allanis
5830d6d2c8 [Add] Missions are loading, not used at the minute. 2013-03-30 23:32:54 +00:00
Allanis
b3e323c353 [Add] Run create function when creating a mission. 2013-03-30 21:53:00 +00:00
Allanis
b565e6e6cb [Add] Give active mission ids and use the ids for removing hooks. 2013-03-30 21:47:27 +00:00
Allanis
cefebd3d2c [Add] Initial hooks support. 2013-03-30 21:37:17 +00:00
Allanis
ccbb8f1c2c [Add] gl_printHeight. 2013-03-30 20:58:52 +00:00
Allanis
0890ce4a2e [Add] Hellz YEAH! Here's some initial plasma fractals, all working and stuff. 2013-03-28 17:20:29 +00:00
Allanis
5cbb97b279 [Add] Mission now uses stack. 2013-03-28 16:29:48 +00:00
Allanis
60e08a9e36 [Add] Initial Mission work. 2013-03-28 15:55:58 +00:00
Allanis
8808864e56 [Add] Now we can use mersenne twister instead of rand(), you are welcome. :) 2013-03-28 13:25:53 +00:00
Allanis
f63605d605 [Change] Some cleanup with loading. 2013-03-26 17:04:42 +00:00
Allanis
2dc53af39c [Change] -v simply displays version and quits. 2013-03-26 16:50:57 +00:00
Allanis
e139172fed [Change] Reverted PID changes and changed headhunter missile to "smart" 2013-03-26 16:48:42 +00:00
Allanis
7ec186bee9 [Add] Trying to work with a PID system for smart missiles. 2013-03-23 21:19:11 +00:00
Allanis
3f042a5793 [Fix] Ship purchase with new dialogue. 2013-03-23 20:33:20 +00:00
Allanis
4904fd5d24 [Add] Dialogue input. 2013-03-23 20:23:15 +00:00
Allanis
79f63662dd [Add] Simple yes/no confirmation dialog. 2013-03-23 19:48:52 +00:00
Allanis
4fead727b4 [Fix] Needs a better fix. But fullscreen is working again! 2013-03-23 03:19:46 +00:00
Allanis
685c960281 [Change] Use player->credits as apposed to player_credits 2013-03-23 01:30:27 +00:00
Allanis
99857ba716 [Add] Can now change ships once purchased more, and also have them transported to another planet. 2013-03-22 23:28:16 +00:00
Allanis
f108df907e [Fix] Finaly think I fixed gl_printText properly!! 2013-03-22 21:12:31 +00:00
Allanis
269de8dcfe [Add] player_getLoc and don't allow player to repeat ship names. 2013-03-22 21:04:25 +00:00
Allanis
8da2cb1299 [Add] You can specify default fptr for windows now. 2013-03-22 20:31:42 +00:00
Allanis
f45ab67dcc [Fix] Long standing segfault when using 'enter' on a button with no trigger. 2013-03-22 20:19:45 +00:00
Allanis
8a1e7133c6 [Add] player_ships and player_getShip to manipulate player ships. 2013-03-22 20:17:16 +00:00
Allanis
fb5cc3cf18 [Fix] Major regression in gl_printText 2013-03-22 19:21:32 +00:00
Allanis
e3618d7559 [Add] Input widget will scoll if full. 2013-03-22 19:18:26 +00:00
Allanis
ab0ecfdede [Change] gl_printText is much more strict on width, with more checking. 2013-03-22 19:12:37 +00:00
Allanis
8c7a38686c [Add] More error checking paranoia. 2013-03-22 19:01:45 +00:00
Allanis
5e68d64085 [Fix] Uninitailized code error. 2013-03-22 18:44:29 +00:00
Allanis
127e76c542 [Fix] minor mem leak. 2013-03-22 18:35:11 +00:00
Allanis
697876409e [Add] Save purchased ships in a stack. Just need to be able to change them. 2013-03-22 13:26:11 +00:00
Allanis
829d24eb79 [Add] pilot_copy function. 2013-03-22 12:48:16 +00:00
Allanis
2b8d4ecd82 [Add] Feel free to name your ship!! 2013-03-22 01:47:57 +00:00
Allanis
7ea7bf46a7 [Add] Add player name on new game. Some hacks, but it works. So ship it. 2013-03-22 00:23:14 +00:00
Allanis
053aab14c9 [Add] Input boxes in toolkit. Need to hack fonts up before it works. 2013-03-21 23:51:58 +00:00
Allanis
88b2f1b714 [Fix] Potential seg fault. 2013-03-21 23:13:47 +00:00
Allanis
eff5850957 [Change] Land message. 2013-03-21 23:07:32 +00:00
Allanis
1ae475fcdf [Add] Show free cargo space in commodity window. 2013-03-21 23:02:40 +00:00
Allanis
e256a1a4d0 [Change] Switched buy/sell around in outfit panel. 2013-03-21 21:40:20 +00:00
Allanis
32462e21d4 [Fix] Stop pilot turning/accelerating when dying. 2013-03-21 21:35:53 +00:00
Allanis
cf88a4b989 [Change] Disable pilots at 30% armour instead of 20% 2013-03-21 21:27:46 +00:00
Allanis
32bd075c9a [Add] -S/--sound option to force sound. Disabled sound by default. 2013-03-21 19:55:35 +00:00
Allanis
6a7c051851 [Fix] Moving from tab to space messed all the indents up. I thing that got them all now. 2013-03-21 19:34:35 +00:00
Allanis
0f6ff44a93 [Change] Seems to make more sense to drag map with left OR right mouse button. 2013-03-21 01:11:59 +00:00
Allanis
339662e3c5 [Change] Tab to spaces in xml/lua. 2013-03-21 00:46:40 +00:00
Allanis
4ea444b9ae [Change] All tabs back to spaces. 2013-03-21 00:27:05 +00:00
Allanis
b286205f56 [Change] Land's auto target only targets landable planets. 'p' still cycles targets. 2013-03-20 23:42:46 +00:00
Allanis
bce1019847 [Fix] Seg fault on quit before entering game. 2013-03-20 23:35:34 +00:00
Allanis
74b7a22b6e [Fix] Font width issues.. 2013-03-20 23:17:40 +00:00
Allanis
452bdbd052 [Change] Death menu will take you back to main menu rather than respawn. 2013-03-20 23:02:33 +00:00
Allanis
353922fd3b [Fix] Outstanding memory write access issue. 2013-03-20 22:39:38 +00:00
Allanis
b183286fdb [Add] Preliminary main menu. 2013-03-20 22:29:07 +00:00
Allanis
14af8c7e74 [Add] window_getImage 2013-03-20 21:41:00 +00:00
Allanis
0614c162c2 [Change] Adjusted death menu a little. 2013-03-20 21:38:18 +00:00
Allanis
927280f778 [Fix] Death explosions. 2013-03-20 21:36:32 +00:00
Allanis
9ea3f985d2 [Add] Prevention in case of pilot_stack reallocation. 2013-03-20 21:27:57 +00:00
Allanis
d649330e5b [Change] Extended amount of time cinamatic cam is shown. 2013-03-20 20:26:29 +00:00
Allanis
ccffdae9fd [Add] Player death with short cinematic. 2013-03-20 20:23:39 +00:00
Allanis
53d5eb6172 [Add] Militia kinda scans now. 2013-03-20 19:21:46 +00:00
Allanis
dfd60775e2 [Change] Accuracy value for laser improved as everyone hated it. 2013-03-20 00:27:42 +00:00
Allanis
0d6ac1e5b1 [Add] Afterburners are in! After buying the outfit, double tap 'w'. 2013-03-19 22:34:20 +00:00
Allanis
4abe914310 [Add] Outfit graphics for store. 2013-03-19 00:13:03 +00:00
Allanis
ee8512c5ef [Change] Renamed planets etc with star trek naming scheme. 2013-03-18 23:55:31 +00:00
Allanis
87b10759b4 [Add] Content heaven. New planets/systems 5 new outfits with diff stats. 2013-03-17 22:59:38 +00:00