summaryrefslogtreecommitdiffstats
path: root/src/graphics/opengl/gldevice.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'dev' of https://github.com/colobot/colobot into devZaba9992012-10-111-1/+1
|\
| * Spot light angle fixPiotr Dziwinski2012-10-031-1/+1
| |
* | Added saving user scripts on game save. Fixed bug in writing script to file.Zaba9992012-10-111-0/+4
|/
* Font coloring; fix for resize hackPiotr Dziwinski2012-09-301-27/+22
| | | | | | - 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/+7
| | | | | 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-21/+2
|
* Fixed texture regressionPiotr Dziwinski2012-09-291-55/+12
| | | | | There was a bug in texture modesetting but only visible after certain mode changes.
* Some fixes and optimizationsPiotr Dziwinski2012-09-291-62/+110
| | | | | | | | - 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
* Completely fixed light issuesPiotr Dziwinski2012-09-271-12/+22
| | | | Directional and spot lights are now set properly
* Lighting fix (experimental)Piotr Dziwinski2012-09-261-10/+6
| | | | | - changed fixed light allocation to prioritized per-use basis - minor refactoring in CPlanet and CWater
* Fog color fix; refactoringPiotr Dziwinski2012-09-261-3/+5
| | | | | | - fixed fog color setting - removed unused glSecondaryColor and altered struct VertexCol - minor refactoring in CText
* Alpha operation fixPiotr Dziwinski2012-09-211-1/+1
|
* Namespace and styling fixPiotr Dziwinski2012-09-191-230/+236
|
* Input bindings rewritePiotr Dziwinski2012-09-191-1/+0
| | | | | | - moved input bindings to CRobotMain - added virtual keymod and joystick button key presses - fixed putenv error; other minor fixes
* Change of background image handlingPiotr Dziwinski2012-09-171-14/+44
| | | | | | - removed old 4 quarter backgrounds - fixes in texture loading - other minor fixes
* Fix max lights errorPiotr Dziwinski2012-09-161-2/+4
|
* Texture format detection; minor fixesPiotr Dziwinski2012-09-091-0/+50
| | | | | | - detection of texture format - fixed depth mask bug - minor refactoring
* Improved error messagesPiotr Dziwinski2012-08-131-8/+8
| | | | Added some logging and improved error messages displayed to user
* Object handling in CEnginePiotr Dziwinski2012-08-121-4/+3
| | | | | | - finished rewriting CEngine object, shadow, etc. handling - refactored texture code - added new log levels
* Fixes & testing in CEnginePiotr Dziwinski2012-08-121-5/+14
| | | | | - fixed bugs in settings modes, etc. - some additions and minor refactoring
* Render mode setting, refactoringPiotr Dziwinski2012-08-111-3/+3
| | | | | | - finished SetState in CEngine - refactored Size and IntSize back to Point and IntPoint - other minor changes in CEngine
* Basic font renderingPiotr Dziwinski2012-08-031-13/+26
| | | | | - added basic font rendering - minor refactoring & fixes
* Switched to new style castsPiotr Dziwinski2012-07-301-40/+40
| | | | | | - rewrote old C-style casts to new ..._cast<> - corrected some dangerous casts - added -Wold-style-cast to compile flags
* Lines and line strip primitivesPiotr Dziwinski2012-07-301-18/+18
| | | | Will probably be useful
* Video mode changingPiotr Dziwinski2012-07-291-12/+32
| | | | | | - added video mode querying & changing - added joystick querying & changing - cleaned up CApplication interface
* GLEWPiotr Dziwinski2012-07-281-5/+31
| | | | Added GLEW for loading OpenGL extensions
* LightingPiotr Dziwinski2012-07-261-23/+84
| | | | | - fixed problems with lighting - added light_test
* Fixed bug in texturingPiotr Dziwinski2012-07-251-10/+10
|
* Refactoring of texture codePiotr Dziwinski2012-07-251-137/+136
| | | | | | | - refactored texture structs & functions - added note about OpenGL extensions - removed device.cpp as unnecessary - minor changes in CEngine
* Cursor drawingPiotr Dziwinski2012-07-231-14/+16
| | | | | - fixed cursor drawing in CEngine - changed event loop to generate more events
* Texture & mouse functions; refactoring & fixesPiotr Dziwinski2012-07-221-84/+72
| | | | | | | | | | | - 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/+82
| | | | | - borrowed implementation of ComputeSphereVisibility from libwine - added -lrt to Linux libs
* Fixed OpenGL transformationsPiotr Dziwinski2012-07-181-5/+5
| | | | | - fixed wrong order of transformations - added transform_test
* Fixes in texture loadingPiotr Dziwinski2012-07-161-2/+8
| | | | | | - added other texture formats: BGR and BGRA - fixed texture loading in model viewer - moved code from texture.cpp module to texture.h
* Fix in model loading; simple model viewerPiotr Dziwinski2012-07-151-36/+40
| | | | | | | | | - fixed model loading code - added simple model viewer (model_test) in src/graphics/opengl/test - added system time stamp code - split the code in app/system modules to separate headers - added debug messages in model loading - minor fixes in OpenGL engine
* Refactoring in math & texture modulesPiotr Dziwinski2012-07-061-1/+1
| | | | | | - moved texture-related structs to texture.h & code to texture.cpp - cleaned up texture test code - added Math:: namespace qualifiers to math modules for clarity
* Fixed bug with texturingPiotr Dziwinski2012-07-051-95/+97
| | | | | | - moved creation-time tex params to Gfx::TextureCreateParams - fixed bug with texture creation - added simple test for multitexturing
* Multitexturing supportPiotr Dziwinski2012-07-041-55/+394
| | | | | | | | - 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-48/+519
| | | | | | | | - 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/+191
| | | | | | | | - 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/+21
- 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