summaryrefslogtreecommitdiffstats
path: root/src/graphics/opengl/gldevice.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused accessors from CDevicePiotr Dziwinski2014-08-121-66/+46
|
* implemented savefile screenshot featureMohamed Waheed2014-06-241-0/+2
|
* Added debug aids for lightingPiotr Dziwinski2013-06-171-0/+1
| | | | | | * displaying positions of current lights (F11) * dumping info to console (F10) * added assert() in suspicious place in CPyro
* Fixed code formattingPiotr Dziwinski2013-05-271-0/+1
| | | | | | * moved braces to new lines * fixed some function/variable names * fixed whitespace issues
* Corrected some valgrind issuesPiotr Dziwinski2013-05-261-0/+2
| | | | | * fixed several uninitialized variable issues * fixed possible memory corruption in CEngine
* VBO override option; argv parsing using getoptPiotr Dziwinski2013-03-101-0/+14
| | | | | | * added -vbo option to override autodetection of OpenGL VBO extension * refactored argument parsing to use getopt() * fixed failing UTs
* Corrected OpenGL extension detectionPiotr Dziwinski2013-01-051-2/+4
| | | | | | - corrected multitexture and VBO detection - GLEW is now a required library - minor CMakeLists refactoring
* Engine optimization - rewritten model managementPiotr Dziwinski2012-12-261-5/+8
| | | | | | | | - new class CModelManager - rewritten engine object structure in CEngine - created shared model data instead of separate objects per each model instance - minor refactoring
* Static objects using OpenGL VBOs and display listsPiotr Dziwinski2012-12-141-2/+34
|
* Added saving user scripts on game save. Fixed bug in writing script to file.Zaba9992012-10-111-1/+1
|
* Font coloring; fix for resize hackPiotr Dziwinski2012-09-301-4/+7
| | | | | | - added font coloring and changed default color to black - fixed resize hack incorrectly changing video config, but font resizing will not work for now
* Dirty hack to allow window resizing or even full screen.adiblol2012-09-301-0/+1
| | | | | Currently makes text buggy! (full screen must be initiated by window manager, for example Alt+F11 in Fluxbox)
* Fix for transparent objects and fadeoutsPiotr Dziwinski2012-09-291-3/+0
|
* Fixed texture regressionPiotr Dziwinski2012-09-291-2/+0
| | | | | There was a bug in texture modesetting but only visible after certain mode changes.
* Some fixes and optimizationsPiotr Dziwinski2012-09-291-0/+2
| | | | | | | | - fixed 2nd texture setting - added padding to some structs for faster access - changed rendering primitives to glDrawArrays() - optimized texture modesetting calls - fixed some valgrind errors
* Namespace and styling fixPiotr Dziwinski2012-09-191-50/+52
|
* Improved error messagesPiotr Dziwinski2012-08-131-4/+0
| | | | Added some logging and improved error messages displayed to user
* Fixes & testing in CEnginePiotr Dziwinski2012-08-121-0/+2
| | | | | - fixed bugs in settings modes, etc. - some additions and minor refactoring
* Documentation updatePiotr Dziwinski2012-08-111-1/+4
| | | | | | - updated Doxyfile - added/changed file, dir and namespace descriptions - fixed some errors in doxygen tags
* Basic font renderingPiotr Dziwinski2012-08-031-3/+2
| | | | | - added basic font rendering - minor refactoring & fixes
* Video mode changingPiotr Dziwinski2012-07-291-1/+5
| | | | | | - added video mode querying & changing - added joystick querying & changing - cleaned up CApplication interface
* Change of paths in src/graphicsPiotr Dziwinski2012-07-261-1/+1
| | | | | - moved abstract core to src/graphics/core - moved proper graphics engine to src/graphics/engine
* LightingPiotr Dziwinski2012-07-261-0/+4
| | | | | - fixed problems with lighting - added light_test
* Refactoring of texture codePiotr Dziwinski2012-07-251-4/+5
| | | | | | | - refactored texture structs & functions - added note about OpenGL extensions - removed device.cpp as unnecessary - minor changes in CEngine
* Cursor drawingPiotr Dziwinski2012-07-231-3/+3
| | | | | - fixed cursor drawing in CEngine - changed event loop to generate more events
* Texture & mouse functions; refactoring & fixesPiotr Dziwinski2012-07-221-15/+16
| | | | | | | | | | | - cleaned up and added documentation to engine.h - refactored CEngine interface and associated structs - added mouse handling functions in CApplication & CEngine - fixed bugs in projection matrix setting - changed texture loading & handling - added const-values in CDevice & CGLDevice - changed event management in CApplication - other minor changes & bugfixes
* ComputeSphereVisibility functionPiotr Dziwinski2012-07-181-0/+1
| | | | | - borrowed implementation of ComputeSphereVisibility from libwine - added -lrt to Linux libs
* Fixed bug with texturingPiotr Dziwinski2012-07-051-4/+1
| | | | | | - moved creation-time tex params to Gfx::TextureCreateParams - fixed bug with texture creation - added simple test for multitexturing
* Multitexturing supportPiotr Dziwinski2012-07-041-2/+31
| | | | | | | | - added CImage class for loading/saving images and a simple test for it - added libpng library to build - added Gfx::Texture struct - updated the Gfx::CDevice interface to include new features - implemented the new features in Gfx::CGLDevice
* CGLDevice implementationPiotr Dziwinski2012-07-011-11/+54
| | | | | | | | - extended Gfx::CDevice interface - written OpenGL implementation in Gfx::CGLDevice - rewrote color and light module - added Gfx::VertexCol - added array casts to Math::Vector, Math::Matrix and Gfx::Color
* CDevice interface and stub of implementationPiotr Dziwinski2012-07-011-1/+93
| | | | | | | | - added CDevice abstract interface - began implementation of CGLDevice - added stub for Texture struct - created CGLDeviceConfig - changed particule -> particle & other minor changes
* CApplication and Gfx::CEngine interfaces & otherPiotr Dziwinski2012-06-241-0/+31
- added CApplication and Gfx::CEngine interfaces - added Gfx::Material struct - added Math::IntPoint struct - added template for Gfx::CDevice class - added templates for Gfx::CGLDevice and Gfx::CGLEngine classes