Commit Graph

2993 Commits (a76bbe49ed36fdff63c899ca95a20b7d564cd135)

Author SHA1 Message Date
MrSimbax 92b1e544ec Remove default lambda parameters
They cause compilation error on MSVC and should give errors, as it's explicitly stated in the C++11 standard: http://stackoverflow.com/questions/6281472/why-does-a-default-argument-for-a-lambda-argument-trigger-a-pedantic-gcc-warni
2016-08-18 10:02:54 +02:00
MrSimbax 584d782a9f Add VS Code files to .gitignore 2016-08-15 18:08:18 +02:00
melex750 3146d4ef35 Add method chaining for class constructor calls 2016-08-14 16:56:17 -04:00
Jeremy Mickelson 859cec774a Added comment explaining container choice 2016-08-13 12:18:54 -06:00
Jeremy Mickelson 88227a3647 Allow multiple objects with exactly the same distance to be returned by `radarall` 2016-08-13 12:13:41 -06:00
krzys-h d411c5ebc0 Allow circular references from different classes (#814)
Conflicts:
	test/unit/CBot/CBot_test.cpp
2016-08-09 21:10:07 +02:00
melex750 71aa7e468b Add unit tests for circular reference 2016-08-09 14:55:56 -04:00
krzys-h b9d4d57e33 Syntax sugar: Accessing members of returned objects (#808)
Conflicts:
	src/CBot/CBotInstr/CBotInstrMethode.h
2016-08-09 20:28:37 +02:00
krzys_h d83553ca14 Merge pull request #809 from melex750/dev
Fixes and unit tests for inheritance
2016-08-09 19:23:49 +02:00
krzys-h 0ecdee08cc Merge branch 'dev-async-music-load' (PR #801) 2016-08-09 19:20:46 +02:00
krzys-h 4cb2eb6d37 Removed fuzzy markers for lines fixed in #805 2016-08-09 19:07:50 +02:00
aleksei-sh 191ca3c4eb Reducing the length of the lines
The length of lines is reduced so that they fit in the interface
2016-08-09 19:04:32 +02:00
aleksei-sh 1546c1514a Filled not existed translation, minor translation changes
Fill empty lines. Some translations has been corrected ("вы" required form "нажмите";  project name "Colobot" can not be translated to "КОЛОБОТ").
2016-08-09 19:04:22 +02:00
melex750 66218319dd Add support for circular references
Issue #433
2016-08-09 11:59:07 -04:00
melex750 8b3c4302d2 Add more unit tests for inheritance 2016-08-07 10:01:10 -04:00
Jeremy Mickelson 6b8e240d26 Fix implicit downcast with variable initialization 2016-08-07 08:27:01 -04:00
melex750 a205eace38 Add missing license headers 2016-08-06 16:29:02 -04:00
melex750 f3bf56d9e3 Add unit tests for returned object member access 2016-08-06 05:22:40 -04:00
melex750 e48188b429 Fix failed assert when literal null is returned 2016-08-06 04:56:57 -04:00
krzys-h c03d8beb8b Import documentation from old dev wiki
I also updated all outdated information I could find, please tell me if I missed something

Model format documentation needs an update
2016-08-05 17:04:16 +02:00
melex750 fad38cd0e9 Add accessing members to function calls 2016-08-04 03:16:59 -04:00
melex750 c89e6f4c28 Begin adding unit tests for inheritance 2016-08-04 01:19:56 -04:00
melex750 c9c02f5461 Fix assigning instance to pointer for inheritance 2016-08-04 01:06:37 -04:00
melex750 860cdb0aea Fix calling multi-level inherited methods 2016-08-03 19:13:21 -04:00
melex750 d0a8a32a57 Fix RestoreMethode when calling inherited methods 2016-08-03 18:34:39 -04:00
melex750 397e312424 Fix RestoreState for subclass instance vars 2016-08-03 17:52:53 -04:00
melex750 48666c4604 Fix not calling destructors after save/reload 2016-08-03 17:42:10 -04: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 dbe7fd6ef0 Added performance counter for UI particles 2016-07-24 18:19:37 +02:00
krzys-h 716218aa37 Fixed compile error on Windows 2016-07-24 18:19:34 +02:00
krzys-h ffd688e2d7 Do not render the shadow map when pause blur is active 2016-07-24 16:56:47 +02:00
krzys-h fef050f6dd Fixed loading apperance scene, closes #802 2016-07-24 16:44:27 +02:00
krzys-h 2c3e90b126 Added CBot performance counter 2016-07-24 16:36:13 +02:00
krzys-h 5fea22ff03 Moved performance counters to a separate class 2016-07-24 16:18:25 +02:00
krzys-h 81b7bcc5bc Moved system modules from app/ to common/system/ 2016-07-24 14:38:49 +02:00
krzys-h aa6345ab5e Post-release 0.1.8-alpha 2016-07-11 09:29:50 +02:00
krzys-h 407d855466 Release 0.1.8-alpha: Bump version 2016-07-11 09:27:53 +02:00
krzys-h 2b63369060 Release 0.1.8-alpha: Merge branch 'dev' 2016-07-11 09:27:01 +02:00
krzys-h 19cc25f716 Fixed sound channels not being unmuted properly 2016-07-10 20:12:44 +02:00
krzys-h 29f0631a2c Asynchronous sound/music loading
This improves the loading time a lot. Time from starting the app to opening game window decreased by almost 5 seconds (it's almost instant now). Mission loading times are significantly better too. As a bonus, the playmusic() CBot function doesn't hang the game if you don't preload the files with CacheAudio in scene file.
2016-07-10 14:56:34 +02:00
krzys-h 9e545d0d39 Fixed colobot-lint warnings 2016-07-09 20:39:18 +02:00
krzys-h 8a17bc901c Added pause blur config setting, enabled by default 2016-07-09 12:13:51 +02:00
krzys-h 9b9dd43c2a Updated data submodule 2016-07-04 20:36:03 +02:00
krzys-h 6f412df232 Fixed lockups when calling StartSuspend multiple times 2016-07-04 17:02:39 +02:00
krzys-h fb3245977c Added logging to CPauseManager 2016-07-04 17:01:48 +02:00
krzys-h 58815059ea Added warnings about planned changes to EndMisisonTake (#759) 2016-07-04 16:30:22 +02:00
krzys-h 7bfe9fdd0a Updated data submodule 2016-07-04 13:23:37 +02:00
krzys-h 11d40197ee Added some more CBot tests after #793 2016-07-04 12:23:48 +02:00
krzys-h 3e30ccfdfa Merge pull request #793 from melex750/dev
Fix some bugs in CBOT

This fixes https://github.com/colobot/colobot/issues/728#issuecomment-205039570 and #626
2016-07-04 12:20:39 +02:00
melex750 d0d0c4f197 Fix class not unlocked when program is stopped
#626
2016-06-24 17:29:32 -04:00