areinot 2002/07/01 13:20:17 PDT Modified files: src BaseProjectileWeapon.h GameState.cpp Log: New feature: Shotgun. NOTE: I moved BaseWeaponObject's reload() to be protected so that the shotgun could define it's own createBullet function. the problem is that the Shotgun shoots 10 pellets, which should decrement the ammo by only 1 bullet. Any better ideas that don't mess with BaseWeapon are welcome. Revision Changes Path 1.2 +2 -1 midworld/src/BaseProjectileWeapon.h 1.8 +2 -0 midworld/src/GameState.cpp http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/midworld/src/BaseProjectileWeapon.h.diff?r1=1.1&r2=1.2&diff_format=h http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/midworld/src/GameState.cpp.diff?r1=1.7&r2=1.8&diff_format=h
You seem to have CSS turned off. Please don't fill out this field.
Click URL instructions: Right-click on the ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads)
Ad destination/click URL: