Commit Graph

3791 Commits (b98edec8f8f07aedd28e363c61e616ef588bfb08)

Author SHA1 Message Date
immibis b98edec8f8 Fix some save file corruption (type 0 objects) caused by children of deleted objects not getting properly deleted. 2023-11-20 11:52:37 +01:00
immibis d22b32477e Career: Save the rest of the level as well as just the spaceship. Also put all career save files in __career__ folder. 2023-11-18 19:45:52 +01:00
immibis 884129a676 1000 seems very low 2023-11-18 19:45:06 +01:00
immibis 0fa486b9f0 Add a career mode. The contents of the spaceship are saved on liftoff and restored when loading a level. At the beginning, all levels are unlocked. 2023-11-18 19:06:52 +01:00
immibis 4251873f49 Very similar thing with DrawFront flag 2023-11-18 14:53:58 +01:00
immibis 74ab7afb23 Compute object team on demand - partially. But there's more to team colour, and it was already broken before, so there's no way to see if this did anything. 2023-11-18 14:11:52 +01:00
immibis ab3c22dce3 Compute camera ghost mode on demand - simplifies code as each object doesn't propagate ghost mode to its render objects. 2023-11-18 14:01:02 +01:00
immibis 72ca4f2d7c Each graphics object retains a reference to its associated game object. This will be useful soon. 2023-11-18 13:40:25 +01:00
immibis 3a8f75bd02 string_view is not a drop-in replacement for char[]
Fixes crash on startup - when logging FULL_NAME with %s - on Linux.
2023-10-11 06:04:18 +02:00
immibis 32fed5af73 Fix build - static library used in shared library must have position-independent code 2023-10-11 05:16:06 +02:00
Emxx52 f07b7a1b60
Merge pull request #1612 from colobot/dev-fix-links
Update doc links in README
2023-08-28 23:59:33 +02:00
Fiftytwo 0a95289f9f Update doc links in README 2023-08-28 23:31:44 +02:00
Ceeee 7d75b9cc14
Update German translation (#1607) 2023-08-24 23:32:11 +02:00
tomangelo 909a2b2d2e
Update checkout and upload-artifact actions to node16 (#1610)
* Updated checkout actions

* Updated upload-artifact actions

* Remove now unnecessary gcc-9 step
2023-08-24 23:25:32 +02:00
Emxx52 7d22b607cc
Merge pull request #1609 from colobot/1608-strutilsremovecomments-breaks-some-levels
Fix RemoveComments()
2023-08-24 20:33:02 +02:00
Tomasz Kapuściński 2f80292176 Fix RemoveComments() 2023-08-24 18:45:16 +02:00
Emxx52 53b3062bee
Merge pull request #1606 from colobot/1605-improve-level-loading-time
Improve level loading time
2023-08-23 20:19:17 +02:00
Tomasz Kapuściński 8e128ff08c Added StrUtils::RemoveComments() and used it instead of std::regex in parsing level commands 2023-08-23 16:56:15 +02:00
Emxx52 3c4b9f6d01
Merge pull request #1604 from colobot/dev-graphics-overhaul
Graphics overhaul
2023-08-23 02:06:58 +02:00
Tomasz Kapuściński 9d5f88f07c Merge branch 'dev' into dev-graphics-overhaul 2023-08-22 23:51:12 +02:00
Tomasz Kapuściński b9c8d36d8b Fixed links 2023-08-22 23:29:08 +02:00
Tomasz Kapuściński ff340fda92 Moved docimg to docs/images 2023-08-22 22:52:55 +02:00
Tomasz Kapuściński c0d568241b Moved some documentation files to docs directory 2023-08-22 22:42:40 +02:00
Tomasz Kapuściński d879fa5fc9 Cleanup in unit tests 2023-08-22 22:19:46 +02:00
Tomasz Kapuściński 510fe6804a Extracted CBot tools 2023-08-22 22:01:24 +02:00
Tomasz Kapuściński 2b84da8a77 Removed model converter 2023-08-22 21:50:18 +02:00
Tomasz Kapuściński 670cedd967 Renamed directory tools to scripts 2023-08-22 21:45:11 +02:00
Tomasz Kapuściński 5a52c66b1f Renamed target colobot_ut to Colobot-UnitTests 2023-08-22 21:39:55 +02:00
Tomasz Kapuściński 434bd0bd3a Renamed src to colobot-base and colobotbase target to Colobot-Base 2023-08-22 21:19:03 +02:00
Emxx52 5f854da5fc
Merge pull request #1602 from colobot/dev-upgrade-physfs
Replace deprecated PHYSFS functions with their modern counterparts
2023-08-22 21:01:10 +02:00
tomangelo2 86c2b2f0dc Replace deprecated PHYSFS functions with their modern counterparts 2023-08-17 23:38:02 +02:00
Tomasz Kapuściński 7fe75e20ad Fixed wrong text selection color 2023-08-15 20:32:33 +02:00
Tomasz Kapuściński 261eaa78e4 A fix for Windows stupidity 2023-08-15 19:22:10 +02:00
Tomasz Kapuściński 4d11040dba Split string encoding functionality to Windows and generic implementations 2023-08-15 18:57:34 +02:00
Tomasz Kapuściński 97ea5cc895 Added missing include 2023-08-15 14:34:51 +02:00
Tomasz Kapuściński fe36b0fe29 Build CBot as static library instead 2023-08-15 14:11:05 +02:00
Tomasz Kapuściński 8fab817118 Ensure position-independent code generation 2023-08-15 13:48:02 +02:00
Tomasz Kapuściński 8601066761 Fix for compilation error 2023-08-15 13:41:39 +02:00
Tomasz Kapuściński 9586474fa8 Removed remaining dependency on boost 2023-08-15 12:47:27 +02:00
Tomasz Kapuściński 5b79a4eb38 Extracted StrUtils to a separate target and replaced remaining boost code 2023-08-15 12:25:14 +02:00
Tomasz Kapuściński 1034c2e45c Rewritten config to use JSON instead of INI 2023-08-15 12:02:51 +02:00
Tomasz Kapuściński fde2b901bd Rewritten loading of font config file 2023-08-15 11:16:51 +02:00
Tomasz Kapuściński 3e06584956 Removed unused boost includes 2023-08-15 02:55:33 +02:00
Tomasz Kapuściński 0ab9ae4b6e Replaced boost::adaptor::reverse with reverse iterators
Changes based on f0f6f61cab
2023-08-15 02:51:28 +02:00
Tomasz Kapuściński b296ee4d47 Added StrUtils::Split() and replaced boost::split() 2023-08-15 02:41:40 +02:00
Tomasz Kapuściński dccacd6352 Rewritten UnicodeStringToUtf8() and increased buffer size 2023-08-14 22:26:00 +02:00
Tomasz Kapuściński b3c6e667f5 Rewritten UTF-8 implementation using standard library 2023-08-14 21:46:05 +02:00
Tomasz Kapuściński a48f13fb35 Fix for missing setlocale() 2023-08-14 00:11:15 +02:00
Tomasz Kapuściński 7db69f5d53 Changed include 2023-08-13 23:46:00 +02:00
Tomasz Kapuściński ae5e5b3874 Added missing includes 2023-08-13 23:31:12 +02:00