summaryrefslogtreecommitdiffstats
path: root/src/graphics
Commit message (Collapse)AuthorAgeFilesLines
* 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
* SDL projectPiotr Dziwinski2012-06-2510-10/+95
| | | | | | | | - 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
* Declarations for graphics/commonProgramerus2012-06-2512-10/+1522
|
* CApplication and Gfx::CEngine interfaces & otherPiotr Dziwinski2012-06-246-98/+221
| | | | | | | | - 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
* Fix in light.hPiotr Dziwinski2012-06-221-2/+6
|
* Templates for new implementationPiotr Dziwinski2012-06-2233-33/+1492
| | | | | | - added template of classes/structs for new implementation - changed #include paths - updated README files
* Moved old implementations to src/oldPiotr Dziwinski2012-06-2232-30201/+0
|
* Vertex and Light structuresPiotr Dziwinski2012-06-202-0/+135
|
* Add functions to namespace.Programerus2012-06-201-5/+5
|
* Struct ColorHSV copied to color.hProgramerus2012-06-201-0/+11
|
* Color functionsProgramerus2012-06-201-13/+11
|
* Struct ColorProgramerus2012-06-201-5/+8
|
* Switched to new implementation of the rest of math modulePiotr Dziwinski2012-06-1924-1026/+853
| | | | | | | | - changed structs from D3DVECTOR to Math::Vector and from D3DMATRIX to Math::Matrix - changed functions to new Math namespace functions - moved mainmovie module from graphics to object - added Get and Set to Math::Matrix
* FPOINT -> Math::Point & other math functionsPiotr Dziwinski2012-06-1329-808/+809
| | | | | | | | | - changed FPOINT to Math::Point and some functions from math module to the new implementation - moved old function and FPOINT struct declarations to math3d.cpp - removed some unused functions in math module - fixed some #include dependencies - moved #define STRICT and #define D3D_OVERLOADS to compile options
* Changed #defined constants to consts; typedef struct -> structPiotr Dziwinski2012-06-1115-146/+123
|