Group 1 - CVS log

Fri Jun 8 14:40:57 2001 commit by beghbali in module DigitalForPlay/distrib
final version, fixed the client orientations
Changed: cUnit.cpp

Fri Jun 8 14:29:04 2001 commit by beghbali in module DigitalForPlay/distrib
frames and movement
Changed: cUnit.cpp

Fri Jun 8 14:16:02 2001 commit by mfroehli in module DigitalForPlay/distrib
fixed it so soldiers so they flinch when hit
Changed: optimizedmesh.cpp

Fri Jun 8 14:10:49 2001 commit by beghbali in module DigitalForPlay/distrib
frames and movement
Changed: cUnit.cpp

Fri Jun 8 13:41:45 2001 commit by rbrunton in module DigitalForPlay/distrib
removed all debug statements from these files
Changed: vector_util.cpp TerrainInfo.cpp serial.cpp Position.cpp JukeboxDlg.h JukeboxDlg.cpp cUnit.cpp cPacket.cpp cExplosive.cpp cClientThread.cpp cClient.cpp cArmy.cpp Camera.cpp

Fri Jun 8 13:23:15 2001 commit by mfroehli in module DigitalForPlay/distrib
changed map color
Changed: optimizedmesh.cpp

Fri Jun 8 13:09:32 2001 commit by rbrunton in module DigitalForPlay/distrib
removed some debug statements
Changed: cUnit.cpp

Fri Jun 8 12:51:14 2001 commit by mfroehli in module DigitalForPlay/distrib
scores in team colors. window can now resize and go full screen
Changed: optimizedmesh.cpp

Fri Jun 8 12:50:19 2001 commit by rbrunton in module DigitalForPlay/distrib
New orientation serialization stuff
Changed: serial.cpp cUnit.cpp cPacket.cpp

Fri Jun 8 12:12:12 2001 commit by beghbali in module DigitalForPlay/distrib
movement and attack enhancements
Changed: cUnit.cpp

Fri Jun 8 11:59:51 2001 commit by rbrunton in module DigitalForPlay/distrib
Back to old packet size of 32
Changed: net_constants.h DFPserver.exe cUnit.cpp cPacket.cpp

Fri Jun 8 11:53:45 2001 commit by mfroehli in module DigitalForPlay/distrib
muzzle flashes. score displays
Changed: optimizedmesh.cpp

Fri Jun 8 11:23:23 2001 commit by beghbali in module DigitalForPlay/distrib
movement and attack enhancements
Changed: Position.cpp cUnit.cpp

Fri Jun 8 10:10:14 2001 commit by beghbali in module DigitalForPlay/distrib
movement and attack enhancements
Changed: Position.h optimizedmesh.cpp cWeapon.h cUnit.h cUnit.cpp

Fri Jun 8 05:58:31 2001 commit by beghbali in module DigitalForPlay/distrib
added black fog, looks a bit more misterious, we can change it to white fog too.
Changed: optimizedmesh.cpp

Fri Jun 8 04:22:33 2001 commit by rbrunton in module DigitalForPlay/distrib
We can now reliably shoot and kill opponents. The new system is based on simple weights which are calculated from unit range and enemy distance. It may not be elegant, and there is no splash damage, but it works. I'm going home to try to get a few hours of sleep, but I should be in by 10 am.
Changed: optimizedmesh.cpp cWeapon.h cUnit.h cUnit.cpp cExplosive.h

Fri Jun 8 04:07:13 2001 commit by beghbali in module DigitalForPlay/distrib
Changed optimizedmesh, added scores to it(to show scores)
Changed: optimizedmesh.cpp

Fri Jun 8 03:07:12 2001 commit by beghbali in module DigitalForPlay/distrib
fixed the overlapping units(hopefully)
Changed: cUnit.h cUnit.cpp

Fri Jun 8 02:37:01 2001 commit by beghbali in module DigitalForPlay/distrib
attack stuff
Changed: Position.h cUnit.h cUnit.cpp

Fri Jun 8 01:16:44 2001 commit by rbrunton in module DigitalForPlay/distrib
...losing hope
Changed: cUnit.cpp

Fri Jun 8 01:04:41 2001 commit by rbrunton in module DigitalForPlay/distrib
...please
Changed: cUnit.cpp

Fri Jun 8 00:51:16 2001 commit by rbrunton in module DigitalForPlay/distrib
...me
Changed: cUnit.cpp

