summaryrefslogtreecommitdiffstats
path: root/src/graphics
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* BOOL -> bool; additional fixes in constructors/destructorsPiotr Dziwinski2012-06-1030-1270/+1270
|
* Fixed include paths and CMakeLists.txtPiotr Dziwinski2012-06-1036-274/+234
| | | | Additionally, changed #ifndef to #pragma once everywhere
* Split math functions; beginning of common structuresPiotr Dziwinski2012-04-282-0/+181
|
* Source files split into modulesPiotr Dziwinski2012-04-2835-0/+30355