Commit Graph

122 Commits

Author SHA1 Message Date
Allanis
68710f9fb5 [Add] View missions at land screen. 2013-04-01 00:23:05 +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
b565e6e6cb [Add] Give active mission ids and use the ids for removing hooks. 2013-03-30 21:47:27 +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
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
269de8dcfe [Add] player_getLoc and don't allow player to repeat ship names. 2013-03-22 21:04:25 +00:00
Allanis
8a1e7133c6 [Add] player_ships and player_getShip to manipulate player ships. 2013-03-22 20:17:16 +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
2b8d4ecd82 [Add] Feel free to name your ship!! 2013-03-22 01:47:57 +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
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
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
4ea444b9ae [Change] All tabs back to spaces. 2013-03-21 00:27:05 +00:00
Allanis
74b7a22b6e [Fix] Font width issues.. 2013-03-20 23:17:40 +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
c2d44ebb74 [Fix] FFS. Wasn't incrementing number of outfits while trying to add it. 2013-03-17 20:13:43 +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
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
aa4112f2df [Add] Planets now have commodities. Nothing can be done with them yet ;) 2013-03-16 21:13:21 +00:00
Allanis
49ab58fdda [Change] Cleared silly commodity exchange message. 2013-03-16 19:26:15 +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
a4bca2004b [Add] You will need permission to land on a planet. 2013-03-10 20:13:07 +00:00
Allanis
2a572b713a [Fix] Enforce outfit selling/buying with limits. 2013-03-10 16:07:38 +00:00
Allanis
1d6b0268b5 [Change] Cleaned up codebase to not exceed 80 characters. 2013-03-10 14:18:07 +00:00
Allanis
7fb9bbedce [Add] Custom mouse events for custome widgets 2013-03-10 13:41:36 +00:00
Allanis
c6ffaaed20 [Add] Basic map support, Added gl_drawCircle and gl_drawCircleInRect 2013-03-09 22:07:28 +00:00
Allanis
51d2abe73e [Add] New drone, new outfit. Also changed wpn to blt, as we will have multiple forms of weaponry. 2013-03-09 20:46:24 +00:00
Allanis
37862dbf3c [Add] Use shift/control modifiers to purchase more outfits at a time. 2013-03-08 14:21:03 +00:00
Allanis
eeb09fdf05 [Add] Make $$ from selling outfits. 2013-03-08 13:54:30 +00:00
Allanis
1d4286d2ad [Add] More weapon space for ships. Space limit on outfits. 2013-03-08 02:26:06 +00:00
Allanis
d1d08da22c [Fix] Cosmetic changed to fix formatting in Outfit store and shipyard. 2013-03-08 00:19:34 +00:00
Allanis
a33bb0624a [Add] Selling of outfits, also improved purchasing of outfits. 2013-03-08 00:10:45 +00:00
Allanis
36a8847248 [Add] You may buy new outfits now. :D 2013-03-07 18:44:01 +00:00
Allanis
3fc4cb88df [Add] You can buy ships. :) Free of charge until offer lasts. 2013-03-07 15:28:35 +00:00
Allanis
88c7ad1156 [Fix] Better support for 640x480 2013-03-07 14:45:13 +00:00
Allanis
e6b28a1634 [Add] Shipyard information on manufacturer and purchase price etc. 2013-03-07 14:36:17 +00:00
Allanis
1b4bea7b1f [Add] Visualization and description of ships in the shipyard. 2013-03-07 14:11:02 +00:00
Allanis
c5280cb4b3 [Add] More list support. More shipyard features. Allow for NULL text in widget. 2013-03-06 21:52:33 +00:00
Allanis
8b76e4613c [Add] Rough outlines for shipyards and outfits. 2013-03-06 21:34:22 +00:00
Allanis
820c477d7b [Add] Clicky focus for lists as well as keyboard input. 2013-03-06 20:37:58 +00:00
Allanis
9ac872aac4 [Add] Selected list thingy actually renders. You can focus it too. 2013-03-06 14:54:11 +00:00
Allanis
f0fa480fb4 [Add] List widget renders. Time to make it actually work properly? 2013-03-06 13:02:42 +00:00
Allanis
a10931b7b6 [Fix] Clearing out some warning that I allowed to slip in. 2013-02-26 17:48:47 +00:00
Allanis
4db96b636a [Add] Just a bit more sanity checking for music. 2013-02-26 16:54:25 +00:00
Allanis
13228c39d8 [Fix?] Eh, some more error checking to prevent seg faults. 2013-02-23 20:14:58 +00:00
Allanis
15599909a0 [Fix] Flakyness removed. :D 2013-02-23 20:12:06 +00:00
Allanis
b165e7b263 [Add] Set volume with command line, volume is a little flaky at the min. :s. 2013-02-23 19:55:30 +00:00
Allanis
afd612ef17 [Add] Basic audio framework and some sounds. Give me another 30 mins and it will work. :) 2013-02-22 01:59:19 +00:00
Allanis
5381ceed02 [Add] Restore health/armour when taking off from a planet. 2013-02-20 20:37:42 +00:00
Allanis
44c6ea6ed6 [Add] Rudementory Hyperspace travel. Still a work in progress. ;) 2013-02-20 19:34:30 +00:00
Allanis
7889035b29 [Add] Taking off after landing on a planet now has a direct affect on the system. 2013-02-19 22:22:48 +00:00
Allanis
f5834d33f9 [Add] Commodity exchange. The market is closed the minute. :P 2013-02-19 21:46:11 +00:00
Allanis
8f7df9fc2f [Add] Embed name on window creation rather than having the overhead of writing and positioning a block of text. 2013-02-19 21:38:57 +00:00
Allanis
4384adec98 [Add] Spaceport bar. (no missions or hirelings or alchol available yet). 2013-02-19 20:04:04 +00:00
Allanis
2c388ea1b0 [Add] News window and the concept of fuel. 2013-02-19 19:13:24 +00:00
Allanis
1307661363 [Add] We now have some unimplmented planet services. 2013-02-19 18:50:17 +00:00
Allanis
9a9ace4a42 [Add] Text word wrapping/block text. Allowing for lovely descriptons of planets. 2013-02-19 14:18:55 +00:00
Allanis
13473611ae [Add] Actual landing image. 2013-02-19 00:41:47 +00:00
Allanis
bf9d422150 [Add] Support for images of planets within toolkit.
[Change] blit functions use doubles instead of vectors.
[Change] Took some time out to clean up space.c bringing it up to xml.h standards.
2013-02-19 00:10:57 +00:00
Allanis
d19f8c4ae8 [Add] More sane toolkit API. -- Improved landing graphics.
[Change] Moved colours out of opengl specific stuff.
2013-02-18 18:37:19 +00:00
Allanis
074e60afa5 [Add] Finished the basic toolkit by rounding off corners, adding gl_printMax and gl_printMid.
[Add] Use flag system with gl_screen.
  -- Optional AA for primitives.
2013-02-18 17:12:35 +00:00
Allanis
14e525078e [Add] Basic toolkit for window/widget rendering etc.
[Add] Landing.
2013-02-17 19:51:31 +00:00