--- a/QTfrontend/hedgewars.pro Sat Oct 17 09:54:26 2009 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-TEMPLATE = app
-TARGET = hedgewars
-DEPENDPATH += .
-INCLUDEPATH += .
-DESTDIR = ../bin
-
-win32 {
- RC_FILE = ./res/hedgewars.rc
-}
-
-QT += network svg xml
-
-HEADERS += KB.h SDLs.h SquareLabel.h \
- about.h ammoSchemeModel.h \
- bgwidget.h binds.h \
- chatwidget.h \
- fpsedit.h frameTeam.h \
- game.h gamecfgwidget.h gameuiconfig.h \
- hats.h hedgehogerWidget.h hwconsts.h hwform.h hwmap.h \
- igbox.h input_ip.h itemNum.h \
- mapContainer.h misc.h \
- namegen.h netregister.h netserver.h netserverslist.h \
- netudpserver.h netudpwidget.h newnetclient.h \
- pages.h playrecordpage.h predefteams.h proto.h \
- sdlkeys.h selectWeapon.h statsPage.h \
- tcpBase.h team.h teamselect.h teamselhelper.h togglebutton.h \
- ui_hwform.h \
- vertScrollArea.h \
- weaponItem.h
-
-
-SOURCES += SDLs.cpp SquareLabel.cpp \
- about.cpp ammoSchemeModel.cpp \
- bgwidget.cpp binds.cpp \
- chatwidget.cpp \
- fpsedit.cpp frameTeam.cpp \
- game.cpp gamecfgwidget.cpp gameuiconfig.cpp \
- hats.cpp hedgehogerWidget.cpp hwconsts.cpp hwform.cpp hwmap.cpp \
- igbox.cpp input_ip.cpp itemNum.cpp \
- main.cpp mapContainer.cpp misc.cpp \
- namegen.cpp netregister.cpp netserver.cpp netserverslist.cpp \
- netudpserver.cpp netudpwidget.cpp newnetclient.cpp \
- pages.cpp playrecordpage.cpp proto.cpp \
- selectWeapon.cpp statsPage.cpp \
- tcpBase.cpp team.cpp teamselect.cpp teamselhelper.cpp togglebutton.cpp \
- ui_hwform.cpp \
- vertScrollArea.cpp \
- weaponItem.cpp
-
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ja.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts
-TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
-
-RESOURCES += hedgewars.qrc
-
-!macx{
- LIBS += -lSDL -lopenalbridge
-}else{
- LIBS += -framework SDL -framework OpenAL -framework Ogg -framework Vorbis -lopenalbridge
- INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers
- CONFIG += warn_on x86
-
- #-framework Sparkle
- #SOURCES += AutoUpdater.cpp CocoaInitializer.mm SparkleAutoUpdater.mm
- #HEADERS += AutoUpdater.h CocoaInitializer.h SparkleAutoUpdater.h
-
- #CONFIG += x86 ppc x86_64 ppc64
-}
Binary file QTfrontend/res/Hedgehog.png has changed
--- a/QTfrontend/teamselect.cpp Sat Oct 17 09:54:26 2009 +0000
+++ b/QTfrontend/teamselect.cpp Sat Oct 17 13:11:07 2009 +0000
@@ -24,7 +24,7 @@
#include <QFrame>
#include <QDebug>
-#include <vertScrollArea.h>
+#include "vertScrollArea.h"
#include "teamselect.h"
#include "teamselhelper.h"
#include "frameTeam.h"
--- a/hedgewars.kdevelop Sat Oct 17 09:54:26 2009 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,243 +0,0 @@
-<?xml version = '1.0'?>
-<kdevelop>
- <general>
- <author>Igor Ulyanov</author>
- <email>disinbox@gmail.com</email>
- <version>1</version>
- <projectmanagement>KDevCustomProject</projectmanagement>
- <primarylanguage>C++</primarylanguage>
- <ignoreparts>
- <part>kdevfilegroups</part>
- <part>kdevdoxygen</part>
- <part>kdevregexptest</part>
- <part>kdevabbrev</part>
- <part>kdevdistpart</part>
- <part>kdevscripting</part>
- <part>kdevfilter</part>
- <part>kdevastyle</part>
- </ignoreparts>
- <projectname>hedgewars</projectname>
- <projectdirectory>.</projectdirectory>
- <absoluteprojectpath>false</absoluteprojectpath>
- <description/>
- <versioncontrol>kdevsubversion</versioncontrol>
- <defaultencoding/>
- </general>
- <kdevcustomproject>
- <run>
- <directoryradio>executable</directoryradio>
- <customdirectory>/</customdirectory>
- <mainprogram>bin/hedgewars</mainprogram>
- <programargs>-style plastique</programargs>
- <terminal>false</terminal>
- <autocompile>true</autocompile>
- <envvars/>
- <globaldebugarguments/>
- <globalcwd>/usr/home/unC0Rr/Sources/Hedgewars/Hedgewars-FF/trunk</globalcwd>
- <useglobalprogram>false</useglobalprogram>
- <autoinstall>false</autoinstall>
- <autokdesu>false</autokdesu>
- </run>
- <filetypes>
- <filetype>*.h</filetype>
- <filetype>*.c</filetype>
- <filetype>*.cc</filetype>
- <filetype>*.cpp</filetype>
- <filetype>*.c++</filetype>
- <filetype>CMakeLists.txt</filetype>
- <filetype>*.pas</filetype>
- <filetype>*.inc</filetype>
- <filetype>*.dpr</filetype>
- <filetype>*.hs</filetype>
- <filetype>*.pro</filetype>
- <filetype>Find*.cmake</filetype>
- <filetype>*.cfg</filetype>
- </filetypes>
- <blacklist/>
- <general>
- <activedir/>
- </general>
- <build>
- <buildtool>make</buildtool>
- <builddir/>
- </build>
- <make>
- <abortonerror>true</abortonerror>
- <numberofjobs>4</numberofjobs>
- <prio>0</prio>
- <dontact>false</dontact>
- <makebin/>
- <defaulttarget/>
- <makeoptions/>
- <selectedenvironment>default</selectedenvironment>
- <environments>
- <default/>
- </environments>
- </make>
- <other>
- <prio>0</prio>
- <otherbin/>
- <defaulttarget/>
- <otheroptions/>
- <selectedenvironment>default</selectedenvironment>
- <environments>
- <default/>
- </environments>
- </other>
- </kdevcustomproject>
- <kdevdebugger>
- <general>
- <dbgshell/>
- <programargs/>
- <gdbpath/>
- <configGdbScript/>
- <runShellScript/>
- <runGdbScript/>
- <breakonloadinglibs>true</breakonloadinglibs>
- <separatetty>false</separatetty>
- <floatingtoolbar>false</floatingtoolbar>
- <raiseGDBOnStart>false</raiseGDBOnStart>
- </general>
- <display>
- <staticmembers>false</staticmembers>
- <demanglenames>true</demanglenames>
- <outputradix>10</outputradix>
- </display>
- </kdevdebugger>
- <kdevdoctreeview>
- <ignoretocs>
- <toc>ada</toc>
- <toc>ada_bugs_gcc</toc>
- <toc>bash</toc>
- <toc>bash_bugs</toc>
- <toc>clanlib</toc>
- <toc>fortran_bugs_gcc</toc>
- <toc>gnome1</toc>
- <toc>gnustep</toc>
- <toc>gtk</toc>
- <toc>gtk_bugs</toc>
- <toc>haskell</toc>
- <toc>haskell_bugs_ghc</toc>
- <toc>java_bugs_gcc</toc>
- <toc>java_bugs_sun</toc>
- <toc>kde2book</toc>
- <toc>opengl</toc>
- <toc>pascal_bugs_fp</toc>
- <toc>php</toc>
- <toc>php_bugs</toc>
- <toc>perl</toc>
- <toc>perl_bugs</toc>
- <toc>python</toc>
- <toc>python_bugs</toc>
- <toc>qt-kdev3</toc>
- <toc>ruby</toc>
- <toc>ruby_bugs</toc>
- <toc>sdl</toc>
- <toc>sw</toc>
- <toc>w3c-dom-level2-html</toc>
- <toc>w3c-svg</toc>
- <toc>w3c-uaag10</toc>
- <toc>wxwidgets_bugs</toc>
- </ignoretocs>
- <ignoreqt_xml>
- <toc>Guide to the Qt Translation Tools</toc>
- <toc>Qt Assistant Manual</toc>
- <toc>Qt Designer Manual</toc>
- <toc>Qt Reference Documentation</toc>
- <toc>qmake User Guide</toc>
- </ignoreqt_xml>
- <ignoredoxygen>
- <toc>KDE Libraries (Doxygen)</toc>
- </ignoredoxygen>
- </kdevdoctreeview>
- <kdevfilecreate>
- <filetypes/>
- <useglobaltypes>
- <type ext="ui" />
- <type ext="cpp" />
- <type ext="h" />
- </useglobaltypes>
- </kdevfilecreate>
- <kdevcppsupport>
- <qt>
- <used>true</used>
- <version>4</version>
- <includestyle>4</includestyle>
- <root>/usr/qt/3</root>
- <designerintegration>EmbeddedKDevDesigner</designerintegration>
- <qmake>/usr/local/bin/qmake-qt4</qmake>
- <designer>/usr/local/bin/designer-qt4</designer>
- <designerpluginpaths/>
- </qt>
- <references/>
- <codecompletion>
- <automaticCodeCompletion>true</automaticCodeCompletion>
- <automaticArgumentsHint>true</automaticArgumentsHint>
- <automaticHeaderCompletion>true</automaticHeaderCompletion>
- <codeCompletionDelay>250</codeCompletionDelay>
- <argumentsHintDelay>400</argumentsHintDelay>
- <headerCompletionDelay>250</headerCompletionDelay>
- <showOnlyAccessibleItems>false</showOnlyAccessibleItems>
- <completionBoxItemOrder>0</completionBoxItemOrder>
- <howEvaluationContextMenu>true</howEvaluationContextMenu>
- <showCommentWithArgumentHint>true</showCommentWithArgumentHint>
- <statusBarTypeEvaluation>false</statusBarTypeEvaluation>
- <namespaceAliases>std=_GLIBCXX_STD;__gnu_cxx=std</namespaceAliases>
- <processPrimaryTypes>true</processPrimaryTypes>
- <processFunctionArguments>false</processFunctionArguments>
- <preProcessAllHeaders>false</preProcessAllHeaders>
- <parseMissingHeadersExperimental>false</parseMissingHeadersExperimental>
- <resolveIncludePathsUsingMakeExperimental>false</resolveIncludePathsUsingMakeExperimental>
- <alwaysParseInBackground>true</alwaysParseInBackground>
- <usePermanentCaching>true</usePermanentCaching>
- <alwaysIncludeNamespaces>false</alwaysIncludeNamespaces>
- <includePaths>.;</includePaths>
- <includeGlobalFunctions>true</includeGlobalFunctions>
- <includeTypes>true</includeTypes>
- <includeEnums>true</includeEnums>
- <includeTypedefs>false</includeTypedefs>
- </codecompletion>
- <creategettersetter>
- <prefixGet/>
- <prefixSet>set</prefixSet>
- <prefixVariable>m_,_</prefixVariable>
- <parameterName>theValue</parameterName>
- <inlineGet>true</inlineGet>
- <inlineSet>true</inlineSet>
- </creategettersetter>
- <splitheadersource>
- <enabled>false</enabled>
- <synchronize>true</synchronize>
- <orientation>Vertical</orientation>
- </splitheadersource>
- </kdevcppsupport>
- <kdevfileview>
- <groups>
- <hidenonprojectfiles>false</hidenonprojectfiles>
- <hidenonlocation>false</hidenonlocation>
- </groups>
- <tree>
- <hidepatterns></hidepatterns>
- <hidenonprojectfiles>true</hidenonprojectfiles>
- <showvcsfields>false</showvcsfields>
- </tree>
- </kdevfileview>
- <cppsupportpart>
- <filetemplates>
- <interfacesuffix>.h</interfacesuffix>
- <implementationsuffix>.cpp</implementationsuffix>
- </filetemplates>
- </cppsupportpart>
- <kdevdocumentation>
- <projectdoc>
- <docsystem/>
- <docurl/>
- <usermanualurl/>
- </projectdoc>
- </kdevdocumentation>
- <ctagspart>
- <customArguments/>
- <customTagfilePath>/usr/home/unC0Rr/Sources/Hedgewars/Hedgewars-GNA/tags</customTagfilePath>
- <activeTagsFiles/>
- </ctagspart>
-</kdevelop>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/project_files/hedgewars.kdevelop Sat Oct 17 13:11:07 2009 +0000
@@ -0,0 +1,243 @@
+<?xml version = '1.0'?>
+<kdevelop>
+ <general>
+ <author>Igor Ulyanov</author>
+ <email>disinbox@gmail.com</email>
+ <version>1</version>
+ <projectmanagement>KDevCustomProject</projectmanagement>
+ <primarylanguage>C++</primarylanguage>
+ <ignoreparts>
+ <part>kdevfilegroups</part>
+ <part>kdevdoxygen</part>
+ <part>kdevregexptest</part>
+ <part>kdevabbrev</part>
+ <part>kdevdistpart</part>
+ <part>kdevscripting</part>
+ <part>kdevfilter</part>
+ <part>kdevastyle</part>
+ </ignoreparts>
+ <projectname>hedgewars</projectname>
+ <projectdirectory>.</projectdirectory>
+ <absoluteprojectpath>false</absoluteprojectpath>
+ <description/>
+ <versioncontrol>kdevsubversion</versioncontrol>
+ <defaultencoding/>
+ </general>
+ <kdevcustomproject>
+ <run>
+ <directoryradio>executable</directoryradio>
+ <customdirectory>/</customdirectory>
+ <mainprogram>bin/hedgewars</mainprogram>
+ <programargs>-style plastique</programargs>
+ <terminal>false</terminal>
+ <autocompile>true</autocompile>
+ <envvars/>
+ <globaldebugarguments/>
+ <globalcwd>/usr/home/unC0Rr/Sources/Hedgewars/Hedgewars-FF/trunk</globalcwd>
+ <useglobalprogram>false</useglobalprogram>
+ <autoinstall>false</autoinstall>
+ <autokdesu>false</autokdesu>
+ </run>
+ <filetypes>
+ <filetype>*.h</filetype>
+ <filetype>*.c</filetype>
+ <filetype>*.cc</filetype>
+ <filetype>*.cpp</filetype>
+ <filetype>*.c++</filetype>
+ <filetype>CMakeLists.txt</filetype>
+ <filetype>*.pas</filetype>
+ <filetype>*.inc</filetype>
+ <filetype>*.dpr</filetype>
+ <filetype>*.hs</filetype>
+ <filetype>*.pro</filetype>
+ <filetype>Find*.cmake</filetype>
+ <filetype>*.cfg</filetype>
+ </filetypes>
+ <blacklist/>
+ <general>
+ <activedir/>
+ </general>
+ <build>
+ <buildtool>make</buildtool>
+ <builddir/>
+ </build>
+ <make>
+ <abortonerror>true</abortonerror>
+ <numberofjobs>4</numberofjobs>
+ <prio>0</prio>
+ <dontact>false</dontact>
+ <makebin/>
+ <defaulttarget/>
+ <makeoptions/>
+ <selectedenvironment>default</selectedenvironment>
+ <environments>
+ <default/>
+ </environments>
+ </make>
+ <other>
+ <prio>0</prio>
+ <otherbin/>
+ <defaulttarget/>
+ <otheroptions/>
+ <selectedenvironment>default</selectedenvironment>
+ <environments>
+ <default/>
+ </environments>
+ </other>
+ </kdevcustomproject>
+ <kdevdebugger>
+ <general>
+ <dbgshell/>
+ <programargs/>
+ <gdbpath/>
+ <configGdbScript/>
+ <runShellScript/>
+ <runGdbScript/>
+ <breakonloadinglibs>true</breakonloadinglibs>
+ <separatetty>false</separatetty>
+ <floatingtoolbar>false</floatingtoolbar>
+ <raiseGDBOnStart>false</raiseGDBOnStart>
+ </general>
+ <display>
+ <staticmembers>false</staticmembers>
+ <demanglenames>true</demanglenames>
+ <outputradix>10</outputradix>
+ </display>
+ </kdevdebugger>
+ <kdevdoctreeview>
+ <ignoretocs>
+ <toc>ada</toc>
+ <toc>ada_bugs_gcc</toc>
+ <toc>bash</toc>
+ <toc>bash_bugs</toc>
+ <toc>clanlib</toc>
+ <toc>fortran_bugs_gcc</toc>
+ <toc>gnome1</toc>
+ <toc>gnustep</toc>
+ <toc>gtk</toc>
+ <toc>gtk_bugs</toc>
+ <toc>haskell</toc>
+ <toc>haskell_bugs_ghc</toc>
+ <toc>java_bugs_gcc</toc>
+ <toc>java_bugs_sun</toc>
+ <toc>kde2book</toc>
+ <toc>opengl</toc>
+ <toc>pascal_bugs_fp</toc>
+ <toc>php</toc>
+ <toc>php_bugs</toc>
+ <toc>perl</toc>
+ <toc>perl_bugs</toc>
+ <toc>python</toc>
+ <toc>python_bugs</toc>
+ <toc>qt-kdev3</toc>
+ <toc>ruby</toc>
+ <toc>ruby_bugs</toc>
+ <toc>sdl</toc>
+ <toc>sw</toc>
+ <toc>w3c-dom-level2-html</toc>
+ <toc>w3c-svg</toc>
+ <toc>w3c-uaag10</toc>
+ <toc>wxwidgets_bugs</toc>
+ </ignoretocs>
+ <ignoreqt_xml>
+ <toc>Guide to the Qt Translation Tools</toc>
+ <toc>Qt Assistant Manual</toc>
+ <toc>Qt Designer Manual</toc>
+ <toc>Qt Reference Documentation</toc>
+ <toc>qmake User Guide</toc>
+ </ignoreqt_xml>
+ <ignoredoxygen>
+ <toc>KDE Libraries (Doxygen)</toc>
+ </ignoredoxygen>
+ </kdevdoctreeview>
+ <kdevfilecreate>
+ <filetypes/>
+ <useglobaltypes>
+ <type ext="ui" />
+ <type ext="cpp" />
+ <type ext="h" />
+ </useglobaltypes>
+ </kdevfilecreate>
+ <kdevcppsupport>
+ <qt>
+ <used>true</used>
+ <version>4</version>
+ <includestyle>4</includestyle>
+ <root>/usr/qt/3</root>
+ <designerintegration>EmbeddedKDevDesigner</designerintegration>
+ <qmake>/usr/local/bin/qmake-qt4</qmake>
+ <designer>/usr/local/bin/designer-qt4</designer>
+ <designerpluginpaths/>
+ </qt>
+ <references/>
+ <codecompletion>
+ <automaticCodeCompletion>true</automaticCodeCompletion>
+ <automaticArgumentsHint>true</automaticArgumentsHint>
+ <automaticHeaderCompletion>true</automaticHeaderCompletion>
+ <codeCompletionDelay>250</codeCompletionDelay>
+ <argumentsHintDelay>400</argumentsHintDelay>
+ <headerCompletionDelay>250</headerCompletionDelay>
+ <showOnlyAccessibleItems>false</showOnlyAccessibleItems>
+ <completionBoxItemOrder>0</completionBoxItemOrder>
+ <howEvaluationContextMenu>true</howEvaluationContextMenu>
+ <showCommentWithArgumentHint>true</showCommentWithArgumentHint>
+ <statusBarTypeEvaluation>false</statusBarTypeEvaluation>
+ <namespaceAliases>std=_GLIBCXX_STD;__gnu_cxx=std</namespaceAliases>
+ <processPrimaryTypes>true</processPrimaryTypes>
+ <processFunctionArguments>false</processFunctionArguments>
+ <preProcessAllHeaders>false</preProcessAllHeaders>
+ <parseMissingHeadersExperimental>false</parseMissingHeadersExperimental>
+ <resolveIncludePathsUsingMakeExperimental>false</resolveIncludePathsUsingMakeExperimental>
+ <alwaysParseInBackground>true</alwaysParseInBackground>
+ <usePermanentCaching>true</usePermanentCaching>
+ <alwaysIncludeNamespaces>false</alwaysIncludeNamespaces>
+ <includePaths>.;</includePaths>
+ <includeGlobalFunctions>true</includeGlobalFunctions>
+ <includeTypes>true</includeTypes>
+ <includeEnums>true</includeEnums>
+ <includeTypedefs>false</includeTypedefs>
+ </codecompletion>
+ <creategettersetter>
+ <prefixGet/>
+ <prefixSet>set</prefixSet>
+ <prefixVariable>m_,_</prefixVariable>
+ <parameterName>theValue</parameterName>
+ <inlineGet>true</inlineGet>
+ <inlineSet>true</inlineSet>
+ </creategettersetter>
+ <splitheadersource>
+ <enabled>false</enabled>
+ <synchronize>true</synchronize>
+ <orientation>Vertical</orientation>
+ </splitheadersource>
+ </kdevcppsupport>
+ <kdevfileview>
+ <groups>
+ <hidenonprojectfiles>false</hidenonprojectfiles>
+ <hidenonlocation>false</hidenonlocation>
+ </groups>
+ <tree>
+ <hidepatterns></hidepatterns>
+ <hidenonprojectfiles>true</hidenonprojectfiles>
+ <showvcsfields>false</showvcsfields>
+ </tree>
+ </kdevfileview>
+ <cppsupportpart>
+ <filetemplates>
+ <interfacesuffix>.h</interfacesuffix>
+ <implementationsuffix>.cpp</implementationsuffix>
+ </filetemplates>
+ </cppsupportpart>
+ <kdevdocumentation>
+ <projectdoc>
+ <docsystem/>
+ <docurl/>
+ <usermanualurl/>
+ </projectdoc>
+ </kdevdocumentation>
+ <ctagspart>
+ <customArguments/>
+ <customTagfilePath>/usr/home/unC0Rr/Sources/Hedgewars/Hedgewars-GNA/tags</customTagfilePath>
+ <activeTagsFiles/>
+ </ctagspart>
+</kdevelop>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/project_files/hedgewars.pro Sat Oct 17 13:11:07 2009 +0000
@@ -0,0 +1,32 @@
+TEMPLATE = app
+TARGET = hedgewars
+DEPENDPATH += ../QTfrontend/
+INCLUDEPATH += ../QTfrontend/
+DESTDIR = .
+
+win32 {
+ RC_FILE = ../QTfrontend/res/hedgewars.rc
+}
+
+QT += network svg xml
+
+HEADERS += ../QTfrontend/*.h
+SOURCES += ../QTfrontend/*.cpp
+TRANSLATIONS += ../share/hedgewars/Data/Locale/*.ts
+RESOURCES += ../QTfrontend/hedgewars.qrc
+
+!macx {
+ LIBS += -lSDL -lSDL_Mixer
+} else {
+ QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
+ QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
+
+ OBJECTIVE_SOURCES= ../QTfrontend/*.m ../QTfrontend/*.mm
+
+ LIBS += -framework IOKit -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED
+ INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers
+ CONFIG += warn_on x86
+
+ hedgewars.commands = echo "REMEMBER TO INSERT hwconst.cpp IN SOURCE DIRECTORY"
+ #CONFIG += x86 ppc x86_64 ppc64
+}
--- a/tools/CreateMacBundle.cmake.in Sat Oct 17 09:54:26 2009 +0000
+++ b/tools/CreateMacBundle.cmake.in Sat Oct 17 13:11:07 2009 +0000
@@ -6,6 +6,7 @@
execute_process(COMMAND cp -pPR ${SDLIMAGE_LIBRARY} ${CMAKE_BINARY_DIR}/${frameworks_dir}/SDL_image.framework)
execute_process(COMMAND cp -pPR ${SDLNET_LIBRARY} ${CMAKE_BINARY_DIR}/${frameworks_dir}/SDL_net.framework)
execute_process(COMMAND cp -pPR ${SDLTTF_LIBRARY} ${CMAKE_BINARY_DIR}/${frameworks_dir}/SDL_ttf.framework)
+execute_process(COMMAND cp -pPR ${SDLMIXER_LIBRARY} ${CMAKE_BINARY_DIR}/${frameworks_dir}/SDL_mixer.framework)
execute_process(COMMAND cp -pPR ${OGG_LIBRARY} ${CMAKE_BINARY_DIR}/${frameworks_dir}/Ogg.framework)
execute_process(COMMAND cp -pPR ${VORBIS_LIBRARY} ${CMAKE_BINARY_DIR}/${frameworks_dir}/Vorbis.framework)