summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine/engine.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Let mouse.png's format be detectedDidier Raboud2013-10-281-1/+1
| | | | Fixes the mouse cursor on Mac OS X
* Fixed CTerrain-related memory leaksPiotr Dziwinski2013-10-131-0/+26
|
* Added debug aids for lightingPiotr Dziwinski2013-06-171-0/+27
| | | | | | * displaying positions of current lights (F11) * dumping info to console (F10) * added assert() in suspicious place in CPyro
* Fix for #133Piotr Dziwinski2013-06-171-6/+87
| | | | | * objects are now copied and textures are updated correctly * also added function to debug objects
* Fixed bug with white mapkrzys-h2013-06-101-1/+1
| | | | | I'm not sure when it was introduced, probably in 8f6fd2a1316432970f1d86515819e7bbe15ddab3. It was showing errors like "Couldn't load texture 'map.png'" and "Invalid texture data"
* Refactored sound codePiotr Dziwinski2013-05-271-0/+2
| | | | | * fixed formatting and naming to be uniform with rest of code * moved default implementation of CSound to cpp module
* Fixed code formattingPiotr Dziwinski2013-05-271-0/+1
| | | | | | * moved braces to new lines * fixed some function/variable names * fixed whitespace issues
* Changes in texture code & refactoringPiotr Dziwinski2013-05-261-42/+43
| | | | | | * refactored and altered slightly the texture pack code * added flushing of texture cache * some refactoring and const-correctness in CApplication methods
* Corrected some valgrind issuesPiotr Dziwinski2013-05-261-1/+2
| | | | | * fixed several uninitialized variable issues * fixed possible memory corruption in CEngine
* Added simple texturepack support (#208)krzys-h2013-05-121-6/+29
|
* Non-power-of-2 padding for background imagesPiotr Dziwinski2013-05-111-11/+18
| | | | | * added padding options * removed old hardcoded image sizes
* Fix for shadows (bugs #176 and #132)XienDev2013-04-291-1/+1
|
* Fixed graphics objects after resetPiotr Dziwinski2013-03-311-0/+21
| | | | Should fix #120 and perhaps some other bugs as well
* Fixed timer functions on win32Piotr Dziwinski2013-03-241-9/+9
| | | | | | | * changed win32 implementation to QueryPerformaceTimer system function * refactored system utils code * proper tests for time utils and update event creation in application * should fix issue #134
* CInstanceManager refactoringPiotr DziwiƄski2013-02-171-25/+64
| | | | | | | | | * removed classes managed by CInstanceManager except for CObject, CPyro, CBrain and CPhysics because of dependencies * refactored instance searching to use existing singleton instances of CApplication, CEngine and CRobotMain and calling their getter functions
* Changed model min/max to LOD levelsPiotr Dziwinski2013-01-271-139/+60
|
* Correct font scaling with resolutionPiotr Dziwinski2013-01-041-0/+2
|
* Fixed spider and worm model loadingPiotr Dziwinski2012-12-281-1/+43
|
* Fixes and refactoringPiotr Dziwinski2012-12-271-217/+96
|
* Engine optimization - rewritten model managementPiotr Dziwinski2012-12-261-913/+845
| | | | | | | | - new class CModelManager - rewritten engine object structure in CEngine - created shared model data instead of separate objects per each model instance - minor refactoring
* Static objects using OpenGL VBOs and display listsPiotr Dziwinski2012-12-141-77/+170
|
* Performance countersPiotr Dziwinski2012-10-251-14/+130
|
* ComputeSphereVisibility and fixes in CEngine TODOsPiotr Dziwinski2012-10-201-28/+32
| | | | | | | - view frustum culling with ComputeSphereVisibility - game should run faster now - resolved/removed most TODOs from CEngine - fixed OpenGL tests
* Ground spot texture drawingPiotr Dziwinski2012-10-201-11/+257
|
* Flare textures should work nowPiotr Dziwinski2012-10-191-2/+1
|
* Fix track mapping and sphere particle positionPiotr Dziwinski2012-10-191-6/+5
|
* Track texture mappingPiotr Dziwinski2012-10-191-9/+92
|
* CParticle rewritePiotr Dziwinski2012-10-051-0/+1
|
* Fixed bugs in texture coloringPiotr Dziwinski2012-09-301-17/+18
|
* Font coloring; fix for resize hackPiotr Dziwinski2012-09-301-3/+5
| | | | | | - added font coloring and changed default color to black - fixed resize hack incorrectly changing video config, but font resizing will not work for now
* Map texture paintingPiotr Dziwinski2012-09-301-9/+24
|
* Texture coloringPiotr Dziwinski2012-09-291-2/+140
|
* Fix for transparent objects and fadeoutsPiotr Dziwinski2012-09-291-28/+5
|
* Fixed texture regressionPiotr Dziwinski2012-09-291-18/+6
| | | | | There was a bug in texture modesetting but only visible after certain mode changes.
* Some fixes and optimizationsPiotr Dziwinski2012-09-291-23/+33
| | | | | | | | - fixed 2nd texture setting - added padding to some structs for faster access - changed rendering primitives to glDrawArrays() - optimized texture modesetting calls - fixed some valgrind errors
* Completely fixed light issuesPiotr Dziwinski2012-09-271-8/+23
| | | | Directional and spot lights are now set properly
* Lighting fix (experimental)Piotr Dziwinski2012-09-261-5/+5
| | | | | - changed fixed light allocation to prioritized per-use basis - minor refactoring in CPlanet and CWater
* Fog color fix; refactoringPiotr Dziwinski2012-09-261-8/+8
| | | | | | - fixed fog color setting - removed unused glSecondaryColor and altered struct VertexCol - minor refactoring in CText
* Various fixesPiotr Dziwinski2012-09-221-1/+4
| | | | | | | | - disabled UserDir() in path lookup - fixed crashes on loading missions in CObject - fixed texture bug in CTerrain - changed mouse move event handling to avoid flooding event queue - enabled all missions for testing
* Data dir pathsPiotr Dziwinski2012-09-221-7/+1
| | | | | - changed access to paths in data directory in CApplication - models now load from data directory
* Event fixes & refactoringPiotr Dziwinski2012-09-221-0/+1
| | | | | | - added new state tracking to Event - removed old fields from Event - fixed some issues with Events and fps counter
* robotmain, restext and engine fixesPiotr Dziwinski2012-09-211-1/+4
|
* Mouse pos setting, low cpu mode, stats displayPiotr Dziwinski2012-09-201-46/+83
|
* Namespace and styling fixPiotr Dziwinski2012-09-191-626/+637
|
* Change of background image handlingPiotr Dziwinski2012-09-171-128/+25
| | | | | | - removed old 4 quarter backgrounds - fixes in texture loading - other minor fixes
* Interface worksPiotr Dziwinski2012-09-161-10/+4
| | | | | | - removed mock of CInterface and fixed event passing to CRobotMain - changed texture names from tga and bmp to png - UI now works but interaction is still broken
* Simulation timestamps and input bindingsPiotr Dziwinski2012-09-121-25/+5
| | | | | | - added new simulation time calculations in CApplication - added simulation frame updates - rewritten old input binding code and input state tracking
* Texture format detection; minor fixesPiotr Dziwinski2012-09-091-2/+3
| | | | | | - detection of texture format - fixed depth mask bug - minor refactoring
* CTerrain refactoring & fixesPiotr Dziwinski2012-09-081-6/+6
| | | | | - refactored CTerrain code - fixed some minor bugs
* Fixes in terrain renderingPiotr Dziwinski2012-08-271-11/+21
|