raze-gles/polymer/eduke32/source
helixhorned 18eba11657 net: correct packet buffer overflow checks.
The GAMESTATE one has to be carried out twice, first on the data from
xd3_encode_memory, and then with the compressed data (because it might have
increased in size, though this is very unlikely).  The MOVE check is
similar, though there, failure of the first check implies corrupt memory
(which is why we're Bassert'ing that condition).

Currently, the overflow on GAMESTATE sending happens when switching to a
different map.

git-svn-id: https://svn.eduke32.com/eduke32@2735 1a8010ca-5511-0410-912e-c29ae57300e0
2012-06-03 19:20:36 +00:00
..
enet Update ENet with changes from the newest version from CVS (yes, they still use CVS) 2012-05-17 21:42:53 +00:00
jaudiolib Replace a few "#ifdef GEKKO" statements added for the Wii port with "#ifdef HAVE_VORBIS" like they should have been in the first place. Allows jaudiolib to build without Ogg support on platforms other than the Wii if desired. 2012-06-02 00:01:36 +00:00
jmact Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
lunatic Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
misc Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes 2010-05-25 10:56:00 +00:00
xdelta3 Fix a "set but not used warning" in xdelta3.c, revert definition of XD3_ASSERT. 2012-06-03 19:20:32 +00:00
_functio.h Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
_midi.h Fix JonoF's email address. 2012-03-12 04:47:04 +00:00
_rts.h Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes 2010-05-25 10:56:00 +00:00
actors.c Lunatic: pack actor/move parameters into t_data, which is enlarged to 14 elements. 2012-06-03 15:46:08 +00:00
actors.h Bump BYTEVERSION, correct actor_t size on x64, add assert(sizeof(actor_t)==128). 2012-06-03 19:20:23 +00:00
anim.c Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
anim.h Possibility of specifying sounds for a VPX anim-replacement via DEF. 2012-01-10 23:43:54 +00:00
animvpx.c In VPX 3 planed --> packed conversion code, pull constant expressions out of 2012-01-10 23:43:33 +00:00
animvpx.h VP8 video playback as (side-by-side) replacement of ANM moving pictures. 2011-07-18 19:06:29 +00:00
astub.c The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor. 2012-06-03 16:09:33 +00:00
common.c The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor. 2012-06-03 16:09:33 +00:00
common_game.h The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor. 2012-06-03 16:09:33 +00:00
config.c Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
config.h Consolidate POLYMOST preprocessor define into USE_OPENGL, remove SUPERBUILD preprocessor define, add additional mode to neartag() to skip sprite searches and speed up processing (and enable for CON_OPERATE), fix issue with nearby single instance sounds not playing due to out of range sounds blocking their playback, fix issue with settings.cfg being reset to default bindings when running a mod that specifies its own cfg base name, improve CON structure member interface read/write performance, fix a bug with CON "move" pointer validation 2011-03-04 08:50:58 +00:00
demo.c Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
demo.h Rewrite the savegame format in terms of the generic saving/loading system. 2011-12-25 15:34:06 +00:00
duke3d.h Bump BYTEVERSION, correct actor_t size on x64, add assert(sizeof(actor_t)==128). 2012-06-03 19:20:23 +00:00
function.h EDuke32: Various menu tweaks and one fix. 2012-02-04 14:30:54 +00:00
game.c Bump BYTEVERSION, correct actor_t size on x64, add assert(sizeof(actor_t)==128). 2012-06-03 19:20:23 +00:00
game.h Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
gamedef.c The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor. 2012-06-03 16:09:33 +00:00
gamedef.h New CON command 'showviewunbiased', mapping the screen coords w/o round-to-0 bias. 2012-03-31 11:22:00 +00:00
gamedefs.h Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
gameexec.c Lunatic: pack actor/move parameters into t_data, which is enlarged to 14 elements. 2012-06-03 15:46:08 +00:00
gameexec.h Add EVENT_LOADGAME and EVENT_SAVEGAME, self-explanatory. Also make EVENT_NEWGAME use myconnectindex for player ID instead of screenpeek. 2012-05-25 05:14:19 +00:00
gamestructures.c A couple of minor fixes and comments that got accumulated in my tree. 2012-05-29 20:01:55 +00:00
gamevars.c The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor. 2012-06-03 16:09:33 +00:00
gamevars.h Fix gamearrays on 64-bit platforms. 2012-05-25 15:23:48 +00:00
global.c Bump build date from 20110312 to 20120522. 2012-05-22 15:28:51 +00:00
global.h Allow up to 7 skills, coded by M210 and taken over with modifications. 2012-03-25 22:00:27 +00:00
GNU.TXT Importing source for great justice 2006-04-13 20:47:06 +00:00
grpscan.c The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor. 2012-06-03 16:09:33 +00:00
grpscan.h Capitalize numgrpfiles macro to NUMGRPFILES. 2012-03-26 22:03:40 +00:00
input.c Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
input.h Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
keys.h Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes 2010-05-25 10:56:00 +00:00
m32def.c Remove the 'inline' qualifier of some (not-so) short functions. 2012-05-05 22:24:02 +00:00
m32def.h New M32Script command "getspritelinktype" <spritenum> <<linktypevar>>. 2012-04-05 19:49:12 +00:00
m32exec.c Incorporate some use of Bfflush(NULL) in hopes to alleviate Wii configuration saving concerns. 2012-06-03 16:08:27 +00:00
m32structures.c Addresses posts #180 and #181 of the TROR thread. Specifically, 2011-07-04 21:20:59 +00:00
m32vars.c Continuously keep track of the number of sprites in the world. 2012-03-14 22:30:24 +00:00
macros.h Accumulated trivia, mostly "the usual". 2012-05-05 22:23:44 +00:00
mapster32.h In Mapster32, remove ReadGamePalette() and GAMEpalette[] and use engine's palette[]. 2012-03-22 22:46:56 +00:00
mdump.cpp Superficial text changes: 2012-03-26 05:05:57 +00:00
mdump.h 1. Removed unneeded the svn:executable proprties. These files aren't actually executable. 2008-07-12 14:09:52 +00:00
menus.c Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
menus.h Rewrite the savegame format in terms of the generic saving/loading system. 2011-12-25 15:34:06 +00:00
midi.c Makefile: remove ebacktrace1.dll as dependency to eduke32 and mapster32 and 2011-10-27 13:14:06 +00:00
midi.h Fix JonoF's email address. 2012-03-12 04:47:04 +00:00
mpu401.c Global thermonuclear code rape 2010-08-02 08:13:51 +00:00
mpu401.h Fix JonoF's email address. 2012-03-12 04:47:04 +00:00
music.c Final round (I hope!) of sound fixes. Should also fix the crash on exit on Windows and the REACTOR sprite size bug. 2010-06-26 08:51:42 +00:00
names.h add two tile labels which Todd forgot to move from GAME.CON to DEFS.CON and therefore did not make it to names.h 2011-08-20 23:27:46 +00:00
namesdyn.c Patch adding Wii support by tueidj, part 11: miscellaneous changes 2012-05-01 12:41:13 +00:00
namesdyn.h Patch adding Wii support by tueidj, part 11: miscellaneous changes 2012-05-01 12:41:13 +00:00
net.c net: correct packet buffer overflow checks. 2012-06-03 19:20:36 +00:00
net.h net.c tweaks, just for the sake of pushing them to SVN. 2012-05-18 21:41:08 +00:00
old.diff Tweakery in various places. 2011-03-17 23:37:38 +00:00
osdcmds.c Accumulated trivia, mostly "the usual". 2012-05-05 22:23:44 +00:00
osdcmds.h Global thermonuclear code rape 2010-08-02 08:13:51 +00:00
osdfuncs.c Big clean up in defs.c and related content. The usual stuff... 2012-04-04 18:58:19 +00:00
osdfuncs.h Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes 2010-05-25 10:56:00 +00:00
player.c The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor. 2012-06-03 16:09:33 +00:00
player.h Minor formatting fix 2012-05-19 22:47:47 +00:00
premap.c Rename LUNATIC_ENABLE macro to just LUNATIC. 2012-06-03 15:45:59 +00:00
premap.h Clear up handling of g_*NamePtr in the game. 2012-03-28 19:44:00 +00:00
quotes.h Addition of 3 events: 2012-05-14 18:12:27 +00:00
rev.h Use svn revision numbers in synthesis build strings 2011-03-04 09:29:03 +00:00
rts.c Global thermonuclear code rape 2010-08-02 08:13:51 +00:00
rts.h Possibly fix another weird crash 2010-08-07 23:14:23 +00:00
savegame.c Add EVENT_LOADGAME and EVENT_SAVEGAME, self-explanatory. Also make EVENT_NEWGAME use myconnectindex for player ID instead of screenpeek. 2012-05-25 05:14:19 +00:00
savegame.h Save 'Numsprites' into savegames and mapstates. Bump savegame minor version. 2012-03-14 22:31:49 +00:00
sdlmusic.c Patch adding Wii support by tueidj, part 8: system-specific changes 2012-05-01 12:40:08 +00:00
sector.c Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
sector.h WIP multiplayer changes, still completely broken. 2012-05-17 23:54:43 +00:00
soundefs.h update soundefs.h to match the final v1.5 DEFS.CON 2011-08-20 23:27:58 +00:00
sounds.c Alternate implementation of EVENT_SOUND that better covers all hard coded sounds (menus, boss recognition sounds, etc) 2012-05-17 17:33:29 +00:00
sounds.h Rename SOUNDOWNER's (used in sound_t) member .i to .ow for easier grepping. 2012-03-10 21:22:44 +00:00
sounds_mapster32.c Rename SOUNDOWNER's (used in sound_t) member .i to .ow for easier grepping. 2012-03-10 21:22:44 +00:00
sounds_mapster32.h Rename SOUNDOWNER's (used in sound_t) member .i to .ow for easier grepping. 2012-03-10 21:22:44 +00:00
standard.h Fix JonoF's email address. 2012-03-12 04:47:04 +00:00
startgtk.game.c The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor. 2012-06-03 16:09:33 +00:00
startwin.game.c The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor. 2012-06-03 16:09:33 +00:00
startwin.game.h Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes 2010-05-25 10:56:00 +00:00
winbits.c Define Batoi/Batol to strtol(...) in compat.h and use these when necessary. 2012-02-20 21:17:39 +00:00