Commit graph

102 commits

Author SHA1 Message Date
Sara c50a3f3563 feat: updated utils 2024-02-22 14:54:16 +01:00
Sara c939895390 feat: updated utils 2024-01-26 12:18:20 +01:00
Sara 3fbaca9dac feat: utilities are now a separate module 2024-01-25 18:03:31 +01:00
Sara 6194f6fc9f feat: removed unused list.h include mirror.h 2024-01-25 10:42:49 +01:00
Sara cac345fe43 feat: removed unused includes from collision.h 2024-01-25 10:42:19 +01:00
Sara 58b41bd1d2 fix: Drop::data is no longer void const*, instead void* 2024-01-25 09:59:13 +01:00
Sara a978d140c7 fix: changed order of spawn_object and load_args in level_parse_file 2024-01-25 09:58:54 +01:00
Sara 02e346d887 feat: level.c get_value now uses variant_from_str 2024-01-25 09:58:37 +01:00
Sara 1d919fef38 feat: implemented variant_from_str, Drop, and Mirror 2024-01-25 09:58:00 +01:00
Sara aec965f3f6 chore: removed unused "stdint.h" include from dictionary.h 2024-01-25 00:16:45 +01:00
Sara 23741714f2 feat: mirror now uses dictionary instead of list 2024-01-25 00:14:13 +01:00
Sara 05451c6ca3 feat: implemented level functions
and refactored Enemy and Player to spawn using level files
2024-01-25 00:07:34 +01:00
Sara ae25ebdaa0 feat: variant now has a string_size field 2024-01-25 00:05:58 +01:00
Sara c4dc2a8ccc feat: variant now only has double as_number
as opposed to separate numeric types for int, unsigned int, and float
2024-01-25 00:05:44 +01:00
Sara 1d92c6b827 feat: strlast/first and _pred equivs now null-terminate 2024-01-25 00:04:51 +01:00
Sara 16d2d8ebf6 feat: added strcount 2024-01-25 00:04:21 +01:00
Sara 4188047bbc chore: cleanup pass for dictionary.c 2024-01-25 00:03:27 +01:00
Sara 368332b2b3 fix: Mirror now supports TC_CAST
i hate this
2024-01-25 00:00:06 +01:00
Sara 8c5aa78195 fix: list now correctly inserts elements being inserted at len-1
;-; pain
2024-01-24 23:59:40 +01:00
Sara fc5deef324 feat: added Variant type for use in serialization 2024-01-24 16:56:31 +01:00
Sara 2d2d0bb7ca feat: added strlast and strfirst (and _pred equivs) to strutil 2024-01-24 16:56:11 +01:00
Sara 953aacde64 chore: removed unused debug.h include from game_world.c 2024-01-24 16:55:47 +01:00
Sara afec949efd feat: added dictionary_try_get and _has_key
renamed get to get_raw and fixed a NULLreferenceexception
2024-01-24 16:55:27 +01:00
Sara c2423f146a feat: implemented dictionary type 2024-01-24 12:21:29 +01:00
Sara 3756280796 fix: game_world_destroy_entity now only queues removal if entity is not yet queued 2024-01-19 15:27:16 +01:00
Sara 058c8e18fa fix: removed state exit call from state_machine_destroy 2024-01-19 15:26:27 +01:00
Sara 5e99651a0e feat: clarified and standardised list_contains 2024-01-19 15:25:33 +01:00
Sara 40194b9e6c feat: added list_contains 2024-01-19 12:13:12 +01:00
Sara 1304b572d7 feat: fully implemented uncapped framerate 2024-01-18 14:02:02 +01:00
Sara 9597d612af feat: added macros for casting typeclass exporting mirror 2024-01-18 13:22:55 +01:00
Sara 986ab06478 feat: added function getter to mirror 2024-01-18 13:05:09 +01:00
Sara 85c1952cc2 feat: added vector comparison for int vectors 2024-01-18 09:48:02 +01:00
Sara 2dec4da52c feat: colliders now have a separate 'mask' and 'layers'
The mask decides the layers a collider collides with
2024-01-15 22:07:46 +01:00
Sara 8a05984afa fix: physics_world_query_all no longer returns corrupted pointers 2024-01-14 21:00:02 +01:00
Sara 3f5ff9da55 fix: replaced comma where a semicolon should've been 2024-01-14 13:11:49 +01:00
Sara 2f9cd32f6c feat: added query_all functions for physics world 2024-01-13 13:10:34 +01:00
Sara 7e9dc4003b feat: added shape_get_min_extent and shape_get_max_extent 2024-01-12 16:21:42 +01:00
Sara aca01507ed feat: added compositeaxis1d_from_keys and from_buttons
This required moving InputDelegateFn from input.h to input_axis.h
2024-01-12 12:26:23 +01:00
Sara 1dc6f8352a feat: unindented content of REFLECT_TYPECLASS 2024-01-12 12:23:13 +01:00
Sara e13f9fc63a feat: T##_as_Mirror is no longer defined static 2024-01-12 09:33:21 +01:00
Sara 0c6f1dd8cf feat: reworked typeclasses to forward-declare then define
forward declarations are simplified with decl_typeclass_impl
impl_Typeclass_for now instead only define
static inline impl_Typeclass_for can be used to achieve the old behaviour
2024-01-12 09:02:42 +01:00
Sara 760d9f2879 feat: replaced mirror_get_converter with a more direct mirror_get_typeclass 2024-01-11 23:51:53 +01:00
Sara a17915dbfb fix: drop.h now correctly includes typeclass_helpers.h 2024-01-11 23:28:42 +01:00
Sara bf23ff877a feat: replaced messagereceiver with mirror 2024-01-11 23:28:42 +01:00
Sara 29a40ce082 feat: changed handle message signature to (T*, MessageID, uintptr_t) 2023-11-29 14:18:51 +01:00
Sara af6c8d33ea feat: input error handling improved 2023-11-29 14:14:01 +01:00
Sara 2bf6bea14f fix(types): removed implicit type casts 2023-11-29 14:12:44 +01:00
Sara 3e8c7d4bb7 feat: input to rectangle shape is now half extents 2023-11-29 11:47:17 +01:00
Sara f3f48780c0 fix: physics world will now include the median point in the right collision set 2023-11-29 11:46:47 +01:00
Sara b1cecfc0ae feat: physics world now manages active, added and removed entities better 2023-11-27 17:40:32 +01:00