Main.h 345 B

12345678910111213141516171819
  1. #ifndef CLIENT_MAIN_H
  2. #define CLIENT_MAIN_H
  3. #include "data/HashMap.h"
  4. #include "math/BufferedValue.h"
  5. #include "math/Vector.h"
  6. struct OtherPlayer {
  7. BufferedValue<Vector3> position;
  8. };
  9. typedef StringBuffer<50> ChatMessage;
  10. extern HashMap<int, OtherPlayer> players;
  11. extern bool renderInput;
  12. void addToChat(const ChatMessage& msg);
  13. #endif