Files
Client/MemoryManager/GMMemory.inl
LGram16 e067522598 Initial commit: ROW Client source code
Game client codebase including:
- CharacterActionControl: Character and creature management
- GlobalScript: Network, items, skills, quests, utilities
- RYLClient: Main client application with GUI and event handlers
- Engine: 3D rendering engine (RYLGL)
- MemoryManager: Custom memory allocation
- Library: Third-party dependencies (DirectX, boost, etc.)
- Tools: Development utilities

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 16:24:34 +09:00

24 lines
607 B
C++

#ifdef GM_USE_MEMORY
#include <cassert>
//------------------------------------------------------------------------------
inline GMMemoryManager::STimestamp* GMMemoryManager::GetFreeTimestamp()
{
if ( NULL == m_pAvailableTimestampList )
{
AllocateTimestampBlock() ;
}
assert( NULL != m_pAvailableTimestampList && "Allocate timestamp block failed !!" ) ;
STimestamp* pStamp = m_pAvailableTimestampList ;
m_pAvailableTimestampList = m_pAvailableTimestampList->m_pNext ;
return pStamp ;
}
//------------------------------------------------------------------------------
#endif // GM_USE_MEMORY