summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine
Commit message (Collapse)AuthorAgeFilesLines
* Fixed amount of fireball damage done to allies, close issue #356MrSimbax2014-11-021-1/+1
| | | | In the original game the whole series did damage 0.02 (0.10 * 0.2) to human. In Gold, one particle do such damage, so 51 particles do 51 * 0.02 = 1.02 damage to human! I changed the multiplier for allies from 0.2 to 0.004 (approx. 0.2 / 51), but this problem probably occured somewhere else during rewriting the engine from DirectX to OpenGL and SDL.
* Implemented mission timerkrzys-h2014-10-292-0/+21
|
* Showing coordinates in stats menu (F12/showstat); removed "showpos" cheatkrzys-h2014-10-292-3/+26
| | | | | | | | | Issue #277 Conflicts: src/object/cheat.cpp src/object/robotmain.cpp src/object/robotmain.h
* Support for %lvl% in TerrainInitTextures + cleanupkrzys-h2014-10-271-1/+2
| | | | | | | | cleanup: * Removed CProfile::SetUserPath (unused) * Removed CProfile::GetUserBasedPath (unused) * Removed CProfile::CopyFileToTemp (i have no idea why it even existed) * Removed CopyFileListToTemp (it did the same as CopyFileToTemp but for multiple files, wasn't even fully implemented)
* Possible fix for #339 (?)krzys-h2014-10-251-0/+5
|
* Fixed linking convert_model (#332)krzys-h2014-10-251-3/+35
|
* Merge branch 'vieux-blood_mode' into devkrzys-h2014-10-223-3/+17
|\ | | | | | | | | | | Conflicts: src/common/restext.cpp src/ui/maindialog.cpp
| * add option to disable bloodVictor Vieux2014-10-213-3/+17
| |
* | Fixed map turning gray after resizing windowkrzys-h2014-10-201-1/+1
| |
* | Merge branch 'dev' into dev-physfskrzys-h2014-10-1426-416/+468
|\ \ | | | | | | | | | | | | Conflicts: data
| * | Changed all occurences of PPC in the code to TerranovaTeamkrzys-h2014-10-1426-416/+468
| | |
* | | Merge with devPiotr Dziwinski2014-10-071-42/+42
|\| |
| * | Fixed #314krzys-h2014-08-061-2/+2
| | |
| * | fixed issue #223 about disabling shadows/ground texturesMohamed Waheed2014-07-121-40/+40
| |/
* | Moved effect??.png textures and made pos= in GroundSpot optionalkrzys-h2014-09-273-7/+7
| |
* | Restored -datadir and -langdir arguments, added -savedirkrzys-h2014-08-061-1/+7
| | | | | | | | Also, fixed some crashes when unable to open file
* | Fixed SatCom image loadingkrzys-h2014-07-247-38/+38
| | | | | | | | Now LoadTexture/SetTexture functions require full path with "textures/" directory
* | Merge branch 'dev' into dev-physfskrzys-h2014-07-112-6/+14
|\| | | | | | | | | | | | | | | | | Conflicts: data src/app/gamedata.cpp src/ui/control.cpp src/ui/edit.cpp src/ui/maindialog.cpp
| * Removed old code based on #ifs (issue #55)krzys-h2014-06-271-3/+0
| |
| * formatting and enhancements for savefile screenshot featureMohamed Waheed2014-06-241-1/+1
| |
| * implemented savefile screenshot featureMohamed Waheed2014-06-241-3/+14
| |
* | Fixed texture and script loadingkrzys-h2014-07-104-25/+19
| |
* | More work on levelsKrzysztof Dermont2014-06-222-4/+4
| |
* | Added Exist() to resource manager, updated modelKrzysztof Dermont2014-06-221-6/+8
| |
* | More work on PhysFS supportKrzysztof Dermont2014-06-222-2/+2
| | | | | | | | | | * added output stream * fixed music loading
* | Big part of PhysFS supportKrzysztof Dermont2014-06-206-39/+32
|/ | | | | | | | | | | * removed -mod argument * removed -datadir argument * removed -lang argument * removed some dead ui code * added resource manager and file loaders (stream and SDL) * changed interface textures location to match new directory structure * removed CGameData for mod support * added PhysFS support
* Better datadir mod supportkrzys-h2014-05-185-31/+48
|
* Random relief generatorkrzys-h2014-04-102-1/+63
|
* Fixes #271Oleg Kosmakov2014-03-251-1/+7
|
* GetStringWidth fixandreymal2014-03-021-2/+2
|
* CPauseManagerkrzys-h2013-12-312-15/+8
|
* Revert back "Merge pull request #243 from OdyX/dev-fix-textures-loading"Piotr Dziwinski2013-10-291-1/+1
| | | | | False alarm, was caused probably by faulty build bot. This definately should work on all platforms.
* Revert "Merge pull request #243 from OdyX/dev-fix-textures-loading"Piotr Dziwinski2013-10-281-1/+1
| | | | Looks like it doesn't work on all platforms
* 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-133-2/+45
|
* Fixed memory leaks in CTextPiotr Dziwinski2013-10-121-5/+18
|
* Fixed some CBot-related memory leaksPiotr Dziwinski2013-10-122-14/+14
| | | | | | * fixed leaks in CScript::CheckToken() * fixed leaks in CInterface * commented out unused function in robotmain.cpp
* Fix for #228Piotr Dziwinski2013-06-261-9/+15
| | | | * "empty" objects were wrongly handled in CPyro
* Some Ui refactoringerihel2013-06-242-10/+2
|
* Changes in build organizationPiotr Dziwinski2013-06-223-292/+1
| | | | | | | | * targets are now created in top-level build directory * more things are now configured through CMake options * changed debug build detection from NDEBUG to DEV_BUILD * moved po and desktop directories * moved last unit test out of src directory
* Reverted enum values to fix UT regressionPiotr Dziwinski2013-06-221-3/+3
|
* Fixed terrain light priorities (fix for #139)Piotr Dziwinski2013-06-202-2/+17
| | | | | * lights illuminating the terrain specified in scene file are now always moved to front of light ordering
* Fixed string formats in light debug printsPiotr Dziwinski2013-06-171-5/+5
|
* Added debug aids for lightingPiotr Dziwinski2013-06-175-3/+98
| | | | | | * displaying positions of current lights (F11) * dumping info to console (F10) * added assert() in suspicious place in CPyro
* Fix for #133Piotr Dziwinski2013-06-173-8/+106
| | | | | * objects are now copied and textures are updated correctly * also added function to debug objects
* Enhanced logging, option to auto-start missionPiotr Dziwinski2013-06-163-34/+52
| | | | | | | | | * added logging of application events * changed debug mode flag to independent debug modes * added option to auto-start mission (load a mission immediately after startup) * removed "enum value out of range" prints * some refactoring
* 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"
* Fixed variable shadowing warningsPiotr Dziwinski2013-05-275-31/+42
| | | | | * fixed -Wshadow warnings * refactored some constructors
* 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-2729-2/+30
| | | | | | * moved braces to new lines * fixed some function/variable names * fixed whitespace issues