new icons

This commit is contained in:
devZoGok
2024-05-19 15:59:58 +03:00
parent d67b9ba974
commit 04ed6c4ed6
25 changed files with 746 additions and 16 deletions
+1 -3
View File
@@ -115,6 +115,7 @@ namespace battleship{
else
cursorState = CursorState::NORMAL;
cursorNode->setVisible(cursorState != CursorState::NORMAL);
Texture *tex = nullptr;
switch(cursorState){
@@ -124,9 +125,6 @@ namespace battleship{
case CursorState::GARRISON:
tex = garrisonTex;
break;
default:
tex = pointerTex;
break;
}
cursorNode->getMesh(0)->getMaterial()->setTexUniform("diffuseMap", tex, false);