Commit Graph

58 Commits

Author SHA1 Message Date
Allanis
14e525078e [Add] Basic toolkit for window/widget rendering etc.
[Add] Landing.
2013-02-17 19:51:31 +00:00
Tamir Atias
326b475923 [Fix] Renamed time to gtime and made it global as it is used in pause.c 2013-02-17 02:52:52 +02:00
Tamir Atias
61f1069542 [Fix] time(NULL) segfaulting stuff. 2013-02-17 02:50:37 +02: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
67480a47e3 [Change] Finished cleaning input. Making way for toolkit. 2013-02-16 12:56:29 +00:00
Allanis
95ac1a61d7 [Change] Still cleaning up the place.
-- Basically just moving things into conf.c to make things cleaner.
  -- Got to get the input out player.c That file is wayyyy too big.
2013-02-15 23:51:20 +00:00
Allanis
2d797b9d52 [Add] Split configuration processing into seperate files, namely conf.*
-- Managed to clean up main.c a little.
2013-02-15 22:43:49 +00:00
Allanis
a6c9a00cf5 [Add] Updated documentation crap.
[Fix] Warning on 64bit machines.
2013-02-15 19:08:38 +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
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
b75f0f1d6b [Fix] Squished an offset bug in splite britting. 2013-02-13 14:38:01 +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
f6f1677614 [Add] keybinding 'r' to grab nearest enemy target -- Tamir's request. 2013-02-10 04:12:05 +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
58e7c9b3d7 [Add] Ai profile support. 2013-02-09 00:53:37 +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
a392c2c67b [Add] Faction support. 2013-02-07 23:59:17 +00:00
Allanis
d2c548218d [Add] Message system.
[Fix] Spinning lazer thingy.
2013-02-07 20:54:34 +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
4d7c01f078 [Add] Basic Gui.
-- Minimap.
  -- Health bars.
2013-02-05 23:10:46 +00:00
Allanis
cf86e5b0c7 [Fix] One seg fault! No idea how many more to go. 2013-02-05 17:55:01 +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
1e19ae63c1 [Fix] Small formatting adjustment. 2013-02-04 13:27:31 +00:00
Allanis
d57941331a [Add] Data files can be defined at runtime! 2013-02-04 13:26:23 +00:00
Allanis
6a2f07b5b7 [Change] Optimized ai API some.
[Fix] Few mem leaks.
2013-02-04 11:00:32 +00:00
Allanis
f90a2a273c [Change] Load fonts from project directory, throw it in data pack. 2013-02-04 09:32:03 +00:00
Allanis
376eedc616 [Add] Star systems.
[Add] Planets.
2013-02-04 09:09:04 +00:00
Allanis
aa8a2187ba [Change] xml now loads from data pack.
[Add] Ship xml syntax checking.
2013-02-04 00:47:19 +00:00
Allanis
5609dd7b22 [Fix] Check for null node in xml.
[Fix] Corrected help
2013-02-03 22:13:13 +00:00
Allanis
7910dac9c3 [Add] Long options for command line -- VLack's recommendation. 2013-02-03 17:45:38 +00:00
Allanis
86feaa0336 [Add] Lua wrapper calls. 2013-02-03 14:44:03 +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
bf4b1fb02a [Remove] Who the hell uses arrow keys for movement these days anyway?! 2013-02-02 21:56:04 +00:00
Allanis
066d4871cc [Fix] Just a few optimization. 2013-02-02 21:50:13 +00:00
Allanis
54beb595dc [Add] Dynamic key bindind loading from configuration file. 2013-02-02 21:13:25 +00:00
Tamir Atias
57bebe1403 [Add] FreeSans.ttf in repo. 2013-02-02 23:01:55 +02: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
d39e7925ea [Fix] Small handling fixes, nothing special. 2013-02-02 00:48:44 +00:00
Allanis
dd5cbe614b [Add] Lua dependancy.
-- Lua parses config file.
2013-02-02 00:16:06 +00:00
Allanis
ef46996890 [Fix] Bad help is bad. 2013-02-01 23:49:23 +00:00
Allanis
1bc828e8dd [Add] Select joystick by name with option -J [string] as well as id with -j [id] 2013-02-01 23:37:13 +00:00