Commit Graph

184 Commits

Author SHA1 Message Date
Allanis
1ecf7c1e54 [Fix] Primary weapons where borked on checking for ammunition. 2013-02-19 23:02:42 +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
7889035b29 [Add] Taking off after landing on a planet now has a direct affect on the system. 2013-02-19 22:22:48 +00:00
Allanis
bfc3582d1e [Change] pilot and star stack won't lower memory allocation now. 2013-02-19 22:17:31 +00:00
Allanis
f5834d33f9 [Add] Commodity exchange. The market is closed the minute. :P 2013-02-19 21:46:11 +00:00
Allanis
8f7df9fc2f [Add] Embed name on window creation rather than having the overhead of writing and positioning a block of text. 2013-02-19 21:38:57 +00:00
Allanis
4384adec98 [Add] Spaceport bar. (no missions or hirelings or alchol available yet). 2013-02-19 20:04:04 +00:00
Allanis
2c388ea1b0 [Add] News window and the concept of fuel. 2013-02-19 19:13:24 +00:00
Allanis
1307661363 [Add] We now have some unimplmented planet services. 2013-02-19 18:50:17 +00:00
Allanis
7b72a35b9e [Fix] Why are we reversing while we are already stopped dead? 2013-02-19 18:11:43 +00:00
Allanis
69476744b8 [Change] Forgot to remove debug statement. 2013-02-19 17:50:51 +00:00
Allanis
474d1df755 [Add] A reverse command for @KonoM as he does not know how physics works. 2013-02-19 17:44:20 +00:00
Allanis
08f5dcc42c [Change] Targetting graphics are a litte more schamatic now. 2013-02-19 17:09:32 +00:00
Allanis
59fc153454 [Change] Pulled default colours out of player.* and throw them in their rightful unit. 2013-02-19 15:43:34 +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
d66e1a52f9 [Change] Font work was becoming a little too large to sit in opengl specific code. Moved to font.* 2013-02-19 12:24:55 +00:00
Allanis
74211a0825 [Add] Pause game when window is not focused. Introduced a small 10ms delay when paused to lower CPU usage. 2013-02-19 11:37:38 +00:00
Tamir Atias
f66f644411 Merge branch 'master' of https://github.com/Allanis/Lephisto 2013-02-19 02:43:02 +02:00
Tamir Atias
7034b2369c [Fix] Screenshots were saved as RGBA. Bad idea. 2013-02-19 02:42:37 +02:00
Allanis
13473611ae [Add] Actual landing image. 2013-02-19 00:41:47 +00:00
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