added icon, windows title, and fixed bug in biome.cpp
This commit is contained in:
parent
d6918c0e29
commit
e32e3681c7
@ -96,7 +96,7 @@ extern "C" void generate(Map *mapPtr)
|
||||
for(i=0; i<n; ++i)
|
||||
{
|
||||
map[map.team(i)].type = SPAWN;
|
||||
map[map.team(i)].data.nbRes = 0;
|
||||
map[map.team(i)].data.teamId = i;
|
||||
}
|
||||
|
||||
free(l_biomes);
|
||||
|
BIN
rc/PixelWars.png
Normal file
BIN
rc/PixelWars.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
BIN
rc/Thumbs.db
BIN
rc/Thumbs.db
Binary file not shown.
@ -39,6 +39,7 @@
|
||||
<file>rc/radio_unchecked_disabled.png</file>
|
||||
<file>rc/radio_unchecked_focus.png</file>
|
||||
<file>rc/radio_unchecked.png</file>
|
||||
<file>rc/PixelWars.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="qdarkstyle">
|
||||
<file>style.qss</file>
|
||||
|
@ -15,6 +15,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
m_simSpeedChanged(false),
|
||||
m_paused(false)
|
||||
{
|
||||
setWindowIcon(QIcon(":qss_icons/rc/PixelWars.png"));
|
||||
ui->setupUi(this);
|
||||
m_simuTimer = new QTimer(this);
|
||||
connect(m_simuTimer,SIGNAL(timeout()),this, SLOT(updateSimu()));
|
||||
|
@ -11,7 +11,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
<string>PixelWars</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralWidget">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
@ -230,8 +230,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>260</width>
|
||||
<height>346</height>
|
||||
<width>98</width>
|
||||
<height>56</height>
|
||||
</rect>
|
||||
</property>
|
||||
<attribute name="label">
|
||||
|
Loading…
x
Reference in New Issue
Block a user