Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Drop unnecessary parentheses from return statements. | Adam Borowski | 2013-11-15 | 1 | -13/+13 |
| | |||||
* | Some more return deparenthesization. | Adam Borowski | 2012-07-05 | 1 | -1/+1 |
| | |||||
* | Drop parentheses around scalar values in "return". | Adam Borowski | 2012-07-05 | 1 | -1/+1 |
| | |||||
* | First prototype of webtiles. | Florian Diebold | 2011-06-26 | 1 | -2/+2 |
| | | | | | | Conflicts: crawl-ref/source/startup.cc | ||||
* | glwrapper.cc: add missing include for AppHdr.h | Steven Noonan | 2010-05-16 | 1 | -0/+2 |
| | | | | | | Fixes a compilation error due to no definition of DEBUG/NDEBUG. Signed-off-by: Steven Noonan <steven@uplinklabs.net> | ||||
* | Add "current colour" to GLState. | Enne Walker | 2010-05-14 | 1 | -3/+17 |
| | | | | | This simplifies code that was setting and unsetting the global current colour manually. | ||||
* | Code cleanup for triangles branch. | Enne Walker | 2010-05-14 | 1 | -1/+15 |
| | | | | Applying standards, simplifying code, removing redundant comments. | ||||
* | Removed QUADS from supported drawing modes. | Ixtli | 2010-05-14 | 1 | -2/+0 |
| | | | | Signed-off-by: Enne Walker <enne.walker@gmail.com> | ||||
* | Removed GLStateManager::draw and GLPrimitive. | Ixtli | 2010-05-14 | 1 | -16/+0 |
| | | | | | | This will force all drawing to be done through VertBuffer. Signed-off-by: Enne Walker <enne.walker@gmail.com> | ||||
* | Move static VColour definitions out of tilebuf.cc. | Ixtli | 2010-05-14 | 1 | -0/+7 |
| | | | | Signed-off-by: Enne Walker <enne.walker@gmail.com> | ||||
* | Added GLShapeBuffer. Changed GLState, Manager. | Ixtli | 2010-05-14 | 1 | -0/+24 |
| | | | | | | | | | Added convenience methods to GLState. Changed GLStateManager to check current state before using glEnable in case those commands are slow, as they are being called nearly ever draw. (Note: GLShapeBuffer is not currently used.) Signed-off-by: Enne Walker <enne.walker@gmail.com> | ||||
* | Struct changes. Added a winding query. | Ixtli | 2010-05-14 | 1 | -5/+2 |
| | | | | | | | | Added a GLWRect for passing rectangles generically. Moved VColour into glwrapper.h; it will survive the purging. Can now ask GLStateManager what winding it's using. Signed-off-by: Enne Walker <enne.walker@gmail.com> | ||||
* | Fix GLPrimitive to use a size_t, as returned by sizeof. | Enne Walker | 2010-04-24 | 1 | -1/+1 |
| | |||||
* | Move specific create funcs out of generic files. | Enne Walker | 2010-04-24 | 1 | -24/+1 |
| | | | | | | | glwrapper-ogl.cc, windowmanager-sdl.cc, and fontwrapper-ft.cc now contain the static functions for their parent class's factory create. This allows new implementations to be added without requiring modification of the generic file (with #ifdefs). | ||||
* | General coding standards update. | Enne Walker | 2010-04-24 | 1 | -2/+2 |
| | | | | | | No spaces on parens. Line up function params. Sort includes more rationally. Put curly braces on their own line. Don't C-style typedef enum and structs. Put if-clauses on their own line. | ||||
* | Changed DEBUG to ASSERTS to comply with changes in master. | Ixtli | 2010-04-24 | 1 | -2/+2 |
| | |||||
* | Made glwrapper use proper dynamic dispatch for modularity. | Ixtli | 2010-04-24 | 1 | -0/+83 |
| | |||||
* | Fixed -h file names referring to specific implementations. | Ixtli | 2010-04-24 | 1 | -267/+0 |
| | | | | | The makefile should now name the .o's based on what libraries you're using, as well. | ||||
* | Cleaned up glwrapper | Ixtli | 2010-04-24 | 1 | -8/+5 |
| | |||||
* | Removed drawTextBox and drawColoredBox and replaced them with calls to ↵ | Ixtli | 2010-04-24 | 1 | -32/+6 |
| | | | | draw_primitive. Also added GLStateManager methods for setting the current drawing color, and a GLW_4VF struct for completeness. | ||||
* | Removed unnecessary conditional for texturing lines. | Ixtli | 2010-04-24 | 1 | -1/+1 |
| | |||||
* | More camel case to underscores_as_spaces | Ixtli | 2010-04-24 | 1 | -10/+10 |
| | |||||
* | More coding standards changes. This time s/if\(/if\ \(/g | Ixtli | 2010-04-24 | 1 | -9/+9 |
| | |||||
* | Updated files to conform to crawl coding standards | Ixtli | 2010-04-24 | 1 | -30/+31 |
| | |||||
* | Fixed include order and ifdefs | Ixtli | 2010-04-24 | 1 | -4/+4 |
| | |||||
* | removed opengl from UIWrapper, fixed indenting in uiwrapper-sdl and added a ↵ | Ixtli | 2010-04-24 | 1 | -0/+10 |
| | | | | resizeWindow method in GLStateManager | ||||
* | Added GLPrimitive to glwrapper, condenced all vert-drawing methods to ↵ | Ixtli | 2010-04-24 | 1 | -76/+75 |
| | | | | | | drawGLPrimitives and then updated tilebuf, font, reg, and sdl to use it propperly. As well, tilebuf's VertBuffer::draw() method needed to be changed to allow passing to pre-render transformations (used in submerged tile rendering.) | ||||
* | Moved MipMapOptions to glwrapper for modularity | Ixtli | 2010-04-24 | 1 | -2/+2 |
| | |||||
* | Removed tiletex dependancy on SDL_opengl and updated glwrapper.h/cc to ↵ | Ixtli | 2010-04-24 | 1 | -0/+47 |
| | | | | support it | ||||
* | Removed direct calls to opengl from tilefont and updated glwrapper accordingly. | Ixtli | 2010-04-24 | 1 | -0/+42 |
| | |||||
* | Updated tilesdl.cc to use glwrapper instead of direct gl calls. | Ixtli | 2010-04-24 | 1 | -0/+22 |
| | |||||
* | Added drawing functions and fixed many syntax errors in glwrapper.cc/h | Ixtli | 2010-04-24 | 1 | -18/+56 |
| | |||||
* | Added glwrapper, which expands the GLStateManager class from tilebuf into a ↵ | Ixtli | 2010-04-24 | 1 | -0/+137 |
(g)raphics (l)ibrary wrapper. Also updated the makefile to include it when making with GL=y |