Commit Graph

190 Commits

Author SHA1 Message Date
Allanis
e152d40fb2 [Add] Track cargo missions so they get cleaned on abort. 2013-04-08 23:29:44 +01:00
Allanis
07883a8a3b [Add] Gave mission cargo special marker in gui. 2013-04-06 14:10:53 +01:00
Allanis
8172d0f21f [Add] Introduced concept of mission cargo being un-tradable. 2013-04-05 20:19:27 +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
4f93fba024 [Add] Finally, fixed two horrible ugly ass bugs. 2013-04-03 19:08:42 +01:00
Allanis
a66a9ea264 [Change] Use ids for factions instead of pointers. 2013-03-31 16:12:33 +01:00
Allanis
f63605d605 [Change] Some cleanup with loading. 2013-03-26 17:04:42 +00:00
Allanis
4904fd5d24 [Add] Dialogue input. 2013-03-23 20:23:15 +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
8da2cb1299 [Add] You can specify default fptr for windows now. 2013-03-22 20:31:42 +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
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
eff5850957 [Change] Land message. 2013-03-21 23:07:32 +00:00
Allanis
32462e21d4 [Fix] Stop pilot turning/accelerating when dying. 2013-03-21 21:35:53 +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
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
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
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
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
36812733fd [Change] Sanitized message order. 2013-03-17 14:37: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
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
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
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
a4bca2004b [Add] You will need permission to land on a planet. 2013-03-10 20:13:07 +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
46109626a4 [Fix] Typo causing hyperspace selection seg fault. 2013-03-10 16:12:44 +00:00
Allanis
0421e2a43b [Fix] Secondary weapons no longer seg fault upon cycling through. 2013-03-10 15:14:00 +00:00
Allanis
1d6b0268b5 [Change] Cleaned up codebase to not exceed 80 characters. 2013-03-10 14:18:07 +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
4d0e838d84 [Change] Cleaned up that last commit. 2013-03-08 14:42:14 +00:00
Allanis
89f690eda0 [Fix] Display '0' properly if you sell al your ammo. 2013-03-08 14:34:47 +00:00
Allanis
eeb09fdf05 [Add] Make $$ from selling outfits. 2013-03-08 13:54:30 +00:00
Allanis
a33bb0624a [Add] Selling of outfits, also improved purchasing of outfits. 2013-03-08 00:10:45 +00:00
Allanis
3fc4cb88df [Add] You can buy ships. :) Free of charge until offer lasts. 2013-03-07 15:28:35 +00:00
Allanis
e6b28a1634 [Add] Shipyard information on manufacturer and purchase price etc. 2013-03-07 14:36:17 +00:00
Allanis
8f6b02cfc1 [Add] Turrets!! 2013-02-28 17:38:44 +00:00
Allanis
27f4ddcd86 [Add] VLack wished to know what resolution we was at with radar. Well. Here it is. 2013-02-27 23:55:08 +00:00
Allanis
495a9ccb74 [Add] Enemy pilots die with a big ass explosion. :D 2013-02-27 22:16:09 +00:00
Allanis
39c99a064f [Change] Moved credit funcions to economy.* and applied some moniez to NPC for you to loot. 2013-02-27 17:32:25 +00:00
Allanis
5694a0b598 [Change] Seperated boarding from player.c to board.c. Fixed ship information panel. 2013-02-27 15:38:15 +00:00
Allanis
45d75779dd [Add] Perfected hyperspace visuals. ^.^ 2013-02-26 18:21:51 +00:00
Allanis
409dbff310 [Change] Improved hyperspace transition. 2013-02-26 17:54:51 +00:00
Allanis
a10931b7b6 [Fix] Clearing out some warning that I allowed to slip in. 2013-02-26 17:48:47 +00:00
Allanis
d2e952fb88 [Change] Just some C correctiveness. 2013-02-26 15:47:56 +00:00
Allanis
439fce48c8 [Add] Combat rating based on mass of pilots killed. -- [Add] Player name. 2013-02-24 18:18:52 +00:00
Allanis
34a6be43df [Add] Merchant vessels are now able to go to hyperspace.
[Change] Overpowered merchant ship a little for testing purposes.
2013-02-24 15:40:34 +00:00
Tamir Atias
166dcc95f7 [Change] Renamed main.* to lephisto.*. 2013-02-23 22:38:03 +02:00
Allanis
fccd9dcc22 [Fix] Mkay. Sound seems to be working without any problems now. 2013-02-22 22:07:42 +00:00
Allanis
dcc0fc247b [Add] Sound base support. 2013-02-22 05:34:24 +00:00
Allanis
529ca21644 [Add] Audio engine is now working, it It's fully tuned enough yet however.
[Change] Refactored ship.c to comply with xml.* standards.
2013-02-22 04:06:47 +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
b4565b9063 [Fix] Radar zoom in/out has been bugged for some time. No-one noticed apart from Laci, so I decided to give it a fix. 2013-02-20 21:43:15 +00:00
Allanis
9ad2837a39 [Fix] Screenshots will allow up to 128 shots now without overwriting. These will go to a nice screenshots directory for you. 2013-02-20 21:37:02 +00:00
Allanis
a0f90f9877 [Add] Just playing around, as I can't be bothered to do anything big. 2013-02-20 21:26:17 +00:00
Allanis
376a3af395 [Add] Fade to white when hyperspacing. Might want to add sound to that later. 2013-02-20 21:10:39 +00:00
Allanis
7e3bca1e51 [Change] Remove hard forcing of player speed and instead use incremental slowdown.
[Fix] Pause would give instant travel. Not now!!
2013-02-20 20:20:48 +00:00
Allanis
44c6ea6ed6 [Add] Rudementory Hyperspace travel. Still a work in progress. ;) 2013-02-20 19:34:30 +00:00
Allanis
a99544804e [Add] Small boarding menu, along with a function to get windows based on name rather than id. 2013-02-19 22:58:10 +00:00
Allanis
bfc3582d1e [Change] pilot and star stack won't lower memory allocation now. 2013-02-19 22:17:31 +00:00
Allanis
7b72a35b9e [Fix] Why are we reversing while we are already stopped dead? 2013-02-19 18:11:43 +00:00
Allanis
69476744b8 [Change] Forgot to remove debug statement. 2013-02-19 17:50:51 +00:00
Allanis
474d1df755 [Add] A reverse command for @KonoM as he does not know how physics works. 2013-02-19 17:44:20 +00:00
Allanis
59fc153454 [Change] Pulled default colours out of player.* and throw them in their rightful unit. 2013-02-19 15:43:34 +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
d66e1a52f9 [Change] Font work was becoming a little too large to sit in opengl specific code. Moved to font.* 2013-02-19 12:24:55 +00:00
Allanis
9773d9b19a [Change] Planet target is rendered behind ships and weapons. 2013-02-19 00:15:32 +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
268b5dcaa0 [Fix]? Attempted to fix seg fault on AI trying to switch to secondary weapons when there is none available. 2013-02-17 23:30:40 +00:00
Allanis
811fc0b92a [Change] What in the world was I thinking with the gui crap?? Large refactoring.. 2013-02-17 21:56:57 +00:00
Allanis
f941608fd8 [Fix] Oops. Landing was based upon velocity alone, instead of distance and velocity. 2013-02-17 19:53:06 +00:00
Allanis
14e525078e [Add] Basic toolkit for window/widget rendering etc.
[Add] Landing.
2013-02-17 19:51:31 +00:00
Allanis
67480a47e3 [Change] Finished cleaning input. Making way for toolkit. 2013-02-16 12:56:29 +00:00
Allanis
e3c2ca72ac [Add] Planet targeting/landing framework.
[Change] Seperated update/render as it should be.
2013-02-15 18:15:06 +00:00
Allanis
ef108e9f2e [Change] Small change to secondary weapon display. 2013-02-15 09:24:53 +00:00
Allanis
36f1936667 [Add] Secondary weapons.
[Add] Preliminary seeker missile.
2013-02-15 07:31:59 +00:00
Allanis
627240c5a4 [Change] Now we can get confused as to when to use Color and Colour. Won't that be fun? 2013-02-15 02:57:51 +00:00
Allanis
2b3852c25b [Fix] Guess who found out the correct spelling of armour!
-- find . -iname \*.c -exec sed -i -e "s/armor/armour/g" {} \;
2013-02-15 02:18:09 +00:00
Allanis
263256974d [Add] 'f' key to face target. 2013-02-14 20:52:24 +00:00
Allanis
70c9585302 [Add] Rudimentary screenshots. 2013-02-14 19:29:26 +00:00