Skip to content

Commit 84701a2

Browse files
committed
Add custom code for Collective Unconscious
1 parent d5d59c9 commit 84701a2

2 files changed

Lines changed: 0 additions & 24 deletions

File tree

src/multiplayer/game_multiplayer.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,6 @@ class Game_Multiplayer {
9494
std::array<int, 5> last_flash_frame_flash;
9595
std::map<int, std::array<int, 5>> repeating_flashes;
9696

97-
int cu_randint;
98-
int cu_time_days;
99-
int cu_time_hours;
100-
int cu_temperature;
101-
int cu_precipitation;
102-
10397
void SpawnOtherPlayer(int id);
10498
void ResetRepeatingFlash();
10599
void InitConnection();

src/multiplayer/messages.h

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -380,24 +380,6 @@ namespace S2C {
380380
public:
381381
BadgeUpdatePacket(const PL& v) {}
382382
};
383-
384-
class CUTimePacket : public S2CPacket {
385-
public:
386-
CUTimePacket(const PL& v)
387-
: time(stoi((std::string) v.at(0))),
388-
randint(stoi((std::string) v.at(1))) {}
389-
int time;
390-
int randint;
391-
};
392-
393-
class CUWeatherPacket : public S2CPacket {
394-
public:
395-
CUWeatherPacket(const PL& v)
396-
: temperature(stoi((std::string) v.at(0))),
397-
precipitation(stoi((std::string) v.at(1))) {}
398-
int temperature;
399-
int precipitation;
400-
};
401383
}
402384
namespace C2S {
403385
using C2SPacket = Multiplayer::C2SPacket;

0 commit comments

Comments
 (0)