Fix compilation on *nix
authorunc0rr
Fri, 18 Aug 2006 14:17:25 +0000
changeset 115 4cce20ef48ea
parent 114 2762edfc23a9
child 116 00d3d6d2e699
Fix compilation on *nix
QTfrontend/hwform.ui
hedgewars/CMakeLists.txt
--- a/QTfrontend/hwform.ui	Thu Aug 17 18:16:51 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1169 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>HWForm</class>
- <widget class="QMainWindow" name="HWForm" >
-  <property name="geometry" >
-   <rect>
-    <x>0</x>
-    <y>0</y>
-    <width>640</width>
-    <height>450</height>
-   </rect>
-  </property>
-  <property name="minimumSize" >
-   <size>
-    <width>640</width>
-    <height>450</height>
-   </size>
-  </property>
-  <property name="maximumSize" >
-   <size>
-    <width>640</width>
-    <height>450</height>
-   </size>
-  </property>
-  <property name="windowTitle" >
-   <string>-= by unC0Rr =-</string>
-  </property>
-  <widget class="QWidget" name="centralWidget" >
-   <widget class="QStackedWidget" name="Pages" >
-    <property name="geometry" >
-     <rect>
-      <x>0</x>
-      <y>0</y>
-      <width>640</width>
-      <height>450</height>
-     </rect>
-    </property>
-    <property name="minimumSize" >
-     <size>
-      <width>640</width>
-      <height>450</height>
-     </size>
-    </property>
-    <property name="maximumSize" >
-     <size>
-      <width>640</width>
-      <height>450</height>
-     </size>
-    </property>
-    <property name="currentIndex" >
-     <number>0</number>
-    </property>
-    <widget class="QWidget" name="pageLG" >
-     <widget class="QPushButton" name="BtnSimpleGame" >
-      <property name="geometry" >
-       <rect>
-        <x>330</x>
-        <y>380</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Simple Game</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="BtnSPBack" >
-      <property name="geometry" >
-       <rect>
-        <x>120</x>
-        <y>380</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Back</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-    </widget>
-    <widget class="QWidget" name="pageET" >
-     <widget class="QGroupBox" name="GBoxHedgehogs" >
-      <property name="geometry" >
-       <rect>
-        <x>20</x>
-        <y>70</y>
-        <width>161</width>
-        <height>261</height>
-       </rect>
-      </property>
-      <property name="title" >
-       <string>Team Members</string>
-      </property>
-     </widget>
-     <widget class="QGroupBox" name="GBoxTeam" >
-      <property name="geometry" >
-       <rect>
-        <x>20</x>
-        <y>10</y>
-        <width>161</width>
-        <height>51</height>
-       </rect>
-      </property>
-      <property name="title" >
-       <string>Team</string>
-      </property>
-     </widget>
-     <widget class="QGroupBox" name="GBoxFort" >
-      <property name="geometry" >
-       <rect>
-        <x>420</x>
-        <y>110</y>
-        <width>181</width>
-        <height>221</height>
-       </rect>
-      </property>
-      <property name="title" >
-       <string>Fort</string>
-      </property>
-      <widget class="QComboBox" name="CBFort" >
-       <property name="geometry" >
-        <rect>
-         <x>10</x>
-         <y>20</y>
-         <width>161</width>
-         <height>21</height>
-        </rect>
-       </property>
-       <property name="currentIndex" >
-        <number>-1</number>
-       </property>
-       <property name="maxCount" >
-        <number>65535</number>
-       </property>
-      </widget>
-      <widget class="QLabel" name="FortPreview" >
-       <property name="geometry" >
-        <rect>
-         <x>10</x>
-         <y>50</y>
-         <width>161</width>
-         <height>161</height>
-        </rect>
-       </property>
-       <property name="text" >
-        <string/>
-       </property>
-       <property name="pixmap" >
-        <pixmap/>
-       </property>
-       <property name="scaledContents" >
-        <bool>true</bool>
-       </property>
-      </widget>
-     </widget>
-     <widget class="QGroupBox" name="GBoxGrave" >
-      <property name="geometry" >
-       <rect>
-        <x>420</x>
-        <y>10</y>
-        <width>181</width>
-        <height>91</height>
-       </rect>
-      </property>
-      <property name="title" >
-       <string>Grave</string>
-      </property>
-      <widget class="QComboBox" name="CBGrave" >
-       <property name="geometry" >
-        <rect>
-         <x>10</x>
-         <y>20</y>
-         <width>161</width>
-         <height>21</height>
-        </rect>
-       </property>
-       <property name="currentIndex" >
-        <number>-1</number>
-       </property>
-       <property name="maxCount" >
-        <number>65535</number>
-       </property>
-      </widget>
-      <widget class="QLabel" name="GravePreview" >
-       <property name="geometry" >
-        <rect>
-         <x>80</x>
-         <y>50</y>
-         <width>32</width>
-         <height>32</height>
-        </rect>
-       </property>
-       <property name="text" >
-        <string/>
-       </property>
-       <property name="scaledContents" >
-        <bool>true</bool>
-       </property>
-      </widget>
-     </widget>
-     <widget class="QGroupBox" name="GBoxBinds" >
-      <property name="geometry" >
-       <rect>
-        <x>200</x>
-        <y>10</y>
-        <width>201</width>
-        <height>431</height>
-       </rect>
-      </property>
-      <property name="title" >
-       <string>Key binds</string>
-      </property>
-      <widget class="QToolBox" name="BindsBox" >
-       <property name="geometry" >
-        <rect>
-         <x>10</x>
-         <y>20</y>
-         <width>181</width>
-         <height>401</height>
-        </rect>
-       </property>
-       <property name="lineWidth" >
-        <number>0</number>
-       </property>
-       <property name="currentIndex" >
-        <number>0</number>
-       </property>
-       <widget class="QWidget" name="page_A" >
-        <property name="geometry" >
-         <rect>
-          <x>0</x>
-          <y>0</y>
-          <width>96</width>
-          <height>26</height>
-         </rect>
-        </property>
-        <attribute name="label" >
-         <string>Actions</string>
-        </attribute>
-       </widget>
-       <widget class="QWidget" name="page_W" >
-        <attribute name="label" >
-         <string>Weapons</string>
-        </attribute>
-       </widget>
-       <widget class="QWidget" name="page_WP" >
-        <attribute name="label" >
-         <string>Weapon properties</string>
-        </attribute>
-       </widget>
-       <widget class="QWidget" name="page_O" >
-        <property name="geometry" >
-         <rect>
-          <x>0</x>
-          <y>0</y>
-          <width>96</width>
-          <height>26</height>
-         </rect>
-        </property>
-        <attribute name="label" >
-         <string>Other</string>
-        </attribute>
-       </widget>
-      </widget>
-     </widget>
-     <widget class="QPushButton" name="BtnTeamDiscard" >
-      <property name="geometry" >
-       <rect>
-        <x>440</x>
-        <y>380</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Discard</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="BtnTeamSave" >
-      <property name="geometry" >
-       <rect>
-        <x>20</x>
-        <y>380</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Save</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-    </widget>
-    <widget class="QWidget" name="pageOpt" >
-     <widget class="QGroupBox" name="groupBox" >
-      <property name="geometry" >
-       <rect>
-        <x>20</x>
-        <y>10</y>
-        <width>591</width>
-        <height>71</height>
-       </rect>
-      </property>
-      <property name="title" >
-       <string>Teams</string>
-      </property>
-      <widget class="QPushButton" name="BtnNewTeam" >
-       <property name="geometry" >
-        <rect>
-         <x>10</x>
-         <y>20</y>
-         <width>160</width>
-         <height>40</height>
-        </rect>
-       </property>
-       <property name="font" >
-        <font>
-         <family>MS Shell Dlg</family>
-         <pointsize>14</pointsize>
-         <weight>50</weight>
-         <italic>false</italic>
-         <bold>false</bold>
-         <underline>false</underline>
-         <strikeout>false</strikeout>
-        </font>
-       </property>
-       <property name="text" >
-        <string>New team</string>
-       </property>
-      </widget>
-      <widget class="QPushButton" name="BtnEditTeam" >
-       <property name="geometry" >
-        <rect>
-         <x>400</x>
-         <y>20</y>
-         <width>160</width>
-         <height>40</height>
-        </rect>
-       </property>
-       <property name="font" >
-        <font>
-         <family>MS Shell Dlg</family>
-         <pointsize>14</pointsize>
-         <weight>50</weight>
-         <italic>false</italic>
-         <bold>false</bold>
-         <underline>false</underline>
-         <strikeout>false</strikeout>
-        </font>
-       </property>
-       <property name="text" >
-        <string>Edit team</string>
-       </property>
-      </widget>
-      <widget class="QComboBox" name="CBTeamName" >
-       <property name="geometry" >
-        <rect>
-         <x>200</x>
-         <y>30</y>
-         <width>171</width>
-         <height>22</height>
-        </rect>
-       </property>
-      </widget>
-     </widget>
-     <widget class="QComboBox" name="CBResolution" >
-      <property name="geometry" >
-       <rect>
-        <x>20</x>
-        <y>120</y>
-        <width>151</width>
-        <height>22</height>
-       </rect>
-      </property>
-      <item>
-       <property name="text" >
-        <string>640x480</string>
-       </property>
-      </item>
-      <item>
-       <property name="text" >
-        <string>800x600</string>
-       </property>
-      </item>
-      <item>
-       <property name="text" >
-        <string>1024x768</string>
-       </property>
-      </item>
-      <item>
-       <property name="text" >
-        <string>1280x1024</string>
-       </property>
-      </item>
-     </widget>
-     <widget class="QCheckBox" name="CBEnableSound" >
-      <property name="geometry" >
-       <rect>
-        <x>20</x>
-        <y>180</y>
-        <width>101</width>
-        <height>18</height>
-       </rect>
-      </property>
-      <property name="text" >
-       <string>Enable sound</string>
-      </property>
-     </widget>
-     <widget class="QCheckBox" name="CBFullscreen" >
-      <property name="geometry" >
-       <rect>
-        <x>20</x>
-        <y>160</y>
-        <width>101</width>
-        <height>18</height>
-       </rect>
-      </property>
-      <property name="text" >
-       <string>Fullscreen</string>
-      </property>
-     </widget>
-     <widget class="QLabel" name="label" >
-      <property name="geometry" >
-       <rect>
-        <x>10</x>
-        <y>233</y>
-        <width>47</width>
-        <height>13</height>
-       </rect>
-      </property>
-      <property name="text" >
-       <string>Net nick</string>
-      </property>
-     </widget>
-     <widget class="QLineEdit" name="editNetNick" >
-      <property name="geometry" >
-       <rect>
-        <x>60</x>
-        <y>230</y>
-        <width>113</width>
-        <height>20</height>
-       </rect>
-      </property>
-      <property name="text" >
-       <string>unnamed</string>
-      </property>
-      <property name="maxLength" >
-       <number>30</number>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="BtnSaveOptions" >
-      <property name="geometry" >
-       <rect>
-        <x>20</x>
-        <y>380</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Save</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="BtnSetupBack" >
-      <property name="geometry" >
-       <rect>
-        <x>440</x>
-        <y>380</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Back</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-    </widget>
-    <widget class="QWidget" name="page" >
-     <widget class="QPushButton" name="BtnMPBack" >
-      <property name="geometry" >
-       <rect>
-        <x>240</x>
-        <y>340</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Back</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-     <widget class="QListWidget" name="listWidget" >
-      <property name="geometry" >
-       <rect>
-        <x>160</x>
-        <y>50</y>
-        <width>221</width>
-        <height>211</height>
-       </rect>
-      </property>
-      <property name="modelColumn" >
-       <number>0</number>
-      </property>
-     </widget>
-    </widget>
-    <widget class="QWidget" name="pagePDemo" >
-     <widget class="QPushButton" name="BtnPlayDemo" >
-      <property name="geometry" >
-       <rect>
-        <x>240</x>
-        <y>330</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Play demo</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-     <widget class="QListWidget" name="DemosList" >
-      <property name="geometry" >
-       <rect>
-        <x>170</x>
-        <y>10</y>
-        <width>311</width>
-        <height>311</height>
-       </rect>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="BtnDemosBack" >
-      <property name="geometry" >
-       <rect>
-        <x>240</x>
-        <y>380</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Back</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-    </widget>
-    <widget class="QWidget" name="pageNet" >
-     <widget class="QPushButton" name="BtnNetConnect" >
-      <property name="geometry" >
-       <rect>
-        <x>250</x>
-        <y>140</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Connect</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="BtnNetBack" >
-      <property name="geometry" >
-       <rect>
-        <x>250</x>
-        <y>390</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Back</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-    </widget>
-    <widget class="QWidget" name="pageNetChat" >
-     <widget class="QPushButton" name="BtnNetChatDisconnect" >
-      <property name="geometry" >
-       <rect>
-        <x>460</x>
-        <y>390</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Disconnect</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-     <widget class="QListWidget" name="ChannelsList" >
-      <property name="geometry" >
-       <rect>
-        <x>20</x>
-        <y>10</y>
-        <width>201</width>
-        <height>331</height>
-       </rect>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="BtnNetChatJoin" >
-      <property name="geometry" >
-       <rect>
-        <x>460</x>
-        <y>290</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Join</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="BtnNetChatCreate" >
-      <property name="geometry" >
-       <rect>
-        <x>460</x>
-        <y>340</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Create</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-    </widget>
-    <widget class="QWidget" name="pageNetGame" >
-     <widget class="QPushButton" name="BtnNetCFGBack" >
-      <property name="geometry" >
-       <rect>
-        <x>260</x>
-        <y>390</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Back</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="BtnNetCFGAddTeam" >
-      <property name="geometry" >
-       <rect>
-        <x>260</x>
-        <y>290</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Add Team</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="BtnNetCFGGo" >
-      <property name="geometry" >
-       <rect>
-        <x>260</x>
-        <y>340</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Go!</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-     <widget class="QListWidget" name="listNetTeams" >
-      <property name="geometry" >
-       <rect>
-        <x>270</x>
-        <y>30</y>
-        <width>120</width>
-        <height>80</height>
-       </rect>
-      </property>
-     </widget>
-    </widget>
-    <widget class="QWidget" name="pageMain" >
-     <widget class="QPushButton" name="BtnSinglePlayer" >
-      <property name="geometry" >
-       <rect>
-        <x>230</x>
-        <y>70</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Single Player</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="BtnMultiplayer" >
-      <property name="geometry" >
-       <rect>
-        <x>230</x>
-        <y>120</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Multiplayer</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="BtnSetup" >
-      <property name="geometry" >
-       <rect>
-        <x>230</x>
-        <y>220</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Setup</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="BtnExit" >
-      <property name="geometry" >
-       <rect>
-        <x>230</x>
-        <y>320</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Exit</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="BtnDemos" >
-      <property name="geometry" >
-       <rect>
-        <x>230</x>
-        <y>270</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Demos</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="BtnNet" >
-      <property name="geometry" >
-       <rect>
-        <x>230</x>
-        <y>170</y>
-        <width>161</width>
-        <height>41</height>
-       </rect>
-      </property>
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg</family>
-        <pointsize>14</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="text" >
-       <string>Net game</string>
-      </property>
-      <property name="checkable" >
-       <bool>false</bool>
-      </property>
-      <property name="checked" >
-       <bool>false</bool>
-      </property>
-     </widget>
-    </widget>
-   </widget>
-  </widget>
- </widget>
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections>
-  <connection>
-   <sender>BtnExit</sender>
-   <signal>clicked()</signal>
-   <receiver>HWForm</receiver>
-   <slot>close()</slot>
-   <hints>
-    <hint type="sourcelabel" >
-     <x>310</x>
-     <y>330</y>
-    </hint>
-    <hint type="destinationlabel" >
-     <x>319</x>
-     <y>224</y>
-    </hint>
-   </hints>
-  </connection>
- </connections>
-</ui>
--- a/hedgewars/CMakeLists.txt	Thu Aug 17 18:16:51 2006 +0000
+++ b/hedgewars/CMakeLists.txt	Fri Aug 18 14:17:25 2006 +0000
@@ -1,36 +1,36 @@
 set(dcc32_tryexe dcc32.exe)
