summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* On MacOSX, assume we do have CFLocaleCopyCurrent to detect the actual locale ↵Didier 'OdyX' Raboud2013-11-131-0/+5
| | | | | | by hard-coding the fact in config.h.cmake This circumvents the fact that we are using localename.c directly instead of relying on the autotools-generated config.h
* Don't set rpath if libCBot is compiled staticallyDidier 'OdyX' Raboud2013-11-131-2/+3
|
* On MacOSX, define the LangPath as being i18n in the Resources path of the bundleDidier 'OdyX' Raboud2013-11-132-8/+13
|
* Abstract the definition of LangPath to CSystemUtilsDidier 'OdyX' Raboud2013-11-133-2/+10
|
* On MacOSX, don't cache the Data, Sound and Music pathsDidier 'OdyX' Raboud2013-11-131-0/+7
| | | | | | As users can potentially move the bundle around, it doesn't make sense to cache these (It would probably make sense to drop this caching on all architectures, but it's only on MacOSX where it hurts most)
* On MacOSX, define the DataPath as being the Resources path in the bundleDidier 'OdyX' Raboud2013-11-132-0/+54
|
* Abstract the definition of DataPath to CSystemUtilsDidier 'OdyX' Raboud2013-11-133-1/+9
|
* On Mac OS X, write colobot.ini and savegames to Application Support directoriesDidier 'OdyX' Raboud2013-11-134-0/+103
|
* Add russian language supportDidier 'OdyX' Raboud2013-11-072-1/+19
|
* Drop now-useless display of licenses.txt in PHASE_GENERICDidier Raboud2013-10-301-11/+0
| | | | | The content of licenses.txt in data has gotten useless as the restrictions got waived, displaying it is useless.
* Merge pull request #245 from OdyX/dev-platform-fixesPiotr Dziwiński2013-10-292-1/+7
|\ | | | | Platform fixes (Windows Icon and Mac OSX SDL_Main fix)
| * Revert "Include SDL.h in main.cpp to make sure the main loop is SDL's main loop"Didier 'OdyX' Raboud2013-10-291-1/+0
| | | | | | | | | | | | This was the wrong fix for the problem. This reverts commit f31a570d96e1a0ee28baecefa18b7e8c586c201c.
| * Add an icon and executable information to the colobot.exe when build in MXEDidier 'OdyX' Raboud2013-10-291-0/+7
| |
* | Revert back "Merge pull request #243 from OdyX/dev-fix-textures-loading"Piotr Dziwinski2013-10-292-3/+7
|/ | | | | 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-282-7/+3
| | | | 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
* Fix the detection of alpha-channel in textures as created by IMG_LoadDidier 'OdyX' Raboud2013-10-281-2/+6
| | | | This fixes the textures loading under Mac OS X
* Include SDL.h in main.cpp to make sure the main loop is SDL's main loopDidier 'OdyX' Raboud2013-10-261-0/+1
| | | | This allows the MacOSX program to start.
* Fix system_other implementation by adding an Init() and fixing the wrong constDidier 'OdyX' Raboud2013-10-242-2/+3
|
* Include the OpenAL headers using the "al.h" form, as recommended by its ↵Didier 'OdyX' Raboud2013-10-244-7/+7
| | | | CMake finder script
* MacOSX: Add initial support in CMake build infraDidier 'OdyX' Raboud2013-10-242-0/+4
|
* Fixed CTerrain-related memory leaksPiotr Dziwinski2013-10-134-3/+47
|
* Fixed memory leaks in CTextPiotr Dziwinski2013-10-121-5/+18
|
* Fixed some CBot-related memory leaksPiotr Dziwinski2013-10-125-37/+37
| | | | | | * fixed leaks in CScript::CheckToken() * fixed leaks in CInterface * commented out unused function in robotmain.cpp
* Fix for #232 - Images in SatComkrzys-h2013-09-282-6/+6
| | | | Only images, icons still don't work
* Fixed @Emxx52 's fail :Pkrzys-h2013-09-081-1/+3
|\ | | | | | | | | | | Merge branch 'master' into dev Conflicts: src/app/app.cpp
| * Added '-game' launch optionEmxx522013-09-081-1/+3
| |
* | Datadir in command line didn't work with config.erihel2013-07-162-3/+8
| | | | | | | | Values from config file overwrote datadir
* | Fix for #228Piotr Dziwinski2013-06-261-9/+15
| | | | | | | | * "empty" objects were wrongly handled in CPyro
* | Some Ui refactoringerihel2013-06-2430-83/+51
|/
* Some further changes in CMakeListsPiotr Dziwinski2013-06-242-9/+9
| | | | | | * removed DEV_BUILD autodetection (could be confusing) * ignore desktop subdirectory on Windows * some refactoring
* Fixed auto-detecting locale on WindowsPiotr Dziwinski2013-06-242-20/+29
| | | | | | * localename library is now used to determine the actual locale used * added patched version of FindGettext.cmake to fix installation path of translation files
* gitignore updatePiotr Dziwinski2013-06-222-0/+3
| | | | | * git should now ignore all generated files when building without separate build directory
* Changes in build organizationPiotr Dziwinski2013-06-2223-9040/+19
| | | | | | | | * 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-204-3/+21
| | | | | * 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-179-7/+206
| | | | | | * displaying positions of current lights (F11) * dumping info to console (F10) * added assert() in suspicious place in CPyro
* Added -proto to options[]krzys-h2013-06-171-0/+1
|
* 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-1614-215/+861
| | | | | | | | | * 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
* Fix for #195Piotr Dziwinski2013-06-133-2/+21
| | | | * loading time now is not counted in elapsed time
* Fixed bug with showing wrong filename in Level Checker errors after using ↵krzys-h2013-06-101-2/+2
| | | | CacheAudio
* 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-2714-83/+93
| | | | | * fixed -Wshadow warnings * refactored some constructors
* Fixed some memory issuesPiotr Dziwinski2013-05-272-1/+4
| | | | * invalid pointer, uninitialized buffer
* Refactored sound codePiotr Dziwinski2013-05-2715-526/+847
| | | | | * fixed formatting and naming to be uniform with rest of code * moved default implementation of CSound to cpp module
* Fixed code formattingPiotr Dziwinski2013-05-27231-1255/+1633
| | | | | | * moved braces to new lines * fixed some function/variable names * fixed whitespace issues
* Fixed some compilation warningsPiotr Dziwinski2013-05-2711-38/+56
| | | | * fixed warnings about hiding virtual functions and several others
* Reorganize string parsing in CBotToken::NextToken to fix #212adiblol2013-05-261-4/+2
|