Tomasz Kapuściński
158901ff02
Fixed cached path
2023-04-10 22:36:52 +02:00
Tomasz Kapuściński
9a01408eda
Added CMakeUserPresets.json to .gitignore
2023-04-10 21:37:55 +02:00
Tomasz Kapuściński
7c0dbd914f
Cache vcpkg dependencies
2023-04-10 20:55:39 +02:00
Tomasz Kapuściński
b990ee81ff
Merge pull request #1570 from colobot/1569-remove-ubuntu-1804-actions
...
Removed Ubuntu 18.04 actions
2023-04-08 21:29:41 +02:00
Tomasz Kapuściński
bfd9dae533
Removed Ubuntu 18.04 actions
2023-04-08 20:43:26 +02:00
Tomasz Kapuściński
cbfcbae7ab
Merge pull request #1560 from lolbot-iichan/dev-fix-multi-team-ant-legs
...
ENGINE: Fix operator < for COldModelManager::FileInfo
2023-04-08 19:46:20 +02:00
Tomasz Kapuściński
2e95aeac9b
Merge pull request #1501 from colobot/dev-fix-macos-compilation
...
Fix compilation under MacOS
2023-04-08 19:11:43 +02:00
Tomasz Kapuściński
efbd296fc3
Merge branch 'dev' into dev-fix-macos-compilation
2023-04-08 17:55:03 +02:00
Tomasz Kapuściński
9c5d9d8f17
Merge pull request #1568 from colobot/dev-vcpkg-fixes
...
vcpkg fixes
2023-04-08 17:49:04 +02:00
Tomasz Kapuściński
0b978f7dbc
Use newer version of vcpkg to fix broken link
2023-04-03 00:51:27 +02:00
Tomasz Kapuściński
4634461c1d
Added vcpkg manifest file
2023-04-03 00:01:30 +02:00
Tomasz Kapuściński
1c9c0929da
Merge pull request #1559 from suve/add-missing-cstdint-includes
...
Add missing <cstdint> includes
2023-03-11 11:53:05 +01:00
Tomasz Kapuściński
24622e6a75
Merge pull request #1562 from olokos/dev
...
Fix For MSVC2022 and Background Pause blur
2023-03-11 11:39:59 +01:00
olokos
f60c62f05d
Graphics - Engine - Fix pause blur for new SDL
2023-02-06 17:53:56 +01:00
olokos
ec9607784c
Remove redundant " from CMakeLists.txt
2023-02-06 17:22:05 +01:00
Tomasz Kapuściński
5efd8342ec
Updated SDL2 and SDL2_image library names
2023-02-06 17:07:02 +01:00
lolbot-iichan
0618174b2b
ENGINE: Fix operator < for COldModelManager::FileInfo
...
There was a rare case when Old Model Manager's model base object list was not working correctly.
Testcase:
CreateObject pos=10;0 dir=1.5 type=LeggedTrainer selectable=1 team=1
CreateObject pos=-10;0 dir=0.25 type=LeggedTrainer selectable=1 team=2
Expected result (after fix): models are displayed correctly
Actual result (before fix): some legs are missing, instead of them giant surfaces are floating high above the model
The reason was is failing to find the element that was just created and added with `m_models.find(FileInfo(fileName, mirrored, team))`
This happened for objects that had mirrored body parts (at least Ants, Wasps and all Legged units were affected) in case they were assigned to several teams.
Everyone were missing some legs since the `modelManager->AddModelReference("ant6.mod", true, rank, m_object->GetTeam())`
Wasps were also usually missing some wings.
2023-02-05 16:34:55 +03:00
suve
d47e265863
Add missing <cstdint> includes
...
Some parts of the code used the fixed-size type uint32_t,
which is defined in stdint.h / cstdint - without including said
header file. With GCC13, the inter-header dependencies seem
to have changed and the file is no longer included transitively,
requiring an explicit include.
2023-01-19 10:34:55 +01:00
Tomasz Kapuściński
436c316a4a
Updated SDL2 and SDL2_image library names
2022-11-26 20:04:44 +01:00
Tomasz Kapuściński
1d8e06c7ba
Revert "Fix for SDL on Windows"
...
This reverts commit 21b6572b5b
.
2022-11-26 20:00:44 +01:00
Tomasz Kapuściński
21b6572b5b
Fix for SDL on Windows
2022-11-26 17:42:34 +01:00
Emxx52
b7cb26822b
Update build.yml
2022-11-06 04:12:02 +01:00
tomangelo2
0e53336d61
Merge branch 'dev' into dev-fix-macos-compilation
2022-11-05 19:27:52 +01:00
tomangelo
0df78e7fa6
Merge pull request #1529 from colobot/dev-fix-space
...
undefined
2022-09-15 02:13:19 +02:00
tomangelo2
789c8b2292
Fix compilation with gcc
2022-09-15 01:14:29 +02:00
tomangelo
c0669a591b
Update INSTALL-MacOSX.md
2022-09-15 00:12:54 +02:00
tomangelo
708d3cfd46
Enable building tests
...
Making .dmg package needs `data` directory, while `make install` does weird stuff with path, for now I'll skip that.
2022-09-14 23:58:42 +02:00
tomangelo
6cc58b872f
Let's try to get tests instead
...
Making .dmg package needs `data` directory, while `make install` does weird stuff with path, for now I'll skip that.
2022-09-14 23:25:16 +02:00
tomangelo
4c767953ea
Fix path
2022-09-13 21:58:35 +02:00
tomangelo
4ec0083cd8
Try to move binary to separate directory
2022-09-13 21:48:43 +02:00
tomangelo
87ad81f891
Don't try to make package for now
2022-09-13 21:21:49 +02:00
tomangelo
afbf687255
Try to fix packaging
2022-09-13 21:03:14 +02:00
tomangelo2
0693aa5e1e
Fix OpenAL library path
2022-09-13 20:45:07 +02:00
tomangelo2
2a91d6bf35
Temporarily remove tests
2022-09-13 20:14:47 +02:00
tomangelo2
b09977a503
Merge branch 'dev-fix-macos-compilation' of https://github.com/colobot/colobot into dev-fix-macos-compilation
2022-09-13 20:01:50 +02:00
tomangelo2
438e4bba62
First attempt to run MacOS build on Github Actions
2022-09-13 19:58:11 +02:00
Krzysztof Rewak
a74adb5f59
Missing PL translation ( #1512 )
...
* missing PL translation
* update po.pl
2022-08-24 20:25:25 +02:00
Tomasz Kapuściński
8632c7404d
Refactored NaN implementation
...
strfind() now returns -1 instead of NaN when substring can't be found
added isnan() as an alternative way of checking if a value is NaN
2022-08-15 00:09:24 +02:00
Tomasz Kapuściński
2ea94244e9
Fixed const-correctness of getters
2022-08-14 23:47:47 +02:00
Tomasz Kapuściński
3c98af04b5
Fixed passing bool to message()
2022-08-13 17:18:14 +02:00
Tomasz Kapuściński
b5e27c9f19
space() now returns a point with NaNs instead of the original position when it can't find free space
2022-07-09 16:48:59 +02:00
Tomasz Kapuściński
ec425c768b
Use the Y floor coordinate from topo() so it doesn't ignore spaceship's modified floor height
2022-07-09 16:47:59 +02:00
Tomasz Kapuściński
3fd9815138
Merge pull request #1507 from rasmusgo/find-space-on-spaceship
...
Find space on spaceship
2022-07-09 16:38:58 +02:00
Tomasz Kapuściński
b6f2a9e544
Fix for invisible batteries (code by melex750) ( #1520 )
...
* Fix for invisible batteries (code by melex750)
* Updated vcpkg
* A workaround for sprintf define
* Added mpg123 to dependencies due to newer version of SndFile
* Removed CONFIG
* Another fix for dependencies
* Made additional dependencies optional
2022-04-29 00:02:04 +02:00
Tomasz Kapuściński
07541d0bbb
Merge pull request #1517 from SpaceManiac/patch/gitmodules-https
...
Use https URLs for git submodules
2022-04-23 10:35:04 +02:00
Tad Hardesty
8fb0f76f6f
Use https URLs for git submodules
2022-04-08 19:22:39 -07:00
Rasmus Brönnegård
fdc1792932
Let space() find points on the spaceship
2022-03-07 00:02:08 +01:00
Rasmus Brönnegård
483a855848
Add DistanceSquared to vector.h
2022-03-07 00:00:19 +01:00
tomangelo
4541db7f21
Merge pull request #1498 from rasmusgo/dev-loadgame-arg
...
Load game from command line
2022-03-06 23:05:04 +01:00
tomangelo
86d8ee4c38
Merge pull request #1496 from rasmusgo/fix-spelling
...
Fix spelling
2022-03-04 16:28:32 +01:00