mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 20:46:03 +08:00
TF2 win64 + Ambuild tier1/mathlib + long=devil (#198)
* Fix compilation for windows, setup ambuild * Add built tier1 and mathlib for win64 * Ensure compilation is working on windows and linux * Add -fPIC * Add compiled libs, with optimisation enabled * Added windows lib * Fix hl2sdk for windows * Longs are the devil * Fix up threadtools functions * Add updated libs * Rework lib naming, and package script * Update lib directory according to new packaging --------- Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>
This commit is contained in:
@ -219,7 +219,7 @@ bool CScratchPad3D::LoadCommandsFromFile( )
|
||||
if( !fp )
|
||||
return false;
|
||||
|
||||
long fileEndPos = m_pFileSystem->Size( fp );
|
||||
int32_t fileEndPos = m_pFileSystem->Size( fp );
|
||||
|
||||
CFileRead fileRead( m_pFileSystem, fp );
|
||||
while( fileRead.m_Pos != fileEndPos )
|
||||
@ -352,12 +352,12 @@ void CScratchPad3D::DrawRectXY( float zPos, const Vector2D &vMin, const Vector2D
|
||||
DrawRectGeneric( 2, 0, 1, zPos, vMin, vMax, vColor );
|
||||
}
|
||||
|
||||
void CScratchPad3D::SetRenderState( RenderState state, unsigned long val )
|
||||
void CScratchPad3D::SetRenderState( RenderState state, uint32_t val )
|
||||
{
|
||||
CCommand_RenderState *cmd = new CCommand_RenderState;
|
||||
m_Commands.AddToTail( cmd );
|
||||
|
||||
cmd->m_State = (unsigned long)state;
|
||||
cmd->m_State = (uint32_t)state;
|
||||
cmd->m_Val = val;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user