Commit Graph

116 Commits

Author SHA1 Message Date
Allanis
5d17f0e31d [Add] Added Planet:pos() and Vec2:dist() plus much more. 2013-11-17 02:55:03 +00:00
Allanis
49c1bd5b4e [Change] Removed dependancy of the spawn_timer on SDL_GetTicks(). 2013-11-13 02:42:23 +00:00
Allanis
a3f791e52f [Change] Tweaked fleet adding a little so it seems more natural. 2013-10-15 00:31:55 +01:00
Allanis
673b83ea6a [Add] More doxygen along with some slight code cleaup. 2013-10-11 23:02:39 +01:00
Allanis
8feb19e20c [Add] Pilots sort of start as landed. 2013-10-09 22:16:28 +01:00
Allanis
0231017e57 [Fix] Some long time snprintf mistakes. 2013-10-04 17:03:48 +01:00
Allanis
014ba77361 [Change] Improved the faction colouring a little. 2013-08-26 16:41:37 +01:00
Allanis
e3ddc663bf [Add] planet_getClass. Lots more music. 2013-08-24 11:32:13 +01:00
Allanis
ce15505f7e [Change] Added punctuation to player_message()s 2013-08-17 15:37:05 +01:00
Allanis
aafeaa43cd [Fix] No longer seg fault if can't find a known system in a save file. 2013-08-15 13:26:07 +01:00
Allanis
35969bab38 [Add] Can now override pilot AI in a fleet.
[Change] Made fleet_parse() more up to date with xml.h
2013-08-10 20:23:06 +01:00
Allanis
79411d240e [Change] Unified colouring schemes. 2013-08-09 20:45:17 +01:00
Allanis
4d53076677 [Add] Uninhabited planets now show up as so on the radar. 2013-08-09 16:14:49 +01:00
Allanis
b4e325a9fe [Change] Removed alliance deal, now each faction states it's own allies/enemies. 2013-07-25 17:23:05 +01:00
Allanis
352083a0ce [Fix] Forgot to change free. 2013-07-23 12:52:15 +01:00
Allanis
11e5607477 [Change] Load gfx_exterior for planets only on demand. 2013-07-23 12:49:50 +01:00
Allanis
497081b3ed [Change] Split player rendering properly into GUI and player. 2013-07-22 17:21:28 +01:00
Allanis
092b48651d [Change] Restructured a little to prepare for puffs of nebulae. 2013-07-22 15:53:09 +01:00
Allanis
e066250c1f [Change] Improved nebulae system. 2013-07-21 15:58:58 +01:00
Allanis
df8af779ee [Add] Star system can now set nebuale density and volatility. 2013-07-21 13:33:43 +01:00
Allanis
6e3417907f [Fix] Segfault with creating new pilot. 2013-07-21 11:25:20 +01:00
Allanis
42a57d09e9 [Add] space_renderOverlay(). 2013-07-21 11:13:53 +01:00
Allanis
862ef7759b [Change] Split the star rendering to be able to switch to nebulae soon. 2013-07-20 19:17:10 +01:00
Allanis
185039ae62 [Change] Cleaned up some variable/function names, also added -Wshadow CFLAG. 2013-06-28 16:08:56 +01:00
Allanis
692fb388df [Add] Missions can now mark systems. [Fix] Seg fault when switching pilots. 2013-06-26 00:28:16 +01:00
Allanis
5760978e56 [Change] Moved A* jump pathfinding from space.c to map.c. 2013-06-25 21:07:54 +01:00
Allanis
700e47cd57 [Add] Use flags now for systems to allow missions to mark them. 2013-06-24 21:48:57 +01:00
Allanis
6c3d96ba51 [Add] Pathfinding avoids unknown systems. 2013-06-23 20:42:33 +01:00
Allanis
10a4791d81 [Add] Magor: You don't already know all the star system location. Go explore. 2013-06-23 19:22:07 +01:00
Allanis
53f1da128c [Change] Make ships appear to enter from hyperspace, I'm not completely satisfied yet. 2013-06-22 22:01:19 +01:00
Steven Arnow
a2bb0df939 All C++-comments in src/ should now be C89 comments 2013-06-22 22:10:25 +02:00
Allanis
d195480622 [Change] Formalized space station types. 2013-06-22 19:21:51 +01:00
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