Tomasz Kapuściński
9fe85e280a
Code simplification in CGL14Device
2016-11-10 12:34:30 +01:00
Unknown
3c71354b42
Fix MSVC2015 compilation error
2016-11-07 21:08:02 +01:00
Tomasz Kapuściński
5aa5d91ecb
Fix compilation errors in half.cpp
2016-11-04 18:34:49 +01:00
Tomasz Kapuściński
993d9e9ed6
Added rendering with generic vertex formats
2016-11-04 14:13:16 +01:00
Tomasz Kapuściński
ae3b2b8572
Added types and vertex format specification
2016-11-04 11:59:57 +01:00
Tomasz Kapuściński
c5b5435b4a
Added half-precision floating-point format implementation
2016-11-04 11:35:55 +01:00
krzys-h
bb9d1c8265
Remove "this == nullptr" checks in CBOT, fixes #828
2016-10-02 21:36:59 +02:00
krzys-h
a96835e35f
Change CBot file log messages
...
Open mode is logged now. Additionally fixed incorrect file path in log when deleting files.
2016-09-30 17:08:37 +02:00
MatiRg
d107605007
Add file append mode in CBot ( #838 )
2016-09-30 17:03:13 +02:00
krzys-h
73be03161f
Fix infinite pause when cloning program with errors, closes #837
2016-09-27 18:57:24 +02:00
krzys-h
3472ec6613
Revert CParticle::CheckChannel changes
...
I misinterpreted this as being a bug, while actually it seems to be an explicit CParticle design choice (maybe not the best one, but whatever). We DO need better docs for some old code like this :/
Fixes #806
This reverts commit 99a831a03b
.
2016-09-27 18:34:54 +02:00
MatiRg
dc415c3d2a
Remove character limit in CEdit ( #836 )
2016-09-25 19:13:04 +02:00
krzys-h
ca548e2902
Update CBotFieldExpr::ProtectionError docs
2016-09-24 17:04:47 +02:00
melex750
9ab7f7d140
Fix access to protected and private variables
2016-09-17 08:00:34 -04:00
melex750
3debfb9182
Fix finding in-class methods when searching by ID
2016-09-17 07:59:34 -04:00
melex750
4a14a44f3f
Add implicit cast and null for passing arguments
2016-09-17 07:58:39 -04:00
krzys_h
84c98546df
Merge pull request #819 from melex750/dev
...
Method chaining for constructor calls in CBOT
2016-09-09 19:37:37 +02:00
krzys_h
8dc03f40d5
Merge pull request #817 from CyborgMaster/radarall-equidistant-objects
...
radarall can return multiple objects with exactly the same distance
2016-09-09 19:17:40 +02:00
MrSimbax
514829de60
Normalize dir parameter when copying to clipboard
2016-08-20 13:22:53 +02:00
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
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
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
melex750
66218319dd
Add support for circular references
...
Issue #433
2016-08-09 11:59:07 -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
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
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
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
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
melex750
d0d0c4f197
Fix class not unlocked when program is stopped
...
#626
2016-06-24 17:29:32 -04:00
melex750
64157090e6
Fix crash when calling method on a null object
2016-06-24 17:18:11 -04:00
melex750
51665e8396
Fix "new" keyword syntax checking
2016-06-24 17:03:50 -04:00
melex750
66984a4bb3
Fix using compound-assignment with an array
...
...that was initialized in the definition
2016-06-24 17:00:41 -04:00
melex750
0d74b4f36b
Fix initializing an array using variables
...
Resolves a conflict between CBotListArray and CBotExprVar
2016-06-24 16:56:17 -04:00
krzys-h
3b9b9b322a
Changed mouse scaling (again)
2016-06-21 13:07:40 +02:00
krzys-h
0fbd2d107c
Allow using the CBot debugger during code battles
2016-06-21 13:06:55 +02:00
krzys-h
c304ecd0ca
Changed arrays to use {} when converted to string; added tests
2016-06-21 12:58:43 +02:00
krzys-h
5f7a8dbd5d
Fixed string values with spaces ( closes #791 )
2016-06-21 12:57:45 +02:00
krzys-h
8ad53ce327
Fixed pause blur in main menu
2016-06-19 22:18:03 +02:00
krzys-h
bd4362e26c
Fixed dynamic textures not being reloaded properly
2016-06-19 19:57:55 +02:00
Tomasz Kapuściński
a0b3f7a769
Fixed problem with pause blur after changing some graphic settings
2016-06-19 16:52:01 +02:00
krzys-h
125d1a32c7
Fixed pause blur blinking for one frame
...
issue #656
2016-06-19 12:23:57 +02:00
krzys-h
9d9131c3fb
Fixed pause blur with MSAA
...
issue #656
2016-06-19 11:45:59 +02:00
krzys-h
bf2e3cdfae
Merge pull request #783 from melex750/dev
...
[INFO] Conversion to string
2016-06-17 22:41:53 +02:00
krzys-h
7ce23fdf52
Do not rotate after changing autosave settings
...
See https://github.com/colobot/colobot/pull/789#discussion_r67570610
2016-06-17 22:39:45 +02:00
krzys-h
439a416a66
Merge pull request #789 from Erihel/dev-boost-filesystem-removal
...
Dev boost filesystem removal
2016-06-17 22:38:41 +02:00
krzys-h
9017e5a25b
Fixed links in CBot listings in SatCom
2016-06-17 21:13:16 +02:00
Krzysztof Dermont
32629a2f2a
Refactor autosave rotation.
...
In order to remove boost:filesystem from CResourceManager Move()
function has to be removed or rewrited. Since Move is only used in
autosave rotation it's simpler to change autosave rotation and remove
Move().
Now oldest autosaves (with lowest timestamp) will be removed in rotation.
2016-06-09 19:30:08 +02:00
Krzysztof Dermont
2168b57cac
Remove part of boost::filesystem usage.
2016-06-09 19:30:08 +02:00
melex750
37ab015c8d
Fix conversion to string with = operator
2016-05-29 06:55:28 -04:00
melex750
6db2832577
Fix conversion to string with + operator
2016-05-29 06:45:08 -04:00
melex750
0165e8f348
Fix and document TypeCompatible
2016-05-29 06:40:42 -04:00
krzys-h
b56cd11c98
Added C++ operator overloads to CBotVar
2016-05-29 00:06:34 +02:00
krzys-h
df111dbf98
Refactored CBotVar to templates
2016-05-28 23:28:12 +02:00
krzys-h
0e101debe0
Removed CAM_TYPE_INFO
2016-05-28 18:52:30 +02:00
krzys-h
646e5104f6
Some CCamera cleanup and docs
2016-05-28 18:44:38 +02:00
krzys-h
bef27c3b36
Removed unused parameter from CEngine::SetViewParams
2016-05-28 16:48:36 +02:00
krzys-h
d80fa387b9
Fixed some particle crashes after 99a831a03b
2016-05-28 16:16:48 +02:00
krzys-h
89b495c667
Cleaned up whitespace in translation strings
2016-05-28 16:03:02 +02:00
krzys-h
2dd7ba7e9b
Added camera keybindings ( #653 )
2016-05-28 15:41:01 +02:00
krzys-h
ebc2e6e26c
Added camera joystick bindings ( #653 )
2016-05-28 13:50:41 +02:00
krzys-h
942f746a21
Removed CAM_TYPE_DIALOG
2016-05-28 12:50:32 +02:00
krzys-h
aa159bc9b0
Don't scale mouse cursor with resolution
2016-05-28 00:43:14 +02:00
krzys-h
99a831a03b
Fixed CParticle::CheckChannel "errors"
...
Not really errors, but I fixed them anyway
2016-05-28 00:26:56 +02:00
krzys-h
5ab99429d4
Fixed FIX camera up/down movement
2016-05-28 00:00:08 +02:00
krzys-h
250047579f
Allow using custom paths for win/lost scenes
2016-05-27 23:37:36 +02:00
krzys-h
bd72086704
Unified all camera inputs
...
Until now each camera type had separate code for handling camera input, and some new features were missing in some of them.
The camera controls are as follows:
* RMB+mouse and numpad keys - horizontal/vertical rotation
* mouse wheel and +/- keys - zoom (in free camera - move eye up/down)
* CTRL or MMB + horizontal controls - pan left/right
* CTRL or MMB + zoom controls - move lookat up/down (free camera only)
2016-05-27 22:38:44 +02:00
melex750
6491ce0aa5
Fix passing "this" as an argument to a method
2016-05-24 10:30:20 -04:00
melex750
c19f97bc24
Fix RestoreState to assign IDs to instance vars
2016-05-24 10:09:44 -04:00
krzys-h
cdd719cc47
Made clipping distance settings apply immediately
2016-05-21 19:05:18 +02:00
krzys-h
59c106f7a7
Fixed pause blur image not updating correctly on resolution change
2016-05-21 19:03:53 +02:00
Tomasz Kapuściński
213fd6b203
Added blur effect when the game is paused (issue #656 )
...
Might be unstable, needs more testing. To enable, add PauseBlur=1 to [Experimental] section in colobot.ini
2016-05-21 14:27:35 +02:00
Tomasz Kapuściński
8922bb5e84
Renamed CGLDevice to CGL14Device
2016-05-11 14:50:18 +02:00
Tomasz Kapuściński
ebca89d920
Removed texture coordinate generation
...
This feature was only needed by GL14 device to implement shadow mapping and is not supported by shader-based devices. Shadow mapping has been rewritten, so this feature is no longer needed.
2016-05-11 13:47:08 +02:00
Mateusz Przybył
734e6e97c0
Group source files for IDE projects in CMake
...
Merge pull request #773 from MrSimbax/msvc-project-org-cmake
2016-05-02 12:14:18 +02:00
tomangelo2
9870cfe8a8
Clamp FogStart value to 0 if negative
...
Should fix issue #766
2016-05-02 01:27:07 +02:00