Fri Jun 8 00:44:59 2001 commit by beghbali in module DigitalForPlay/distrib
added average Normals for the terrain info
Changed: TerrainInfo.cpp

Fri Jun 8 00:41:24 2001 commit by rbrunton in module DigitalForPlay/distrib
help...
Changed: cUnit.cpp

Fri Jun 8 00:35:30 2001 commit by beghbali in module DigitalForPlay/distrib
added average Normals for the terrain info
Changed: TerrainInfo.cpp

Thu Jun 7 23:54:08 2001 commit by mfroehli in module DigitalForPlay/distrib
anyother try at shooting
Changed: cUnit.cpp

Thu Jun 7 23:48:24 2001 commit by mfroehli in module DigitalForPlay/distrib
anyother try at shooting
Changed: cUnit.cpp

Thu Jun 7 23:33:18 2001 commit by mfroehli in module DigitalForPlay/distrib
removed escher feature of units
Changed: optimizedmesh.cpp

Thu Jun 7 23:33:03 2001 commit by mfroehli in module DigitalForPlay/distrib
shot start angle is changed => T is being div by *10 more
Changed: cUnit.cpp

Thu Jun 7 23:27:00 2001 commit by rbrunton in module DigitalForPlay/distrib
Fixing weapon range so that tanks can't hit things on the other side of the terrain.
Changed: cWeapon.h

Thu Jun 7 23:14:17 2001 commit by rbrunton in module DigitalForPlay/distrib
Trying to get the final sequence to work...
Changed: cUnit.h cUnit.cpp cClientThread.cpp

Thu Jun 7 23:01:46 2001 commit by mfroehli in module DigitalForPlay/distrib
not send update for dead units too
Changed: optimizedmesh.cpp

Thu Jun 7 22:54:48 2001 commit by mfroehli in module DigitalForPlay/distrib
send update for dead units too
Changed: optimizedmesh.cpp

Thu Jun 7 22:46:44 2001 commit by mfroehli in module DigitalForPlay/distrib
send update for dead units too
Changed: optimizedmesh.cpp

Thu Jun 7 22:45:41 2001 commit by mfroehli in module DigitalForPlay/distrib
send update for dead units too
Changed: optimizedmesh.cpp

Thu Jun 7 21:04:20 2001 commit by rbrunton in module DigitalForPlay/distrib
preventing shooting oneself
Changed: cUnit.cpp

Thu Jun 7 20:54:30 2001 commit by rbrunton in module DigitalForPlay/distrib
lame typo from last turnin
Changed: cUnit.cpp

Thu Jun 7 20:51:53 2001 commit by mfroehli in module DigitalForPlay/distrib
more of pre stepping bullet so don't shot the shooter. and mod decrement life to work correctly.
Changed: cUnit.cpp

Thu Jun 7 20:35:54 2001 commit by mfroehli in module DigitalForPlay/distrib
pre stepping bullet so don't shot the shooter.
Changed: cUnit.cpp

Thu Jun 7 20:34:48 2001 commit by rbrunton in module DigitalForPlay/distrib
suicide now working
Changed: cClientThread.cpp cClient.cpp

Thu Jun 7 20:20:27 2001 commit by rbrunton in module DigitalForPlay/distrib
once more into the breach dear friends...
Changed: cClient.cpp

Thu Jun 7 20:09:34 2001 commit by rbrunton in module DigitalForPlay/distrib
once more into the breach
Changed: cClientThread.cpp

Thu Jun 7 19:51:24 2001 commit by rbrunton in module DigitalForPlay/distrib
added debugging statements to check that new packets are properly received
Changed: cClientThread.cpp

Thu Jun 7 19:44:48 2001 commit by rbrunton in module DigitalForPlay/distrib
moved break statement... maybe damage will work now.
Changed: cClientThread.cpp

Thu Jun 7 19:39:17 2001 commit by rbrunton in module DigitalForPlay/distrib
added a missing break statement... maybe damage will work now.
Changed: cClientThread.cpp

Thu Jun 7 19:31:41 2001 commit by rbrunton in module DigitalForPlay/distrib
checks for valid range on damage packet values
Changed: cClientThread.cpp

Thu Jun 7 19:30:20 2001 commit by mfroehli in module DigitalForPlay/distrib
changes to the player's id sent... starting at 1 for player 1 not 0 as before.
Changed: cUnit.cpp

Thu Jun 7 19:15:46 2001 commit by mfroehli in module DigitalForPlay/distrib
updating bullets
Changed: optimizedmesh.cpp

