Commit Graph

134 Commits

Author SHA1 Message Date
Steven Arnow
efa8b80eb9 Added NULL-pointer check for testing purposes 2013-06-22 18:51:14 +02:00
Allanis
03ca0bf5d2 [Add] Adding a ton more systems, optimised graphics etc. 2013-06-22 17:19:13 +01:00
Allanis
47cf24d254 [Fix] A* bugs where because of a typo. Changed to Djikstra now though. 2013-06-16 16:24:39 +01:00
Allanis
bc0ebf678e [Fix] Pathfinding doesn't seg fault anymore? 2013-06-16 16:05:04 +01:00
Allanis
16baff189e [Change] Added a few nazi flags, and fixed code up a little. 2013-06-11 22:50:04 +01:00
Allanis
00730b50a7 [Clean] gl_screen.[wh] = SCREEN_[WH] in most places. 2013-06-02 14:43:24 +01:00
Allanis
848a5e120d [Fix] Added PLAYER_CREATING flag to fix all creation/death issues propperly. 2013-06-01 18:39:37 +01:00
Allanis
d4e46a6210 [Clean] WTF is this?! 2013-05-25 18:01:25 +01:00
Allanis
5060e9b7ba [Change] Just a few bits of cleanup. 2013-05-23 20:13:41 +01:00
Allanis
960017f2f9 [Add] Fuel is now used ingame. 2013-05-16 19:25:56 +01:00
Allanis
5f2f57f6ee [Change] Some more minor cleanup that noone cares about. 2013-05-16 15:59:46 +01:00
Allanis
856ea04d8d [Add] Prompt before overwriting pilot's save. 2013-05-16 15:18:12 +01:00
Allanis
1f5c05ac77 [Change] It's about time I optimised space_render. 2013-05-15 22:36:10 +01:00
Allanis
a741250073 [Add] You can kinda load games, still need to fix some issues. 2013-05-11 20:59:12 +01:00
Allanis
c769e71c72 [Fixing] Y NO WERK!? 2013-05-05 21:07:07 +01:00
Allanis
b1ce5c83c6 [Add] You can now visually see the A* system paths now in map. 2013-04-24 18:42:02 +01:00
Allanis
57837e637a [Fix] Probably not the best fix for a mem leak, but eh. 2013-04-24 18:11:06 +01:00
Allanis
472579aa2a [Add] A* algorithm to get paths between systems. 2013-04-23 22:57:46 +01:00
Allanis
7c1816aa2b [Add] Time in the form of Galactic Date. 2013-04-22 14:02:15 +01:00
Tamir Atias
f6b0171562 [Add] Code to prevent objects from free'd when they were already freed before. 2013-04-20 01:11:23 +03:00
Allanis
ae97cb398c [Add] Ability to figure out where a planet is located. 2013-04-09 21:11:12 +01:00
Allanis
7f973d7fe8 [Add] Improved space.getPlanet() mission lua. 2013-04-04 21:24:25 +01:00
Allanis
97bd83e7da [Fix] Small bug fixes. 2013-04-04 18:22:04 +01:00
Allanis
371e5b8aba [Change] Improved lua api for missions somewhat. 2013-04-04 18:15:56 +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
127e76c542 [Fix] minor mem leak. 2013-03-22 18:35:11 +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
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
ccffdae9fd [Add] Player death with short cinematic. 2013-03-20 20:23:39 +00:00
Allanis
0d6ac1e5b1 [Add] Afterburners are in! After buying the outfit, double tap 'w'. 2013-03-19 22:34:20 +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
aa4112f2df [Add] Planets now have commodities. Nothing can be done with them yet ;) 2013-03-16 21:13:21 +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
ef36411f81 [Change] Planet colours are based on standing. 2013-03-16 13:38:49 +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
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
ef437c9b98 [Fix] I'm a retard!! I wasn't initialising ticks.. Spawning now works. Ima go sleep now. 2013-02-28 03:41:03 +00:00
Allanis
6b1228a4af [Add] Adding spawns. It's uh.. Not working? I'll work on it some more later.. 2013-02-28 02:36:45 +00:00
Allanis
ddadb068fe [Change] Compressed the debug messages. 2013-02-27 14:36:56 +00:00
Allanis
9175091456 [Fix] Forgot to remove special effects when in hyperspace.` 2013-02-26 23:46:55 +00:00
Allanis
ffd806bea6 [Change] Spoke too soon. Star deformation length is now defined. 2013-02-26 18:27:06 +00:00
Allanis
45d75779dd [Add] Perfected hyperspace visuals. ^.^ 2013-02-26 18:21:51 +00:00
Allanis
d2e952fb88 [Change] Just some C correctiveness. 2013-02-26 15:47:56 +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
Allanis
b2a887ba45 [Change] Improved transition into hyperspace a little. 2013-02-20 20:10:36 +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
4384adec98 [Add] Spaceport bar. (no missions or hirelings or alchol available yet). 2013-02-19 20:04:04 +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
c0cc0a9346 [Add] Start of toolkit framework, we will manage windows etc here.
[Add] Pause/Resume
2013-02-16 20:01:00 +00:00
Allanis
9fae81c389 [Fix] AI's landing, it's still not as good as I wish however.
[Add] A few more xml macros and cleaned up a little code to use them.
2013-02-14 14:25:32 +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
29b8b5ba18 [Add] A few more AI calls.
[Add] Ai protection and some tweaks.
  -- eg. Once armor/shield is regenerated, enemy will come back for another round.
2013-02-10 18:32:02 +00:00
Allanis
74161ff223 [Change] Adding a little more distance on ship start locations. 2013-02-10 05:35:41 +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
58e7c9b3d7 [Add] Ai profile support. 2013-02-09 00:53:37 +00:00
Allanis
acf4150079 [Add] Per pixel collision.
[Fix] Fleets now start at random location.
    -- Still needs improvement.
2013-02-08 18:29:07 +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
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
b13ecc66bb [Add] Outfit loading.. Not fully done yet. 2013-02-04 17:44:53 +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
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
c84a11e4a7 [Add] Moving stars.
[Change] optimized opengl.c a little.
2013-02-02 15:12:39 +00:00
Allanis
b5a7ba8919 [Fix] Changing from floating point to doubles. 2013-02-02 14:21:05 +00:00
Allanis
e8ed98b69d [Add] gl_print (FreeType fonts). 2013-02-02 06:15:51 +00:00
Allanis
c124c9fcca [Change] Stars use alpha instead of colors. 2013-02-01 23:12:07 +00:00
Allanis
fd22930673 [Fix] Stars make a bit more sense now! :D 2013-02-01 22:47:04 +00:00
Allanis
246bdff2c8 [Add] Stars!!!! 2013-02-01 22:20:57 +00:00