Tomasz Kapuściński
8533be8d5c
Replaced MakeUnique and MakeUniqueArray with std::make_unique
2022-02-26 18:48:51 +01:00
Tomasz Kapuściński
baa616050a
Some refactors to reduce extensive recompilation cascades
...
Renamed AlphaMode::OPAQUE to AlphaMode::NONE due to clash with preprocessor define
Moved Gfx::EngineTriangle to a separate file
2022-02-26 02:39:13 +01:00
Tomasz Kapuściński
c378009128
Feature-breaking refactors
...
* Partially filled Material structure, currently only base attributes
* Removed recoloring of textures and team variants
* Removed one base object tier in engine structures
* Removed EngineRenderState
* Rewritten some code to better coding style
2022-02-13 00:03:46 +01:00
Tomasz Kapuściński
3bd4fee844
Merge branch 'dev' into dev-graphics-overhaul
...
# Conflicts:
# src/graphics/engine/camera.cpp
# src/object/auto/autonuclearplant.cpp
# src/object/auto/autopowerplant.cpp
# src/object/interface/powered_object.h
# src/object/motion/motionvehicle.cpp
# src/object/old_object.cpp
# src/object/old_object.h
# src/object/task/taskmanip.cpp
# src/object/task/taskmanip.h
# src/object/task/tasktake.cpp
2022-02-02 18:11:06 +01:00
tomangelo2
0003494c9e
Merge PR #1444
2022-01-29 17:16:57 +01:00
Tomasz Kapuściński
9c37f6cbd5
Fully refactored Math::Matrix, removed matrix.h and moved remaining functions to other files
2022-01-05 19:12:35 +01:00
Tomasz Kapuściński
208f142cd2
Made Math::Matrix an alias to glm::mat4, partial refactors
2022-01-05 00:35:41 +01:00
Tomasz Kapuściński
0bba168f94
Removed vector.h, refactored redundant functions and moved remaining ones to func.h
2022-01-04 20:43:36 +01:00
Tomasz Kapuściński
db3b1d74d1
Refactored unnecessary Normalize, DotProduct, CrossProduct and Clamp functions
2022-01-04 02:10:36 +01:00
Tomasz Kapuściński
d25d6124a9
Changed Math::Vector into alias to glm::vec3
2021-12-28 23:01:30 +01:00
Tomasz Kapuściński
77c6f8e54f
Refactored Math::Point in CRobotMain, CObjectFactory, CBaseBuilding, CAutoInfo, CScript, CDebugMenu, CDisplayText and CObjectInterface
2021-12-24 20:08:04 +01:00
Tomasz Kapuściński
c389156499
Added commands for controling triplanar mapping
2021-12-14 21:58:23 +01:00
MrSimbax
80f074e2ba
Update license headers
2021-09-11 15:53:59 +02:00
MrSimbax
bbf5c806d8
Fix MSVC compilation due to macros in Windows API headers
...
There exists `CreateDirectory` `#define` somewhere and it results in
failed compilation of `resourcemanager.cpp`.
Similarly for `RemoveDirectory`. See
https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createdirectorya
Rename the two methods to remove the conflict.
The fail occurs at least when using Visual Studio 2022 Preview.
2021-09-04 20:34:02 +02:00
Fiftytwo
8647deafc8
Merge branch dev into dev-gameplus
2021-03-21 22:30:23 +01:00
Jeff Law
ad2e3db92f
Fix more dynamic casts for gcc-11
...
Signed-off-by: suve <veg@svgames.pl>
Jeff's patch was written for the 0.1.12 stable release.
Adapted to work with the "dev" branch (as of commit 13098ee
).
2020-09-15 10:20:24 +02:00
tomangelo
2685a1eb60
Add cell capacity parameters ( #1348 )
2020-08-31 13:37:45 +02:00
Fiftytwo
56c99e741e
Make Vault buildable
2020-08-08 20:51:56 +02:00
Fiftytwo
2023756023
Fix factory() being able to produce non-bot units
2020-07-30 11:11:51 +02:00
MrSimbax
242477e3ee
Major UI change to mod manager
...
Move the button to the sidebar.
Add reordering option.
General improvements and refactoring.
2020-07-21 20:27:24 +02:00
Fiftytwo
754dfefefd
Add Missions+ gamemode
2020-07-20 18:35:31 +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
Krzysztof Dermont
7d7a29117e
Save audio settings when option changes
...
Mute/unmute option when game windowis in background relies on settings
being updates. This happens when users leaves Options screen. This
commit adds saving audio settings on each change.
This is a fix for #1315
2020-07-10 20:15:18 +02:00
tomangelo
37e4ed8029
Updated license headers ( #1317 )
...
* Updated headers
* Updated more headers
2020-07-07 10:19:36 +02:00
Krzysztof Dermont
a65776e0e7
Prevent game crash on bad savegame title
...
It was noted in issues #1207 and #1232 that game can crash when savegame
does not contain title. This might be a problem when saving game fails
and user is informed about it only in console. Proper fix should be a
visible error message informing that saving failed. This commit filters
invalid savegames from load windows and prevents game crash in narrow
cases.
2020-07-06 11:38:23 +02:00
Krzysztof Dermont
04b1944939
Add option to mute sounds when game is not focused
...
Closes #823
2020-07-05 14:58:46 +02:00
melex750
fb9fa49ce8
Use PHYSFS for saving screenshots
2020-07-05 12:55:40 +02:00
Fiftytwo
0b9673029d
Merge dev into dev-builders and resolve conflicts
2020-05-15 15:06:37 +02:00
Fiftytwo
5bf6f12ae5
Add HeavyTrainer texture recoloring
2020-01-11 17:04:40 +01:00
melex750
a66b3d0672
Refactor SaveState and RestoreState to use streams
2019-04-11 04:13:13 -04:00
Fiftytwo
723c552783
Add Heavy and Amphibious trainer bots
2018-12-23 07:04:06 +01:00
Mateusz Przybył
d57c45cbb2
Merge pull request #1211 from suve/limit-game-speeds
...
Add a minimum & maximum game speed limit
2018-12-22 15:49:53 +01:00
suve
508e7529d2
Use Math::Clamp() when limiting game speed
2018-11-27 19:25:56 +01:00
suve
4305f8de03
Add a minimum & maximum game speed limit
2018-11-18 21:09:11 +01:00
tomangelo
a76bbe49ed
Merge pull request #1189 from colobot/dev-msvc
...
Add some Visual Studio specific fixes
2018-09-08 22:00:47 +02:00
DavivaD
e823c209fa
Fix crash while loading mod and blank settings menu while paused game
2018-08-02 17:21:31 +02:00
DavivaD
1b47cf76d3
Implement Mod Manager
2018-08-02 07:38:32 +02:00
MrSimbax
32d3d1eb92
Change key for debug menu to F10 and for stats to F11
...
F12 is used by Visual Studio debugger to trigger a breakpoint and apparently it cannot be changed:
"The F12 key is reserved for use by the debugger at all times, so it should not be registered as a hot key. Even when you are not debugging an application, F12 is reserved in case a kernel-mode debugger or a just-in-time debugger is resident."
Source: https://msdn.microsoft.com/en-us/library/windows/desktop/ms646309.aspx?f=255&MSPPError=-2147217396
2018-07-25 21:38:47 +02:00
tomangelo
5080cb46b1
Merge pull request #1031 from tomangelo2/dev
...
Added fonts configurability by a separate file
2018-07-25 19:51:55 +02:00
Fiftytwo
5b2b632de3
Add TargetBot research; make it fully operational
2018-07-13 00:03:20 +02:00
krzys-h
8095dc14f7
Add support for custom button= for View cameras
2018-05-10 11:12:22 +02:00
krzys-h
85772376fa
Merge ScoreboardSortType with main Scoreboard command
2018-05-09 18:33:27 +02:00
krzys-h
1ed3f4b215
Add EndMissionTeams immediateWin=true; make the teams on win screen sorted
2018-05-09 18:28:25 +02:00
krzys-h
abe489e294
Add EndMissionTimeout
2018-05-09 17:47:21 +02:00
krzys-h
f03c3dbc10
Implement ScoreboardObjectRule
2018-05-08 23:44:23 +02:00
krzys_h
50ed675acd
Merge pull request #1150 from AbigailBuccaneer/debug-rendering
...
Add generic debug rendering functions
2018-05-07 20:53:12 +02:00
krzys_h
b36d40a509
Merge pull request #1151 from melex750/dev-savegame
...
Fix saving/loading "NewScript" programs for factory bots
2018-05-07 20:42:51 +02:00
krzys_h
b9e2edce6c
Merge pull request #1146 from colobot/dev-scene-camera
...
Implement viewpoint feature
2018-05-07 20:42:18 +02:00
krzys_h
35640b8e3f
Merge branch 'dev' into dev-scoreboard-sort
2018-05-07 20:41:40 +02:00
melex750
a918fcabb4
Fix save/load NewScript programs for factory bots
...
Fixes #797
2018-04-30 13:43:03 -04:00