SVN r396 (trunk)

This commit is contained in:
Christoph Oelckers 2006-11-29 11:14:40 +00:00
parent 0ba809234e
commit a537d1a115
4 changed files with 32 additions and 30 deletions

View file

@ -1,3 +1,7 @@
November 29, 2006 (Changes by Graf Zahl)
- Made the constructor of PSymbolTable inline. Having this a real function
adds 100kb to the EXE, mostly needless exception handling code.
November 28, 2006 (Changes by Graf Zahl) November 28, 2006 (Changes by Graf Zahl)
- Fixed: The StrifePlayer couldn't obtain his default inventory because - Fixed: The StrifePlayer couldn't obtain his default inventory because
APlayerPawn::GiveDefaultInventory gave him some HexenArmor even though APlayerPawn::GiveDefaultInventory gave him some HexenArmor even though

View file

@ -305,11 +305,6 @@ void PClass::FreeStateList ()
// Symbol tables ------------------------------------------------------------ // Symbol tables ------------------------------------------------------------
PSymbolTable::PSymbolTable ()
: ParentSymbolTable(NULL)
{
}
PSymbolTable::~PSymbolTable () PSymbolTable::~PSymbolTable ()
{ {
for (unsigned int i = 0; i < Symbols.Size(); ++i) for (unsigned int i = 0; i < Symbols.Size(); ++i)

View file

@ -56,7 +56,10 @@ struct PSymbolActionFunction : public PSymbol
class PSymbolTable class PSymbolTable
{ {
public: public:
PSymbolTable(); PSymbolTable() : ParentSymbolTable(NULL)
{
}
~PSymbolTable(); ~PSymbolTable();
// Sets the table to use for searches if this one doesn't contain the // Sets the table to use for searches if this one doesn't contain the