o Fixed bug where chat text would turn white when a player joined a team
An uncapped strcpy overwrote the color array.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@264 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed bug where some items in the marine popupmenu ("Start", "Weapon", "Orders", "Comms", etc) would be disabled after exiting the command chair.
The MESSAGE_NULL associated tech was marked as unresearchable, disabling it when the player entered the commandchair.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@263 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed bug that made items on the popupmenu be disabled for aliens in classic games
The bug was in AvHPlayer::UpdateTechNodes(), where the techs would not be set to researchable once flagged as unresearchable, causing them all to be unresearchable from the start of the game, and disallowing lifeforms after gestating to them.
I also added a check so that the menu states won't be updated every frame for the client unless the menu is active.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@262 67975925-1194-0748-b3d5-c16f83f1a3a1
o Reduced the handgrenade research coost: 20 -> 10
o Reduce the time from throw till detonation: 2.0s -> 0.75s.
o Grenades can now be thrown before the prime grenade animation has finished, allowing faster throws
o Number of handgrenades equipped upon spawn has been increased: 1 -> 2
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@260 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed a bug where "switch" in console (sv_cheats 1) no longer makes the player stuck when going from alien to marine.
Had committed the change to the wrong branch in build 225 ...
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@259 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed bug where a player could not switch teams after the game had started
Commented out the lines in AvHPlayer::GetIsAuthorized that prevented it. To be replaced by Nexus.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@237 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed bug where the commander UI buttons would not function (select all, go to requests, etc)
AvHTechTree::GetIsMessageAvailable would not return true because no tech tree nodes would be found for these messages. I inserted a check to bypass the node checking for these messages. It's a hack, but since they're already hacked into the TechNode code, it should do for now.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@235 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed bug where the voice comm icon would not be displayed while using a mic
The new MemoryInputStream class either contains a bug or doesn't match what the vgui::BitmapTGA class expects. I've inserted the old code to get this working till Karl can take a look at it, as it's a bit painstaking to sort it out when I don't even know what method(s) it fails in.
I also fixed a bug in the constructor for the new MemoryInputStream where the length parameter would not be applied to the length member.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@232 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed a bug where "switch" in console (sv_cheats 1) no longer makes the player stuck when going from alien to marine.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@225 67975925-1194-0748-b3d5-c16f83f1a3a1
Added a dual cache for LookupSequence, to avoid the massive stricmp overhead associated with the fetching of animations.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@221 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed a bug where a crouching player on an IP would not be killed.
Extended the range the spawn damage is applied for, roughly 10 units downwards.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@217 67975925-1194-0748-b3d5-c16f83f1a3a1