summaryrefslogtreecommitdiffstats
path: root/src/graphics/opengl
Commit message (Collapse)AuthorAgeFilesLines
* Merge dev and dev-graphicsPiotr Dziwinski2013-01-071-1/+0
|\
| * Small fix in detecting language. Fixes needed to compile code using clangMarcin Zawadzki2013-01-051-1/+0
| |
* | GLEW fix for some graphics driversPiotr Dziwinski2013-01-061-2/+6
| |
* | Corrected OpenGL extension detectionPiotr Dziwinski2013-01-052-96/+114
| | | | | | | | | | | | - corrected multitexture and VBO detection - GLEW is now a required library - minor CMakeLists refactoring
* | Merge branch 'dev' into dev-graphicsPiotr Dziwinski2013-01-041-2/+5
|\|
| * Put common CXX flags in common variablesDidier Raboud2012-12-191-1/+2
| | | | | | | | | | CMAKE_CXX_FLAGS is taken into account in all builds; build-type-specific flags are appended to it.
| * Don't enforce CMake build type on users.Didier Raboud2012-12-191-1/+3
| | | | | | | | Only set CMAKE_BUILD_TYPE to Debug when no value is provided.
* | Fixed stupid debug codePiotr Dziwinski2013-01-031-1/+1
| | | | | | | | Terrain VBOs should work now
* | Fixes and refactoringPiotr Dziwinski2012-12-271-1/+1
| |
* | Engine optimization - rewritten model managementPiotr Dziwinski2012-12-262-14/+98
| | | | | | | | | | | | | | | | - 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-142-2/+256
| |
* | ComputeSphereVisibility and fixes in CEngine TODOsPiotr Dziwinski2012-10-203-37/+71
|/ | | | | | | - view frustum culling with ComputeSphereVisibility - game should run faster now - resolved/removed most TODOs from CEngine - fixed OpenGL tests
* 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-112-1/+5
|/
* Font coloring; fix for resize hackPiotr Dziwinski2012-09-302-31/+29
| | | | | | - 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-302-0/+8
| | | | | 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-292-24/+2
|
* Fixed texture regressionPiotr Dziwinski2012-09-292-57/+12
| | | | | There was a bug in texture modesetting but only visible after certain mode changes.
* Some fixes and optimizationsPiotr Dziwinski2012-09-292-62/+112
| | | | | | | | - 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
* Updated docs and some Doxygen fixesPiotr Dziwinski2012-09-271-2/+2
|
* 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-192-280/+288
|
* 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-132-12/+8
| | | | Added some logging and improved error messages displayed to user
* Test fixPiotr Dziwinski2012-08-135-16/+17
|
* 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-122-5/+16
| | | | | - fixed bugs in settings modes, etc. - some additions and minor refactoring
* Documentation updatePiotr Dziwinski2012-08-112-7/+11
| | | | | | - updated Doxyfile - added/changed file, dir and namespace descriptions - fixed some errors in doxygen tags
* 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-032-16/+28
| | | | | - 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-292-13/+37
| | | | | | - 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
* Change of paths in src/graphicsPiotr Dziwinski2012-07-264-6/+6
| | | | | - moved abstract core to src/graphics/core - moved proper graphics engine to src/graphics/engine
* Dynamic light managerPiotr Dziwinski2012-07-261-0/+1
| | | | - rewrote old CLight as CLightManager
* LightingPiotr Dziwinski2012-07-264-23/+537
| | | | | - fixed problems with lighting - added light_test
* Fixed bug in texturingPiotr Dziwinski2012-07-253-13/+20
|
* Refactoring of texture codePiotr Dziwinski2012-07-254-170/+160
| | | | | | | - refactored texture structs & functions - added note about OpenGL extensions - removed device.cpp as unnecessary - minor changes in CEngine
* Cursor drawingPiotr Dziwinski2012-07-233-20/+20
| | | | | - fixed cursor drawing in CEngine - changed event loop to generate more events
* Texture & mouse functions; refactoring & fixesPiotr Dziwinski2012-07-227-168/+106
| | | | | | | | | | | - 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-182-0/+83
| | | | | - borrowed implementation of ComputeSphereVisibility from libwine - added -lrt to Linux libs
* Fixed OpenGL transformationsPiotr Dziwinski2012-07-184-5/+358
| | | | | - fixed wrong order of transformations - added transform_test