Commit Graph

414 Commits

Author SHA1 Message Date
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
8eb62f218f [Fix] Woops. Maybe it was me.. 2013-02-17 22:47:40 +00:00
Allanis
ba4b7239d4 [Change] Some tweaks to GL rendering. - I should point out, It wasn't me whom broke the textures. :P 2013-02-17 22:45:19 +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
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
1f59163010 [Fix] Hack fix to Lua's makeseed() API call.
-- Got @KonoM working on a better fix.
2013-02-16 20:37:44 +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
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
5f3f1a9529 [Fix] Oops. Forgot to kill the end tag. 2013-02-15 22:52:51 +00:00
Allanis
eff43341b9 [Remove] Simplistic GUI stuff. Not needed any longer. 2013-02-15 22:48:27 +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
334730287c [Add] Just a little makefile hackery to keep a version file up to date. 2013-02-15 20:56:58 +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
92cea4a1b5 [Test] Last one. 2013-02-15 19:34:12 +00:00
Allanis
0351531b6b [Test] Sorry. Just testing some hooks. 2013-02-15 19:28:10 +00:00
Allanis
2dea6c3c11 [Test] Test commit. 2013-02-15 19:17:56 +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
de91004814 [Remove] Blunder. 2013-02-14 21:34:01 +00:00
Allanis
3f5a6f91e1 [Fix] Might as well add it propperly.. 2013-02-14 21:31:08 +00:00
Allanis
30e659c253 [Add] Profiling flag to makefile. 2013-02-14 21:24:38 +00:00
Tamir Atias
d0f599a853 [Fix] mkspr was not linking libpng. 2013-02-15 00:59:43 +02:00
Allanis
263256974d [Add] 'f' key to face target. 2013-02-14 20:52:24 +00:00
Tamir Atias
2f1618ee81 [Add] Missing linker flag. 2013-02-14 23:34:01 +02: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