mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
* Removed trailing newline from settings.txt (caused warning)
* Sprite/Bitmap handlers moved to VCMI_Lib * Moved volume sliders 1px down for better look
This commit is contained in:
@ -13,6 +13,7 @@
|
||||
#include "../CThreadHelper.h"
|
||||
#include "../CGameInfo.h"
|
||||
#include "../hch/CLodHandler.h"
|
||||
#include "../lib/VCMI_Lib.h"
|
||||
using namespace boost::assign;
|
||||
using namespace CSDL_Ext;
|
||||
#ifdef min
|
||||
@ -102,7 +103,7 @@ SDL_Surface * Graphics::drawTownInfoWin(const CGTownInstance * curh)
|
||||
|
||||
void Graphics::loadPaletteAndColors()
|
||||
{
|
||||
std::string pals = CGI->bitmaph->getTextFile("PLAYERS.PAL");
|
||||
std::string pals = bitmaph->getTextFile("PLAYERS.PAL");
|
||||
playerColorPalette = new SDL_Color[256];
|
||||
neutralColor = new SDL_Color;
|
||||
playerColors = new SDL_Color[PLAYER_LIMIT];
|
||||
|
Reference in New Issue
Block a user