Searched refs:texSquareY (Results 1 – 5 of 5) sorted by relevance
/dports/games/spring/spring_98.0/rts/Map/SMF/ |
H A D | SMFGroundTextures.h | 19 bool SetSquareLuaTexture(int texSquareX, int texSquareY, int texID); 20 …bool GetSquareLuaTexture(int texSquareX, int texSquareY, int texID, int texSizeX, int texSizeY, in… 21 void BindSquareTexture(int texSquareX, int texSquareY); 28 …void ExtractSquareTiles(const int texSquareX, const int texSquareY, const int mipLevel, GLint* til…
|
H A D | SMFGroundTextures.cpp | 380 bool CSMFGroundTextures::SetSquareLuaTexture(int texSquareX, int texSquareY, int texID) { in SetSquareLuaTexture() argument 382 if (texSquareY < 0 || texSquareY >= smfMap->numBigTexY) { return false; } in SetSquareLuaTexture() 384 GroundSquare* square = &squares[texSquareY * smfMap->numBigTexX + texSquareX]; in SetSquareLuaTexture() 408 if (texSquareY < 0 || texSquareY >= smfMap->numBigTexY) { return false; } in GetSquareLuaTexture() 422 ExtractSquareTiles(texSquareX, texSquareY, texMipLevel, (GLint*) pbo.MapBuffer()); in GetSquareLuaTexture() 438 const int texSquareY, in ExtractSquareTiles() argument 448 const int tileOffsetY = texSquareY * BLOCK_SIZE; in ExtractSquareTiles() 513 void CSMFGroundTextures::BindSquareTexture(int texSquareX, int texSquareY) in BindSquareTexture() argument 516 assert(texSquareY >= 0); in BindSquareTexture() 518 assert(texSquareY < smfMap->numBigTexY); in BindSquareTexture() [all …]
|
/dports/games/spring/spring_98.0/rts/Map/ |
H A D | BaseGroundTextures.h | 10 virtual bool SetSquareLuaTexture(int texSquareX, int texSquareY, int texID) { return false; } in SetSquareLuaTexture() argument 11 …virtual bool GetSquareLuaTexture(int texSquareX, int texSquareY, int texID, int texSizeX, int texS… in GetSquareLuaTexture() argument
|
/dports/games/spring/spring_98.0/rts/Lua/ |
H A D | LuaUnsyncedCtrl.cpp | 1427 const int texSquareY = luaL_checkint(L, 2); in SetMapSquareTexture() local 1439 lua_pushboolean(L, groundTextures->SetSquareLuaTexture(texSquareX, texSquareY, 0)); in SetMapSquareTexture() 1455 lua_pushboolean(L, groundTextures->SetSquareLuaTexture(texSquareX, texSquareY, luaTexture->id)); in SetMapSquareTexture() 1466 lua_pushboolean(L, groundTextures->SetSquareLuaTexture(texSquareX, texSquareY, namedTexture->id)); in SetMapSquareTexture()
|
H A D | LuaUnsyncedRead.cpp | 1233 const int texSquareY = luaL_checkint(L, 2); in GetMapSquareTexture() local 1268 …lua_pushboolean(L, groundTextures->GetSquareLuaTexture(texSquareX, texSquareY, tid, txs, tys, texM… in GetMapSquareTexture()
|