summaryrefslogtreecommitdiffstats
path: root/src/common/profile.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Support for %lvl% in TerrainInitTextures + cleanupkrzys-h2014-10-271-49/+0
| | | | | | | | 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)
* Also fixed the same thing in file writing codekrzys-h2014-10-151-4/+9
|
* Fixed crash when colobot.ini doesn't existkrzys-h2014-10-151-3/+8
|
* Merge branch 'dev' into dev-physfskrzys-h2014-10-141-15/+18
|\ | | | | | | | | Conflicts: data
| * Changed all occurences of PPC in the code to TerranovaTeamkrzys-h2014-10-141-15/+18
| |
* | Fixes in unit testsPiotr Dziwinski2014-10-071-12/+33
| |
* | Merge with devPiotr Dziwinski2014-10-071-17/+22
|\|
| * CProfile refactoringPiotr Dziwinski2014-08-121-19/+19
| |
| * Better CMake organization and unit test cleanupsPiotr Dziwinski2014-08-121-12/+14
| | | | | | | | | | | | | | * created a static library containing most source modules to avoid compiling source modules twice in code and unit tests * moved profile_test to main unit tests executable * removed image_test and edit_test as not really useful
* | Saving colobot.ini through physfskrzys-h2014-07-241-10/+20
|/
* Ability to set language via ini filekrzys-h2013-12-311-8/+8
| | | | If language autodetection doesn't work, someone might want to manually force the game to use correct language without using -language parameter every time
* 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
* Fixed code formattingPiotr Dziwinski2013-05-271-13/+19
| | | | | | * moved braces to new lines * fixed some function/variable names * fixed whitespace issues
* Removed most of "No such node" messageskrzys-h2013-05-041-16/+21
|
* Changed log level in profile.cpp to errorerihel2013-05-031-9/+9
|
* 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 :)
* Add profile and savegame fetchers in SystemUtilsDidier Raboud2013-03-271-2/+4
| | | | This breaks the tests compilation. :/
* * Changed file loading to fix issue #73erihel2013-03-171-0/+45
| | | | | | | * 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
* CInstanceManager refactoringPiotr DziwiƄski2013-02-171-1/+1
| | | | | | | | | * 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
* Doxygen/comment fixes and some #include refactoringPiotr Dziwinski2012-10-171-2/+1
|
* Small fix in profile + profile_test rewritten to gtest.Zaba9992012-09-281-0/+2
|
* Profile rewritten to boost. Read/write to ini should work.Zaba9992012-09-271-20/+25
| | | | Load/Save should work.
* Work in progress on opening files, and listing dirsZaba9992012-09-261-24/+94
| | | | | Fixed includes profile changed from SimpleIni to boost::ptree -> not finished yet
* * Fixed audio problemserihel2012-09-221-1/+1
| | | | | | * Added colobot.ini to CApp in Create function * Fixes to plugin manager * Fixed CProfile segfault
* Refactoring in src/commonPiotr Dziwinski2012-09-091-1/+4
| | | | | - refactored CInstanceManager and some headers - removed old headers
* * New CPluginManager class for managing plugins based on colobot.inierihel2012-08-121-2/+19
| | | | | * Moved sound plugin into sound dir * Minor changes in logger and profile
* * changed 0, NULL to nullptrerihel2012-08-091-61/+35
| | | | | | | * changed profile.cpp to use SimpleIni to load config files * added new CProfile singleton class for loading config * added SimpleIni to lib/ dir * added config loading tests
* Pulled changes from master branchPiotr Dziwinski2012-06-281-6/+6
|
* Whitespace and language changePiotr Dziwinski2012-06-261-114/+114
| | | | | | | - 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
* FPOINT -> Math::Point & other math functionsPiotr Dziwinski2012-06-131-2/+0
| | | | | | | | | - 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
* BOOL -> bool; additional fixes in constructors/destructorsPiotr Dziwinski2012-06-101-17/+17
|
* Fixed include paths and CMakeLists.txtPiotr Dziwinski2012-06-101-3/+3
| | | | Additionally, changed #ifndef to #pragma once everywhere
* Source files split into modulesPiotr Dziwinski2012-04-281-0/+116