summaryrefslogtreecommitdiffstats
path: root/src/graphics/common/device.h
Commit message (Collapse)AuthorAgeFilesLines
* 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-11/+12
| | | | | | | | | | | - 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-3/+20
| | | | | - borrowed implementation of ComputeSphereVisibility from libwine - added -lrt to Linux libs
* Refactoring in math & texture modulesPiotr Dziwinski2012-07-061-109/+0
| | | | | | - 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-6/+25
| | | | | | - moved creation-time tex params to Gfx::TextureCreateParams - fixed bug with texture creation - added simple test for multitexturing
* Multitexturing supportPiotr Dziwinski2012-07-041-7/+178
| | | | | | | | - 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-39/+167
| | | | | | | | - 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-4/+130
| | | | | | | | - added CDevice abstract interface - began implementation of CGLDevice - added stub for Texture struct - created CGLDeviceConfig - changed particule -> particle & other minor changes
* Whitespace and language changePiotr Dziwinski2012-06-261-18/+18
| | | | | | | - changed tabs to spaces and DOS line endings to Unix (except in CBot and metafile) - changed language to English - fixed #include <d3d.h> in d3dengine.h
* SDL projectPiotr Dziwinski2012-06-251-0/+22
| | | | | | | | - added (very basic) SDL template in CApplication and CEngine - split project into two targets: colobot_old (dependent on DirectX and WinAPI) and colobot_new (dependent on SDL and OpenGL) - moved sound.h/cpp to old/ and created new template in Snd namespace - added platform-independent dialog boxes in app/system.h/cpp
* CApplication and Gfx::CEngine interfaces & otherPiotr Dziwinski2012-06-241-0/+30
- 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