Update of /cvsroot/netrek/client/netrekxp In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25229 Modified Files: NetrekXP to do list.C clientr.suo clientr.vcproj Log Message: Main change: 1) The way memory was set up for all the weapons/planets/player structs was changed. Instead of a static struct memory universe, it was changed to malloc calls during entry. A bunch of new functions (for paradise) were called to dealloc this memory and realloc if it a game parameter packet was received which indicated new array sizes. Currently there is only partial support for increasing torp/plasma array sizes, and no support for increasing number of phasers per ship. Maxplayer, while dynamic in paradise client, was too much a PITA to realloc on the fly without changing all the MAXPLAYER checks, so I'm keeping it constant at 257 for paradise, rather than trying to save some memory by downsizing it if the actual number of players is less. Paradise does something weird in that it has a max player value for what the server says, and a second max player value for what the client can actually handle. I'm not going to go that route, just keeping 1 maxplayer value thank you very much. Paradise only changes: 1) Add support for adjustable gwidth, it starts at 100000, but if a planet loc packet is sent beyond this range, it increases to 200000. Very stupid, but that's how paradise does it. Wouldn't seem to support galaxies with sizes other than these 2 values. 2) Increased paradise planet window size so it wasn't getting cut off. Bronco changes: 1) Support new server change from rank defense to rank offense. 2) Renamed view to viewboxview for drawing viewbox. 3) Removed unnecessary bounds check on drawing lockline. Index: clientr.suo =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/clientr.suo,v retrieving revision 1.134 retrieving revision 1.135 diff -u -d -r1.134 -r1.135 Binary files /tmp/cvs0VsIvf and /tmp/cvsbOGUaY differ Index: clientr.vcproj =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/clientr.vcproj,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- clientr.vcproj 25 May 2007 03:36:43 -0000 1.12 +++ clientr.vcproj 7 Jun 2007 04:43:36 -0000 1.13 @@ -81,7 +81,6 @@ IgnoreAllDefaultLibraries="true" GenerateDebugInformation="true" ProgramDatabaseFile="\netrek_files\tmp\src\Debug/netrek.pdb" - MapFileName="" SubSystem="1" TargetMachine="1" /> Index: NetrekXP to do list.C =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/NetrekXP to do list.C,v retrieving revision 1.149 retrieving revision 1.150 diff -u -d -r1.149 -r1.150 --- NetrekXP to do list.C 25 May 2007 03:36:41 -0000 1.149 +++ NetrekXP to do list.C 7 Jun 2007 04:43:34 -0000 1.150 @@ -37,9 +37,13 @@ Paradise issues: Motd paging system gutted for sake of simplicity A bunch of gridline/zoom options should be made into netrekrc options. -The galactic zoom doesn't work, gwidth is not malleable -Some of the paradise packet types need work, especially gameconf. -Still missing wormholes, asteroids, fighters, warpbeacons, and warpflash functionality. +The galactic zoom doesn't work +Some of the paradise packet types may need some work +Many many places in code where things are based on MAXSOMETHING whether it be players +torps planets plasmas. Whereas paradise wants to use dynamic variables. It's a +mess. And paradise has nphasers, the entire concept of multiple phasers +per ship is not compliant with current code. +Still missing wormholes, asteroids, fighters, and (flashing) warpbeacons. Info window not working right with paradise. Need popup box that works, when connecting to wrong server type