9ย years ago
Highlights
Community contributions featured9ย years ago
9ย years ago
struct Base { virtual void func() = 0; }; struct A : Base { void func() { std::cout << "a: " << a << "\n"; } int a; }; int main() { A a; a.a = 1; A a2 = a; A aโฆ
9ย years ago
I'm making a 2d multiplayer platformer. I do client prediction for my own player and do interpolation for other players. I understand client always tries to stay ahead of serverโฆ
9ย years, 6ย months ago
Here, I'm calling uint32_t version of Packer::pack, but I'm getting this warning. Could someone help me out? Thanks! Packer packer; packer.pack<0, 127>(7u); //no warโฆ
9ย years, 10ย months ago
Latest Activity
See all in Discussionsstruct BaseNetObj { std::vector<char> data; std::function<void()> func; }; struct NetPerson { void say() { std::cout << a << b << โฆ
9ย years ago
This is the way how I do delta compression: All objects' information is represented in integers. I xor the two โฆ
9ย years ago
I want to be able to call a virtual function on the xor'd object. The reason is I'm trying to โฆ
9ย years ago