Thu Jun 7 19:14:15 2001 commit by mfroehli in module DigitalForPlay/distrib
change damage with tank to 20
Changed: cWeapon.h

Thu Jun 7 19:13:52 2001 commit by rbrunton in module DigitalForPlay/distrib
Damage - part 2
Changed: cUnit.cpp

Thu Jun 7 19:12:57 2001 commit by rbrunton in module DigitalForPlay/distrib
Damage - part 1.
Changed: cClientThread.cpp

Thu Jun 7 18:44:11 2001 commit by rbrunton in module DigitalForPlay/distrib
First shot at integration of networking and firing
Changed: cUnit.cpp cPacket.cpp cExplosive.cpp

Thu Jun 7 18:27:08 2001 commit by mfroehli in module DigitalForPlay/distrib
changing cExplosive to non pointer.
Changed: cExplosive.h cExplosive.cpp

Thu Jun 7 18:27:03 2001 commit by mfroehli in module DigitalForPlay/distrib
support for drawing fired bullets
Changed: optimizedmesh.cpp

Thu Jun 7 18:16:08 2001 commit by mfroehli in module DigitalForPlay/distrib
getExplosive was added
Changed: cUnit.h cUnit.cpp

Thu Jun 7 18:06:48 2001 commit by rbrunton in module DigitalForPlay/distrib
This is the new server executable.
Changed: DFPserver.exe

Thu Jun 7 17:49:19 2001 commit by rbrunton in module DigitalForPlay/distrib
This is a new set of networking classes that supports our new packet size and variable length packets. It is fully backward compatible with the old client and server code as long as PACKET_SIZE is set to 48 (this constant is in netconstants.h) Next step - damage!
Changed: net_constants.h cServerThread.cpp cServer.h cServer.cpp cse190.dsp cPacket.cpp cClientThread.cpp cClient.h cClient.cpp

Thu Jun 7 17:42:29 2001 commit by mfroehli in module DigitalForPlay/distrib
support for creating and updating bullets
Changed: cUnit.cpp cUnit.h

Thu Jun 7 17:36:11 2001 commit by mfroehli in module DigitalForPlay/distrib
stoped client from animating and sending updates for all the units of all the other players. Duh!
Changed: optimizedmesh.cpp

Thu Jun 7 16:04:06 2001 commit by mfroehli in module DigitalForPlay/distrib
include stuff for shot as well as sending damage packages
Changed: cUnit.h cUnit.cpp

Thu Jun 7 15:38:47 2001 commit by beghbali in module DigitalForPlay/distrib
current
Changed: cUnit.h

Thu Jun 7 15:37:54 2001 commit by beghbali in module DigitalForPlay/distrib
current
Changed: cUnit.cpp

Thu Jun 7 15:15:37 2001 commit by rbrunton in module DigitalForPlay/distrib
Killed a bunch of memory leaks, many more seem to exist but darned if I can find them right now.
Changed: optimizedmesh.cpp cUnit.h cUnit.cpp

Thu Jun 7 13:51:36 2001 commit by rbrunton in module DigitalForPlay/distrib
Several changes here: 1. There is no longer EVER a call to the cPacket constructor 2. The full code for filling cPackets with cExplosive data is in place, but commented out awaiting implementation in cUnit. 3. I cleaned up some misc debug printout statements
Changed: optimizedmesh.cpp cPacket.cpp cClientThread.cpp cClient.h cClient.cpp cArmy.h cArmy.cpp

Thu Jun 7 04:42:15 2001 commit by beghbali in module DigitalForPlay/distrib
added vertical rotation and made it smooth so it transitions. CHANGED OPTIMIZEDMESH.cpp to incorporate the changes
Changed: Position.cpp optimizedmesh.cpp cUnit.h cUnit.cpp

Thu Jun 7 00:37:00 2001 commit by mfroehli in module DigitalForPlay/distrib
added much more optimized version of models. Fixed ability to turn off server
Changed: optimizedmesh.cpp
Added: opdeath1.x opdeath2.x opdeath3.x opdeath4.x opdeath5.x opdeath6.x opdeath7.x opshot1.x opshot2.x opshot3.x opsoldier.x optank1.x optank2.x optank3.x optank4.x opwalk1.x opwalk2.x opwalk3.x opwalk4.x opwalk5.x opwalk6.x opwalk7.x tank1.x tank2.x tank3.x tank4.x

