Commit Graph

17 Commits (b33bc157bdca8aff5dcd69d09fbae9b73e22c61f)

Author SHA1 Message Date
Armin Burgmeier 0e72f0d2fe Cleanup: Remove unused cx,cy variables in StdGLCtx 2010-12-29 16:37:47 +01:00
Armin Burgmeier f814708a9c Implement Anti-Aliasing (#518) 2010-12-29 15:19:46 +01:00
Martin Plicht a22d5ee35c Mac: Add Cocoa port 2010-12-27 04:49:02 +01:00
Günther Brammer a7e4dd9a9c Rename some fullscreen flags to editor 2010-09-28 20:16:33 +02:00
Günther Brammer 95408be00a OpenGL: Print some information about the OpenGL implementation on error 2010-08-03 19:02:00 +02:00
Armin Burgmeier 04f3bf4dc9 Apply Mesh/PictureTransformation in the meshes' frame of reference
This allows drawing meshes into a distorted target area by using the
transformation matrix.

This change might change the picture graphics of several objects. I fixed the
most important ones, others are still good but there might be a few more out
there that need to be updated.
2010-07-21 22:23:34 +02:00
Nicolas Hake b5e1ae2a65 Remove automatic scaling to bounding box (#321) 2010-07-10 21:49:31 +02:00
Benjamin Herr 27287b981f Reformat everything according to style guidelines
as per http://forum.openclonk.org/topic_show.pl?tid=208
and http://wiki.openclonk.org/w/Style_Guidelines
via astyle
  --brackets=break
  --indent=tab=2
  --keep-one-line-statements
  --keep-one-line-blocks
  --indent-namespaces
  --convert-tabs
  --recursive
  --exclude=zlib
  --exclude=tinyxml
  src/\*.h src/*.cpp
2010-03-28 19:58:21 +02:00
Armin Burgmeier db7e889edd Remove superfluous fFullscreen member in CStdGL
It is declared already in CStdDDraw.
2010-03-18 13:55:50 +01:00
Günther Brammer 21999a09e2 Move PageFlip() to CSurface 2010-03-05 22:15:25 +01:00
Günther Brammer 8d81513c40 OpenGL: Clean up the context handling
Instead of sprinkling calls to select the right context throughout the code,
store the context to use in the CSurface, and create a CSurface for every
window that's drawn to, and use that as the target parameter for the drawing
calls. D3D is probably even more broken now, but it should work just fine with
the right surface creation incantation.
2010-03-06 15:07:30 +01:00
Benjamin Herr f3b35227ea avoid lots of gcc warnings 2010-01-25 05:00:59 +01:00
Armin Burgmeier d84b3c9038 Support texture blending operations, add player color to clonk material 2010-01-03 23:58:26 +01:00
Armin Burgmeier 1682dc3f78 (Mostly) honor tex_address_mode, tex_border_colour and filtering
Also don't load materials which produced an error while loading
2010-01-02 03:26:47 +01:00
Armin Burgmeier 4fa029df2c Merged default into mesh 2009-08-27 21:35:55 -04:00
Günther Brammer 9a8b5dd739 Replace BOOL by bool, TRUE by true, FALSE by false 2009-08-15 20:50:32 +02:00
Günther Brammer 572d00c32e Move all source files
This might make stuff easier to find.
2009-08-10 17:59:18 +02:00