Set max UDP packet size to 1024 again (seems some configuration DO have problems with larger packets after all)
This commit is contained in:
parent
3307f3da07
commit
38df3322e3
|
@ -1,9 +1,14 @@
|
||||||
D1X-Rebirth Changelog
|
D1X-Rebirth Changelog
|
||||||
|
|
||||||
|
20110109
|
||||||
|
--------
|
||||||
|
main/net_udp.h: Set max UDP packet size to 1024 again (seems some configuration DO have problems with larger packets after all)
|
||||||
|
|
||||||
20110106
|
20110106
|
||||||
--------
|
--------
|
||||||
SConstruct, arch/ogl/gr.c, arch/ogl/ogl.c, include/loadgl.h, include/ogl_init.h, main/gamecntl.c, main/state.c, misc/args.c: Added OpenGL ES support - contributed by Florian Feucht and Oliver Haag
|
SConstruct, arch/ogl/gr.c, arch/ogl/ogl.c, include/loadgl.h, include/ogl_init.h, main/gamecntl.c, main/state.c, misc/args.c: Added OpenGL ES support - contributed by Florian Feucht and Oliver Haag
|
||||||
main/automap.c, main/gauges.c, main/gauges.h: Draw FlightSim Reticle on Automap display, too
|
main/automap.c, main/gauges.c, main/gauges.h: Draw FlightSim Reticle on Automap display, too
|
||||||
|
arch/ogl/ogl.c: Fix small bug in vertex_array for ogl_ubitblt_i
|
||||||
|
|
||||||
20110104
|
20110104
|
||||||
--------
|
--------
|
||||||
|
|
|
@ -36,7 +36,7 @@ int net_udp_level_sync();
|
||||||
#define UDP_MDATA_STOR_QUEUE_SIZE 500 // Store up to 500 MDATA packets
|
#define UDP_MDATA_STOR_QUEUE_SIZE 500 // Store up to 500 MDATA packets
|
||||||
|
|
||||||
// Following are static defines for the buffer size of various packets. IF you change the packets, you must change the size, too.
|
// Following are static defines for the buffer size of various packets. IF you change the packets, you must change the size, too.
|
||||||
#define UPKT_MAX_SIZE 2048 // Max size for a packet
|
#define UPKT_MAX_SIZE 1024 // Max size for a packet
|
||||||
#define UPKT_GAME_INFO_REQ_SIZE 11
|
#define UPKT_GAME_INFO_REQ_SIZE 11
|
||||||
#define UPKT_SEQUENCE_SIZE 14
|
#define UPKT_SEQUENCE_SIZE 14
|
||||||
#define UPKT_PING_SIZE 37
|
#define UPKT_PING_SIZE 37
|
||||||
|
|
Loading…
Reference in a new issue