Wed Jun 6 20:27:42 2001 commit by rbrunton in module DigitalForPlay/distrib
Started adding support for explosives and damage packets to networking. Other than the added constants, I added the skeleton of a function to modify a packet's contents based on type, so we never need to call "new" again on a cPacket. Each client will now only need one cPacket for all its sending needs.
Changed: net_constants.h cPacket.h cPacket.cpp

Wed Jun 6 20:10:04 2001 commit by mfroehli in module DigitalForPlay/distrib
fixed movement, rotation, added a bit of code for vertical rotation
Changed: cUnit.cpp cUnit.h Position.cpp Position.h

Wed Jun 6 20:07:14 2001 commit by mfroehli in module DigitalForPlay/distrib
updated version of cExplosive
Changed: cExplosive.cpp cExplosive.h

Wed Jun 6 15:39:48 2001 commit by mfroehli in module DigitalForPlay/distrib
Some attack stuff
Changed: cUnit.cpp cUnit.h Position.h

Wed Jun 6 15:06:53 2001 commit by mfroehli in module DigitalForPlay/distrib
Camera is now also displayed as an icon on the 2D map just as a regulare unit except its larger in size.
Changed: optimizedmesh.cpp

Wed Jun 6 14:16:57 2001 commit by mfroehli in module DigitalForPlay/distrib
2D map is now included with 'm' for turning the 2D map on/off
Changed: optimizedmesh.cpp

Wed Jun 6 13:01:07 2001 commit by mfroehli in module DigitalForPlay/distrib
I think I've fixed the bug that causes our game to crash after a while. This version was up and running for 30 minutes without crashing. =)
Changed: cClientThread.cpp cPacket.cpp cPacket.h

Wed Jun 6 12:36:45 2001 commit by beghbali in module DigitalForPlay/distrib
nothing much, just worked on path finding and rotation
Changed: cUnit.h cUnit.cpp

Tue Jun 5 21:04:55 2001 commit by mfroehli in module DigitalForPlay/distrib
Changed implementation of packet storage from vector of vectors to a two dimentional array of cPackets
Changed: cClient.h cClientThread.cpp cClientThread.h cPacket.h optimizedmesh.cpp vector_util.cpp vector_util.h

Tue Jun 5 21:03:31 2001 commit by ctulis in module DigitalForPlay/dev
Pre-exorcism of vectorization...
Changed: Camera.cpp Camera.h DFPserver.exe Position.cpp Position.h WinMain.aps WinMain.rc cArmy.cpp cArmy.h cClient.cpp cClientThread.cpp cPacket.cpp cPacket.h cServerThread.cpp cUnit.cpp cUnit.h cWeapon.h cse190.dsp general.h mediatypes.h net_constants.h optimizedmesh.cpp optimizedmesh.dsp resource.h serial.cpp serial.h test_driver.cpp util.cpp vector_util.cpp vector_util.h

Tue Jun 5 17:38:27 2001 commit by mfroehli in module DigitalForPlay/distrib
fixed the rotation so now it won't make the long turns. (smarter rotation). Also fixed some of the jittering.
Changed: cUnit.h cUnit.cpp

Tue Jun 5 16:36:57 2001 commit by ctulis in module DigitalForPlay/distrib
Added packet verification when deserializing. Removed the velocity component and replaced it with a 4 byte orientation component.
Changed: cClientThread.cpp cPacket.cpp cUnit.cpp serial.cpp

Tue Jun 5 15:35:42 2001 commit by ctulis in module DigitalForPlay/distrib
widened gap between initial starting points of units
Changed: cArmy.cpp

Mon Jun 4 21:42:54 2001 commit by mfroehli in module DigitalForPlay/distrib
changed some stuff on path finding, still not smooth.
Changed: cUnit.cpp cUnit.h Position.h

Mon Jun 4 21:16:31 2001 commit by ctulis in module DigitalForPlay/distrib
Added a check on the pID and uID to dump the packet if either of those values appear to be bogus, as they are used to index into an array.
Changed: cClientThread.cpp

Mon Jun 4 19:08:46 2001 commit by mfroehli in module DigitalForPlay/distrib
fixed problem to make sure we receive a full packet
Changed: cClientThread.cpp

Mon Jun 4 11:31:38 2001 commit by mfroehli in module DigitalForPlay/distrib
I fixed the networking bug with nextID that Ryan pointed out. nextID is now a 4 element array (one for each team). Networking now works with multiple clients on the same machine. Super Sweet!
Changed: cArmy.cpp cUnit.cpp cUnit.h general.h optimizedmesh.cpp