Files
assaultcube-/source/codeblocks/AssaultCube.cbp
T
ac-stef 7988443b1d partial autodownload rewrite
* own source file for autodownload
* use cleaned up zip functions
* use new http get function (no more curl)
* enforce strict file naming rules and file size limits
* ping all package servers on every game start to determine ping times
* support media file update lists (also kept on package servers)
* allow users to manually prioritise package servers
* automatically select server with newest media file revision

new or changed commands:

addpckserver hostname [priority]
  Adds a host name to the list of package servers. If a priority is given,
  it influences the sorting of servers. Servers with higher priority are
  queried first. If servers have the same priority, they are sorted by
  ping. Default priority is zero.

getpackageserver
  Returns a table with four columns of all configured package servers. The
  columns are: host name, priority, ping and resolved.
  "resolved" is a flag, indicating, if the server answered the ping during
  game start.

removed cubescript idents: sortpckservers gamestarts
DOCREF addpckserver getpckserver
2015-09-07 14:53:56 +02:00

580 lines
17 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="AssaultCube" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<MakeCommands>
<Build command="cd ../src;$make -f $makefile $target" />
<CompileFile command="$make -f $makefile $file" />
<Clean command="cd ../src;$make -f $makefile clean" />
<DistClean command="$make -f $makefile distclean$target" />
<AskRebuildNeeded command="$make -q -f $makefile $target" />
<SilentBuild command="$make -s -f $makefile $target" />
</MakeCommands>
<Build>
<Target title="default">
<Option output="../../bin_win32/ac_client.exe" prefix_auto="0" extension_auto="0" />
<Option working_dir="../../" />
<Option object_output=".objs/default" />
<Option type="1" />
<Option compiler="gcc" />
<Option projectResourceIncludeDirsRelation="1" />
<Compiler>
<Add option="-fomit-frame-pointer" />
<Add option="-O3" />
<Add option="-Wall" />
<Add option="-fsigned-char" />
<Add option="-Wno-format-zero-length" />
</Compiler>
<ResourceCompiler>
<Add directory="../vcpp" />
</ResourceCompiler>
<Linker>
<Add option="-mwindows" />
<Add library="..\lib\curl_mingw\libcurl.a" />
<Add library="SDL" />
<Add library="SDL_image" />
<Add library="zdll" />
<Add library="opengl32" />
<Add library="enet" />
<Add library="OpenAL32" />
<Add library="..\lib\libvorbisfile.lib" />
<Add library="jpeg" />
<Add library="wldap32" />
<Add library="ws2_32" />
<Add library="winmm" />
<Add library="..\lib\curl_mingw\libidn.a" />
<Add library="..\lib\curl_mingw\librtmp.a" />
<Add library="..\lib\curl_mingw\libssl.a" />
<Add library="..\lib\curl_mingw\libssh2.a" />
<Add library="..\lib\curl_mingw\libcrypto.a" />
<Add directory="../lib" />
</Linker>
</Target>
<Target title="debug">
<Option output="../../bin_win32/ac_client.exe" prefix_auto="0" extension_auto="0" />
<Option working_dir="../../" />
<Option object_output=".objs/debug" />
<Option type="1" />
<Option compiler="gcc" />
<Option parameters="-t" />
<Option projectResourceIncludeDirsRelation="1" />
<Compiler>
<Add option="-Wall" />
<Add option="-g" />
<Add option="-O0" />
<Add option="-fsigned-char" />
<Add option="-Wno-format-zero-length" />
<Add option="-D_DEBUG" />
</Compiler>
<ResourceCompiler>
<Add directory="../vcpp" />
</ResourceCompiler>
<Linker>
<Add library="..\lib\curl_mingw\libcurl.a" />
<Add library="SDL" />
<Add library="SDL_image" />
<Add library="zdll" />
<Add library="opengl32" />
<Add library="enet" />
<Add library="OpenAL32" />
<Add library="..\lib\libvorbisfile.lib" />
<Add library="jpeg" />
<Add library="wldap32" />
<Add library="ws2_32" />
<Add library="winmm" />
<Add library="..\lib\curl_mingw\libidn.a" />
<Add library="..\lib\curl_mingw\librtmp.a" />
<Add library="..\lib\curl_mingw\libssl.a" />
<Add library="..\lib\curl_mingw\libssh2.a" />
<Add library="..\lib\curl_mingw\libcrypto.a" />
<Add library="gdi32" />
<Add directory="../lib" />
</Linker>
</Target>
<Target title="server">
<Option output="../../bin_win32/ac_server.exe" prefix_auto="0" extension_auto="0" />
<Option working_dir="../../" />
<Option object_output=".objs/server" />
<Option type="1" />
<Option compiler="gcc" />
<Option projectResourceIncludeDirsRelation="1" />
<Compiler>
<Add option="-fomit-frame-pointer" />
<Add option="-O3" />
<Add option="-Wall" />
<Add option="-fsigned-char" />
<Add option="-Wno-format-zero-length" />
<Add option="-DSTANDALONE" />
</Compiler>
<ResourceCompiler>
<Add directory="../vcpp" />
</ResourceCompiler>
<Linker>
<Add library="SDL" />
<Add library="zdll" />
<Add library="enet" />
<Add library="ws2_32" />
<Add library="winmm" />
<Add directory="../lib" />
</Linker>
</Target>
<Target title="server-debug">
<Option output="../../bin_win32/ac_server.exe" prefix_auto="0" extension_auto="0" />
<Option working_dir="../../" />
<Option object_output=".objs/server-debug" />
<Option type="1" />
<Option compiler="gcc" />
<Option parameters="-mlocalhost" />
<Option projectResourceIncludeDirsRelation="1" />
<Compiler>
<Add option="-Wall" />
<Add option="-g" />
<Add option="-O0" />
<Add option="-fsigned-char" />
<Add option="-Wno-format-zero-length" />
<Add option="-D_DEBUG" />
<Add option="-DSTANDALONE" />
</Compiler>
<ResourceCompiler>
<Add directory="../vcpp" />
</ResourceCompiler>
<Linker>
<Add library="SDL" />
<Add library="zdll" />
<Add library="enet" />
<Add library="ws2_32" />
<Add library="winmm" />
<Add directory="../lib" />
</Linker>
</Target>
<Target title="master">
<Option output="../../bin_win32/ac_master.exe" prefix_auto="0" extension_auto="0" />
<Option working_dir="../../" />
<Option object_output=".objs/master" />
<Option type="1" />
<Option compiler="gcc" />
<Option projectResourceIncludeDirsRelation="1" />
<Compiler>
<Add option="-fomit-frame-pointer" />
<Add option="-O3" />
<Add option="-Wall" />
<Add option="-fsigned-char" />
<Add option="-Wno-format-zero-length" />
<Add option="-DSTANDALONE" />
</Compiler>
<ResourceCompiler>
<Add directory="../vcpp" />
</ResourceCompiler>
<Linker>
<Add library="zdll" />
<Add library="enet" />
<Add library="ws2_32" />
<Add library="winmm" />
<Add directory="../lib" />
</Linker>
</Target>
</Build>
<VirtualTargets>
<Add alias="All" targets="default;server;" />
</VirtualTargets>
<Compiler>
<Add directory="../enet/include" />
<Add directory="../include" />
<Add directory="../src" />
</Compiler>
<Unit filename="../src/audiomanager.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/bot/ac_bot.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/bot/ac_bot.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/bot/ac_bot_ai.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/bot/bot.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/bot/bot.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/bot/bot_ai.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/bot/bot_util.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/bot/bot_util.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/bot/bot_waypoint.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/bot/bot_waypoint.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/bot/botmanager.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/client.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/clientgame.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/clients2c.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/command.cpp">
<Option target="default" />
<Option target="debug" />
<Option target="master" />
</Unit>
<Unit filename="../src/command.h">
<Option target="default" />
<Option target="debug" />
<Option target="master" />
</Unit>
<Unit filename="../src/console.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/console.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/crypto.cpp" />
<Unit filename="../src/crypto_tools.h" />
<Unit filename="../src/cube.h">
<Option compile="1" />
<Option weight="0" />
<Option target="default" />
</Unit>
<Unit filename="../src/docs.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/editing.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/entities.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/entity.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/geom.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/hudgun.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/jpegenc.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/log.cpp">
<Option target="default" />
<Option target="debug" />
<Option target="server" />
<Option target="server-debug" />
</Unit>
<Unit filename="../src/main.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/master.cpp">
<Option target="master" />
</Unit>
<Unit filename="../src/md2.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/md3.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/menus.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/model.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/modelcache.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/oggstream.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/openal.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/packetqueue.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/physics.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/platform.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/protocol.cpp">
<Option target="default" />
<Option target="debug" />
<Option target="server" />
<Option target="server-debug" />
</Unit>
<Unit filename="../src/protocol.h">
<Option target="default" />
<Option target="debug" />
<Option target="server" />
<Option target="server-debug" />
</Unit>
<Unit filename="../src/protos.h">
<Option target="default" />
<Option target="debug" />
<Option target="server" />
<Option target="server-debug" />
</Unit>
<Unit filename="../src/rendercubes.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/rendergl.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/renderhud.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/rendermodel.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/renderparticles.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/rendertext.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/rndmap.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/scale.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/scoreboard.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/server.cpp">
<Option target="default" />
<Option target="debug" />
<Option target="server" />
<Option target="server-debug" />
</Unit>
<Unit filename="../src/server.h">
<Option target="default" />
<Option target="debug" />
<Option target="server" />
<Option target="server-debug" />
</Unit>
<Unit filename="../src/serveractions.h">
<Option target="default" />
<Option target="debug" />
<Option target="server" />
<Option target="server-debug" />
</Unit>
<Unit filename="../src/serverbrowser.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/http.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/autodownload.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/serverchecks.h">
<Option target="default" />
<Option target="debug" />
<Option target="server" />
<Option target="server-debug" />
</Unit>
<Unit filename="../src/servercontroller.h">
<Option target="default" />
<Option target="debug" />
<Option target="server" />
<Option target="server-debug" />
</Unit>
<Unit filename="../src/serverevents.h">
<Option target="default" />
<Option target="debug" />
<Option target="server" />
<Option target="server-debug" />
</Unit>
<Unit filename="../src/serverfiles.h">
<Option target="default" />
<Option target="debug" />
<Option target="server" />
<Option target="server-debug" />
</Unit>
<Unit filename="../src/serverms.cpp">
<Option target="default" />
<Option target="debug" />
<Option target="server" />
<Option target="server-debug" />
</Unit>
<Unit filename="../src/shadow.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/sound.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/soundlocation.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/soundscheduler.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/stream.cpp" />
<Unit filename="../src/texture.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/tools.cpp">
<Option target="default" />
<Option target="debug" />
<Option target="server" />
<Option target="server-debug" />
</Unit>
<Unit filename="../src/tools.h">
<Option target="default" />
<Option target="debug" />
<Option target="server" />
<Option target="server-debug" />
</Unit>
<Unit filename="../src/tristrip.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/varray.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/vertmodel.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/vote.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/water.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/weapon.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/weapon.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/winserviceinstaller.h">
<Option target="default" />
<Option target="debug" />
<Option target="server" />
<Option target="server-debug" />
</Unit>
<Unit filename="../src/wizard.cpp">
<Option target="default" />
<Option target="debug" />
<Option target="server" />
<Option target="server-debug" />
</Unit>
<Unit filename="../src/world.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/world.h">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/worldio.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/worldlight.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/worldocull.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/worldrender.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../src/zip.cpp">
<Option target="default" />
<Option target="debug" />
</Unit>
<Unit filename="../vcpp/cube.rc">
<Option compilerVar="WINDRES" />
</Unit>
<Extensions>
<code_completion />
<envvars />
<lib_finder disable_auto="1" />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>