1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 02:51:27 +00:00

Get rid of NEW(), TRACKED_NEW, and ZERO().

This commit is contained in:
Darryl Pogue
2012-01-21 01:09:48 -08:00
committed by Adam Johnson
parent 30430d3024
commit 5013a978eb
423 changed files with 2500 additions and 2503 deletions

View File

@ -84,7 +84,7 @@ hsBool plTimerCallbackManager::MsgReceive(plMessage* msg)
plTimerCallback* plTimerCallbackManager::NewTimer(float time, plMessage* pMsg)
{
plTimerCallback* t = TRACKED_NEW plTimerCallback( hsTimer::GetSysSeconds() + time, pMsg );
plTimerCallback* t = new plTimerCallback( hsTimer::GetSysSeconds() + time, pMsg );
fCallbacks.Append(t);
// sort them
for (int i = 0; i < fCallbacks.Count(); i++)
@ -176,7 +176,7 @@ plTimerCallbackManager* plgTimerCallbackMgr::fMgr = nil;
void plgTimerCallbackMgr::Init()
{
fMgr = TRACKED_NEW plTimerCallbackManager;
fMgr = new plTimerCallbackManager;
fMgr->RegisterAs( kTimerCallbackManager_KEY ); // fixedKey from plFixedKey.h
plgDispatch::Dispatch()->RegisterForExactType( plTimeMsg::Index(), fMgr->GetKey() );
}