summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice <maurice.henke@protonmail.com>2021-04-09 23:55:13 +0200
committerMaurice <maurice.henke@protonmail.com>2021-04-09 23:55:13 +0200
commitf3a986c9fbd4ac53a21917139dc755aebdf123dd (patch)
treefcef2adf124ad33b477d9f0d58b7ab100b574b1e
parent2a0612962b848fae38c3da5a91144360ee9a3997 (diff)
Added eventBit functions
-rw-r--r--include/tp/d_save.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/tp/d_save.h b/include/tp/d_save.h
index 1f88e96..cfb78fd 100644
--- a/include/tp/d_save.h
+++ b/include/tp/d_save.h
@@ -49,5 +49,20 @@ namespace libtp::tp::d_save
* @param areaID ID of the current Area
*/
void putSave( d_com_inf_game::GameInfo* gameInfoPtr, int32_t areaID );
+
+ /**
+ * @brief Sets an eventBit for the currently active save
+ *
+ * @param flag Offset+Flag
+ */
+
+ void onEventBit( uint16_t flag );
+
+ /**
+ * @brief Unsets an eventBit for the currently active save
+ *
+ * @param flag Offset+Flag
+ */
+ void offEventBit( uint16_t flag );
}
} // namespace libtp::tp::d_save \ No newline at end of file