Romain Bignon a écrit
> Why don't you call Replay::StoreAction() in Network::SendAction() ? I know
When the server is local, I bet those actions wouldn't be seen.
> this makes a dependancie to Replay in network.cpp, but each time there is :
> Replay::GetInstance()->StoreAction(&a);
> N
Hello,
I'm not sure if the compiler would really make a copy of the object when
those functions are called, but as the Action objects can be const when
used these members are used, a small optimization was possible.
I also added newer functions (getting the packet size, and writing to an
already
Kurosu a écrit :
> But let's concentrate for now on what this patch does. There are 3 steps:
> - recording actions, which requires some modification to the Action class
[...]
> - interfacing with it; basically, wherever network packets are sent, we
> store them to in the Replay buffer
After an IRC
Kurosu a écrit :
[...]
And once again, patch swallowed by the mailing list. Please find that
patch here:
http://kurosu.free.fr/action.diff
Kurosu
___
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev
Le Sat, 16 Jun 2007 20:43:40 +0200,
Kurosu <[EMAIL PROTECTED]> a écrit :
> Kurosu a écrit :
> [...]
>
> And once again, patch swallowed by the mailing list. Please find that
> patch here:
> http://kurosu.free.fr/action.diff
>
Well I can see a malloc but not a free, Is that normal ?
--
QFDQF
__