mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Make a bunch more strings const.
This commit is contained in:
@ -229,7 +229,7 @@ void hsG3DDeviceRecord::SetDeviceDesc( const char *s )
|
||||
|
||||
const char* hsG3DDeviceRecord::GetG3DDeviceTypeName() const
|
||||
{
|
||||
static char* deviceNames[hsG3DDeviceSelector::kNumDevTypes] = {
|
||||
static const char* deviceNames[hsG3DDeviceSelector::kNumDevTypes] = {
|
||||
"Unknown",
|
||||
"Glide",
|
||||
"Direct3D",
|
||||
|
@ -121,7 +121,7 @@ class plDebugText
|
||||
|
||||
void SetManager( plDebugTextManager *m ) { fManager = m; }
|
||||
|
||||
void SetFont( char *face, UInt16 size ) { hsStrncpy( fFontFace, face, sizeof( fFontFace ) ); fFontSize = size; }
|
||||
void SetFont(const char *face, UInt16 size ) { hsStrncpy( fFontFace, face, sizeof( fFontFace ) ); fFontSize = size; }
|
||||
const char *GetFontFace( void ) { return fFontFace; }
|
||||
const UInt16 GetFontSize( void ) { return fFontSize; }
|
||||
UInt16 GetFontHeight();
|
||||
|
Reference in New Issue
Block a user