summaryrefslogtreecommitdiffstats
path: root/src/graphics
Commit message (Collapse)AuthorAgeFilesLines
* Texture format detection; minor fixesPiotr Dziwinski2012-09-095-25/+77
| | | | | | - detection of texture format - fixed depth mask bug - minor refactoring
* CTerrain refactoring & fixesPiotr Dziwinski2012-09-0810-663/+715
| | | | | - refactored CTerrain code - fixed some minor bugs
* CModelFile fixes; test frameworkPiotr Dziwinski2012-09-083-182/+460
| | | | | | - fixes in CModelFile IO - added Google Test framework for automatic testing - rewrote modelfile_test in the new framework
* FixPiotr Dziwinski2012-09-031-2/+6
|
* FixPiotr Dziwinski2012-09-031-4/+3
|
* FixPiotr Dziwinski2012-08-311-12/+0
|
* New model file formatPiotr Dziwinski2012-08-314-332/+771
| | | | | | | - added new binary and text formats for models - fixes and improvements in CModelFile - tool for converting model files - minor additions and fixes
* Fixes in terrain renderingPiotr Dziwinski2012-08-273-14/+31
|
* Improved error messagesPiotr Dziwinski2012-08-134-20/+10
| | | | Added some logging and improved error messages displayed to user
* Test fixPiotr Dziwinski2012-08-135-16/+17
|
* Rendering functions, documentationPiotr Dziwinski2012-08-1312-452/+575
| | | | | - rewrote the render functions for CEngine, CCloud and CWater - added documentation
* Object handling in CEnginePiotr Dziwinski2012-08-1216-580/+1705
| | | | | | - finished rewriting CEngine object, shadow, etc. handling - refactored texture code - added new log levels
* Fixes & testing in CEnginePiotr Dziwinski2012-08-128-122/+315
| | | | | - fixed bugs in settings modes, etc. - some additions and minor refactoring
* Documentation updatePiotr Dziwinski2012-08-1124-44/+114
| | | | | | - updated Doxyfile - added/changed file, dir and namespace descriptions - fixed some errors in doxygen tags
* Render mode setting, refactoringPiotr Dziwinski2012-08-117-281/+287
| | | | | | - finished SetState in CEngine - refactored Size and IntSize back to Point and IntPoint - other minor changes in CEngine
* Partial CEngine implementationPiotr Dziwinski2012-08-103-401/+2318
| | | | | - added rewritten implementation for basic modesetting in CEngine - started rewriting proper rendering and object handling in CEngine
* Graphics stubsPiotr Dziwinski2012-08-0912-103/+798
| | | | | | | - added stubs for functions in CLightning, CParticle and CPyro - cleaned object.h and physics.h headers - created temporary stubs to compile CCamera - other necessary changes to compile successfully
* CPlanet implementationPiotr Dziwinski2012-08-092-27/+209
| | | | Added rewritten CPlanet implementation
* CWater and CCloud basic implementationPiotr Dziwinski2012-08-084-75/+1043
| | | | | Added rewritten implementation for CWater and CCloud Won't link yet because of missing functions
* CTerrain implementationPiotr Dziwinski2012-08-087-104/+1988
| | | | | | Added rewritten CTerrain implementation Compiles OK, but functions are missing from other classes Also needs testing
* Font renderingPiotr Dziwinski2012-08-064-136/+492
| | | | - implemented rest of CText interface excluding some minor features
* Basic font renderingPiotr Dziwinski2012-08-037-139/+837
| | | | | - added basic font rendering - minor refactoring & fixes
* Switched to new style castsPiotr Dziwinski2012-07-304-51/+51
| | | | | | - 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-302-21/+21
| | | | Will probably be useful
* CCamera rewritePiotr Dziwinski2012-07-292-117/+1874
| | | | | Rewritten old code; doesn't compile yet because changes in other modules are needed.
* Video mode changingPiotr Dziwinski2012-07-296-29/+82
| | | | | | - 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-2640-113/+152
| | | | | - moved abstract core to src/graphics/core - moved proper graphics engine to src/graphics/engine
* Dynamic light managerPiotr Dziwinski2012-07-265-54/+517
| | | | - rewrote old CLight as CLightManager
* LightingPiotr Dziwinski2012-07-266-42/+615
| | | | | - fixed problems with lighting - added light_test
* Fixed bug in texturingPiotr Dziwinski2012-07-253-13/+20
|
* Refactoring of texture codePiotr Dziwinski2012-07-259-282/+274
| | | | | | | - refactored texture structs & functions - added note about OpenGL extensions - removed device.cpp as unnecessary - minor changes in CEngine
* Cursor drawingPiotr Dziwinski2012-07-237-239/+248
| | | | | - fixed cursor drawing in CEngine - changed event loop to generate more events
* Texture & mouse functions; refactoring & fixesPiotr Dziwinski2012-07-2215-458/+1278
| | | | | | | | | | | - 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-183-3/+103
| | | | | - 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
* Fixes in texture loadingPiotr Dziwinski2012-07-166-54/+52
| | | | | | - 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-159-48/+560
| | | | | | | | | - 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
* Minor changesPiotr Dziwinski2012-07-111-4/+1
| | | | | | - moved mainpage src/doc/docmain.doc.txt to src/app/main.cpp - removed old modfile modules from src/common - removed Snd namespace in engine.h
* Rewritten model loadingPiotr Dziwinski2012-07-119-301/+996
| | | | | | - written new implementation of CModelFile (old CModFile) - added stringutils and ioutils in src/common - removed old CModel (model viewer)
* Refactoring in math & texture modulesPiotr Dziwinski2012-07-066-318/+154
| | | | | | - 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-058-106/+526
| | | | | | - moved creation-time tex params to Gfx::TextureCreateParams - fixed bug with texture creation - added simple test for multitexturing
* Merged changes from devPiotr Dziwinski2012-07-041-2/+3
| | | | Resolved conflicts & added fixes.
* Multitexturing supportPiotr Dziwinski2012-07-045-65/+628
| | | | | | | | - 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-019-335/+1044
| | | | | | | | - 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-0110-100/+578
| | | | | | | | - added CDevice abstract interface - began implementation of CGLDevice - added stub for Texture struct - created CGLDeviceConfig - changed particule -> particle & other minor changes
* Switched back to old standard; addded -WallPiotr Dziwinski2012-06-302-5/+0
| | | | | - removed -std=c++11 - added -Wall and removed most reported warnings
* Event handling, CApplication and switch to c++-11Piotr Dziwinski2012-06-301-1/+1
| | | | | | - added/changed event structs and event queue in common/event.h - added event handling and some minor functions in CApplication - switched to --std=c++11 because of union in Event struct
* Fixed brief Doxygen descriptionPiotr Dziwinski2012-06-263-6/+12
|
* Whitespace and language changePiotr Dziwinski2012-06-2619-1724/+1724
| | | | | | | - 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