make BB games deterministic for replays

This commit is contained in:
Martin Michelsen
2023-12-23 23:26:44 -08:00
parent 87440437fb
commit 84ed80365c
10 changed files with 22 additions and 23 deletions
+2 -1
View File
@@ -6,8 +6,9 @@
#include <random>
#include "Client.hh"
#include "PSOEncryption.hh"
#include "ServerState.hh"
#include "StaticGameData.hh"
void player_use_item(std::shared_ptr<Client> c, size_t item_index);
void player_use_item(std::shared_ptr<Client> c, size_t item_index, std::shared_ptr<PSOLFGEncryption> random_crypt);
void player_feed_mag(std::shared_ptr<Client> c, size_t mag_item_index, size_t fed_item_index);