Commit Graph

124 Commits

Author SHA1 Message Date
Allanis
2a713437a2 [Fix] Pause on landing on a planet. 2013-02-17 20:18:16 +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
9899458f91 [Change] moved FreeSans.ttf to font.ttf simply to make things more comfortable later. 2013-02-17 17:37:16 +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
e6057d04af [Change] Still cleaning. Adding all the input crap to it's rightful place. 2013-02-16 12:09:21 +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
d57bcd0484 [Fix] Slight change to pack file to append '\0' to string. 2013-02-15 20:48:55 +00:00
Allanis
7e013e5b91 [Add] AI Lua API calls for secondary weapons. 2013-02-15 20:26:41 +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
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
dc9f089abe [Fix] *Now* it's fixed.. Forgot to correct lua and xml files. 2013-02-15 02:34:40 +00:00
Allanis
ad006788c5 [Fix] Oops. Forgot to run that hack on header and text files.. 2013-02-15 02:22:35 +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
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
184d527abf [Add Gui's NAV and WEAPON monitors are now utilised. 2013-02-13 18:57:44 +00:00
Allanis
6ace8da900 [Add] New ship: Leapard! 2013-02-13 16:42:42 +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
b75f0f1d6b [Fix] Squished an offset bug in splite britting. 2013-02-13 14:38:01 +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
d288a2db9f [Fix] Silly collision bug. Pixel-Perfect collision should now be *perfect*(tm). 2013-02-12 20:22:35 +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
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
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
f107574b38 [Fix] Silly hostility bug. 2013-02-10 04:20:27 +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
9d57f0ddfc [Add] About time I added timer support for AI.
[Fix] Buffer overflow in AI.
2013-02-09 18:58:50 +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
08f9cb3781 [Add] Ai now responds on being attacked. 2013-02-08 20:26:39 +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
28c5b6ea73 [Fix] Last commit was crappy. 2013-02-08 16:43:53 +00:00