-set(ppc386_tryexe ppc386)
+set(fpc_tryexe fpc)
 set(hwengine_project "hwengine.dpr")
 
 find_program(dcc32_executable ${dcc32_tryexe})
-find_program(ppc386_executable ${ppc386_tryexe})
+find_program(fpc_executable ${fpc_tryexe})
 
 if (dcc32_executable)
 	 exec_program(${dcc32_executable} ARGS "--version" OUTPUT_VARIABLE dcc32_output)
 endif (dcc32_executable)
 
-if (ppc386_executable)
-	 exec_program(${ppc386_executable} ARGS "-v" OUTPUT_VARIABLE ppc386_output)
-endif (ppc386_executable)
+if (fpc_executable)
+	 exec_program(${fpc_executable} ARGS "-h" OUTPUT_VARIABLE fpc_output)
+endif (fpc_executable)
 
 string(REGEX MATCH "[0-9]+\\.[0-9]+" dcc32version "${dcc32_output}")
 if (dcc32version)
 	set(pascal_compiler ${dcc32_executable})
 	set(pascal_compiler_flags "-B -W "${hwengine_project})
 else (dcc32version)
-	string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" ppc386_version "${ppc386_output}")
-	if (ppc386_version)
-		string(REGEX REPLACE "([0-9]+)\\.[0-9]+\\.[0-9]+" "\\1" ppc386_vers_major "${ppc386_version}")
-		string(REGEX REPLACE "[0-9]+\\.([0-9])+\\.[0-9]+" "\\1" ppc386_vers_minor "${ppc386_version}")
-		string(REGEX REPLACE "[0-9]+\\.[0-9]+\\.([0-9]+)" "\\1" ppc386_vers_patch "${ppc386_version}")
-		math(EXPR ppc386_ver "${ppc386_vers_major}*10000 + ${ppc386_vers_minor}*100 + ${ppc386_vers_patch}")
-		if (ppc386_ver LESS "010902")
+	string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" fpc_version "${fpc_output}")
+	if (fpc_version)
+		string(REGEX REPLACE "([0-9]+)\\.[0-9]+\\.[0-9]+" "\\1" fpc_vers_major "${fpc_version}")
+		string(REGEX REPLACE "[0-9]+\\.([0-9])+\\.[0-9]+" "\\1" fpc_vers_minor "${fpc_version}")
+		string(REGEX REPLACE "[0-9]+\\.[0-9]+\\.([0-9]+)" "\\1" fpc_vers_patch "${fpc_version}")
+		math(EXPR fpc_ver "${fpc_vers_major}*10000 + ${fpc_vers_minor}*100 + ${fpc_vers_patch}")
+		if (fpc_ver LESS "010902")
 			message("Minimum required version of FreePascal is 1.9.2")
-		else (ppc386_ver LESS "010902")
-			set(pascal_compiler ${ppc386_executable})
-			set(pascal_compiler_flags "-B -Sd -Xs -OG -O3 -Cs2000000 "${hwengine_project})
-		endif (ppc386_ver LESS "010902")
-	endif (ppc386_version)
+		else (fpc_ver LESS "010902")
+			set(pascal_compiler ${fpc_executable})
+			set(pascal_compiler_flags "-B" "-Sd" "-Xs" "-OG" "-O2" "-Cs2000000" ${hwengine_project})
+		endif (fpc_ver LESS "010902")
+	endif (fpc_version)
 endif (dcc32version)
 
 if (NOT pascal_compiler)