summaryrefslogtreecommitdiffstats
path: root/src/common
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #250 from OdyX/dev-platform-enhancements-and-installersPiotr Dziwiński2013-11-221-0/+5
|\ | | | | MacOSX and Windows platform enhancements and installers
| * 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
* | Fix for crash when loading PNG in indexed modePiotr Dziwinski2013-11-152-5/+31
|/ | | | For example, some icons in SatCom
* Add russian language supportDidier 'OdyX' Raboud2013-11-071-1/+2
|
* MacOSX: Add initial support in CMake build infraDidier 'OdyX' Raboud2013-10-241-0/+1
|
* gitignore updatePiotr Dziwinski2013-06-221-0/+2
| | | | | * git should now ignore all generated files when building without separate build directory
* Changes in build organizationPiotr Dziwinski2013-06-221-7/+6
| | | | | | | | * 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
* Enhanced logging, option to auto-start missionPiotr Dziwinski2013-06-164-20/+553
| | | | | | | | | * 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 variable shadowing warningsPiotr Dziwinski2013-05-271-10/+9
| | | | | * fixed -Wshadow warnings * refactored some constructors
* Refactored sound codePiotr Dziwinski2013-05-272-19/+19
| | | | | * fixed formatting and naming to be uniform with rest of code * moved default implementation of CSound to cpp module
* Fixed code formattingPiotr Dziwinski2013-05-2719-109/+134
| | | | | | * moved braces to new lines * fixed some function/variable names * fixed whitespace issues
* Running program in robots created using object.factory()krzys-h2013-05-191-0/+1
|
* Changed "Inappropariate bot"->"Inappropariate object" in newly added functionskrzys-h2013-05-182-0/+2
|
* Added object.destroy()krzys-h2013-05-182-0/+2
|
* Non-power-of-2 padding for background imagesPiotr Dziwinski2013-05-112-0/+32
| | | | | * added padding options * removed old hardcoded image sizes
* Removed most of "No such node" messageskrzys-h2013-05-042-16/+26
|
* Changed log level in profile.cpp to errorerihel2013-05-031-9/+9
|
* Added button for Destroyerkrzys-h2013-05-022-0/+2
| | | | Issue #142
* Saving information to profile (#154)krzys-h2013-05-012-3/+5
|
* Made colobot.ini & savegame dir location depended on build typekrzys-h2013-05-011-0/+8
| | | | | | For Debug, it's current dir For Release it's like it was before Made on @CoLoRaptor's request :)
* Added buildXienDev2013-04-272-0/+4
| | | | Third patch
* Moved boost flags to CMakeListsPiotr Dziwinski2013-03-271-4/+0
|
* * Another define to fix linker problemserihel2013-03-271-0/+1
|
* Add profile and savegame fetchers in SystemUtilsDidier Raboud2013-03-271-2/+4
| | | | This breaks the tests compilation. :/
* Added interface button for AlienSpider explosionkrzys-h2013-03-262-0/+2
| | | | Issue #142
* Fixes for compiling on MSYSPiotr Dziwinski2013-03-224-6/+14
| | | | | | * fixed SDL_main() and putenv() issues * disabled desktop subdir for MSYS * disabled building CBot_console for now
* * Changed file loading to fix issue #73erihel2013-03-174-125/+75
| | | | | | | * Moved few functions from misc.cpp to profile.cpp (used to set/get user dir) * Removed some warnings * More work to change const char* to std::string * Some work on file path to fix issue #60 with bad slashes on POSIX platform
* VBO override option; argv parsing using getoptPiotr Dziwinski2013-03-102-76/+137
| | | | | | * added -vbo option to override autodetection of OpenGL VBO extension * refactored argument parsing to use getopt() * fixed failing UTs
* CInstanceManager refactoringPiotr Dziwiński2013-02-177-112/+63
| | | | | | | | | * 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
* Added Destroyer from Ceebot-Teen.krzys-h2013-02-133-1/+4
| | | | We need a new icon for it.
* Refactoring in tests infrastructurePiotr Dziwinski2013-02-034-138/+0
| | | | | | | * all tests are now in /test/ subdirectory * unit tests concatenated to one executable (TODO: ui, common) * preparation for test environments (OpenGL and others) * removed old TestCBot
* Fixed some clang warningsPiotr Dziwinski2013-01-171-2/+2
|
* Merge dev and dev-graphicsPiotr Dziwinski2013-01-071-1/+0
|\
| * Small fix in detecting language. Fixes needed to compile code using clangMarcin Zawadzki2013-01-051-1/+0
| |
* | Corrected OpenGL extension detectionPiotr Dziwinski2013-01-051-1/+0
| | | | | | | | | | | | - corrected multitexture and VBO detection - GLEW is now a required library - minor CMakeLists refactoring
* | Merge branch 'dev' into dev-graphicsPiotr Dziwinski2013-01-045-8/+22
|\|
| * Merge pull request #108 from OdyX/dev-central-cmake-versionPiotr Dziwiński2012-12-292-1/+7
| |\ | | | | | | Create a central version
| | * Create a central versionDidier Raboud2012-12-272-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Make it 0.1.0~pre-alpha for now. - Add it to runtime program - Add it to -help option - Add it to manpage - Update translations
| * | Replaced malloc/free with new/deletePiotr Dziwinski2012-12-281-2/+2
| |/ | | | | | | | | | | - now new/delete used everywhere except for CBotStack, which has to be fixed in other way - some segfaults should be fixed with this
| * latest changeserihel2012-12-211-0/+2
| |
| * Installation path fixes and CMakeLists refactoringPiotr Dziwinski2012-12-202-3/+2
| | | | | | | | make && make install should now give a working installation.
| * Put common CXX flags in common variablesDidier Raboud2012-12-191-1/+2
| | | | | | | | | | CMAKE_CXX_FLAGS is taken into account in all builds; build-type-specific flags are appended to it.
| * Don't enforce CMake build type on users.Didier Raboud2012-12-191-1/+3
| | | | | | | | Only set CMAKE_BUILD_TYPE to Debug when no value is provided.
| * Merge branch 'dev' into dev-use-installed-i18nDidier Raboud2012-12-161-0/+1
| |\ | | | | | | | | | | | | Conflicts: src/common/config.h.cmake
| | * Set a default datadir, in sync with the data installation path.Didier Raboud2012-12-161-1/+3
| | |
| * | Use default installation paths for i18n.Didier Raboud2012-12-161-1/+3
| |/ | | | | | | | | | | This finishes the work started in 19b75e174338f8e7be7486a7445d1e90e9795077 by actually using the translation where they are installed.
| * Split gtest and gmock, fixed using system packagesPiotr Dziwinski2012-12-161-1/+1
| | | | | | | | | | | | - split the bundled gtest and gmock libraries - allowed the use of system gmock - refactoring in CMakeLists
| * Merge branch 'master' into devPiotr Dziwinski2012-12-151-0/+1
| |\
| | * Inherit translation setting from environment.Didier Raboud2012-12-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This ensures that users with a correctly-defined locale don't need to explicitely set the locale. - By dropping the setlocale content, it fixes the loading of translations. - Add a Debug log message to check what is put in the environment.
* | | Ground spot texture drawingPiotr Dziwinski2012-10-202-0/+12
|/ /