Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
566 B
C++
25 lines
566 B
C++
// WBLightMapTex.cpp: implementation of the WBLightMapTex class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#include "WBLightMapTex.h"
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
// Construction/Destruction
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
WBLightMapTex::WBLightMapTex(int sx,int sy,int bp)
|
|
{
|
|
bytespixel=bp;
|
|
sizex=sx;
|
|
sizey=sy;
|
|
bytesx=sx*bytespixel;
|
|
bytesxy=bytesx*sizey;
|
|
bmp=new unsigned char [bytesxy];
|
|
}
|
|
|
|
WBLightMapTex::~WBLightMapTex()
|
|
{
|
|
delete[] bmp;
|
|
}
|