Commit graph

87 commits

Author SHA1 Message Date
Sara 09c29cbf80 feat: updated submodules 2025-03-14 17:36:44 +01:00
Sara 3abb328c48 feat: added test level complete objective 2025-03-14 17:36:44 +01:00
Sara b38f134232 chore: removed debug prints from unit.cpp 2025-03-14 14:22:45 +01:00
Sara 42dde85dd7 feat: upgraded debug print to warning 2025-03-14 14:22:31 +01:00
Sara 1c2522d2ea chore: removed debug prints and formatted enemy_world_state.cpp 2025-03-14 14:22:18 +01:00
Sara 4178c08102 chore: formatted state.cpp 2025-03-14 14:21:52 +01:00
Sara 9b27fbaabf fix: plan being considered empty if the last state is still active 2025-03-10 23:34:02 +01:00
Sara d7dadac070 fix: TakeCover is now more likely to find matching cover 2024-09-09 21:45:17 +02:00
Sara a5bde58e57 fix: changed get_is_health_safe to use integer division ipv float division 2024-09-09 21:24:17 +02:00
Sara 667814906e feat: set enemy health to ignore short-term values 2024-09-09 21:21:30 +02:00
Sara 8fe3bf10a8 feat: camera zoom 2024-09-09 20:23:00 +02:00
Sara c4d87f0f8a feat: implemented utility item locks 2024-09-09 11:13:59 +02:00
Sara 428d42b672 feat: Activate state can now activate UtilityLock nodes 2024-09-04 22:29:14 +02:00
Sara 7f6be4c48e feat: added activation state and interrupt event to utility lock 2024-09-04 22:29:14 +02:00
Sara c1b676f335 feat: animation/activate actions use scene unique names now 2024-09-02 21:29:26 +02:00
Sara d8a3000b13 feat: defined utility lock 2024-09-02 21:28:53 +02:00
Sara 5242deee1f fix: entities will now attack until target is unconscious
rather than until target is dead
2024-09-02 21:28:21 +02:00
Sara 1c1c7977de feat: exposed Inventory::get_/set_utility_id to editor 2024-09-02 21:27:07 +02:00
Sara a20f642691 feat: clicking units no longer results in floating goal markers 2024-08-30 10:00:04 +02:00
Sara 6d844b89b8 fix: indented with spaces 2024-08-29 18:33:29 +02:00
Sara 1599f3aaad chore: cleaned up order_activate_object_under_cursor with guard clause 2024-08-29 18:33:14 +02:00
Sara 78baddfdfb fix: temporary marker will now not exist when character is unconscious 2024-08-29 18:32:54 +02:00
Sara 628d9bf923 fix: units now visibly fall unconscious 2024-08-29 09:54:35 +02:00
Sara 51f86e363e chore: explicit functional-style cast of weapon_animation getter 2024-08-28 16:50:05 +02:00
Sara 2c5fdfcc3e chore: formatting update, removed _ argument name 2024-08-25 13:01:09 +02:00
Sara 2a0c9a623e feat: replaced separate melee and ranged actions with use weapon and get in range 2024-08-21 14:18:27 +02:00
Sara c9c41ac2d7 feat: created character specializations of unit and world state 2024-08-18 17:42:20 +02:00
Sara 57622176cb chore: removed flyweight db debug print calls 2024-08-16 16:19:14 +02:00
Sara c97742f992 fix: inventory is now a tool class 2024-08-16 16:18:46 +02:00
Sara a05bc7cd67 chore: updated utils 2024-08-16 11:37:18 +02:00
Sara 44c0f88513 chore: forgot to make RTSGameMode a RUNTIME_CLASS 2024-08-16 11:36:31 +02:00
Sara 7ceea27259 feat: upgraded project to godot 4.3 2024-08-16 00:14:04 +02:00
Sara a024aab203 feat: implemented item and inventory outline 2024-08-15 21:45:33 +02:00
Sara f771b383f3 chore: fixed external includes being in quotes ipv angle brackets 2024-08-15 21:45:33 +02:00
Sara 75e73aba95 fix: MoveTo now avoids setting velocity after calling end_state 2024-08-15 21:45:33 +02:00
Sara cd94bb164e feat: unit now guarantees it stays on the navmesh 2024-08-15 21:45:33 +02:00
Sara d20da67bea feat: EnemyWorldState now queues re-planning 2024-08-15 21:45:33 +02:00
Sara e71a27876d feat: increased visibility of various getters in goap::State 2024-08-15 21:45:33 +02:00
Sara dc60937660 feat: improved take cover action node selection 2024-08-15 21:45:33 +02:00
Sara 2c21845991 feat: added print debug info interaction to player and unit 2024-08-15 21:45:33 +02:00
Sara 12069b6252 chore: fixed DEBUG_ENABLED endif tag 2024-08-15 21:45:01 +02:00
Sara e1ebee99e1 feat: MoveTo state now uses Unit::movement_speed 2024-08-15 21:45:01 +02:00
Sara cabaae949c feat: added unconscious event 2024-08-15 21:45:01 +02:00
Sara d94b24f617 feat: added on_unconscious and movement speed to unit 2024-08-15 21:45:01 +02:00
Sara 973ba952c2 fix: general AI behaviour fixes 2024-08-15 21:45:00 +02:00
Sara 0de3390cf1 fix: unit movement is now operated by Unit class 2024-08-15 21:43:21 +02:00
Sara 693859e874 chore: removed unneeded print calls 2024-08-15 21:43:21 +02:00
Sara 5abab18a86 fix: get_editor_neighbours now actually gets editor neighbours 2024-08-15 21:43:21 +02:00
Sara 062ef478b4 chore(formatting): godot_cpp include now in angle brackets 2024-08-15 21:43:21 +02:00
Sara 40a93aec32 fix: #if changed to #ifdef for DEBUG_ENABLED check 2024-08-15 21:43:21 +02:00