Commit Graph

104 Commits

Author SHA1 Message Date
Allanis
1abb2c117d [Add] Added flags to image creation to control transparency mapping.
Should speed up the loading and reduce memory usage.
2014-05-17 11:19:15 +01:00
Allanis
a14034411e [Fix] Fixed some issues introduced with the scaling. 2014-05-16 19:19:45 +01:00
Allanis
6758fd9393 [Add] Documented opengl file, explained coordinate system in use. 2014-05-16 14:44:21 +01:00
Allanis
090d9535c4 [Change] Code cleanup. 2014-05-16 12:05:31 +01:00
Allanis
d736e9a6a1 [Fix] Fixed fuckeries in last commit. Documented a bit more too. 2014-05-14 21:28:23 +01:00
Allanis
b75ec61d10 [Add] Scale window when size is too small so not to have stuff cut out. 2014-05-14 21:02:59 +01:00
Allanis
8bebc4fbbc [Changed] Cleaned up a bunch of doxygen stuff. 2014-05-10 17:56:50 +01:00
Allanis
05398e71d2 [Change] Huge changes to Lephisto's data management. 2014-04-26 18:53:22 +01:00
Allanis
8038ce5dc3 [Add] More FSAA awareness. 2014-03-06 16:16:58 +00:00
Allanis
a6fe5f8a2d [Add] Added support for FSAA. 2014-03-06 04:59:02 +00:00
Allanis
a5d0c513e2 [Fix] Some more freetype include problems that will screw up for others. 2014-03-06 02:42:02 +00:00
Allanis
a4b17c561c [Change] Use desktops resolution if fullscreen mode is set without specifying dimensions. 2014-03-04 02:25:08 +00:00
Allanis
7534fe3c9d [Add] Add options for enabling vsync. 2013-12-25 00:35:51 +00:00
Allanis
2533dd816f [Add] Documented opengl stuff. 2013-10-22 18:29:07 +01:00
Allanis
cc34292293 [Add] Actively ask for doublebuffering. 2013-10-01 22:26:51 +01:00
Allanis
8516b33391 [Add] Beam weapons now render properly. 2013-09-25 20:45:14 +01:00
Allanis
584f56e2a0 [Change] Check for GL_ARB_fragment_program instead of GL_ARB_fragment_shader. 2013-09-12 15:32:06 +01:00
Allanis
95c9cef39c [Add] New ships/fleets 2013-08-21 21:11:47 +01:00
Allanis
d0b55f1d1b [Add] Loading screens!!! :D 2013-07-25 21:43:22 +01:00
Allanis
c7e2a69d91 [Change] Replaced unused and depricated gl_blitRotate with gl_blitScale. 2013-07-25 19:26:45 +01:00
Allanis
2f9c91d451 [Fix] More correction in gl_freeTexture() 2013-07-24 17:33:18 +01:00
Allanis
d6643b0a51 [Fix] More warnings. 2013-07-24 16:10:13 +01:00
Allanis
1d734e7898 [Fix] More memory related fixes. 2013-07-24 15:10:24 +01:00
Allanis
1f3947bc49 [Fix] A few memleaks. 2013-07-24 14:59:23 +01:00
Allanis
dcaa96b5e9 [Fix] Rumble can no longer "leak" over to menu, nebulae etc. 2013-07-23 12:13:06 +01:00
Allanis
6e3417907f [Fix] Segfault with creating new pilot. 2013-07-21 11:25:20 +01:00
Allanis
475aa1f1fa [Add] Check for multitexture abilities and texture leaks. 2013-07-20 19:06:36 +01:00
Allanis
cd158e5102 [Add] Nebulae almost working, There is a major graphical bug however. 2013-07-19 14:25:15 +01:00
Allanis
897fb9918d [Add] Now we will initialize the nebulae. 2013-07-13 16:38:29 +01:00
Allanis
e4e7bf4b17 [Add] save png method to save a surface to a file as png. 2013-07-11 16:42:18 +01:00
Allanis
14fed140c3 [Change] A little opengl code cleanup. 2013-06-28 13:05:32 +01:00
Steven Arnow
84c90b5c97 Your SDL include lines .-. 2013-06-23 16:21:16 +02:00
Allanis
a2ee4ea0ee [Change] Optimised image loading, loading graphics once only. 2013-06-23 00:10:58 +01:00
Steven Arnow
a2bb0df939 All C++-comments in src/ should now be C89 comments 2013-06-22 22:10:25 +02:00
Allanis
7fc15f650c [Fix] Corrected small desciation on all sprites. 2013-06-04 17:02:42 +01:00
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