MrSimbax
2b107736e2
Merge branch 'platform-independent' of https://github.com/AbigailBuccaneer/colobot into AbigailBuccaneer-platform-independent
2021-09-11 10:47:39 +02:00
Victor Vieux
11047ecd53
system_macosx.cpp: fix typo
2021-08-24 15:48:31 -07:00
MrSimbax
5f76722ecb
Add error dialogs for open path/url buttons
2020-07-17 17:27:09 +02:00
MrSimbax
4905abe30b
Merge branch 'dev-mod-manager' of https://github.com/DavivaD/colobot into dev-mod-manager
2020-07-17 11:49:51 +02:00
immibis
a2aeef0155
When game speed is 2 or higher, run multiple ticks.
2020-07-11 21:20:55 +02:00
tomangelo
37e4ed8029
Updated license headers ( #1317 )
...
* Updated headers
* Updated more headers
2020-07-07 10:19:36 +02:00
MrSimbax
621453a01c
Make all relative paths use base dir
2020-04-05 13:24:45 +02:00
MrSimbax
d4b2f23c4a
Add handling of env variables
2020-04-03 20:15:24 +02:00
MrSimbax
61a7aa2592
Fix minor memory leak
2019-08-07 09:51:27 +02:00
MrSimbax
2d3d03cc38
Use SDL_GetBasePath() instead of physfs because it's buggy in old version
2019-08-07 09:51:27 +02:00
MrSimbax
41379ded7e
Use workdir paths on dev builds
2019-08-07 09:51:27 +02:00
MrSimbax
5cefa57dd5
Use base dir instead of working dir for data files
2019-08-07 09:51:27 +02:00
DavivaD
7d30a82747
Move platform-dependent code to system_*.cpp
2019-07-27 16:59:51 +02:00
MrSimbax
0eb31a1f45
Fix PORTABLE_SAVES flag not working
2019-02-23 13:12:37 +01:00
tomangelo
9cf89db8af
Merge pull request #1213 from ananace/fix-xdg
...
Fix Linux savegame path issue, closes #1212
2018-12-23 16:43:59 +01:00
Alexander Olofsson
d11404a6e9
Fix Linux savegame path issue, closes #1212
2018-11-25 14:49:01 +01:00
Mateusz Przybył
abb7d54ef5
Add support for VS CMake/vcpkg compilation ( #1174 )
...
* Add support for VS CMake/vcpkg compilation
* Fix system_windows.cpp compilation
* Add optimization and hidden console to MSVC release builds
2018-06-04 09:17:51 +02:00
krzys-h
073191d1ea
Small CPathManager refactoring
2018-05-16 13:28:06 +02:00
AbigailBuccaneer
4119e669d1
Remove central tracking of SystemTimeStamp
...
SystemTimeStamp used to be an opaque class, as it was provided by
`system_{linux/other/windows}.h`. Because of this, code dealt in
SystemTimeStamp pointers, and getting the current timestamp required a
memory allocation. Now SystemTimeStamp is just a
`std::chrono::time_point`, we can make the code cleaner and faster by
just directly keeping SystemTimeStamp instead of pointers around.
2018-04-20 09:57:10 +01:00
AbigailBuccaneer
285350464f
Remove platform-specific handling of times
...
Now all platforms use std::chrono::high_resolution_clock and
std::this_thread::sleep_for instead of platform-specific timestamp and
sleep methods.
2018-04-20 09:56:57 +01:00
krzys-h
1c2bdc9cab
Update license headers
2018-04-20 02:08:50 +02:00
krzys-h
88c6818cfd
Fix code style issues
2016-11-26 13:48:12 +01:00
krzys-h
210b5c295d
Fix memory leak related to performance counters
...
This commit actually fixes two problems causing the leak:
* DestroyTimeStamp not being called in CProfiler (my stupid mistake in 5fea22ff03
)
* DestroyTimeStamp leaving null pointers in CSystemUtils::m_timeStamps (this was introduced by @piotrdz long ago when introducing smart pointers)
2016-07-24 22:51:41 +02:00
krzys-h
81b7bcc5bc
Moved system modules from app/ to common/system/
2016-07-24 14:38:49 +02:00