summaryrefslogtreecommitdiffstats
path: root/src/common
Commit message (Collapse)AuthorAgeFilesLines
* Texture & mouse functions; refactoring & fixesPiotr Dziwinski2012-07-223-8/+13
| | | | | | | | | | | - 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
* Fix in model loading; simple model viewerPiotr Dziwinski2012-07-151-1/+1
| | | | | | | | | - 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-112-810/+0
| | | | | | - 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-113-0/+307
| | | | | | - written new implementation of CModelFile (old CModFile) - added stringutils and ioutils in src/common - removed old CModel (model viewer)
* Merged changes from devPiotr Dziwinski2012-07-045-12/+316
| | | | Resolved conflicts & added fixes.
* Multitexturing supportPiotr Dziwinski2012-07-044-0/+345
| | | | | | | | - 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
* Switched back to old standard; addded -WallPiotr Dziwinski2012-06-301-25/+12
| | | | | - removed -std=c++11 - added -Wall and removed most reported warnings
* Event handling, CApplication and switch to c++-11Piotr Dziwinski2012-06-304-175/+294
| | | | | | - 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
* Forgotten language changePiotr Dziwinski2012-06-261-2/+2
|
* Whitespace and language changePiotr Dziwinski2012-06-2617-7060/+7059
| | | | | | | - 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-256-13/+25
| | | | | | | | - 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
* Templates for new implementationPiotr Dziwinski2012-06-225-9/+9
| | | | | | - added template of classes/structs for new implementation - changed #include paths - updated README files
* .Programerus2012-06-201-0/+4
|
* Struct ColorHSV copied to color.hProgramerus2012-06-201-6/+0
|
* Switched to new implementation of the rest of math modulePiotr Dziwinski2012-06-193-10/+14
| | | | | | | | - 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-1311-38/+10
| | | | | | | | | - 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-1111-214/+206
|
* BOOL -> bool; additional fixes in constructors/destructorsPiotr Dziwinski2012-06-1015-167/+167
|
* Fixed include paths and CMakeLists.txtPiotr Dziwinski2012-06-1017-69/+53
| | | | Additionally, changed #ifndef to #pragma once everywhere
* Source files split into modulesPiotr Dziwinski2012-04-2818-0/+7110