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

Obliterate hsBool

This commit is contained in:
2012-07-11 01:28:00 -04:00
parent 5f78b33db4
commit a709e17069
1041 changed files with 7889 additions and 8070 deletions

View File

@ -136,7 +136,7 @@ class plOperationProgress
// Application data
void SetContext( uint32_t context ) { fContext = context;}
hsBool IsDone( void ) { return ( fValue < fMax ) ? false : true; }
bool IsDone( void ) { return ( fValue < fMax ) ? false : true; }
// True if this is the initial update (progress was just created)
bool IsInitUpdate() { return hsCheckBits(fFlags, kInitUpdate); }
@ -171,7 +171,7 @@ class plOperationProgress
plOperationProgress* GetNext() const { return fNext; }
// Or this
void SetCancelFlag( hsBool f ) { hsChangeBits(fFlags, kShouldCancel, f); }
void SetCancelFlag( bool f ) { hsChangeBits(fFlags, kShouldCancel, f); }
};
// This is a callback proc you set that gets called every time the progressManager
@ -241,7 +241,7 @@ class plProgressMgr
plProgressMgrCallbackProc SetCallbackProc( plProgressMgrCallbackProc proc );
hsBool IsActive( void ) const { return ( fOperations != nil ) ? true : false; }
bool IsActive( void ) const { return ( fOperations != nil ) ? true : false; }
void CancelAllOps( void );
};