Commit Graph

292 Commits

Author SHA1 Message Date
Allanis
1b3d884f7e [Add] Unique missions are now actually.. Unique. 2013-04-09 01:14:16 +01:00
Allanis
3df258229c [Fix] guiy fix, no longet see the 0 in weightless cargo. 2013-04-08 23:43:42 +01:00
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
Allanis
7dbe3d2598 [Add] It is now possible to disable ships - No death yet.
[Add] Player start location. ship etc can now be defined in data file.
2013-02-14 17:55:31 +00:00
Allanis
e269911055 [Fix] S credits was giving bogus output values. 2013-02-14 16:15:37 +00:00
Allanis
23cb72bffd [Add] Utilising all GUI elements.
-- Minimal right now.
2013-02-14 16:07:19 +00:00
Allanis
184d527abf [Add Gui's NAV and WEAPON monitors are now utilised. 2013-02-13 18:57:44 +00:00
Allanis
c4e7a8a9ee [Change] Thrown XML crap into a single header.
-- player.c currently uses this.
2013-02-13 15:48:36 +00:00
Allanis
053d7b75b6 [Change] Target color changes based on target. 2013-02-13 14:30:17 +00:00
Allanis
74ed3e094b [Add] New GUI.
[Fix] Circular radar.
2013-02-13 13:59:38 +00:00
Allanis
e1b23f928b [Change] GUI's are now saved in XML and thrown into data pack file.
-- This allows for multiple gui's.
  -- Each ship can also have it's own gui if it so chooses.
2013-02-12 19:34:47 +00:00
Allanis
e0f78e40a3 [Add] Absolutely nothing. Just need my commit for the day. Too lazy to code. 2013-02-11 19:42:33 +00:00
Allanis
34b01c7545 [Add] More input error checking and safety crap.
-- This also fixes a segmentation fault on application close.
2013-02-10 21:45:06 +00:00
Allanis
3db7241663 [Fix] Configuration file issues. 2013-02-10 21:06:08 +00:00
Allanis
a89395a54f [Add] We can now have multiple enemies.
[Add] You are able to get other ship's health from AI now.
2013-02-10 05:21:09 +00:00
Allanis
f6f1677614 [Add] keybinding 'r' to grab nearest enemy target -- Tamir's request. 2013-02-10 04:12:05 +00:00
Allanis
d1c02773bf [Add] Enemies are now propperly parsed.
[Add] Chance for pirate to come and rampage.
[Fix] Actually got that buffer overflow in ai.
2013-02-09 22:06:02 +00:00
Allanis
eac16dacdd [Fix] control_rate is now applied properly.
[Fix] Targetted now renders over the pilot's below.
2013-02-09 16:11:53 +00:00
Allanis
d46f509ee5 [Add] Faction system almost done.
[Add] Fleets almost complete, just need to randomize start location.
2013-02-08 16:04:24 +00:00
Allanis
943cbecf70 [Add] Fleets. Not actually making use of them yet though.
[Add] More error checking for XML files
2013-02-08 14:26:53 +00:00
Allanis
5386ad0f82 [Fix] I don't quite understand this. Lua error on intel with ';' at end statements. 2013-02-07 21:44:45 +00:00
Allanis
d112edc90b [Change] Reducing text timeout. 2013-02-07 21:33:43 +00:00
Allanis
d2c548218d [Add] Message system.
[Fix] Spinning lazer thingy.
2013-02-07 20:54:34 +00:00
Allanis
27fa5d774f [Add] Planets in minimap - Never lose the planet again!!
[Add] NPC's in minimap have different colors based on faction.
2013-02-06 23:49:22 +00:00
Allanis
09f6aea97e [Add] Targetting!!! 2013-02-06 22:21:00 +00:00
Allanis
c2ec11a7c3 [Add] Zoom in/out, for minimap.
[Add] Weapons are now displayed on minimap.
2013-02-06 20:24:45 +00:00
Allanis
1024eb02e2 [Fix] Vectors for enemy location on minimap. 2013-02-05 23:33:20 +00:00
Allanis
4d7c01f078 [Add] Basic Gui.
-- Minimap.
  -- Health bars.
2013-02-05 23:10:46 +00:00
Allanis
f220145d7d [Add] Radial collision detection.
[Add] Pilots now take damage.
2013-02-05 20:12:09 +00:00
Allanis
7a8dc43f96 [Fix] Only took all day to fix last night sleepy mess. :D 2013-02-05 18:31:34 +00:00
Allanis
998a1bf68b [Add] Rudimentary shooting. This needs some work.
[Add] Layers should be working properly.
2013-02-05 16:50:56 +00:00
Allanis
b13ecc66bb [Add] Outfit loading.. Not fully done yet. 2013-02-04 17:44:53 +00:00
Allanis
c10b1f24fb [Add] A few more AI(Lua) calls.
[Add] A little more documentation for Lua.
2013-02-04 14:10:59 +00:00
Allanis
6a2f07b5b7 [Change] Optimized ai API some.
[Fix] Few mem leaks.
2013-02-04 11:00:32 +00:00
Allanis
376eedc616 [Add] Star systems.
[Add] Planets.
2013-02-04 09:09:04 +00:00
Allanis
57dc51fb91 [Add] Initial AI support with Lua 2013-02-03 00:37:42 +00:00
Allanis
a7546372cc [Add] Vec2 now uses polor coords. 2013-02-02 22:52:58 +00:00
Allanis
54beb595dc [Add] Dynamic key bindind loading from configuration file. 2013-02-02 21:13:25 +00:00
Allanis
b5a7ba8919 [Fix] Changing from floating point to doubles. 2013-02-02 14:21:05 +00:00
Allanis
d39e7925ea [Fix] Small handling fixes, nothing special. 2013-02-02 00:48:44 +00:00
Allanis
838bbcd2ab [Add] Initial Lua infrastructure. 2013-02-02 00:39:48 +00:00
Allanis
223a6185fb [Add] Command line option.
[Add] Finished(tm) joypad support.
[Change] Input comes from player.
2013-02-01 02:32:29 +00:00
Allanis
20bf55f117 [Add] Leave me a lone a short while, still working with this. 2013-01-31 23:22:32 +00:00