Commit Graph

438 Commits

Author SHA1 Message Date
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
Allanis
c2d44ebb74 [Fix] FFS. Wasn't incrementing number of outfits while trying to add it. 2013-03-17 20:13:43 +00:00
Allanis
a037112f72 [Fix] Eheh. Typo affecting merchant ships going to hyperspace.. 2013-03-17 19:55:40 +00:00
Allanis
b66c6f7ecf [Add] Attempted to get modifications actually working. Everything is
brokened. Don't even attempt to play..
2013-03-17 19:28:45 +00:00
Allanis
ee3c81b7ff [Add] Modification/Upgrades to ships. 2013-03-17 16:57:17 +00:00
Allanis
2f59ae1b84 [Add] Energy is actively in use now. ^.^ 2013-03-17 16:36:59 +00:00
Allanis
299841d012 [Change] Some cosmetic changes to landing windows. 2013-03-17 15:44:50 +00:00
Allanis
36812733fd [Change] Sanitized message order. 2013-03-17 14:37:25 +00:00
Allanis
c1db3ff7ab [Fix] "none" not showing up when ship had no cargo. 2013-03-17 14:29:47 +00:00
Allanis
e3a0ec37cf [Change] Tweakes board success chance. 2013-03-17 14:26:28 +00:00
Allanis
b9fce0adbf [Add] Merchants now have cargo that you can steal upon boarding. 2013-03-17 14:22:10 +00:00
Allanis
5d2f604703 [Add] ai.cargofree() to lua API. 2013-03-17 13:49:25 +00:00
Allanis
ca84fe6a3a [Add] Buy/Sell commodities. They are all the same price at the minute. 2013-03-17 13:40:52 +00:00
Allanis
91e68ee828 [Add] Buy/Sell cargo. 2013-03-17 01:01:47 +00:00
Allanis
d9c8dbc449 [Add] 'face' will face targetted planet if no pilot target is selected. 2013-03-16 23:02:30 +00:00
Allanis
910eb656a5 [Add] More verbose ai logging and more monies. 2013-03-16 22:41:24 +00:00
Allanis
62232d0596 [Add] Finally! Some better freaking lua error checking. 2013-03-16 22:32:22 +00:00
Allanis
88fed6f40c [Add] ai now controls ship's credits/loot. Some more API calls and cargo stuff. 2013-03-16 22:14:53 +00:00
Allanis
aa4112f2df [Add] Planets now have commodities. Nothing can be done with them yet ;) 2013-03-16 21:13:21 +00:00
Allanis
4f0420d82f [Add] Basic commodity support. (Not in use yet). 2013-03-16 20:29:18 +00:00
Allanis
49ab58fdda [Change] Cleared silly commodity exchange message. 2013-03-16 19:26:15 +00:00
Allanis
4bff93e148 [Add] More ship types. 2013-03-16 19:24:06 +00:00
Allanis
8f9c2ff9b7 [Change] Shipyard and outfits look ugly. Made the same size as land window. 2013-03-16 19:06:07 +00:00
Allanis
6c50e56894 [Add] "special" techs. Basically finished tech stuff. 2013-03-16 19:04:19 +00:00
Allanis
6802c39eec [Add] Preliminary tech support. (only raw, no special tech yet). 2013-03-16 18:44:06 +00:00
Allanis
7db2ae019d [Fix] Don't think anyone noticed this one.. Some funny little bugs when paused while hyperspacing. 2013-03-16 17:20:18 +00:00
Allanis
6f12836395 [Fix] Someone has to put a stop to VLack finding my bugs. 2013-03-16 17:11:08 +00:00
Allanis
fdaabd259e [Add] Possibility to deny landing. 2013-03-16 17:02:09 +00:00
Allanis
eb98a0deaf [Change] Some cosmetic changes to Hyperspace. 2013-03-16 16:47:49 +00:00
Allanis
dd79adb0af [Change] Minor change in gui. 2013-03-16 13:41:05 +00:00
Allanis
ef36411f81 [Change] Planet colours are based on standing. 2013-03-16 13:38:49 +00:00
Allanis
2d49ee188e [Change] Improved the chase ai_face with customizable velocity weight. 2013-03-14 21:58:38 +00:00
Allanis
309ac8a648 [Add] New factions, ship, station, system. Empire and Collective wage war against each other. 2013-03-14 21:43:48 +00:00
Allanis
d246c2cbe2 [Add] More thingies.. Factions!! 2013-03-13 22:39:52 +00:00
Allanis
bc12bbaba2 [Fix] Past three revisions wouldn't stop shooting primary/secondary weapons. I have no idea how this solves it, but it does.. 2013-03-13 21:36:50 +00:00
Allanis
4b07e86acd [Add] Militia faction. Changed Test pilot to Militia and added ai_create 2013-03-12 23:45:29 +00:00
Allanis
a4bca2004b [Add] You will need permission to land on a planet. 2013-03-10 20:13:07 +00:00
Allanis
f02a406ffc [Change] Tweaked the star deformation while hyperspacing. 2013-03-10 19:22:37 +00:00
Allanis
938b76b8be [Add] Boundary checking for starmap names. 2013-03-10 19:19:14 +00:00
Allanis
2e6bfd6a4d [Change] Resizing starmap works at different speeds. 2013-03-10 19:13:17 +00:00
Allanis
a3f5e18306 [Change] Best not render the names when we are zoomed out, as they overlap each other etc. 2013-03-10 19:01:40 +00:00
Allanis
5221a51241 [Add] System names are now viewable in starmap. 2013-03-10 18:59:54 +00:00
Allanis
4e2f8aa56d [Add] Blue and DarkBlue. 2013-03-10 18:55:43 +00:00
Allanis
dac9bc367e [Add] Allow for star map zooming. 2013-03-10 18:53:15 +00:00
Allanis
669e14ee13 [Change] Randomized planet landing a little. 2013-03-10 18:19:16 +00:00
Allanis
5b4adca3bb [Change] No point in drawing if we are offscreen. (gl_drawCircleInRect). 2013-03-10 17:19:13 +00:00
Allanis
11f4eed18c [Fix] Hyperspace paths no longer appear if you drag them out of the map. 2013-03-10 17:16:39 +00:00
Allanis
6365ad186a [Change] Improved StarMap by displaying color based on the path you can travel. 2013-03-10 17:06:23 +00:00
Allanis
a153cb9a37 [Fix] Can't change targets while toolkit is open. 2013-03-10 16:47:46 +00:00
Allanis
dfb57c1775 [Add] Map will draw hyperspace paths. :D 2013-03-10 16:40:48 +00:00
Allanis
46109626a4 [Fix] Typo causing hyperspace selection seg fault. 2013-03-10 16:12:44 +00:00
Allanis
ccf15467f7 [Add] cTrans colour. 2013-03-10 16:10:26 +00:00
Allanis
2a572b713a [Fix] Enforce outfit selling/buying with limits. 2013-03-10 16:07:38 +00:00
Allanis
23a982fbb5 [Fix] Missing return statement prevented 'm' from also closing the map. 2013-03-10 15:15:39 +00:00
Allanis
0421e2a43b [Fix] Secondary weapons no longer seg fault upon cycling through. 2013-03-10 15:14:00 +00:00
Allanis
f5d5441fd2 [Add] More control with mouse events on custom widgets, you can drag map and also select planets. 2013-03-10 15:07:30 +00:00
Allanis
43a1bb019f [Fix] Mouse events not taking into account custom window offset. 2013-03-10 14:25:00 +00:00