Commit Graph

13 Commits (colobot2)

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
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
Tomasz Kapuściński 9d5f88f07c Merge branch 'dev' into dev-graphics-overhaul 2023-08-22 23:51:12 +02:00
Tomasz Kapuściński 2b84da8a77 Removed model converter 2023-08-22 21:50:18 +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