summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/proto/proto.hh
diff options
context:
space:
mode:
authorhaller2005-05-02 19:04:32 +0000
committerhaller2005-05-02 19:04:32 +0000
commitdaea50b1df19aea257018e4725463f33ce09b937 (patch)
tree1f88c197069e8fb22f1bfde145980856a705049b /2005/i/robert/src/proto/proto.hh
parent6196925a8925a3c43ed60a0805c0aee450db8640 (diff)
Modification de send: passage d'un max de 4 arguments à 6 arguments.
Diffstat (limited to '2005/i/robert/src/proto/proto.hh')
-rw-r--r--2005/i/robert/src/proto/proto.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/2005/i/robert/src/proto/proto.hh b/2005/i/robert/src/proto/proto.hh
index 7ee5390..163c44c 100644
--- a/2005/i/robert/src/proto/proto.hh
+++ b/2005/i/robert/src/proto/proto.hh
@@ -55,7 +55,7 @@ class Proto : public NonCopyable
//Date du dernier envoie
int tLastSend_;
//Temps entre les ré-émission
- static const int timeout_ = 100;
+ static const int timeout_ = 500;
/// Frame en cours de réception
Frame currentFrame_;
@@ -82,10 +82,10 @@ class Proto : public NonCopyable
/// format et le nombre de paramètres ('b' : 8 bits, 'w' : 16 bits, 'd' :
/// 32 bits, majuscule pour signé).
void send (char command, const char *format = "", int a0 = 0, int a1 = 0,
- int a2 = 0, int a3 = 0, bool reliable = true);
+ int a2 = 0, int a3 = 0, int a4 = 0, int a5 = 0, bool reliable = true);
/// permet d'envoyer un packet robert
void Proto::sendUnreliable (char command, const char *format, int a0,
- int a1, int a2, int a3);
+ int a1, int a2, int a3, int a4, int a5);
//@{
/// Teste si le packet correspond au format et décode les valeurs. Utilise
/// le même format que send.