Commit Graph

69 Commits

Author SHA1 Message Date
Allanis
00730b50a7 [Clean] gl_screen.[wh] = SCREEN_[WH] in most places. 2013-06-02 14:43:24 +01:00
Allanis
d8f3372abe [Fix] Some outstanding bugs in OpenGL textures. 2013-06-02 14:12:15 +01:00
Allanis
fee98162a6 [Fix] OpenGL blitting stuff. 2013-06-01 21:59:08 +01:00
Allanis
9701687dc7 [Fix] I haz been told that older versions of gcc won't compile this. I say FFFFUUUUU!! 2013-06-01 19:34:40 +01:00
Allanis
5f2f57f6ee [Change] Some more minor cleanup that noone cares about. 2013-05-16 15:59:46 +01:00
Allanis
2034a02f74 [Fix] *Mutters something about macro hell.* 2013-05-16 00:57:05 +01:00
Allanis
6552fc2cf2 [Change] Some openGL cleanup. 2013-05-16 00:09:39 +01:00
Allanis
8f7ec2fa09 [Add] Finally added opengl error checking in DEBUG builds. 2013-05-15 23:22:39 +01:00
Allanis
bd6281692b [Fix] Fullscreen: double free (someone should have told me not to free the ListModes :/ 2013-05-15 23:02:58 +01:00
Allanis
c4ede9fcce [Add] Check for shaders (not used yet). 2013-05-15 23:01:16 +01:00
Allanis
4fead727b4 [Fix] Needs a better fix. But fullscreen is working again! 2013-03-23 03:19:46 +00:00
Allanis
6a7c051851 [Fix] Moving from tab to space messed all the indents up. I thing that got them all now. 2013-03-21 19:34:35 +00:00
Allanis
4ea444b9ae [Change] All tabs back to spaces. 2013-03-21 00:27:05 +00:00
Allanis
5b4adca3bb [Change] No point in drawing if we are offscreen. (gl_drawCircleInRect). 2013-03-10 17:19:13 +00:00
Allanis
1d6b0268b5 [Change] Cleaned up codebase to not exceed 80 characters. 2013-03-10 14:18:07 +00:00
Allanis
3eadb955ff [Fix] Broken gl_drawCircleInRect 2013-03-09 22:15:59 +00:00
Allanis
c6ffaaed20 [Add] Basic map support, Added gl_drawCircle and gl_drawCircleInRect 2013-03-09 22:07:28 +00:00
Allanis
cc1d09c4b5 [Fix] Small issue with spritesheets that don't have sx == sy 2013-02-26 23:44:54 +00:00
Allanis
21deb8709d [Change] Optimized getSpriteFromDir somewhat. 2013-02-26 18:47:14 +00:00
Tamir Atias
166dcc95f7 [Change] Renamed main.* to lephisto.*. 2013-02-23 22:38:03 +02:00
Allanis
82ed9ac551 [Change] Just some cosmetic changes, and removed of bzero and strdup. 2013-02-23 20:30:49 +00:00
Allanis
afd612ef17 [Add] Basic audio framework and some sounds. Give me another 30 mins and it will work. :) 2013-02-22 01:59:19 +00:00
Allanis
376a3af395 [Add] Fade to white when hyperspacing. Might want to add sound to that later. 2013-02-20 21:10:39 +00:00
Allanis
c5fa395f17 [Fix] Few warnings from conf file and VERSION not loading into packed data file. 2013-02-20 20:59:35 +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
Tamir Atias
7034b2369c [Fix] Screenshots were saved as RGBA. Bad idea. 2013-02-19 02:42:37 +02: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
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
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
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
70c9585302 [Add] Rudimentary screenshots. 2013-02-14 19:29:26 +00:00
Allanis
23cb72bffd [Add] Utilising all GUI elements.
-- Minimal right now.
2013-02-14 16:07:19 +00:00
Allanis
184d527abf [Add Gui's NAV and WEAPON monitors are now utilised. 2013-02-13 18:57:44 +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
d288a2db9f [Fix] Silly collision bug. Pixel-Perfect collision should now be *perfect*(tm). 2013-02-12 20:22:35 +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
acf4150079 [Add] Per pixel collision.
[Fix] Fleets now start at random location.
    -- Still needs improvement.
2013-02-08 18:29:07 +00:00
Allanis
2be93f741c [Fix] Freeing of video modes. 2013-02-08 00:19:02 +00:00
Allanis
4d7c01f078 [Add] Basic Gui.
-- Minimap.
  -- Health bars.
2013-02-05 23:10:46 +00:00
Allanis
f220145d7d [Add] Radial collision detection.
[Add] Pilots now take damage.
2013-02-05 20:12:09 +00:00
Allanis
b13ecc66bb [Add] Outfit loading.. Not fully done yet. 2013-02-04 17:44:53 +00:00