summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal (scarabeus) <tomas.chvatal@gmail.com>2008-10-22 22:51:24 +0200
committerTomas Chvatal (scarabeus) <tomas.chvatal@gmail.com>2008-10-22 22:51:24 +0200
commit44daf03024fbf7cbffa10349044786f6ab784821 (patch)
treefe311eb22e2d853dfc18fde1a9e55d21815f4f82
parente12753d2ec9db83ec08bb9db63902a82fb245cdd (diff)
Revert "X"
This reverts commit e12753d2ec9db83ec08bb9db63902a82fb245cdd.
-rw-r--r--build/CMakeCache.txt330
-rw-r--r--build/CMakeFiles/CMakeCCompiler.cmake36
-rwxr-xr-xbuild/CMakeFiles/CMakeDetermineCompilerABI_C.binbin8069 -> 0 bytes
-rw-r--r--build/CMakeFiles/CMakeDirectoryInformation.cmake27
-rw-r--r--build/CMakeFiles/CMakeError.log19
-rw-r--r--build/CMakeFiles/CMakeOutput.log74
-rw-r--r--build/CMakeFiles/CMakeRuleHashes.txt2
-rw-r--r--build/CMakeFiles/CMakeSystem.cmake15
-rw-r--r--build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c180
-rw-r--r--build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c~176
-rwxr-xr-xbuild/CMakeFiles/CompilerIdC/a.outbin8086 -> 0 bytes
-rw-r--r--build/CMakeFiles/Makefile.cmake82
-rw-r--r--build/CMakeFiles/Makefile2502
-rw-r--r--build/CMakeFiles/cmake.check_cache1
-rw-r--r--build/CMakeFiles/progress.make1
-rw-r--r--build/CMakeFiles/uninstall.dir/DependInfo.cmake8
-rw-r--r--build/CMakeFiles/uninstall.dir/build.make63
-rw-r--r--build/CMakeFiles/uninstall.dir/cmake_clean.cmake8
-rw-r--r--build/CMakeFiles/uninstall.dir/progress.make1
-rw-r--r--build/Makefile279
-rw-r--r--build/cmake_install.cmake63
-rw-r--r--build/cmake_uninstall.cmake21
-rw-r--r--build/data/CMakeFiles/CMakeDirectoryInformation.cmake27
-rw-r--r--build/data/CMakeFiles/progress.make1
-rw-r--r--build/data/Makefile167
-rw-r--r--build/data/arena/CMakeFiles/CMakeDirectoryInformation.cmake27
-rw-r--r--build/data/arena/CMakeFiles/progress.make1
-rw-r--r--build/data/arena/Makefile167
-rw-r--r--build/data/arena/cmake_install.cmake44
-rw-r--r--build/data/cmake_install.cmake49
-rw-r--r--build/data/conf/CMakeFiles/CMakeDirectoryInformation.cmake27
-rw-r--r--build/data/conf/CMakeFiles/progress.make1
-rw-r--r--build/data/conf/Makefile167
-rw-r--r--build/data/conf/cmake_install.cmake34
-rw-r--r--build/data/font/CMakeFiles/CMakeDirectoryInformation.cmake27
-rw-r--r--build/data/font/CMakeFiles/progress.make1
-rw-r--r--build/data/font/Makefile167
-rw-r--r--build/data/font/cmake_install.cmake38
-rw-r--r--build/data/images/CMakeFiles/CMakeDirectoryInformation.cmake27
-rw-r--r--build/data/images/CMakeFiles/progress.make1
-rw-r--r--build/data/images/Makefile167
-rw-r--r--build/data/images/cmake_install.cmake95
-rw-r--r--build/data/music/CMakeFiles/CMakeDirectoryInformation.cmake27
-rw-r--r--build/data/music/CMakeFiles/progress.make1
-rw-r--r--build/data/music/Makefile167
-rw-r--r--build/data/music/cmake_install.cmake38
-rw-r--r--build/data/sound/CMakeFiles/CMakeDirectoryInformation.cmake27
-rw-r--r--build/data/sound/CMakeFiles/progress.make1
-rw-r--r--build/data/sound/Makefile167
-rw-r--r--build/data/sound/cmake_install.cmake57
-rw-r--r--build/src/CMakeFiles/CMakeDirectoryInformation.cmake28
-rw-r--r--build/src/CMakeFiles/progress.make1
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/C.includecache3322
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/DependInfo.cmake84
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.obin2664 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/audio/music.c.obin7080 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.obin5296 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/archive.c.obin3008 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/arena.c.obin11896 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.obin10192 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.obin5640 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.obin4480 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/director.c.obin3384 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/gun.c.obin7088 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.obin2488 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.obin6488 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/index.c.obin5448 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/item.c.obin15856 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/list.c.obin7256 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/main.c.obin4336 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/modules.c.obin9112 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.obin5488 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.obin4136 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/protect.c.obin2712 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/proto.c.obin25600 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/server.c.obin11760 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.obin2880 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.obin4904 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.obin2680 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/shot.c.obin9272 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/space.c.obin9320 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/storage.c.obin6480 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.obin6424 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/tux.c.obin17376 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.obin5688 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/build.make2026
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/chat.c.obin7568 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/client.c.obin9904 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.obin4432 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/font.c.obin5504 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/game.c.obin5464 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.obin5008 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/image.c.obin7296 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/interface.c.obin7304 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.obin7096 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/layer.c.obin5432 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/panel.c.obin9008 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.obin2936 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/radar.c.obin4560 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.obin5152 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.obin8800 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/screen.c.obin7232 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/client/term.c.obin5728 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/cmake_clean.cmake81
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/depend.internal2870
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/depend.make2870
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/flags.make8
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/link.txt1
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/net/dns.c.obin1552 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.obin9168 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/net/udp.c.obin8944 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/progress.make73
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.obin7168 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.obin16424 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.obin6464 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.obin5664 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.obin13888 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.obin14616 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.obin5664 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.obin25944 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.obin21936 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.obin8656 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.obin20096 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.obin2184 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.obin4968 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.obin4384 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.obin5104 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.obin5008 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.obin6008 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.obin3344 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.obin3784 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.obin6584 -> 0 bytes
-rw-r--r--build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.obin9088 -> 0 bytes
-rw-r--r--build/src/Makefile2126
-rw-r--r--build/src/cmake_install.cmake54
-rw-r--r--build/src/modules/CMakeFiles/CMakeDirectoryInformation.cmake28
-rw-r--r--build/src/modules/CMakeFiles/modAI.dir/C.includecache698
-rw-r--r--build/src/modules/CMakeFiles/modAI.dir/DependInfo.cmake16
-rw-r--r--build/src/modules/CMakeFiles/modAI.dir/__/base/index.c.obin5424 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modAI.dir/__/base/list.c.obin7400 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modAI.dir/__/base/space.c.obin9384 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modAI.dir/build.make190
-rw-r--r--build/src/modules/CMakeFiles/modAI.dir/cmake_clean.cmake14
-rw-r--r--build/src/modules/CMakeFiles/modAI.dir/depend.internal84
-rw-r--r--build/src/modules/CMakeFiles/modAI.dir/depend.make84
-rw-r--r--build/src/modules/CMakeFiles/modAI.dir/flags.make8
-rw-r--r--build/src/modules/CMakeFiles/modAI.dir/link.txt1
-rw-r--r--build/src/modules/CMakeFiles/modAI.dir/modAI.c.obin9160 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modAI.dir/progress.make5
-rw-r--r--build/src/modules/CMakeFiles/modBasic.dir/C.includecache698
-rw-r--r--build/src/modules/CMakeFiles/modBasic.dir/DependInfo.cmake16
-rw-r--r--build/src/modules/CMakeFiles/modBasic.dir/__/base/index.c.obin5424 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modBasic.dir/__/base/list.c.obin7400 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modBasic.dir/__/base/space.c.obin9384 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modBasic.dir/build.make190
-rw-r--r--build/src/modules/CMakeFiles/modBasic.dir/cmake_clean.cmake14
-rw-r--r--build/src/modules/CMakeFiles/modBasic.dir/depend.internal84
-rw-r--r--build/src/modules/CMakeFiles/modBasic.dir/depend.make84
-rw-r--r--build/src/modules/CMakeFiles/modBasic.dir/flags.make8
-rw-r--r--build/src/modules/CMakeFiles/modBasic.dir/link.txt1
-rw-r--r--build/src/modules/CMakeFiles/modBasic.dir/modBasic.c.obin3096 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modBasic.dir/progress.make5
-rw-r--r--build/src/modules/CMakeFiles/modMove.dir/C.includecache704
-rw-r--r--build/src/modules/CMakeFiles/modMove.dir/DependInfo.cmake16
-rw-r--r--build/src/modules/CMakeFiles/modMove.dir/__/base/index.c.obin5424 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modMove.dir/__/base/list.c.obin7400 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modMove.dir/__/base/space.c.obin9384 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modMove.dir/build.make190
-rw-r--r--build/src/modules/CMakeFiles/modMove.dir/cmake_clean.cmake14
-rw-r--r--build/src/modules/CMakeFiles/modMove.dir/depend.internal85
-rw-r--r--build/src/modules/CMakeFiles/modMove.dir/depend.make85
-rw-r--r--build/src/modules/CMakeFiles/modMove.dir/flags.make8
-rw-r--r--build/src/modules/CMakeFiles/modMove.dir/link.txt1
-rw-r--r--build/src/modules/CMakeFiles/modMove.dir/modMove.c.obin6864 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modMove.dir/progress.make5
-rw-r--r--build/src/modules/CMakeFiles/modPipe.dir/C.includecache698
-rw-r--r--build/src/modules/CMakeFiles/modPipe.dir/DependInfo.cmake16
-rw-r--r--build/src/modules/CMakeFiles/modPipe.dir/__/base/index.c.obin5424 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modPipe.dir/__/base/list.c.obin7400 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modPipe.dir/__/base/space.c.obin9384 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modPipe.dir/build.make190
-rw-r--r--build/src/modules/CMakeFiles/modPipe.dir/cmake_clean.cmake14
-rw-r--r--build/src/modules/CMakeFiles/modPipe.dir/depend.internal84
-rw-r--r--build/src/modules/CMakeFiles/modPipe.dir/depend.make84
-rw-r--r--build/src/modules/CMakeFiles/modPipe.dir/flags.make8
-rw-r--r--build/src/modules/CMakeFiles/modPipe.dir/link.txt1
-rw-r--r--build/src/modules/CMakeFiles/modPipe.dir/modPipe.c.obin9128 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modPipe.dir/progress.make5
-rw-r--r--build/src/modules/CMakeFiles/modTeleport.dir/C.includecache698
-rw-r--r--build/src/modules/CMakeFiles/modTeleport.dir/DependInfo.cmake16
-rw-r--r--build/src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.obin5424 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.obin7400 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.obin9384 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modTeleport.dir/build.make190
-rw-r--r--build/src/modules/CMakeFiles/modTeleport.dir/cmake_clean.cmake14
-rw-r--r--build/src/modules/CMakeFiles/modTeleport.dir/depend.internal84
-rw-r--r--build/src/modules/CMakeFiles/modTeleport.dir/depend.make84
-rw-r--r--build/src/modules/CMakeFiles/modTeleport.dir/flags.make8
-rw-r--r--build/src/modules/CMakeFiles/modTeleport.dir/link.txt1
-rw-r--r--build/src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.obin9808 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modTeleport.dir/progress.make5
-rw-r--r--build/src/modules/CMakeFiles/modWall.dir/C.includecache698
-rw-r--r--build/src/modules/CMakeFiles/modWall.dir/DependInfo.cmake16
-rw-r--r--build/src/modules/CMakeFiles/modWall.dir/__/base/index.c.obin5424 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modWall.dir/__/base/list.c.obin7400 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modWall.dir/__/base/space.c.obin9384 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modWall.dir/build.make190
-rw-r--r--build/src/modules/CMakeFiles/modWall.dir/cmake_clean.cmake14
-rw-r--r--build/src/modules/CMakeFiles/modWall.dir/depend.internal84
-rw-r--r--build/src/modules/CMakeFiles/modWall.dir/depend.make84
-rw-r--r--build/src/modules/CMakeFiles/modWall.dir/flags.make8
-rw-r--r--build/src/modules/CMakeFiles/modWall.dir/link.txt1
-rw-r--r--build/src/modules/CMakeFiles/modWall.dir/modWall.c.obin9384 -> 0 bytes
-rw-r--r--build/src/modules/CMakeFiles/modWall.dir/progress.make5
-rw-r--r--build/src/modules/CMakeFiles/progress.make1
-rw-r--r--build/src/modules/Makefile545
-rw-r--r--build/src/modules/cmake_install.cmake118
-rwxr-xr-xbuild/src/modules/libmodAI.sobin32185 -> 0 bytes
-rwxr-xr-xbuild/src/modules/libmodBasic.sobin27452 -> 0 bytes
-rwxr-xr-xbuild/src/modules/libmodMove.sobin27934 -> 0 bytes
-rwxr-xr-xbuild/src/modules/libmodPipe.sobin32430 -> 0 bytes
-rwxr-xr-xbuild/src/modules/libmodTeleport.sobin32682 -> 0 bytes
-rwxr-xr-xbuild/src/modules/libmodWall.sobin32423 -> 0 bytes
-rwxr-xr-xbuild/src/tuxanci-devbin283234 -> 0 bytes
-rw-r--r--data/tuxanci.desktop11
-rw-r--r--src/audio/audio.c53
-rw-r--r--src/audio/audio.c~54
-rw-r--r--src/audio/music.c258
-rw-r--r--src/audio/music.c~221
-rw-r--r--src/audio/sound.c136
-rw-r--r--src/audio/sound.c~134
-rw-r--r--src/base/archive.c81
-rw-r--r--src/base/archive.c~73
-rw-r--r--src/base/arena.c605
-rw-r--r--src/base/arena.c~438
-rw-r--r--src/base/arenaFile.c432
-rw-r--r--src/base/arenaFile.c~349
-rwxr-xr-xsrc/base/buffer.c184
-rw-r--r--src/base/buffer.c~137
-rw-r--r--src/base/checkFront.c159
-rw-r--r--src/base/checkFront.c~113
-rwxr-xr-xsrc/base/director.c74
-rw-r--r--src/base/director.c~61
-rw-r--r--src/base/gun.c407
-rw-r--r--src/base/gun.c~282
-rwxr-xr-xsrc/base/homeDirector.c40
-rw-r--r--src/base/homeDirector.c~46
-rw-r--r--src/base/idManager.c247
-rw-r--r--src/base/idManager.c~209
-rw-r--r--src/base/index.c347
-rw-r--r--src/base/index.c~289
-rw-r--r--src/base/item.c779
-rw-r--r--src/base/item.c~516
-rwxr-xr-xsrc/base/list.c245
-rw-r--r--src/base/list.c~167
-rw-r--r--src/base/main.c191
-rw-r--r--src/base/main.c~185
-rwxr-xr-xsrc/base/modules.c387
-rw-r--r--src/base/modules.c~298
-rw-r--r--src/base/myTimer.c191
-rw-r--r--src/base/myTimer.c~139
-rw-r--r--src/base/net_multiplayer.c181
-rw-r--r--src/base/net_multiplayer.c~139
-rw-r--r--src/base/path.h29
-rw-r--r--src/base/protect.c96
-rw-r--r--src/base/protect.c~75
-rw-r--r--src/base/proto.c1240
-rw-r--r--src/base/proto.c~1007
-rw-r--r--src/base/server.c451
-rw-r--r--src/base/server.c~398
-rw-r--r--src/base/serverSelect.c102
-rw-r--r--src/base/serverSelect.c~115
-rw-r--r--src/base/serverSendMsg.c213
-rw-r--r--src/base/serverSendMsg.c~146
-rw-r--r--src/base/shareFunction.c64
-rw-r--r--src/base/shareFunction.c~65
-rw-r--r--src/base/shot.c513
-rw-r--r--src/base/shot.c~373
-rw-r--r--src/base/space.c584
-rw-r--r--src/base/space.c~395
-rw-r--r--src/base/storage.c182
-rw-r--r--src/base/storage.c~125
-rw-r--r--src/base/tcp_server.c368
-rw-r--r--src/base/tcp_server.c~324
-rwxr-xr-xsrc/base/textFile.c215
-rw-r--r--src/base/textFile.c~160
-rw-r--r--src/base/tux.c962
-rw-r--r--src/base/tux.c~778
-rw-r--r--src/base/udp_server.c324
-rw-r--r--src/base/udp_server.c~281
-rw-r--r--src/client/chat.c321
-rw-r--r--src/client/chat.c~245
-rw-r--r--src/client/client.c456
-rw-r--r--src/client/client.c~388
-rw-r--r--src/client/configFile.c220
-rw-r--r--src/client/configFile.c~138
-rwxr-xr-xsrc/client/font.c156
-rw-r--r--src/client/font.c~138
-rw-r--r--src/client/game.c119
-rw-r--r--src/client/game.c~122
-rw-r--r--src/client/hotKey.c175
-rw-r--r--src/client/hotKey.c~158
-rwxr-xr-xsrc/client/image.c195
-rw-r--r--src/client/image.c~176
-rwxr-xr-xsrc/client/interface.c336
-rw-r--r--src/client/interface.c~286
-rw-r--r--src/client/keyboardBuffer.c136
-rw-r--r--src/client/keyboardBuffer.c~151
-rwxr-xr-xsrc/client/layer.c260
-rw-r--r--src/client/layer.c~221
-rw-r--r--src/client/panel.c276
-rw-r--r--src/client/panel.c~180
-rw-r--r--src/client/pauza.c63
-rw-r--r--src/client/pauza.c~68
-rw-r--r--src/client/radar.c135
-rw-r--r--src/client/radar.c~121
-rw-r--r--src/client/saveDialog.c172
-rw-r--r--src/client/saveDialog.c~147
-rw-r--r--src/client/saveLoad.c384
-rw-r--r--src/client/saveLoad.c~270
-rw-r--r--src/client/screen.c223
-rw-r--r--src/client/screen.c~193
-rw-r--r--src/client/term.c216
-rw-r--r--src/client/term.c~156
-rw-r--r--src/downserver/downServer.c524
-rw-r--r--src/downserver/downServer.c~376
-rwxr-xr-xsrc/modules/modAI.c541
-rw-r--r--src/modules/modAI.c~421
-rwxr-xr-xsrc/modules/modBasic.c54
-rw-r--r--src/modules/modBasic.c~75
-rwxr-xr-xsrc/modules/modMove.c351
-rw-r--r--src/modules/modMove.c~239
-rwxr-xr-xsrc/modules/modPipe.c421
-rw-r--r--src/modules/modPipe.c~335
-rwxr-xr-xsrc/modules/modTeleport.c403
-rw-r--r--src/modules/modTeleport.c~344
-rwxr-xr-xsrc/modules/modWall.c414
-rw-r--r--src/modules/modWall.c~343
-rw-r--r--src/net/dns.c18
-rw-r--r--src/net/dns.c~27
-rwxr-xr-xsrc/net/tcp.c547
-rw-r--r--src/net/tcp.c~401
-rw-r--r--src/net/udp.c517
-rw-r--r--src/net/udp.c~415
-rw-r--r--src/screen/screen_analyze.c189
-rw-r--r--src/screen/screen_analyze.c~180
-rw-r--r--src/screen/screen_browser.c885
-rw-r--r--src/screen/screen_browser.c~716
-rw-r--r--src/screen/screen_choiceArena.c226
-rw-r--r--src/screen/screen_choiceArena.c~193
-rw-r--r--src/screen/screen_credits.c190
-rw-r--r--src/screen/screen_credits.c~154
-rw-r--r--src/screen/screen_downArena.c512
-rw-r--r--src/screen/screen_downArena.c~382
-rw-r--r--src/screen/screen_gameType.c534
-rw-r--r--src/screen/screen_gameType.c~412
-rw-r--r--src/screen/screen_mainMenu.c153
-rw-r--r--src/screen/screen_mainMenu.c~128
-rw-r--r--src/screen/screen_setting.c798
-rw-r--r--src/screen/screen_setting.c~553
-rw-r--r--src/screen/screen_settingKeys.c677
-rw-r--r--src/screen/screen_settingKeys.c~332
-rw-r--r--src/screen/screen_table.c343
-rw-r--r--src/screen/screen_table.c~238
-rw-r--r--src/screen/screen_world.c947
-rw-r--r--src/screen/screen_world.c~623
-rw-r--r--src/server/heightScore.c139
-rw-r--r--src/server/heightScore.c~102
-rw-r--r--src/server/log.c82
-rw-r--r--src/server/log.c~67
-rw-r--r--src/server/publicServer.c446
-rw-r--r--src/server/publicServer.c~372
-rw-r--r--src/server/serverConfigFile.c135
-rw-r--r--src/server/serverConfigFile.c~108
-rw-r--r--src/widget/widget.c58
-rw-r--r--src/widget/widget.c~52
-rw-r--r--src/widget/widget_button.c149
-rw-r--r--src/widget/widget_button.c~109
-rw-r--r--src/widget/widget_buttonimage.c109
-rw-r--r--src/widget/widget_buttonimage.c~88
-rw-r--r--src/widget/widget_catchkey.c219
-rw-r--r--src/widget/widget_catchkey.c~154
-rw-r--r--src/widget/widget_check.c171
-rw-r--r--src/widget/widget_check.c~128
-rw-r--r--src/widget/widget_choicegroup.c209
-rw-r--r--src/widget/widget_choicegroup.c~155
-rw-r--r--src/widget/widget_image.c46
-rw-r--r--src/widget/widget_image.c~52
-rw-r--r--src/widget/widget_label.c74
-rw-r--r--src/widget/widget_label.c~65
-rw-r--r--src/widget/widget_select.c204
-rw-r--r--src/widget/widget_select.c~160
-rw-r--r--src/widget/widget_textfield.c813
-rw-r--r--src/widget/widget_textfield.c~487
394 files changed, 12787 insertions, 58193 deletions
diff --git a/build/CMakeCache.txt b/build/CMakeCache.txt
deleted file mode 100644
index 005e9b1..0000000
--- a/build/CMakeCache.txt
+++ /dev/null
@@ -1,330 +0,0 @@
-# This is the CMakeCache file.
-# For build in directory: /home/scarab/tuxanci/build
-# It was generated by CMake: /usr/bin/cmake
-# You can edit this file to change values found and used by cmake.
-# If you do not want to change any of the values, simply exit the editor.
-# If you do want to change a value, simply edit, save, and exit the editor.
-# The syntax for the file is as follows:
-# KEY:TYPE=VALUE
-# KEY is the name of a variable in the cache.
-# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
-# VALUE is the current value for the KEY.
-
-########################
-# EXTERNAL cache entries
-########################
-
-//Path to a program.
-CMAKE_AR:FILEPATH=/usr/bin/ar
-
-//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
-// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
-CMAKE_BUILD_TYPE:STRING=
-
-//Enable/Disable color output during build.
-CMAKE_COLOR_MAKEFILE:BOOL=ON
-
-//Config path prefix
-CMAKE_CONF_PATH:PATH=/etc
-
-//C compiler.
-CMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc
-
-//Flags used by the compiler during all build types.
-CMAKE_C_FLAGS:STRING=
-
-//Flags used by the compiler during debug builds.
-CMAKE_C_FLAGS_DEBUG:STRING=-g
-
-//Flags used by the compiler during release minsize builds.
-CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
-
-//Flags used by the compiler during release builds (/MD /Ob1 /Oi
-// /Ot /Oy /Gs will produce slightly less optimized but smaller
-// files).
-CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
-
-//Flags used by the compiler during Release with Debug Info builds.
-CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
-
-//Data path prefix
-CMAKE_DATA_PATH:PATH=/usr/local/share
-
-//Data path prefix
-CMAKE_DOC_PATH:PATH=/usr/local/share/doc
-
-//Flags used by the linker.
-CMAKE_EXE_LINKER_FLAGS:STRING=
-
-//Flags used by the linker during debug builds.
-CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
-
-//Flags used by the linker during release minsize builds.
-CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
-
-//Flags used by the linker during release builds.
-CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
-
-//Flags used by the linker during Release with Debug Info builds.
-CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
-
-//Font
-CMAKE_FONT:PATH=/usr/local/share/tuxanci-dev/font/DejaVuSans.ttf
-
-//Install path prefix
-CMAKE_INSTALL_PREFIX:PATH=/usr/local
-
-//Library path prefix
-CMAKE_LIB_PATH:PATH=/usr/local/lib
-
-//Path to a program.
-CMAKE_LINKER:FILEPATH=/usr/bin/ld
-
-//Locale path prefix
-CMAKE_LOCALE_PATH:PATH=/usr/local/share/locale
-
-//Path to a program.
-CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
-
-//Flags used by the linker during the creation of modules.
-CMAKE_MODULE_LINKER_FLAGS:STRING=
-
-//Flags used by the linker during debug builds.
-CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
-
-//Flags used by the linker during release minsize builds.
-CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
-
-//Flags used by the linker during release builds.
-CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
-
-//Flags used by the linker during Release with Debug Info builds.
-CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
-
-//Path to a program.
-CMAKE_NM:FILEPATH=/usr/bin/nm
-
-//Path to a program.
-CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
-
-//Path to a program.
-CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
-
-//Path to a program.
-CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
-
-//Flags used by the linker during the creation of dll's.
-CMAKE_SHARED_LINKER_FLAGS:STRING=
-
-//Flags used by the linker during debug builds.
-CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
-
-//Flags used by the linker during release minsize builds.
-CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
-
-//Flags used by the linker during release builds.
-CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
-
-//Flags used by the linker during Release with Debug Info builds.
-CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
-
-//If set, runtime paths are not added when using shared libraries.
-CMAKE_SKIP_RPATH:BOOL=NO
-
-//Path to a program.
-CMAKE_STRIP:FILEPATH=/usr/bin/strip
-
-//If true, cmake will use relative paths in makefiles and projects.
-CMAKE_USE_RELATIVE_PATHS:BOOL=OFF
-
-//If this value is on, makefiles will be generated without the
-// .SILENT directive, and all commands will be echoed to the console
-// during the make. This is useful for debugging only. With Visual
-// Studio IDE projects all commands are done without /nologo.
-CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
-
-//Path to a file.
-SDLIMAGE_INCLUDE_DIR:PATH=/usr/include/SDL
-
-//Path to a library.
-SDLIMAGE_LIBRARY:FILEPATH=/usr/lib64/libSDL_image.so
-
-//Path to a library.
-SDLMAIN_LIBRARY:FILEPATH=/usr/lib64/libSDLmain.a
-
-//Path to a file.
-SDLMIXER_INCLUDE_DIR:PATH=/usr/include/SDL
-
-//Path to a library.
-SDLMIXER_LIBRARY:FILEPATH=/usr/lib64/libSDL_mixer.so
-
-//Path to a file.
-SDLTTF_INCLUDE_DIR:PATH=/usr/include/SDL
-
-//Path to a library.
-SDLTTF_LIBRARY:FILEPATH=/usr/lib64/libSDL_ttf.so
-
-//Path to a file.
-SDL_INCLUDE_DIR:PATH=/usr/include/SDL
-
-//Where the SDL Library can be found
-SDL_LIBRARY:STRING=/usr/lib64/libSDLmain.a;/usr/lib64/libSDL.so;-lpthread
-
-//Version
-TUXANCI_VERSION:STRING=dev
-
-//Path to a file.
-ZZIP_INCLUDE_DIR:PATH=/usr/include
-
-//Path to a library.
-ZZIP_LIBRARY:FILEPATH=/usr/lib64/libzzip.so
-
-//Dependencies for the target
-modAI_LIB_DEPENDS:STATIC=general;/usr/lib64/libzzip.so;general;/usr/lib64/libSDLmain.a;general;/usr/lib64/libSDL.so;general;-lpthread;general;/usr/lib64/libSDL_mixer.so;general;/usr/lib64/libSDL_image.so;general;/usr/lib64/libSDL_ttf.so;general;SDLmain;general;dl;
-
-//Dependencies for the target
-modBasic_LIB_DEPENDS:STATIC=general;/usr/lib64/libzzip.so;general;/usr/lib64/libSDLmain.a;general;/usr/lib64/libSDL.so;general;-lpthread;general;/usr/lib64/libSDL_mixer.so;general;/usr/lib64/libSDL_image.so;general;/usr/lib64/libSDL_ttf.so;general;SDLmain;general;dl;
-
-//Dependencies for the target
-modMove_LIB_DEPENDS:STATIC=general;/usr/lib64/libzzip.so;general;/usr/lib64/libSDLmain.a;general;/usr/lib64/libSDL.so;general;-lpthread;general;/usr/lib64/libSDL_mixer.so;general;/usr/lib64/libSDL_image.so;general;/usr/lib64/libSDL_ttf.so;general;SDLmain;general;dl;
-
-//Dependencies for the target
-modPipe_LIB_DEPENDS:STATIC=general;/usr/lib64/libzzip.so;general;/usr/lib64/libSDLmain.a;general;/usr/lib64/libSDL.so;general;-lpthread;general;/usr/lib64/libSDL_mixer.so;general;/usr/lib64/libSDL_image.so;general;/usr/lib64/libSDL_ttf.so;general;SDLmain;general;dl;
-
-//Dependencies for the target
-modTeleport_LIB_DEPENDS:STATIC=general;/usr/lib64/libzzip.so;general;/usr/lib64/libSDLmain.a;general;/usr/lib64/libSDL.so;general;-lpthread;general;/usr/lib64/libSDL_mixer.so;general;/usr/lib64/libSDL_image.so;general;/usr/lib64/libSDL_ttf.so;general;SDLmain;general;dl;
-
-//Dependencies for the target
-modWall_LIB_DEPENDS:STATIC=general;/usr/lib64/libzzip.so;general;/usr/lib64/libSDLmain.a;general;/usr/lib64/libSDL.so;general;-lpthread;general;/usr/lib64/libSDL_mixer.so;general;/usr/lib64/libSDL_image.so;general;/usr/lib64/libSDL_ttf.so;general;SDLmain;general;dl;
-
-//Value Computed by CMake
-tuxanci_BINARY_DIR:STATIC=/home/scarab/tuxanci/build
-
-//Value Computed by CMake
-tuxanci_SOURCE_DIR:STATIC=/home/scarab/tuxanci
-
-
-########################
-# INTERNAL cache entries
-########################
-
-//Advanced flag for variable: CMAKE_AR
-CMAKE_AR-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_BUILD_TOOL
-CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
-//What is the target build tool cmake is generating for.
-CMAKE_BUILD_TOOL:INTERNAL=/usr/bin/gmake
-//This is the directory where this CMakeCahe.txt was created
-CMAKE_CACHEFILE_DIR:INTERNAL=/home/scarab/tuxanci/build
-//Major version of cmake used to create the current loaded cache
-CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2
-//Minor version of cmake used to create the current loaded cache
-CMAKE_CACHE_MINOR_VERSION:INTERNAL=6
-//Major version of cmake used to create the current loaded cache
-CMAKE_CACHE_RELEASE_VERSION:INTERNAL=patch 2
-//Advanced flag for variable: CMAKE_COLOR_MAKEFILE
-CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
-//Path to CMake executable.
-CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
-//Path to cpack program executable.
-CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
-//Path to ctest program executable.
-CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
-//Advanced flag for variable: CMAKE_C_COMPILER
-CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
-CMAKE_C_COMPILER_WORKS:INTERNAL=1
-//Advanced flag for variable: CMAKE_C_FLAGS
-CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_C_FLAGS_DEBUG
-CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_C_FLAGS_MINSIZEREL
-CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_C_FLAGS_RELEASE
-CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
-CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
-//Result of TRY_COMPILE
-CMAKE_DETERMINE_C_ABI_COMPILED:INTERNAL=TRUE
-//Path to cache edit program executable.
-CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake
-//Executable file format
-CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
-//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS
-CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
-CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
-CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
-CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
-CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
-//Name of generator.
-CMAKE_GENERATOR:INTERNAL=Unix Makefiles
-//Have library pthreads
-CMAKE_HAVE_PTHREADS_CREATE:INTERNAL=
-//Have library pthread
-CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
-//Have include CMAKE_HAVE_PTHREAD_H
-CMAKE_HAVE_PTHREAD_H:INTERNAL=1
-//Start directory with the top level CMakeLists.txt file for this
-// project
-CMAKE_HOME_DIRECTORY:INTERNAL=/home/scarab/tuxanci
-//Install .so files without execute permission.
-CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
-//Advanced flag for variable: CMAKE_LINKER
-CMAKE_LINKER-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_MAKE_PROGRAM
-CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS
-CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
-CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
-CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
-CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
-CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_NM
-CMAKE_NM-ADVANCED:INTERNAL=1
-//number of local generators
-CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=10
-//Advanced flag for variable: CMAKE_OBJCOPY
-CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_OBJDUMP
-CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_RANLIB
-CMAKE_RANLIB-ADVANCED:INTERNAL=1
-//Path to CMake installation.
-CMAKE_ROOT:INTERNAL=/usr/share/cmake
-//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS
-CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
-CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
-CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
-CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
-CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_SKIP_RPATH
-CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_STRIP
-CMAKE_STRIP-ADVANCED:INTERNAL=1
-//uname command
-CMAKE_UNAME:INTERNAL=/usr/bin/uname
-//Advanced flag for variable: CMAKE_USE_RELATIVE_PATHS
-CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
-//Advanced flag for variable: CMAKE_VERBOSE_MAKEFILE
-CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
-//Details about finding Threads
-FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE]
-//Details about finding ZZIP
-FIND_PACKAGE_MESSAGE_DETAILS_ZZIP:INTERNAL=[/usr/lib64/libzzip.so][/usr/include]
-SDL_LIBRARY_TEMP:INTERNAL=/usr/lib64/libSDLmain.a;/usr/lib64/libSDL.so;-lpthread
-//Advanced flag for variable: ZZIP_INCLUDE_DIR
-ZZIP_INCLUDE_DIR-ADVANCED:INTERNAL=1
-//Advanced flag for variable: ZZIP_LIBRARY
-ZZIP_LIBRARY-ADVANCED:INTERNAL=1
-
diff --git a/build/CMakeFiles/CMakeCCompiler.cmake b/build/CMakeFiles/CMakeCCompiler.cmake
deleted file mode 100644
index 1d1bbea..0000000
--- a/build/CMakeFiles/CMakeCCompiler.cmake
+++ /dev/null
@@ -1,36 +0,0 @@
-SET(CMAKE_C_COMPILER "/usr/bin/gcc")
-SET(CMAKE_C_COMPILER_ARG1 "")
-SET(CMAKE_C_COMPILER_ID "GNU")
-SET(CMAKE_C_PLATFORM_ID "Linux")
-SET(CMAKE_AR "/usr/bin/ar")
-SET(CMAKE_RANLIB "/usr/bin/ranlib")
-SET(CMAKE_COMPILER_IS_GNUCC 1)
-SET(CMAKE_C_COMPILER_LOADED 1)
-SET(CMAKE_COMPILER_IS_MINGW )
-SET(CMAKE_COMPILER_IS_CYGWIN )
-IF(CMAKE_COMPILER_IS_CYGWIN)
- SET(CYGWIN 1)
- SET(UNIX 1)
-ENDIF(CMAKE_COMPILER_IS_CYGWIN)
-
-SET(CMAKE_C_COMPILER_ENV_VAR "CC")
-
-IF(CMAKE_COMPILER_IS_MINGW)
- SET(MINGW 1)
-ENDIF(CMAKE_COMPILER_IS_MINGW)
-SET(CMAKE_C_COMPILER_ID_RUN 1)
-SET(CMAKE_C_SOURCE_FILE_EXTENSIONS c)
-SET(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
-SET(CMAKE_C_LINKER_PREFERENCE 10)
-
-# Save compiler ABI information.
-SET(CMAKE_C_SIZEOF_DATA_PTR "8")
-SET(CMAKE_C_COMPILER_ABI "ELF")
-
-IF(CMAKE_C_SIZEOF_DATA_PTR)
- SET(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
-ENDIF(CMAKE_C_SIZEOF_DATA_PTR)
-
-IF(CMAKE_C_COMPILER_ABI)
- SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
-ENDIF(CMAKE_C_COMPILER_ABI)
diff --git a/build/CMakeFiles/CMakeDetermineCompilerABI_C.bin b/build/CMakeFiles/CMakeDetermineCompilerABI_C.bin
deleted file mode 100755
index 408f296..0000000
--- a/build/CMakeFiles/CMakeDetermineCompilerABI_C.bin
+++ /dev/null
Binary files differ
diff --git a/build/CMakeFiles/CMakeDirectoryInformation.cmake b/build/CMakeFiles/CMakeDirectoryInformation.cmake
deleted file mode 100644
index 36d5ddc..0000000
--- a/build/CMakeFiles/CMakeDirectoryInformation.cmake
+++ /dev/null
@@ -1,27 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Relative path conversion top directories.
-SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/scarab/tuxanci")
-SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/scarab/tuxanci/build")
-
-# Force unix paths in dependencies.
-SET(CMAKE_FORCE_UNIX_PATHS 1)
-
-# The C and CXX include file search paths:
-SET(CMAKE_C_INCLUDE_PATH
- "../src/base"
- "../src/net"
- "../src/client"
- "../src/screen"
- "../src/widget"
- "/usr/include/SDL"
- )
-SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-
-# The C and CXX include file regular expressions for this directory.
-SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
-SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
-SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
-SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/build/CMakeFiles/CMakeError.log b/build/CMakeFiles/CMakeError.log
deleted file mode 100644
index fb68ec3..0000000
--- a/build/CMakeFiles/CMakeError.log
+++ /dev/null
@@ -1,19 +0,0 @@
-Determining if the function pthread_create exists in the pthreads failed with the following output:
-Change Dir: /home/scarab/tuxanci/build/CMakeFiles/CMakeTmp
-
-Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
-/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
-gmake[1]: Entering directory `/home/scarab/tuxanci/build/CMakeFiles/CMakeTmp'
-/usr/bin/cmake -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles/CMakeTmp/CMakeFiles 1
-Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o
-/usr/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
-Linking C executable cmTryCompileExec
-/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
-/usr/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create -fPIC CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -o cmTryCompileExec -rdynamic -lpthreads
-/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads
-collect2: ld returned 1 exit status
-gmake[1]: *** [cmTryCompileExec] Error 1
-gmake[1]: Leaving directory `/home/scarab/tuxanci/build/CMakeFiles/CMakeTmp'
-gmake: *** [cmTryCompileExec/fast] Error 2
-
-
diff --git a/build/CMakeFiles/CMakeOutput.log b/build/CMakeFiles/CMakeOutput.log
deleted file mode 100644
index 270a724..0000000
--- a/build/CMakeFiles/CMakeOutput.log
+++ /dev/null
@@ -1,74 +0,0 @@
-The system is: Linux - 2.6.26-gentoo-r1 - x86_64
-Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
-Compiler: /usr/bin/gcc
-Build flags:
-Id flags:
-
-The output was:
-0
-
-
-Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
-
-The C compiler identification is GNU, found in "/home/scarab/tuxanci/build/CMakeFiles/CompilerIdC/a.out"
-
-Determining if the C compiler works passed with the following output:
-Change Dir: /home/scarab/tuxanci/build/CMakeFiles/CMakeTmp
-
-Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
-/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
-gmake[1]: Entering directory `/home/scarab/tuxanci/build/CMakeFiles/CMakeTmp'
-/usr/bin/cmake -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles/CMakeTmp/CMakeFiles 1
-Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o
-/usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c /home/scarab/tuxanci/build/CMakeFiles/CMakeTmp/testCCompiler.c
-Linking C executable cmTryCompileExec
-/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
-/usr/bin/gcc -fPIC CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -o cmTryCompileExec -rdynamic
-gmake[1]: Leaving directory `/home/scarab/tuxanci/build/CMakeFiles/CMakeTmp'
-
-
-Detecting C compiler ABI info compiled with the following output:
-Change Dir: /home/scarab/tuxanci/build/CMakeFiles/CMakeTmp
-
-Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
-/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
-gmake[1]: Entering directory `/home/scarab/tuxanci/build/CMakeFiles/CMakeTmp'
-/usr/bin/cmake -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles/CMakeTmp/CMakeFiles 1
-Building C object CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o
-/usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c
-Linking C executable cmTryCompileExec
-/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
-/usr/bin/gcc -fPIC CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec -rdynamic
-gmake[1]: Leaving directory `/home/scarab/tuxanci/build/CMakeFiles/CMakeTmp'
-
-
-Determining if files pthread.h exist passed with the following output:
-Change Dir: /home/scarab/tuxanci/build/CMakeFiles/CMakeTmp
-
-Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
-/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
-gmake[1]: Entering directory `/home/scarab/tuxanci/build/CMakeFiles/CMakeTmp'
-/usr/bin/cmake -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles/CMakeTmp/CMakeFiles 1
-Building C object CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o
-/usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o -c /home/scarab/tuxanci/build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
-Linking C executable cmTryCompileExec
-/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
-/usr/bin/gcc -fPIC CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o -o cmTryCompileExec -rdynamic
-gmake[1]: Leaving directory `/home/scarab/tuxanci/build/CMakeFiles/CMakeTmp'
-
-
-Determining if the function pthread_create exists in the pthread passed with the following output:
-Change Dir: /home/scarab/tuxanci/build/CMakeFiles/CMakeTmp
-
-Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
-/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
-gmake[1]: Entering directory `/home/scarab/tuxanci/build/CMakeFiles/CMakeTmp'
-/usr/bin/cmake -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles/CMakeTmp/CMakeFiles 1
-Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o
-/usr/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
-Linking C executable cmTryCompileExec
-/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
-/usr/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create -fPIC CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -o cmTryCompileExec -rdynamic -lpthread
-gmake[1]: Leaving directory `/home/scarab/tuxanci/build/CMakeFiles/CMakeTmp'
-
-
diff --git a/build/CMakeFiles/CMakeRuleHashes.txt b/build/CMakeFiles/CMakeRuleHashes.txt
deleted file mode 100644
index 70a855c..0000000
--- a/build/CMakeFiles/CMakeRuleHashes.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Hashes of file build rules.
-2aff1a7485ba619af0f747f90e51683d CMakeFiles/uninstall
diff --git a/build/CMakeFiles/CMakeSystem.cmake b/build/CMakeFiles/CMakeSystem.cmake
deleted file mode 100644
index cf8a91c..0000000
--- a/build/CMakeFiles/CMakeSystem.cmake
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-SET(CMAKE_SYSTEM "Linux-2.6.26-gentoo-r1")
-SET(CMAKE_SYSTEM_NAME "Linux")
-SET(CMAKE_SYSTEM_VERSION "2.6.26-gentoo-r1")
-SET(CMAKE_SYSTEM_PROCESSOR "x86_64")
-
-SET(CMAKE_HOST_SYSTEM "Linux-2.6.26-gentoo-r1")
-SET(CMAKE_HOST_SYSTEM_NAME "Linux")
-SET(CMAKE_HOST_SYSTEM_VERSION "2.6.26-gentoo-r1")
-SET(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
-
-SET(CMAKE_CROSSCOMPILING "FALSE")
-
-SET(CMAKE_SYSTEM_LOADED 1)
diff --git a/build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c b/build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c
deleted file mode 100644
index 83d5f15..0000000
--- a/build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c
+++ /dev/null
@@ -1,180 +0,0 @@
-#ifdef __cplusplus
-# error "A C++ compiler has been selected for C."
-#endif
-
-#if defined(__18CXX)
-# define ID_VOID_MAIN
-#endif
-
-#if defined(__INTEL_COMPILER) || defined(__ICC)
-# define COMPILER_ID "Intel"
-
-#elif defined(__BORLANDC__)
-# define COMPILER_ID "Borland"
-
-#elif defined(__WATCOMC__)
-# define COMPILER_ID "Watcom"
-
-#elif defined(__SUNPRO_C)
-# define COMPILER_ID "SunPro"
-
-#elif defined(__HP_cc)
-# define COMPILER_ID "HP"
-
-#elif defined(__DECC)
-# define COMPILER_ID "Compaq"
-
-#elif defined(__IBMC__)
-# define COMPILER_ID "VisualAge"
-
-#elif defined(__PGI)
-# define COMPILER_ID "PGI"
-
-#elif defined(__GNUC__)
-# define COMPILER_ID "GNU"
-
-#elif defined(_MSC_VER)
-# define COMPILER_ID "MSVC"
-
-#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
-/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
- SHARC (21000) DSPs */
-# define COMPILER_ID "ADSP"
-
-/* IAR Systems compiler for embedded systems.
- http://www.iar.com
- Not supported yet by CMake
-#elif defined(__IAR_SYSTEMS_ICC__)
-# define COMPILER_ID "IAR" */
-
-/* sdcc, the small devices C compiler for embedded systems,
- http://sdcc.sourceforge.net */
-#elif defined(SDCC)
-# define COMPILER_ID "SDCC"
-
-#elif defined(_COMPILER_VERSION)
-# define COMPILER_ID "MIPSpro"
-
-/* This compiler is either not known or is too old to define an
- identification macro. Try to identify the platform and guess that
- it is the native compiler. */
-#elif defined(__sgi)
-# define COMPILER_ID "MIPSpro"
-
-#elif defined(__hpux) || defined(__hpua)
-# define COMPILER_ID "HP"
-
-#else /* unknown compiler */
-# define COMPILER_ID ""
-
-#endif
-
-/* Construct the string literal in pieces to prevent the source from
- getting matched. Store it in a pointer rather than an array
- because some compilers will just produce instructions to fill the
- array rather than assigning a pointer to a static array. */
-char *info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
-
-/* Identify known platforms by name. */
-#if defined(__linux) || defined(__linux__) || defined(linux)
-# define PLATFORM_ID "Linux"
-
-#elif defined(__CYGWIN__)
-# define PLATFORM_ID "Cygwin"
-
-#elif defined(__MINGW32__)
-# define PLATFORM_ID "MinGW"
-
-#elif defined(__APPLE__)
-# define PLATFORM_ID "Darwin"
-
-#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
-# define PLATFORM_ID "Windows"
-
-#elif defined(__FreeBSD__) || defined(__FreeBSD)
-# define PLATFORM_ID "FreeBSD"
-
-#elif defined(__NetBSD__) || defined(__NetBSD)
-# define PLATFORM_ID "NetBSD"
-
-#elif defined(__OpenBSD__) || defined(__OPENBSD)
-# define PLATFORM_ID "OpenBSD"
-
-#elif defined(__sun) || defined(sun)
-# define PLATFORM_ID "SunOS"
-
-#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
-# define PLATFORM_ID "AIX"
-
-#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
-# define PLATFORM_ID "IRIX"
-
-#elif defined(__hpux) || defined(__hpux__)
-# define PLATFORM_ID "HP-UX"
-
-#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
-# define PLATFORM_ID "BeOS"
-
-#elif defined(__QNX__) || defined(__QNXNTO__)
-# define PLATFORM_ID "QNX"
-
-#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
-# define PLATFORM_ID "Tru64"
-
-#elif defined(__riscos) || defined(__riscos__)
-# define PLATFORM_ID "RISCos"
-
-#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
-# define PLATFORM_ID "SINIX"
-
-#elif defined(__UNIX_SV__)
-# define PLATFORM_ID "UNIX_SV"
-
-#elif defined(__bsdos__)
-# define PLATFORM_ID "BSDOS"
-
-#elif defined(_MPRAS) || defined(MPRAS)
-# define PLATFORM_ID "MP-RAS"
-
-#elif defined(__osf) || defined(__osf__)
-# define PLATFORM_ID "OSF1"
-
-#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
-# define PLATFORM_ID "SCO_SV"
-
-#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
-# define PLATFORM_ID "ULTRIX"
-
-#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
-# define PLATFORM_ID "Xenix"
-
-#else /* unknown platform */
-# define PLATFORM_ID ""
-
-#endif
-
-/* Construct the string literal in pieces to prevent the source from
- getting matched. Store it in a pointer rather than an array
- because some compilers will just produce instructions to fill the
- array rather than assigning a pointer to a static array. */
-char *info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
-
-
-/*--------------------------------------------------------------------------*/
-
-#ifdef ID_VOID_MAIN
-void
-main()
-{
-}
-#else
-int
-main(int argc, char *argv[])
-{
- int require = 0;
- require += info_compiler[argc];
- require += info_platform[argc];
- (void) argv;
- return require;
-}
-#endif
diff --git a/build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c~ b/build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c~
deleted file mode 100644
index d358ec9..0000000
--- a/build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c~
+++ /dev/null
@@ -1,176 +0,0 @@
-#ifdef __cplusplus
-# error "A C++ compiler has been selected for C."
-#endif
-
-#if defined(__18CXX)
-# define ID_VOID_MAIN
-#endif
-
-#if defined(__INTEL_COMPILER) || defined(__ICC)
-# define COMPILER_ID "Intel"
-
-#elif defined(__BORLANDC__)
-# define COMPILER_ID "Borland"
-
-#elif defined(__WATCOMC__)
-# define COMPILER_ID "Watcom"
-
-#elif defined(__SUNPRO_C)
-# define COMPILER_ID "SunPro"
-
-#elif defined(__HP_cc)
-# define COMPILER_ID "HP"
-
-#elif defined(__DECC)
-# define COMPILER_ID "Compaq"
-
-#elif defined(__IBMC__)
-# define COMPILER_ID "VisualAge"
-
-#elif defined(__PGI)
-# define COMPILER_ID "PGI"
-
-#elif defined(__GNUC__)
-# define COMPILER_ID "GNU"
-
-#elif defined(_MSC_VER)
-# define COMPILER_ID "MSVC"
-
-#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
-/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
- SHARC (21000) DSPs */
-# define COMPILER_ID "ADSP"
-
-/* IAR Systems compiler for embedded systems.
- http://www.iar.com
- Not supported yet by CMake
-#elif defined(__IAR_SYSTEMS_ICC__)
-# define COMPILER_ID "IAR" */
-
-/* sdcc, the small devices C compiler for embedded systems,
- http://sdcc.sourceforge.net */
-#elif defined(SDCC)
-# define COMPILER_ID "SDCC"
-
-#elif defined(_COMPILER_VERSION)
-# define COMPILER_ID "MIPSpro"
-
-/* This compiler is either not known or is too old to define an
- identification macro. Try to identify the platform and guess that
- it is the native compiler. */
-#elif defined(__sgi)
-# define COMPILER_ID "MIPSpro"
-
-#elif defined(__hpux) || defined(__hpua)
-# define COMPILER_ID "HP"
-
-#else /* unknown compiler */
-# define COMPILER_ID ""
-
-#endif
-
-/* Construct the string literal in pieces to prevent the source from
- getting matched. Store it in a pointer rather than an array
- because some compilers will just produce instructions to fill the
- array rather than assigning a pointer to a static array. */
-char* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
-
-/* Identify known platforms by name. */
-#if defined(__linux) || defined(__linux__) || defined(linux)
-# define PLATFORM_ID "Linux"
-
-#elif defined(__CYGWIN__)
-# define PLATFORM_ID "Cygwin"
-
-#elif defined(__MINGW32__)
-# define PLATFORM_ID "MinGW"
-
-#elif defined(__APPLE__)
-# define PLATFORM_ID "Darwin"
-
-#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
-# define PLATFORM_ID "Windows"
-
-#elif defined(__FreeBSD__) || defined(__FreeBSD)
-# define PLATFORM_ID "FreeBSD"
-
-#elif defined(__NetBSD__) || defined(__NetBSD)
-# define PLATFORM_ID "NetBSD"
-
-#elif defined(__OpenBSD__) || defined(__OPENBSD)
-# define PLATFORM_ID "OpenBSD"
-
-#elif defined(__sun) || defined(sun)
-# define PLATFORM_ID "SunOS"
-
-#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
-# define PLATFORM_ID "AIX"
-
-#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
-# define PLATFORM_ID "IRIX"
-
-#elif defined(__hpux) || defined(__hpux__)
-# define PLATFORM_ID "HP-UX"
-
-#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
-# define PLATFORM_ID "BeOS"
-
-#elif defined(__QNX__) || defined(__QNXNTO__)
-# define PLATFORM_ID "QNX"
-
-#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
-# define PLATFORM_ID "Tru64"
-
-#elif defined(__riscos) || defined(__riscos__)
-# define PLATFORM_ID "RISCos"
-
-#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
-# define PLATFORM_ID "SINIX"
-
-#elif defined(__UNIX_SV__)
-# define PLATFORM_ID "UNIX_SV"
-
-#elif defined(__bsdos__)
-# define PLATFORM_ID "BSDOS"
-
-#elif defined(_MPRAS) || defined(MPRAS)
-# define PLATFORM_ID "MP-RAS"
-
-#elif defined(__osf) || defined(__osf__)
-# define PLATFORM_ID "OSF1"
-
-#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
-# define PLATFORM_ID "SCO_SV"
-
-#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
-# define PLATFORM_ID "ULTRIX"
-
-#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
-# define PLATFORM_ID "Xenix"
-
-#else /* unknown platform */
-# define PLATFORM_ID ""
-
-#endif
-
-/* Construct the string literal in pieces to prevent the source from
- getting matched. Store it in a pointer rather than an array
- because some compilers will just produce instructions to fill the
- array rather than assigning a pointer to a static array. */
-char* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
-
-
-/*--------------------------------------------------------------------------*/
-
-#ifdef ID_VOID_MAIN
-void main() {}
-#else
-int main(int argc, char* argv[])
-{
- int require = 0;
- require += info_compiler[argc];
- require += info_platform[argc];
- (void)argv;
- return require;
-}
-#endif
diff --git a/build/CMakeFiles/CompilerIdC/a.out b/build/CMakeFiles/CompilerIdC/a.out
deleted file mode 100755
index 6ddf2de..0000000
--- a/build/CMakeFiles/CompilerIdC/a.out
+++ /dev/null
Binary files differ
diff --git a/build/CMakeFiles/Makefile.cmake b/build/CMakeFiles/Makefile.cmake
deleted file mode 100644
index f24af2a..0000000
--- a/build/CMakeFiles/Makefile.cmake
+++ /dev/null
@@ -1,82 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# The generator used is:
-SET(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
-
-# The top level Makefile was generated from the following files:
-SET(CMAKE_MAKEFILE_DEPENDS
- "CMakeCache.txt"
- "../CMakeLists.txt"
- "CMakeFiles/CMakeCCompiler.cmake"
- "CMakeFiles/CMakeSystem.cmake"
- "../cmake/FindZZIP.cmake"
- "../cmake_uninstall.cmake.in"
- "../data/CMakeLists.txt"
- "../data/arena/CMakeLists.txt"
- "../data/conf/CMakeLists.txt"
- "../data/font/CMakeLists.txt"
- "../data/images/CMakeLists.txt"
- "../data/music/CMakeLists.txt"
- "../data/sound/CMakeLists.txt"
- "../data/tuxanci.desktop.in"
- "../src/CMakeLists.txt"
- "../src/base/path.h.in"
- "../src/modules/CMakeLists.txt"
- "/usr/share/cmake/Modules/CMakeCCompiler.cmake.in"
- "/usr/share/cmake/Modules/CMakeCCompilerABI.c"
- "/usr/share/cmake/Modules/CMakeCInformation.cmake"
- "/usr/share/cmake/Modules/CMakeCommonLanguageInclude.cmake"
- "/usr/share/cmake/Modules/CMakeConfigurableFile.in"
- "/usr/share/cmake/Modules/CMakeDetermineCCompiler.cmake"
- "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake"
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake"
- "/usr/share/cmake/Modules/CMakeDetermineSystem.cmake"
- "/usr/share/cmake/Modules/CMakeFindBinUtils.cmake"
- "/usr/share/cmake/Modules/CMakeGenericSystem.cmake"
- "/usr/share/cmake/Modules/CMakeSystem.cmake.in"
- "/usr/share/cmake/Modules/CMakeSystemSpecificInformation.cmake"
- "/usr/share/cmake/Modules/CMakeTestCCompiler.cmake"
- "/usr/share/cmake/Modules/CMakeUnixFindMake.cmake"
- "/usr/share/cmake/Modules/CheckFunctionExists.c"
- "/usr/share/cmake/Modules/CheckIncludeFiles.cmake"
- "/usr/share/cmake/Modules/CheckLibraryExists.cmake"
- "/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake"
- "/usr/share/cmake/Modules/FindPackageMessage.cmake"
- "/usr/share/cmake/Modules/FindSDL.cmake"
- "/usr/share/cmake/Modules/FindSDL_image.cmake"
- "/usr/share/cmake/Modules/FindSDL_mixer.cmake"
- "/usr/share/cmake/Modules/FindSDL_ttf.cmake"
- "/usr/share/cmake/Modules/FindThreads.cmake"
- "/usr/share/cmake/Modules/Platform/Linux.cmake"
- "/usr/share/cmake/Modules/Platform/UnixPaths.cmake"
- "/usr/share/cmake/Modules/Platform/gcc.cmake"
- )
-
-# The corresponding makefile is:
-SET(CMAKE_MAKEFILE_OUTPUTS
- "Makefile"
- "CMakeFiles/cmake.check_cache"
- "CMakeFiles/CMakeDirectoryInformation.cmake"
- "src/CMakeFiles/CMakeDirectoryInformation.cmake"
- "src/modules/CMakeFiles/CMakeDirectoryInformation.cmake"
- "data/CMakeFiles/CMakeDirectoryInformation.cmake"
- "data/arena/CMakeFiles/CMakeDirectoryInformation.cmake"
- "data/conf/CMakeFiles/CMakeDirectoryInformation.cmake"
- "data/font/CMakeFiles/CMakeDirectoryInformation.cmake"
- "data/images/CMakeFiles/CMakeDirectoryInformation.cmake"
- "data/music/CMakeFiles/CMakeDirectoryInformation.cmake"
- "data/sound/CMakeFiles/CMakeDirectoryInformation.cmake"
- )
-
-# Dependency information for all targets:
-SET(CMAKE_DEPEND_INFO_FILES
- "CMakeFiles/uninstall.dir/DependInfo.cmake"
- "src/CMakeFiles/tuxanci-dev.dir/DependInfo.cmake"
- "src/modules/CMakeFiles/modAI.dir/DependInfo.cmake"
- "src/modules/CMakeFiles/modBasic.dir/DependInfo.cmake"
- "src/modules/CMakeFiles/modMove.dir/DependInfo.cmake"
- "src/modules/CMakeFiles/modPipe.dir/DependInfo.cmake"
- "src/modules/CMakeFiles/modTeleport.dir/DependInfo.cmake"
- "src/modules/CMakeFiles/modWall.dir/DependInfo.cmake"
- )
diff --git a/build/CMakeFiles/Makefile2 b/build/CMakeFiles/Makefile2
deleted file mode 100644
index 7aaf035..0000000
--- a/build/CMakeFiles/Makefile2
+++ /dev/null
@@ -1,502 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Default target executed when no arguments are given to make.
-default_target: all
-.PHONY : default_target
-
-# The main recursive all target
-all:
-.PHONY : all
-
-# The main recursive preinstall target
-preinstall:
-.PHONY : preinstall
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-#=============================================================================
-# Target rules for target CMakeFiles/uninstall.dir
-
-# All Build rule for target.
-CMakeFiles/uninstall.dir/all:
- $(MAKE) -f CMakeFiles/uninstall.dir/build.make CMakeFiles/uninstall.dir/depend
- $(MAKE) -f CMakeFiles/uninstall.dir/build.make CMakeFiles/uninstall.dir/build
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles
- @echo "Built target uninstall"
-.PHONY : CMakeFiles/uninstall.dir/all
-
-# Build rule for subdir invocation for target.
-CMakeFiles/uninstall.dir/rule: cmake_check_build_system
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
- $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/uninstall.dir/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : CMakeFiles/uninstall.dir/rule
-
-# Convenience name for target.
-uninstall: CMakeFiles/uninstall.dir/rule
-.PHONY : uninstall
-
-# clean rule for target.
-CMakeFiles/uninstall.dir/clean:
- $(MAKE) -f CMakeFiles/uninstall.dir/build.make CMakeFiles/uninstall.dir/clean
-.PHONY : CMakeFiles/uninstall.dir/clean
-
-# clean rule for target.
-clean: CMakeFiles/uninstall.dir/clean
-.PHONY : clean
-
-#=============================================================================
-# Directory level rules for directory src
-
-# Convenience name for "all" pass in the directory.
-src/all: src/CMakeFiles/tuxanci-dev.dir/all
-src/all: src/modules/all
-.PHONY : src/all
-
-# Convenience name for "clean" pass in the directory.
-src/clean: src/CMakeFiles/tuxanci-dev.dir/clean
-src/clean: src/modules/clean
-.PHONY : src/clean
-
-# Convenience name for "preinstall" pass in the directory.
-src/preinstall: src/modules/preinstall
-.PHONY : src/preinstall
-
-#=============================================================================
-# Target rules for target src/CMakeFiles/tuxanci-dev.dir
-
-# All Build rule for target.
-src/CMakeFiles/tuxanci-dev.dir/all:
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/depend
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/build
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
- @echo "Built target tuxanci-dev"
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/all
-
-# Include target in all.
-all: src/CMakeFiles/tuxanci-dev.dir/all
-.PHONY : all
-
-# Build rule for subdir invocation for target.
-src/CMakeFiles/tuxanci-dev.dir/rule: cmake_check_build_system
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 72
- $(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/tuxanci-dev.dir/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/rule
-
-# Convenience name for target.
-tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/rule
-.PHONY : tuxanci-dev
-
-# clean rule for target.
-src/CMakeFiles/tuxanci-dev.dir/clean:
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/clean
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/clean
-
-# clean rule for target.
-clean: src/CMakeFiles/tuxanci-dev.dir/clean
-.PHONY : clean
-
-#=============================================================================
-# Directory level rules for directory src/modules
-
-# Convenience name for "all" pass in the directory.
-src/modules/all: src/modules/CMakeFiles/modAI.dir/all
-src/modules/all: src/modules/CMakeFiles/modBasic.dir/all
-src/modules/all: src/modules/CMakeFiles/modMove.dir/all
-src/modules/all: src/modules/CMakeFiles/modPipe.dir/all
-src/modules/all: src/modules/CMakeFiles/modTeleport.dir/all
-src/modules/all: src/modules/CMakeFiles/modWall.dir/all
-.PHONY : src/modules/all
-
-# Convenience name for "clean" pass in the directory.
-src/modules/clean: src/modules/CMakeFiles/modAI.dir/clean
-src/modules/clean: src/modules/CMakeFiles/modBasic.dir/clean
-src/modules/clean: src/modules/CMakeFiles/modMove.dir/clean
-src/modules/clean: src/modules/CMakeFiles/modPipe.dir/clean
-src/modules/clean: src/modules/CMakeFiles/modTeleport.dir/clean
-src/modules/clean: src/modules/CMakeFiles/modWall.dir/clean
-.PHONY : src/modules/clean
-
-# Convenience name for "preinstall" pass in the directory.
-src/modules/preinstall:
-.PHONY : src/modules/preinstall
-
-#=============================================================================
-# Target rules for target src/modules/CMakeFiles/modAI.dir
-
-# All Build rule for target.
-src/modules/CMakeFiles/modAI.dir/all:
- $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/depend
- $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/build
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles 73 74 75 76
- @echo "Built target modAI"
-.PHONY : src/modules/CMakeFiles/modAI.dir/all
-
-# Include target in all.
-all: src/modules/CMakeFiles/modAI.dir/all
-.PHONY : all
-
-# Build rule for subdir invocation for target.
-src/modules/CMakeFiles/modAI.dir/rule: cmake_check_build_system
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 4
- $(MAKE) -f CMakeFiles/Makefile2 src/modules/CMakeFiles/modAI.dir/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : src/modules/CMakeFiles/modAI.dir/rule
-
-# Convenience name for target.
-modAI: src/modules/CMakeFiles/modAI.dir/rule
-.PHONY : modAI
-
-# clean rule for target.
-src/modules/CMakeFiles/modAI.dir/clean:
- $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/clean
-.PHONY : src/modules/CMakeFiles/modAI.dir/clean
-
-# clean rule for target.
-clean: src/modules/CMakeFiles/modAI.dir/clean
-.PHONY : clean
-
-#=============================================================================
-# Target rules for target src/modules/CMakeFiles/modBasic.dir
-
-# All Build rule for target.
-src/modules/CMakeFiles/modBasic.dir/all:
- $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/depend
- $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/build
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles 77 78 79 80
- @echo "Built target modBasic"
-.PHONY : src/modules/CMakeFiles/modBasic.dir/all
-
-# Include target in all.
-all: src/modules/CMakeFiles/modBasic.dir/all
-.PHONY : all
-
-# Build rule for subdir invocation for target.
-src/modules/CMakeFiles/modBasic.dir/rule: cmake_check_build_system
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 4
- $(MAKE) -f CMakeFiles/Makefile2 src/modules/CMakeFiles/modBasic.dir/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : src/modules/CMakeFiles/modBasic.dir/rule
-
-# Convenience name for target.
-modBasic: src/modules/CMakeFiles/modBasic.dir/rule
-.PHONY : modBasic
-
-# clean rule for target.
-src/modules/CMakeFiles/modBasic.dir/clean:
- $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/clean
-.PHONY : src/modules/CMakeFiles/modBasic.dir/clean
-
-# clean rule for target.
-clean: src/modules/CMakeFiles/modBasic.dir/clean
-.PHONY : clean
-
-#=============================================================================
-# Target rules for target src/modules/CMakeFiles/modMove.dir
-
-# All Build rule for target.
-src/modules/CMakeFiles/modMove.dir/all:
- $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/depend
- $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/build
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles 81 82 83 84
- @echo "Built target modMove"
-.PHONY : src/modules/CMakeFiles/modMove.dir/all
-
-# Include target in all.
-all: src/modules/CMakeFiles/modMove.dir/all
-.PHONY : all
-
-# Build rule for subdir invocation for target.
-src/modules/CMakeFiles/modMove.dir/rule: cmake_check_build_system
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 4
- $(MAKE) -f CMakeFiles/Makefile2 src/modules/CMakeFiles/modMove.dir/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : src/modules/CMakeFiles/modMove.dir/rule
-
-# Convenience name for target.
-modMove: src/modules/CMakeFiles/modMove.dir/rule
-.PHONY : modMove
-
-# clean rule for target.
-src/modules/CMakeFiles/modMove.dir/clean:
- $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/clean
-.PHONY : src/modules/CMakeFiles/modMove.dir/clean
-
-# clean rule for target.
-clean: src/modules/CMakeFiles/modMove.dir/clean
-.PHONY : clean
-
-#=============================================================================
-# Target rules for target src/modules/CMakeFiles/modPipe.dir
-
-# All Build rule for target.
-src/modules/CMakeFiles/modPipe.dir/all:
- $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/depend
- $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/build
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles 85 86 87 88
- @echo "Built target modPipe"
-.PHONY : src/modules/CMakeFiles/modPipe.dir/all
-
-# Include target in all.
-all: src/modules/CMakeFiles/modPipe.dir/all
-.PHONY : all
-
-# Build rule for subdir invocation for target.
-src/modules/CMakeFiles/modPipe.dir/rule: cmake_check_build_system
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 4
- $(MAKE) -f CMakeFiles/Makefile2 src/modules/CMakeFiles/modPipe.dir/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : src/modules/CMakeFiles/modPipe.dir/rule
-
-# Convenience name for target.
-modPipe: src/modules/CMakeFiles/modPipe.dir/rule
-.PHONY : modPipe
-
-# clean rule for target.
-src/modules/CMakeFiles/modPipe.dir/clean:
- $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/clean
-.PHONY : src/modules/CMakeFiles/modPipe.dir/clean
-
-# clean rule for target.
-clean: src/modules/CMakeFiles/modPipe.dir/clean
-.PHONY : clean
-
-#=============================================================================
-# Target rules for target src/modules/CMakeFiles/modTeleport.dir
-
-# All Build rule for target.
-src/modules/CMakeFiles/modTeleport.dir/all:
- $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/depend
- $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/build
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles 89 90 91 92
- @echo "Built target modTeleport"
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/all
-
-# Include target in all.
-all: src/modules/CMakeFiles/modTeleport.dir/all
-.PHONY : all
-
-# Build rule for subdir invocation for target.
-src/modules/CMakeFiles/modTeleport.dir/rule: cmake_check_build_system
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 4
- $(MAKE) -f CMakeFiles/Makefile2 src/modules/CMakeFiles/modTeleport.dir/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/rule
-
-# Convenience name for target.
-modTeleport: src/modules/CMakeFiles/modTeleport.dir/rule
-.PHONY : modTeleport
-
-# clean rule for target.
-src/modules/CMakeFiles/modTeleport.dir/clean:
- $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/clean
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/clean
-
-# clean rule for target.
-clean: src/modules/CMakeFiles/modTeleport.dir/clean
-.PHONY : clean
-
-#=============================================================================
-# Target rules for target src/modules/CMakeFiles/modWall.dir
-
-# All Build rule for target.
-src/modules/CMakeFiles/modWall.dir/all:
- $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/depend
- $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/build
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles 93 94 95 96
- @echo "Built target modWall"
-.PHONY : src/modules/CMakeFiles/modWall.dir/all
-
-# Include target in all.
-all: src/modules/CMakeFiles/modWall.dir/all
-.PHONY : all
-
-# Build rule for subdir invocation for target.
-src/modules/CMakeFiles/modWall.dir/rule: cmake_check_build_system
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 4
- $(MAKE) -f CMakeFiles/Makefile2 src/modules/CMakeFiles/modWall.dir/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : src/modules/CMakeFiles/modWall.dir/rule
-
-# Convenience name for target.
-modWall: src/modules/CMakeFiles/modWall.dir/rule
-.PHONY : modWall
-
-# clean rule for target.
-src/modules/CMakeFiles/modWall.dir/clean:
- $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/clean
-.PHONY : src/modules/CMakeFiles/modWall.dir/clean
-
-# clean rule for target.
-clean: src/modules/CMakeFiles/modWall.dir/clean
-.PHONY : clean
-
-#=============================================================================
-# Directory level rules for directory data
-
-# Convenience name for "all" pass in the directory.
-data/all: data/arena/all
-data/all: data/conf/all
-data/all: data/font/all
-data/all: data/images/all
-data/all: data/music/all
-data/all: data/sound/all
-.PHONY : data/all
-
-# Convenience name for "clean" pass in the directory.
-data/clean: data/arena/clean
-data/clean: data/conf/clean
-data/clean: data/font/clean
-data/clean: data/images/clean
-data/clean: data/music/clean
-data/clean: data/sound/clean
-.PHONY : data/clean
-
-# Convenience name for "preinstall" pass in the directory.
-data/preinstall: data/arena/preinstall
-data/preinstall: data/conf/preinstall
-data/preinstall: data/font/preinstall
-data/preinstall: data/images/preinstall
-data/preinstall: data/music/preinstall
-data/preinstall: data/sound/preinstall
-.PHONY : data/preinstall
-
-#=============================================================================
-# Directory level rules for directory data/arena
-
-# Convenience name for "all" pass in the directory.
-data/arena/all:
-.PHONY : data/arena/all
-
-# Convenience name for "clean" pass in the directory.
-data/arena/clean:
-.PHONY : data/arena/clean
-
-# Convenience name for "preinstall" pass in the directory.
-data/arena/preinstall:
-.PHONY : data/arena/preinstall
-
-#=============================================================================
-# Directory level rules for directory data/conf
-
-# Convenience name for "all" pass in the directory.
-data/conf/all:
-.PHONY : data/conf/all
-
-# Convenience name for "clean" pass in the directory.
-data/conf/clean:
-.PHONY : data/conf/clean
-
-# Convenience name for "preinstall" pass in the directory.
-data/conf/preinstall:
-.PHONY : data/conf/preinstall
-
-#=============================================================================
-# Directory level rules for directory data/font
-
-# Convenience name for "all" pass in the directory.
-data/font/all:
-.PHONY : data/font/all
-
-# Convenience name for "clean" pass in the directory.
-data/font/clean:
-.PHONY : data/font/clean
-
-# Convenience name for "preinstall" pass in the directory.
-data/font/preinstall:
-.PHONY : data/font/preinstall
-
-#=============================================================================
-# Directory level rules for directory data/images
-
-# Convenience name for "all" pass in the directory.
-data/images/all:
-.PHONY : data/images/all
-
-# Convenience name for "clean" pass in the directory.
-data/images/clean:
-.PHONY : data/images/clean
-
-# Convenience name for "preinstall" pass in the directory.
-data/images/preinstall:
-.PHONY : data/images/preinstall
-
-#=============================================================================
-# Directory level rules for directory data/music
-
-# Convenience name for "all" pass in the directory.
-data/music/all:
-.PHONY : data/music/all
-
-# Convenience name for "clean" pass in the directory.
-data/music/clean:
-.PHONY : data/music/clean
-
-# Convenience name for "preinstall" pass in the directory.
-data/music/preinstall:
-.PHONY : data/music/preinstall
-
-#=============================================================================
-# Directory level rules for directory data/sound
-
-# Convenience name for "all" pass in the directory.
-data/sound/all:
-.PHONY : data/sound/all
-
-# Convenience name for "clean" pass in the directory.
-data/sound/clean:
-.PHONY : data/sound/clean
-
-# Convenience name for "preinstall" pass in the directory.
-data/sound/preinstall:
-.PHONY : data/sound/preinstall
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
- $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-.PHONY : cmake_check_build_system
-
diff --git a/build/CMakeFiles/cmake.check_cache b/build/CMakeFiles/cmake.check_cache
deleted file mode 100644
index 3dccd73..0000000
--- a/build/CMakeFiles/cmake.check_cache
+++ /dev/null
@@ -1 +0,0 @@
-# This file is generated by cmake for dependency checking of the CMakeCache.txt file
diff --git a/build/CMakeFiles/progress.make b/build/CMakeFiles/progress.make
deleted file mode 100644
index f906e18..0000000
--- a/build/CMakeFiles/progress.make
+++ /dev/null
@@ -1 +0,0 @@
-96
diff --git a/build/CMakeFiles/uninstall.dir/DependInfo.cmake b/build/CMakeFiles/uninstall.dir/DependInfo.cmake
deleted file mode 100644
index ac621c5..0000000
--- a/build/CMakeFiles/uninstall.dir/DependInfo.cmake
+++ /dev/null
@@ -1,8 +0,0 @@
-# The set of languages for which implicit dependencies are needed:
-SET(CMAKE_DEPENDS_LANGUAGES
- )
-# The set of files for implicit dependencies of each language:
-
-# Targets to which this target links.
-SET(CMAKE_TARGET_LINKED_INFO_FILES
- )
diff --git a/build/CMakeFiles/uninstall.dir/build.make b/build/CMakeFiles/uninstall.dir/build.make
deleted file mode 100644
index 294dc48..0000000
--- a/build/CMakeFiles/uninstall.dir/build.make
+++ /dev/null
@@ -1,63 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-# Utility rule file for uninstall.
-
-CMakeFiles/uninstall:
- /usr/bin/cmake -P /home/scarab/tuxanci/build/cmake_uninstall.cmake
-
-uninstall: CMakeFiles/uninstall
-uninstall: CMakeFiles/uninstall.dir/build.make
-.PHONY : uninstall
-
-# Rule to build all files generated by this target.
-CMakeFiles/uninstall.dir/build: uninstall
-.PHONY : CMakeFiles/uninstall.dir/build
-
-CMakeFiles/uninstall.dir/clean:
- $(CMAKE_COMMAND) -P CMakeFiles/uninstall.dir/cmake_clean.cmake
-.PHONY : CMakeFiles/uninstall.dir/clean
-
-CMakeFiles/uninstall.dir/depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/scarab/tuxanci /home/scarab/tuxanci /home/scarab/tuxanci/build /home/scarab/tuxanci/build /home/scarab/tuxanci/build/CMakeFiles/uninstall.dir/DependInfo.cmake --color=$(COLOR)
-.PHONY : CMakeFiles/uninstall.dir/depend
-
diff --git a/build/CMakeFiles/uninstall.dir/cmake_clean.cmake b/build/CMakeFiles/uninstall.dir/cmake_clean.cmake
deleted file mode 100644
index 828e2a2..0000000
--- a/build/CMakeFiles/uninstall.dir/cmake_clean.cmake
+++ /dev/null
@@ -1,8 +0,0 @@
-FILE(REMOVE_RECURSE
- "CMakeFiles/uninstall"
-)
-
-# Per-language clean rules from dependency scanning.
-FOREACH(lang)
- INCLUDE(CMakeFiles/uninstall.dir/cmake_clean_${lang}.cmake OPTIONAL)
-ENDFOREACH(lang)
diff --git a/build/CMakeFiles/uninstall.dir/progress.make b/build/CMakeFiles/uninstall.dir/progress.make
deleted file mode 100644
index 8b13789..0000000
--- a/build/CMakeFiles/uninstall.dir/progress.make
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/build/Makefile b/build/Makefile
deleted file mode 100644
index 43f3fcf..0000000
--- a/build/Makefile
+++ /dev/null
@@ -1,279 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Default target executed when no arguments are given to make.
-default_target: all
-.PHONY : default_target
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-#=============================================================================
-# Targets provided globally by CMake.
-
-# Special rule for the target edit_cache
-edit_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
- /usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : edit_cache
-
-# Special rule for the target edit_cache
-edit_cache/fast: edit_cache
-.PHONY : edit_cache/fast
-
-# Special rule for the target install
-install: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install
-
-# Special rule for the target install
-install/fast: preinstall/fast
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install/fast
-
-# Special rule for the target install/local
-install/local: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
- /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
-.PHONY : install/local
-
-# Special rule for the target install/local
-install/local/fast: install/local
-.PHONY : install/local/fast
-
-# Special rule for the target install/strip
-install/strip: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
- /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
-.PHONY : install/strip
-
-# Special rule for the target install/strip
-install/strip/fast: install/strip
-.PHONY : install/strip/fast
-
-# Special rule for the target list_install_components
-list_install_components:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
-.PHONY : list_install_components
-
-# Special rule for the target list_install_components
-list_install_components/fast: list_install_components
-.PHONY : list_install_components/fast
-
-# Special rule for the target rebuild_cache
-rebuild_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
- /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : rebuild_cache
-
-# Special rule for the target rebuild_cache
-rebuild_cache/fast: rebuild_cache
-.PHONY : rebuild_cache/fast
-
-# The main all target
-all: cmake_check_build_system
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles /home/scarab/tuxanci/build/CMakeFiles/progress.make
- $(MAKE) -f CMakeFiles/Makefile2 all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : all
-
-# The main clean target
-clean:
- $(MAKE) -f CMakeFiles/Makefile2 clean
-.PHONY : clean
-
-# The main clean target
-clean/fast: clean
-.PHONY : clean/fast
-
-# Prepare targets for installation.
-preinstall: all
- $(MAKE) -f CMakeFiles/Makefile2 preinstall
-.PHONY : preinstall
-
-# Prepare targets for installation.
-preinstall/fast:
- $(MAKE) -f CMakeFiles/Makefile2 preinstall
-.PHONY : preinstall/fast
-
-# clear depends
-depend:
- $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
-.PHONY : depend
-
-#=============================================================================
-# Target rules for targets named uninstall
-
-# Build rule for target.
-uninstall: cmake_check_build_system
- $(MAKE) -f CMakeFiles/Makefile2 uninstall
-.PHONY : uninstall
-
-# fast build rule for target.
-uninstall/fast:
- $(MAKE) -f CMakeFiles/uninstall.dir/build.make CMakeFiles/uninstall.dir/build
-.PHONY : uninstall/fast
-
-#=============================================================================
-# Target rules for targets named tuxanci-dev
-
-# Build rule for target.
-tuxanci-dev: cmake_check_build_system
- $(MAKE) -f CMakeFiles/Makefile2 tuxanci-dev
-.PHONY : tuxanci-dev
-
-# fast build rule for target.
-tuxanci-dev/fast:
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/build
-.PHONY : tuxanci-dev/fast
-
-#=============================================================================
-# Target rules for targets named modAI
-
-# Build rule for target.
-modAI: cmake_check_build_system
- $(MAKE) -f CMakeFiles/Makefile2 modAI
-.PHONY : modAI
-
-# fast build rule for target.
-modAI/fast:
- $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/build
-.PHONY : modAI/fast
-
-#=============================================================================
-# Target rules for targets named modBasic
-
-# Build rule for target.
-modBasic: cmake_check_build_system
- $(MAKE) -f CMakeFiles/Makefile2 modBasic
-.PHONY : modBasic
-
-# fast build rule for target.
-modBasic/fast:
- $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/build
-.PHONY : modBasic/fast
-
-#=============================================================================
-# Target rules for targets named modMove
-
-# Build rule for target.
-modMove: cmake_check_build_system
- $(MAKE) -f CMakeFiles/Makefile2 modMove
-.PHONY : modMove
-
-# fast build rule for target.
-modMove/fast:
- $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/build
-.PHONY : modMove/fast
-
-#=============================================================================
-# Target rules for targets named modPipe
-
-# Build rule for target.
-modPipe: cmake_check_build_system
- $(MAKE) -f CMakeFiles/Makefile2 modPipe
-.PHONY : modPipe
-
-# fast build rule for target.
-modPipe/fast:
- $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/build
-.PHONY : modPipe/fast
-
-#=============================================================================
-# Target rules for targets named modTeleport
-
-# Build rule for target.
-modTeleport: cmake_check_build_system
- $(MAKE) -f CMakeFiles/Makefile2 modTeleport
-.PHONY : modTeleport
-
-# fast build rule for target.
-modTeleport/fast:
- $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/build
-.PHONY : modTeleport/fast
-
-#=============================================================================
-# Target rules for targets named modWall
-
-# Build rule for target.
-modWall: cmake_check_build_system
- $(MAKE) -f CMakeFiles/Makefile2 modWall
-.PHONY : modWall
-
-# fast build rule for target.
-modWall/fast:
- $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/build
-.PHONY : modWall/fast
-
-# Help Target
-help:
- @echo "The following are some of the valid targets for this Makefile:"
- @echo "... all (the default if no target is provided)"
- @echo "... clean"
- @echo "... depend"
- @echo "... edit_cache"
- @echo "... install"
- @echo "... install/local"
- @echo "... install/strip"
- @echo "... list_install_components"
- @echo "... rebuild_cache"
- @echo "... uninstall"
- @echo "... tuxanci-dev"
- @echo "... modAI"
- @echo "... modBasic"
- @echo "... modMove"
- @echo "... modPipe"
- @echo "... modTeleport"
- @echo "... modWall"
-.PHONY : help
-
-
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
- $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-.PHONY : cmake_check_build_system
-
diff --git a/build/cmake_install.cmake b/build/cmake_install.cmake
deleted file mode 100644
index 4481fcb..0000000
--- a/build/cmake_install.cmake
+++ /dev/null
@@ -1,63 +0,0 @@
-# Install script for directory: /home/scarab/tuxanci
-
-# Set the install prefix
-IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
- SET(CMAKE_INSTALL_PREFIX "/usr/local")
-ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
-STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
-
-# Set the install configuration name.
-IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
- IF(BUILD_TYPE)
- STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
- CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
- ELSE(BUILD_TYPE)
- SET(CMAKE_INSTALL_CONFIG_NAME "")
- ENDIF(BUILD_TYPE)
- MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
-ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
-
-# Set the component getting installed.
-IF(NOT CMAKE_INSTALL_COMPONENT)
- IF(COMPONENT)
- MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
- SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
- ELSE(COMPONENT)
- SET(CMAKE_INSTALL_COMPONENT)
- ENDIF(COMPONENT)
-ENDIF(NOT CMAKE_INSTALL_COMPONENT)
-
-# Install shared libraries without execute permission?
-IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
- SET(CMAKE_INSTALL_SO_NO_EXE "0")
-ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
-
-IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
- FILE(INSTALL DESTINATION "/usr/local/share/doc/tuxanci-dev" TYPE FILE FILES "/home/scarab/tuxanci/LICENCE")
-ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
-
-IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
- FILE(INSTALL DESTINATION "/usr/local/share/doc/tuxanci-dev" TYPE FILE FILES "/home/scarab/tuxanci/AUTHORS")
-ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
-
-IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
- FILE(INSTALL DESTINATION "/usr/local/share/doc/tuxanci-dev" TYPE FILE FILES "/home/scarab/tuxanci/README")
-ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
-
-IF(NOT CMAKE_INSTALL_LOCAL_ONLY)
- # Include the install script for each subdirectory.
- INCLUDE("/home/scarab/tuxanci/build/src/cmake_install.cmake")
- INCLUDE("/home/scarab/tuxanci/build/data/cmake_install.cmake")
-
-ENDIF(NOT CMAKE_INSTALL_LOCAL_ONLY)
-
-IF(CMAKE_INSTALL_COMPONENT)
- SET(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
-ELSE(CMAKE_INSTALL_COMPONENT)
- SET(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
-ENDIF(CMAKE_INSTALL_COMPONENT)
-
-FILE(WRITE "/home/scarab/tuxanci/build/${CMAKE_INSTALL_MANIFEST}" "")
-FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES})
- FILE(APPEND "/home/scarab/tuxanci/build/${CMAKE_INSTALL_MANIFEST}" "${file}\n")
-ENDFOREACH(file)
diff --git a/build/cmake_uninstall.cmake b/build/cmake_uninstall.cmake
deleted file mode 100644
index f26f27b..0000000
--- a/build/cmake_uninstall.cmake
+++ /dev/null
@@ -1,21 +0,0 @@
-IF(NOT EXISTS "/home/scarab/tuxanci/build/install_manifest.txt")
- MESSAGE(FATAL_ERROR "Cannot find install manifest: \"/home/scarab/tuxanci/build/install_manifest.txt\"")
-ENDIF(NOT EXISTS "/home/scarab/tuxanci/build/install_manifest.txt")
-
-FILE(READ "/home/scarab/tuxanci/build/install_manifest.txt" files)
-STRING(REGEX REPLACE "\n" ";" files "${files}")
-FOREACH(file ${files})
- MESSAGE(STATUS "Uninstalling: \"$ENV{DESTDIR}${file}\"")
- IF(EXISTS "$ENV{DESTDIR}${file}")
- EXEC_PROGRAM(
- "/usr/bin/cmake" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
- OUTPUT_VARIABLE rm_out
- RETURN_VALUE rm_retval
- )
- IF(NOT "${rm_retval}" STREQUAL 0)
- MESSAGE(FATAL_ERROR "Problem when removing: \"$ENV{DESTDIR}${file}\"")
- ENDIF(NOT "${rm_retval}" STREQUAL 0)
- ELSE(EXISTS "$ENV{DESTDIR}${file}")
- MESSAGE(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
- ENDIF(EXISTS "$ENV{DESTDIR}${file}")
-ENDFOREACH(file)
diff --git a/build/data/CMakeFiles/CMakeDirectoryInformation.cmake b/build/data/CMakeFiles/CMakeDirectoryInformation.cmake
deleted file mode 100644
index 36d5ddc..0000000
--- a/build/data/CMakeFiles/CMakeDirectoryInformation.cmake
+++ /dev/null
@@ -1,27 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Relative path conversion top directories.
-SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/scarab/tuxanci")
-SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/scarab/tuxanci/build")
-
-# Force unix paths in dependencies.
-SET(CMAKE_FORCE_UNIX_PATHS 1)
-
-# The C and CXX include file search paths:
-SET(CMAKE_C_INCLUDE_PATH
- "../src/base"
- "../src/net"
- "../src/client"
- "../src/screen"
- "../src/widget"
- "/usr/include/SDL"
- )
-SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-
-# The C and CXX include file regular expressions for this directory.
-SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
-SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
-SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
-SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/build/data/CMakeFiles/progress.make b/build/data/CMakeFiles/progress.make
deleted file mode 100644
index 573541a..0000000
--- a/build/data/CMakeFiles/progress.make
+++ /dev/null
@@ -1 +0,0 @@
-0
diff --git a/build/data/Makefile b/build/data/Makefile
deleted file mode 100644
index ac4dc1a..0000000
--- a/build/data/Makefile
+++ /dev/null
@@ -1,167 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Default target executed when no arguments are given to make.
-default_target: all
-.PHONY : default_target
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-#=============================================================================
-# Targets provided globally by CMake.
-
-# Special rule for the target edit_cache
-edit_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
- cd /home/scarab/tuxanci/build/data && /usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : edit_cache
-
-# Special rule for the target edit_cache
-edit_cache/fast: edit_cache
-.PHONY : edit_cache/fast
-
-# Special rule for the target install
-install: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/data && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install
-
-# Special rule for the target install
-install/fast: preinstall/fast
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/data && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install/fast
-
-# Special rule for the target install/local
-install/local: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
- cd /home/scarab/tuxanci/build/data && /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
-.PHONY : install/local
-
-# Special rule for the target install/local
-install/local/fast: install/local
-.PHONY : install/local/fast
-
-# Special rule for the target install/strip
-install/strip: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
- cd /home/scarab/tuxanci/build/data && /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
-.PHONY : install/strip
-
-# Special rule for the target install/strip
-install/strip/fast: install/strip
-.PHONY : install/strip/fast
-
-# Special rule for the target list_install_components
-list_install_components:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
-.PHONY : list_install_components
-
-# Special rule for the target list_install_components
-list_install_components/fast: list_install_components
-.PHONY : list_install_components/fast
-
-# Special rule for the target rebuild_cache
-rebuild_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
- cd /home/scarab/tuxanci/build/data && /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : rebuild_cache
-
-# Special rule for the target rebuild_cache
-rebuild_cache/fast: rebuild_cache
-.PHONY : rebuild_cache/fast
-
-# The main all target
-all: cmake_check_build_system
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles /home/scarab/tuxanci/build/data/CMakeFiles/progress.make
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : all
-
-# The main clean target
-clean:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/clean
-.PHONY : clean
-
-# The main clean target
-clean/fast: clean
-.PHONY : clean/fast
-
-# Prepare targets for installation.
-preinstall: all
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/preinstall
-.PHONY : preinstall
-
-# Prepare targets for installation.
-preinstall/fast:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/preinstall
-.PHONY : preinstall/fast
-
-# clear depends
-depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
-.PHONY : depend
-
-# Help Target
-help:
- @echo "The following are some of the valid targets for this Makefile:"
- @echo "... all (the default if no target is provided)"
- @echo "... clean"
- @echo "... depend"
- @echo "... edit_cache"
- @echo "... install"
- @echo "... install/local"
- @echo "... install/strip"
- @echo "... list_install_components"
- @echo "... rebuild_cache"
-.PHONY : help
-
-
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-.PHONY : cmake_check_build_system
-
diff --git a/build/data/arena/CMakeFiles/CMakeDirectoryInformation.cmake b/build/data/arena/CMakeFiles/CMakeDirectoryInformation.cmake
deleted file mode 100644
index 36d5ddc..0000000
--- a/build/data/arena/CMakeFiles/CMakeDirectoryInformation.cmake
+++ /dev/null
@@ -1,27 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Relative path conversion top directories.
-SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/scarab/tuxanci")
-SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/scarab/tuxanci/build")
-
-# Force unix paths in dependencies.
-SET(CMAKE_FORCE_UNIX_PATHS 1)
-
-# The C and CXX include file search paths:
-SET(CMAKE_C_INCLUDE_PATH
- "../src/base"
- "../src/net"
- "../src/client"
- "../src/screen"
- "../src/widget"
- "/usr/include/SDL"
- )
-SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-
-# The C and CXX include file regular expressions for this directory.
-SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
-SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
-SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
-SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/build/data/arena/CMakeFiles/progress.make b/build/data/arena/CMakeFiles/progress.make
deleted file mode 100644
index 573541a..0000000
--- a/build/data/arena/CMakeFiles/progress.make
+++ /dev/null
@@ -1 +0,0 @@
-0
diff --git a/build/data/arena/Makefile b/build/data/arena/Makefile
deleted file mode 100644
index bf08c5a..0000000
--- a/build/data/arena/Makefile
+++ /dev/null
@@ -1,167 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Default target executed when no arguments are given to make.
-default_target: all
-.PHONY : default_target
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-#=============================================================================
-# Targets provided globally by CMake.
-
-# Special rule for the target edit_cache
-edit_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
- cd /home/scarab/tuxanci/build/data/arena && /usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : edit_cache
-
-# Special rule for the target edit_cache
-edit_cache/fast: edit_cache
-.PHONY : edit_cache/fast
-
-# Special rule for the target install
-install: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/data/arena && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install
-
-# Special rule for the target install
-install/fast: preinstall/fast
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/data/arena && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install/fast
-
-# Special rule for the target install/local
-install/local: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
- cd /home/scarab/tuxanci/build/data/arena && /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
-.PHONY : install/local
-
-# Special rule for the target install/local
-install/local/fast: install/local
-.PHONY : install/local/fast
-
-# Special rule for the target install/strip
-install/strip: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
- cd /home/scarab/tuxanci/build/data/arena && /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
-.PHONY : install/strip
-
-# Special rule for the target install/strip
-install/strip/fast: install/strip
-.PHONY : install/strip/fast
-
-# Special rule for the target list_install_components
-list_install_components:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
-.PHONY : list_install_components
-
-# Special rule for the target list_install_components
-list_install_components/fast: list_install_components
-.PHONY : list_install_components/fast
-
-# Special rule for the target rebuild_cache
-rebuild_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
- cd /home/scarab/tuxanci/build/data/arena && /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : rebuild_cache
-
-# Special rule for the target rebuild_cache
-rebuild_cache/fast: rebuild_cache
-.PHONY : rebuild_cache/fast
-
-# The main all target
-all: cmake_check_build_system
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles /home/scarab/tuxanci/build/data/arena/CMakeFiles/progress.make
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/arena/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : all
-
-# The main clean target
-clean:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/arena/clean
-.PHONY : clean
-
-# The main clean target
-clean/fast: clean
-.PHONY : clean/fast
-
-# Prepare targets for installation.
-preinstall: all
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/arena/preinstall
-.PHONY : preinstall
-
-# Prepare targets for installation.
-preinstall/fast:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/arena/preinstall
-.PHONY : preinstall/fast
-
-# clear depends
-depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
-.PHONY : depend
-
-# Help Target
-help:
- @echo "The following are some of the valid targets for this Makefile:"
- @echo "... all (the default if no target is provided)"
- @echo "... clean"
- @echo "... depend"
- @echo "... edit_cache"
- @echo "... install"
- @echo "... install/local"
- @echo "... install/strip"
- @echo "... list_install_components"
- @echo "... rebuild_cache"
-.PHONY : help
-
-
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-.PHONY : cmake_check_build_system
-
diff --git a/build/data/arena/cmake_install.cmake b/build/data/arena/cmake_install.cmake
deleted file mode 100644
index 9eeec40..0000000
--- a/build/data/arena/cmake_install.cmake
+++ /dev/null
@@ -1,44 +0,0 @@
-# Install script for directory: /home/scarab/tuxanci/data/arena
-
-# Set the install prefix
-IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
- SET(CMAKE_INSTALL_PREFIX "/usr/local")
-ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
-STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
-
-# Set the install configuration name.
-IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
- IF(BUILD_TYPE)
- STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
- CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
- ELSE(BUILD_TYPE)
- SET(CMAKE_INSTALL_CONFIG_NAME "")
- ENDIF(BUILD_TYPE)
- MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
-ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
-
-# Set the component getting installed.
-IF(NOT CMAKE_INSTALL_COMPONENT)
- IF(COMPONENT)
- MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
- SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
- ELSE(COMPONENT)
- SET(CMAKE_INSTALL_COMPONENT)
- ENDIF(COMPONENT)
-ENDIF(NOT CMAKE_INSTALL_COMPONENT)
-
-# Install shared libraries without execute permission?
-IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
- SET(CMAKE_INSTALL_SO_NO_EXE "0")
-ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
-
-IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
- FILE(INSTALL DESTINATION "/usr/local/share/tuxanci-dev/arena" TYPE FILE FILES
- "/home/scarab/tuxanci/data/arena/ba_in_a_captivity_of_8-bit.zip"
- "/home/scarab/tuxanci/data/arena/night_workshift.zip"
- "/home/scarab/tuxanci/data/arena/for_a_good_night.zip"
- "/home/scarab/tuxanci/data/arena/in_a_captivity_of_8-bit.zip"
- "/home/scarab/tuxanci/data/arena/construction_site.zip"
- )
-ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
-
diff --git a/build/data/cmake_install.cmake b/build/data/cmake_install.cmake
deleted file mode 100644
index 9fa0ff6..0000000
--- a/build/data/cmake_install.cmake
+++ /dev/null
@@ -1,49 +0,0 @@
-# Install script for directory: /home/scarab/tuxanci/data
-
-# Set the install prefix
-IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
- SET(CMAKE_INSTALL_PREFIX "/usr/local")
-ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
-STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
-
-# Set the install configuration name.
-IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
- IF(BUILD_TYPE)
- STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
- CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
- ELSE(BUILD_TYPE)
- SET(CMAKE_INSTALL_CONFIG_NAME "")
- ENDIF(BUILD_TYPE)
- MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
-ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
-
-# Set the component getting installed.
-IF(NOT CMAKE_INSTALL_COMPONENT)
- IF(COMPONENT)
- MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
- SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
- ELSE(COMPONENT)
- SET(CMAKE_INSTALL_COMPONENT)
- ENDIF(COMPONENT)
-ENDIF(NOT CMAKE_INSTALL_COMPONENT)
-
-# Install shared libraries without execute permission?
-IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
- SET(CMAKE_INSTALL_SO_NO_EXE "0")
-ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
-
-IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
- FILE(INSTALL DESTINATION "/usr/local/share/doc/tuxanci-dev" TYPE FILE FILES "/home/scarab/tuxanci/data/tuxanci.svg")
-ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
-
-IF(NOT CMAKE_INSTALL_LOCAL_ONLY)
- # Include the install script for each subdirectory.
- INCLUDE("/home/scarab/tuxanci/build/data/arena/cmake_install.cmake")
- INCLUDE("/home/scarab/tuxanci/build/data/conf/cmake_install.cmake")
- INCLUDE("/home/scarab/tuxanci/build/data/font/cmake_install.cmake")
- INCLUDE("/home/scarab/tuxanci/build/data/images/cmake_install.cmake")
- INCLUDE("/home/scarab/tuxanci/build/data/music/cmake_install.cmake")
- INCLUDE("/home/scarab/tuxanci/build/data/sound/cmake_install.cmake")
-
-ENDIF(NOT CMAKE_INSTALL_LOCAL_ONLY)
-
diff --git a/build/data/conf/CMakeFiles/CMakeDirectoryInformation.cmake b/build/data/conf/CMakeFiles/CMakeDirectoryInformation.cmake
deleted file mode 100644
index 36d5ddc..0000000
--- a/build/data/conf/CMakeFiles/CMakeDirectoryInformation.cmake
+++ /dev/null
@@ -1,27 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Relative path conversion top directories.
-SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/scarab/tuxanci")
-SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/scarab/tuxanci/build")
-
-# Force unix paths in dependencies.
-SET(CMAKE_FORCE_UNIX_PATHS 1)
-
-# The C and CXX include file search paths:
-SET(CMAKE_C_INCLUDE_PATH
- "../src/base"
- "../src/net"
- "../src/client"
- "../src/screen"
- "../src/widget"
- "/usr/include/SDL"
- )
-SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-
-# The C and CXX include file regular expressions for this directory.
-SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
-SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
-SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
-SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/build/data/conf/CMakeFiles/progress.make b/build/data/conf/CMakeFiles/progress.make
deleted file mode 100644
index 573541a..0000000
--- a/build/data/conf/CMakeFiles/progress.make
+++ /dev/null
@@ -1 +0,0 @@
-0
diff --git a/build/data/conf/Makefile b/build/data/conf/Makefile
deleted file mode 100644
index 463ef23..0000000
--- a/build/data/conf/Makefile
+++ /dev/null
@@ -1,167 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Default target executed when no arguments are given to make.
-default_target: all
-.PHONY : default_target
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-#=============================================================================
-# Targets provided globally by CMake.
-
-# Special rule for the target edit_cache
-edit_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
- cd /home/scarab/tuxanci/build/data/conf && /usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : edit_cache
-
-# Special rule for the target edit_cache
-edit_cache/fast: edit_cache
-.PHONY : edit_cache/fast
-
-# Special rule for the target install
-install: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/data/conf && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install
-
-# Special rule for the target install
-install/fast: preinstall/fast
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/data/conf && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install/fast
-
-# Special rule for the target install/local
-install/local: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
- cd /home/scarab/tuxanci/build/data/conf && /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
-.PHONY : install/local
-
-# Special rule for the target install/local
-install/local/fast: install/local
-.PHONY : install/local/fast
-
-# Special rule for the target install/strip
-install/strip: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
- cd /home/scarab/tuxanci/build/data/conf && /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
-.PHONY : install/strip
-
-# Special rule for the target install/strip
-install/strip/fast: install/strip
-.PHONY : install/strip/fast
-
-# Special rule for the target list_install_components
-list_install_components:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
-.PHONY : list_install_components
-
-# Special rule for the target list_install_components
-list_install_components/fast: list_install_components
-.PHONY : list_install_components/fast
-
-# Special rule for the target rebuild_cache
-rebuild_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
- cd /home/scarab/tuxanci/build/data/conf && /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : rebuild_cache
-
-# Special rule for the target rebuild_cache
-rebuild_cache/fast: rebuild_cache
-.PHONY : rebuild_cache/fast
-
-# The main all target
-all: cmake_check_build_system
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles /home/scarab/tuxanci/build/data/conf/CMakeFiles/progress.make
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/conf/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : all
-
-# The main clean target
-clean:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/conf/clean
-.PHONY : clean
-
-# The main clean target
-clean/fast: clean
-.PHONY : clean/fast
-
-# Prepare targets for installation.
-preinstall: all
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/conf/preinstall
-.PHONY : preinstall
-
-# Prepare targets for installation.
-preinstall/fast:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/conf/preinstall
-.PHONY : preinstall/fast
-
-# clear depends
-depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
-.PHONY : depend
-
-# Help Target
-help:
- @echo "The following are some of the valid targets for this Makefile:"
- @echo "... all (the default if no target is provided)"
- @echo "... clean"
- @echo "... depend"
- @echo "... edit_cache"
- @echo "... install"
- @echo "... install/local"
- @echo "... install/strip"
- @echo "... list_install_components"
- @echo "... rebuild_cache"
-.PHONY : help
-
-
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-.PHONY : cmake_check_build_system
-
diff --git a/build/data/conf/cmake_install.cmake b/build/data/conf/cmake_install.cmake
deleted file mode 100644
index 2feffe2..0000000
--- a/build/data/conf/cmake_install.cmake
+++ /dev/null
@@ -1,34 +0,0 @@
-# Install script for directory: /home/scarab/tuxanci/data/conf
-
-# Set the install prefix
-IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
- SET(CMAKE_INSTALL_PREFIX "/usr/local")
-ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
-STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
-
-# Set the install configuration name.
-IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
- IF(BUILD_TYPE)
- STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
- CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
- ELSE(BUILD_TYPE)
- SET(CMAKE_INSTALL_CONFIG_NAME "")
- ENDIF(BUILD_TYPE)
- MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
-ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
-
-# Set the component getting installed.
-IF(NOT CMAKE_INSTALL_COMPONENT)
- IF(COMPONENT)
- MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
- SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
- ELSE(COMPONENT)
- SET(CMAKE_INSTALL_COMPONENT)
- ENDIF(COMPONENT)
-ENDIF(NOT CMAKE_INSTALL_COMPONENT)
-
-# Install shared libraries without execute permission?
-IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
- SET(CMAKE_INSTALL_SO_NO_EXE "0")
-ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
-
diff --git a/build/data/font/CMakeFiles/CMakeDirectoryInformation.cmake b/build/data/font/CMakeFiles/CMakeDirectoryInformation.cmake
deleted file mode 100644
index 36d5ddc..0000000
--- a/build/data/font/CMakeFiles/CMakeDirectoryInformation.cmake
+++ /dev/null
@@ -1,27 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Relative path conversion top directories.
-SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/scarab/tuxanci")
-SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/scarab/tuxanci/build")
-
-# Force unix paths in dependencies.
-SET(CMAKE_FORCE_UNIX_PATHS 1)
-
-# The C and CXX include file search paths:
-SET(CMAKE_C_INCLUDE_PATH
- "../src/base"
- "../src/net"
- "../src/client"
- "../src/screen"
- "../src/widget"
- "/usr/include/SDL"
- )
-SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-
-# The C and CXX include file regular expressions for this directory.
-SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
-SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
-SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
-SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/build/data/font/CMakeFiles/progress.make b/build/data/font/CMakeFiles/progress.make
deleted file mode 100644
index 573541a..0000000
--- a/build/data/font/CMakeFiles/progress.make
+++ /dev/null
@@ -1 +0,0 @@
-0
diff --git a/build/data/font/Makefile b/build/data/font/Makefile
deleted file mode 100644
index 894dc09..0000000
--- a/build/data/font/Makefile
+++ /dev/null
@@ -1,167 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Default target executed when no arguments are given to make.
-default_target: all
-.PHONY : default_target
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-#=============================================================================
-# Targets provided globally by CMake.
-
-# Special rule for the target edit_cache
-edit_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
- cd /home/scarab/tuxanci/build/data/font && /usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : edit_cache
-
-# Special rule for the target edit_cache
-edit_cache/fast: edit_cache
-.PHONY : edit_cache/fast
-
-# Special rule for the target install
-install: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/data/font && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install
-
-# Special rule for the target install
-install/fast: preinstall/fast
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/data/font && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install/fast
-
-# Special rule for the target install/local
-install/local: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
- cd /home/scarab/tuxanci/build/data/font && /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
-.PHONY : install/local
-
-# Special rule for the target install/local
-install/local/fast: install/local
-.PHONY : install/local/fast
-
-# Special rule for the target install/strip
-install/strip: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
- cd /home/scarab/tuxanci/build/data/font && /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
-.PHONY : install/strip
-
-# Special rule for the target install/strip
-install/strip/fast: install/strip
-.PHONY : install/strip/fast
-
-# Special rule for the target list_install_components
-list_install_components:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
-.PHONY : list_install_components
-
-# Special rule for the target list_install_components
-list_install_components/fast: list_install_components
-.PHONY : list_install_components/fast
-
-# Special rule for the target rebuild_cache
-rebuild_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
- cd /home/scarab/tuxanci/build/data/font && /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : rebuild_cache
-
-# Special rule for the target rebuild_cache
-rebuild_cache/fast: rebuild_cache
-.PHONY : rebuild_cache/fast
-
-# The main all target
-all: cmake_check_build_system
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles /home/scarab/tuxanci/build/data/font/CMakeFiles/progress.make
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/font/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : all
-
-# The main clean target
-clean:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/font/clean
-.PHONY : clean
-
-# The main clean target
-clean/fast: clean
-.PHONY : clean/fast
-
-# Prepare targets for installation.
-preinstall: all
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/font/preinstall
-.PHONY : preinstall
-
-# Prepare targets for installation.
-preinstall/fast:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/font/preinstall
-.PHONY : preinstall/fast
-
-# clear depends
-depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
-.PHONY : depend
-
-# Help Target
-help:
- @echo "The following are some of the valid targets for this Makefile:"
- @echo "... all (the default if no target is provided)"
- @echo "... clean"
- @echo "... depend"
- @echo "... edit_cache"
- @echo "... install"
- @echo "... install/local"
- @echo "... install/strip"
- @echo "... list_install_components"
- @echo "... rebuild_cache"
-.PHONY : help
-
-
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-.PHONY : cmake_check_build_system
-
diff --git a/build/data/font/cmake_install.cmake b/build/data/font/cmake_install.cmake
deleted file mode 100644
index c4afe0d..0000000
--- a/build/data/font/cmake_install.cmake
+++ /dev/null
@@ -1,38 +0,0 @@
-# Install script for directory: /home/scarab/tuxanci/data/font
-
-# Set the install prefix
-IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
- SET(CMAKE_INSTALL_PREFIX "/usr/local")
-ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
-STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
-
-# Set the install configuration name.
-IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
- IF(BUILD_TYPE)
- STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
- CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
- ELSE(BUILD_TYPE)
- SET(CMAKE_INSTALL_CONFIG_NAME "")
- ENDIF(BUILD_TYPE)
- MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
-ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
-
-# Set the component getting installed.
-IF(NOT CMAKE_INSTALL_COMPONENT)
- IF(COMPONENT)
- MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
- SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
- ELSE(COMPONENT)
- SET(CMAKE_INSTALL_COMPONENT)
- ENDIF(COMPONENT)
-ENDIF(NOT CMAKE_INSTALL_COMPONENT)
-
-# Install shared libraries without execute permission?
-IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
- SET(CMAKE_INSTALL_SO_NO_EXE "0")
-ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
-
-IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
- FILE(INSTALL DESTINATION "/usr/local/share/tuxanci-dev/font" TYPE FILE FILES "/home/scarab/tuxanci/data/font/DejaVuSans.ttf")
-ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
-
diff --git a/build/data/images/CMakeFiles/CMakeDirectoryInformation.cmake b/build/data/images/CMakeFiles/CMakeDirectoryInformation.cmake
deleted file mode 100644
index 36d5ddc..0000000
--- a/build/data/images/CMakeFiles/CMakeDirectoryInformation.cmake
+++ /dev/null
@@ -1,27 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Relative path conversion top directories.
-SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/scarab/tuxanci")
-SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/scarab/tuxanci/build")
-
-# Force unix paths in dependencies.
-SET(CMAKE_FORCE_UNIX_PATHS 1)
-
-# The C and CXX include file search paths:
-SET(CMAKE_C_INCLUDE_PATH
- "../src/base"
- "../src/net"
- "../src/client"
- "../src/screen"
- "../src/widget"
- "/usr/include/SDL"
- )
-SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-
-# The C and CXX include file regular expressions for this directory.
-SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
-SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
-SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
-SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/build/data/images/CMakeFiles/progress.make b/build/data/images/CMakeFiles/progress.make
deleted file mode 100644
index 573541a..0000000
--- a/build/data/images/CMakeFiles/progress.make
+++ /dev/null
@@ -1 +0,0 @@
-0
diff --git a/build/data/images/Makefile b/build/data/images/Makefile
deleted file mode 100644
index 9a000dc..0000000
--- a/build/data/images/Makefile
+++ /dev/null
@@ -1,167 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Default target executed when no arguments are given to make.
-default_target: all
-.PHONY : default_target
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-#=============================================================================
-# Targets provided globally by CMake.
-
-# Special rule for the target edit_cache
-edit_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
- cd /home/scarab/tuxanci/build/data/images && /usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : edit_cache
-
-# Special rule for the target edit_cache
-edit_cache/fast: edit_cache
-.PHONY : edit_cache/fast
-
-# Special rule for the target install
-install: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/data/images && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install
-
-# Special rule for the target install
-install/fast: preinstall/fast
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/data/images && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install/fast
-
-# Special rule for the target install/local
-install/local: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
- cd /home/scarab/tuxanci/build/data/images && /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
-.PHONY : install/local
-
-# Special rule for the target install/local
-install/local/fast: install/local
-.PHONY : install/local/fast
-
-# Special rule for the target install/strip
-install/strip: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
- cd /home/scarab/tuxanci/build/data/images && /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
-.PHONY : install/strip
-
-# Special rule for the target install/strip
-install/strip/fast: install/strip
-.PHONY : install/strip/fast
-
-# Special rule for the target list_install_components
-list_install_components:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
-.PHONY : list_install_components
-
-# Special rule for the target list_install_components
-list_install_components/fast: list_install_components
-.PHONY : list_install_components/fast
-
-# Special rule for the target rebuild_cache
-rebuild_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
- cd /home/scarab/tuxanci/build/data/images && /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : rebuild_cache
-
-# Special rule for the target rebuild_cache
-rebuild_cache/fast: rebuild_cache
-.PHONY : rebuild_cache/fast
-
-# The main all target
-all: cmake_check_build_system
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles /home/scarab/tuxanci/build/data/images/CMakeFiles/progress.make
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/images/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : all
-
-# The main clean target
-clean:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/images/clean
-.PHONY : clean
-
-# The main clean target
-clean/fast: clean
-.PHONY : clean/fast
-
-# Prepare targets for installation.
-preinstall: all
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/images/preinstall
-.PHONY : preinstall
-
-# Prepare targets for installation.
-preinstall/fast:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/images/preinstall
-.PHONY : preinstall/fast
-
-# clear depends
-depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
-.PHONY : depend
-
-# Help Target
-help:
- @echo "The following are some of the valid targets for this Makefile:"
- @echo "... all (the default if no target is provided)"
- @echo "... clean"
- @echo "... depend"
- @echo "... edit_cache"
- @echo "... install"
- @echo "... install/local"
- @echo "... install/strip"
- @echo "... list_install_components"
- @echo "... rebuild_cache"
-.PHONY : help
-
-
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-.PHONY : cmake_check_build_system
-
diff --git a/build/data/images/cmake_install.cmake b/build/data/images/cmake_install.cmake
deleted file mode 100644
index 48bd8d5..0000000
--- a/build/data/images/cmake_install.cmake
+++ /dev/null
@@ -1,95 +0,0 @@
-# Install script for directory: /home/scarab/tuxanci/data/images
-
-# Set the install prefix
-IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
- SET(CMAKE_INSTALL_PREFIX "/usr/local")
-ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
-STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
-
-# Set the install configuration name.
-IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
- IF(BUILD_TYPE)
- STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
- CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
- ELSE(BUILD_TYPE)
- SET(CMAKE_INSTALL_CONFIG_NAME "")
- ENDIF(BUILD_TYPE)
- MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
-ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
-
-# Set the component getting installed.
-IF(NOT CMAKE_INSTALL_COMPONENT)
- IF(COMPONENT)
- MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
- SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
- ELSE(COMPONENT)
- SET(CMAKE_INSTALL_COMPONENT)
- ENDIF(COMPONENT)
-ENDIF(NOT CMAKE_INSTALL_COMPONENT)
-
-# Install shared libraries without execute permission?
-IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
- SET(CMAKE_INSTALL_SO_NO_EXE "0")
-ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
-
-IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
- FILE(INSTALL DESTINATION "/usr/local/share/tuxanci-dev/images" TYPE FILE FILES
- "/home/scarab/tuxanci/data/images/textfield0.png"
- "/home/scarab/tuxanci/data/images/radar.png"
- "/home/scarab/tuxanci/data/images/explosion.png"
- "/home/scarab/tuxanci/data/images/item.lasser.png"
- "/home/scarab/tuxanci/data/images/tux4.png"
- "/home/scarab/tuxanci/data/images/mine.png"
- "/home/scarab/tuxanci/data/images/tuxanci.png"
- "/home/scarab/tuxanci/data/images/tux6.png"
- "/home/scarab/tuxanci/data/images/icon.bonus.shot.png"
- "/home/scarab/tuxanci/data/images/icon.gun.tommy.png"
- "/home/scarab/tuxanci/data/images/item.bonus.shot.png"
- "/home/scarab/tuxanci/data/images/pauza.png"
- "/home/scarab/tuxanci/data/images/naboj.png"
- "/home/scarab/tuxanci/data/images/check.png"
- "/home/scarab/tuxanci/data/images/cross.png"
- "/home/scarab/tuxanci/data/images/big-explosion.png"
- "/home/scarab/tuxanci/data/images/icon.bonus.teleport.png"
- "/home/scarab/tuxanci/data/images/icon.bonus.ghost.png"
- "/home/scarab/tuxanci/data/images/item.scatter.png"
- "/home/scarab/tuxanci/data/images/icon.gun.simple.png"
- "/home/scarab/tuxanci/data/images/icon.bonus.speed.png"
- "/home/scarab/tuxanci/data/images/item.bombball.png"
- "/home/scarab/tuxanci/data/images/item.dual.png"
- "/home/scarab/tuxanci/data/images/textfield1.png"
- "/home/scarab/tuxanci/data/images/item.bonus.4x.png"
- "/home/scarab/tuxanci/data/images/button0.png"
- "/home/scarab/tuxanci/data/images/screen_main.png"
- "/home/scarab/tuxanci/data/images/level4.png"
- "/home/scarab/tuxanci/data/images/item.bonus.ghost.png"
- "/home/scarab/tuxanci/data/images/item.mine.png"
- "/home/scarab/tuxanci/data/images/lasserX.png"
- "/home/scarab/tuxanci/data/images/item.bonus.hidden.png"
- "/home/scarab/tuxanci/data/images/screen_table.png"
- "/home/scarab/tuxanci/data/images/shot.png"
- "/home/scarab/tuxanci/data/images/item.tommy.png"
- "/home/scarab/tuxanci/data/images/button1.png"
- "/home/scarab/tuxanci/data/images/icon.gun.dual.simple.png"
- "/home/scarab/tuxanci/data/images/chat.png"
- "/home/scarab/tuxanci/data/images/icon.gun.bombball.png"
- "/home/scarab/tuxanci/data/images/panel_shot.png"
- "/home/scarab/tuxanci/data/images/item.bonus.speed.png"
- "/home/scarab/tuxanci/data/images/icon.bonus.4x.png"
- "/home/scarab/tuxanci/data/images/tux8.png"
- "/home/scarab/tuxanci/data/images/icon.gun.lasser.png"
- "/home/scarab/tuxanci/data/images/panel.png"
- "/home/scarab/tuxanci/data/images/bombball.png"
- "/home/scarab/tuxanci/data/images/choice.png"
- "/home/scarab/tuxanci/data/images/icon.gun.scatter.png"
- "/home/scarab/tuxanci/data/images/lasserY.png"
- "/home/scarab/tuxanci/data/images/graf.bonus.png"
- "/home/scarab/tuxanci/data/images/in_a_captivity_of_8-bit.png"
- "/home/scarab/tuxanci/data/images/pokus.png"
- "/home/scarab/tuxanci/data/images/icon.bonus.hidden.png"
- "/home/scarab/tuxanci/data/images/item.bonus.teleport.png"
- "/home/scarab/tuxanci/data/images/tux2.png"
- "/home/scarab/tuxanci/data/images/icon.gun.mine.png"
- )
-ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
-
diff --git a/build/data/music/CMakeFiles/CMakeDirectoryInformation.cmake b/build/data/music/CMakeFiles/CMakeDirectoryInformation.cmake
deleted file mode 100644
index 36d5ddc..0000000
--- a/build/data/music/CMakeFiles/CMakeDirectoryInformation.cmake
+++ /dev/null
@@ -1,27 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Relative path conversion top directories.
-SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/scarab/tuxanci")
-SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/scarab/tuxanci/build")
-
-# Force unix paths in dependencies.
-SET(CMAKE_FORCE_UNIX_PATHS 1)
-
-# The C and CXX include file search paths:
-SET(CMAKE_C_INCLUDE_PATH
- "../src/base"
- "../src/net"
- "../src/client"
- "../src/screen"
- "../src/widget"
- "/usr/include/SDL"
- )
-SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-
-# The C and CXX include file regular expressions for this directory.
-SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
-SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
-SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
-SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/build/data/music/CMakeFiles/progress.make b/build/data/music/CMakeFiles/progress.make
deleted file mode 100644
index 573541a..0000000
--- a/build/data/music/CMakeFiles/progress.make
+++ /dev/null
@@ -1 +0,0 @@
-0
diff --git a/build/data/music/Makefile b/build/data/music/Makefile
deleted file mode 100644
index e074b8d..0000000
--- a/build/data/music/Makefile
+++ /dev/null
@@ -1,167 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Default target executed when no arguments are given to make.
-default_target: all
-.PHONY : default_target
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-#=============================================================================
-# Targets provided globally by CMake.
-
-# Special rule for the target edit_cache
-edit_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
- cd /home/scarab/tuxanci/build/data/music && /usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : edit_cache
-
-# Special rule for the target edit_cache
-edit_cache/fast: edit_cache
-.PHONY : edit_cache/fast
-
-# Special rule for the target install
-install: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/data/music && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install
-
-# Special rule for the target install
-install/fast: preinstall/fast
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/data/music && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install/fast
-
-# Special rule for the target install/local
-install/local: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
- cd /home/scarab/tuxanci/build/data/music && /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
-.PHONY : install/local
-
-# Special rule for the target install/local
-install/local/fast: install/local
-.PHONY : install/local/fast
-
-# Special rule for the target install/strip
-install/strip: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
- cd /home/scarab/tuxanci/build/data/music && /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
-.PHONY : install/strip
-
-# Special rule for the target install/strip
-install/strip/fast: install/strip
-.PHONY : install/strip/fast
-
-# Special rule for the target list_install_components
-list_install_components:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
-.PHONY : list_install_components
-
-# Special rule for the target list_install_components
-list_install_components/fast: list_install_components
-.PHONY : list_install_components/fast
-
-# Special rule for the target rebuild_cache
-rebuild_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
- cd /home/scarab/tuxanci/build/data/music && /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : rebuild_cache
-
-# Special rule for the target rebuild_cache
-rebuild_cache/fast: rebuild_cache
-.PHONY : rebuild_cache/fast
-
-# The main all target
-all: cmake_check_build_system
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles /home/scarab/tuxanci/build/data/music/CMakeFiles/progress.make
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/music/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : all
-
-# The main clean target
-clean:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/music/clean
-.PHONY : clean
-
-# The main clean target
-clean/fast: clean
-.PHONY : clean/fast
-
-# Prepare targets for installation.
-preinstall: all
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/music/preinstall
-.PHONY : preinstall
-
-# Prepare targets for installation.
-preinstall/fast:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/music/preinstall
-.PHONY : preinstall/fast
-
-# clear depends
-depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
-.PHONY : depend
-
-# Help Target
-help:
- @echo "The following are some of the valid targets for this Makefile:"
- @echo "... all (the default if no target is provided)"
- @echo "... clean"
- @echo "... depend"
- @echo "... edit_cache"
- @echo "... install"
- @echo "... install/local"
- @echo "... install/strip"
- @echo "... list_install_components"
- @echo "... rebuild_cache"
-.PHONY : help
-
-
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-.PHONY : cmake_check_build_system
-
diff --git a/build/data/music/cmake_install.cmake b/build/data/music/cmake_install.cmake
deleted file mode 100644
index a75d160..0000000
--- a/build/data/music/cmake_install.cmake
+++ /dev/null
@@ -1,38 +0,0 @@
-# Install script for directory: /home/scarab/tuxanci/data/music
-
-# Set the install prefix
-IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
- SET(CMAKE_INSTALL_PREFIX "/usr/local")
-ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
-STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
-
-# Set the install configuration name.
-IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
- IF(BUILD_TYPE)
- STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
- CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
- ELSE(BUILD_TYPE)
- SET(CMAKE_INSTALL_CONFIG_NAME "")
- ENDIF(BUILD_TYPE)
- MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
-ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
-
-# Set the component getting installed.
-IF(NOT CMAKE_INSTALL_COMPONENT)
- IF(COMPONENT)
- MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
- SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
- ELSE(COMPONENT)
- SET(CMAKE_INSTALL_COMPONENT)
- ENDIF(COMPONENT)
-ENDIF(NOT CMAKE_INSTALL_COMPONENT)
-
-# Install shared libraries without execute permission?
-IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
- SET(CMAKE_INSTALL_SO_NO_EXE "0")
-ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
-
-IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
- FILE(INSTALL DESTINATION "/usr/local/share/tuxanci-dev/music" TYPE FILE FILES "/home/scarab/tuxanci/data/music/menu.ogg")
-ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
-
diff --git a/build/data/sound/CMakeFiles/CMakeDirectoryInformation.cmake b/build/data/sound/CMakeFiles/CMakeDirectoryInformation.cmake
deleted file mode 100644
index 36d5ddc..0000000
--- a/build/data/sound/CMakeFiles/CMakeDirectoryInformation.cmake
+++ /dev/null
@@ -1,27 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Relative path conversion top directories.
-SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/scarab/tuxanci")
-SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/scarab/tuxanci/build")
-
-# Force unix paths in dependencies.
-SET(CMAKE_FORCE_UNIX_PATHS 1)
-
-# The C and CXX include file search paths:
-SET(CMAKE_C_INCLUDE_PATH
- "../src/base"
- "../src/net"
- "../src/client"
- "../src/screen"
- "../src/widget"
- "/usr/include/SDL"
- )
-SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-
-# The C and CXX include file regular expressions for this directory.
-SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
-SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
-SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
-SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/build/data/sound/CMakeFiles/progress.make b/build/data/sound/CMakeFiles/progress.make
deleted file mode 100644
index 573541a..0000000
--- a/build/data/sound/CMakeFiles/progress.make
+++ /dev/null
@@ -1 +0,0 @@
-0
diff --git a/build/data/sound/Makefile b/build/data/sound/Makefile
deleted file mode 100644
index aac0607..0000000
--- a/build/data/sound/Makefile
+++ /dev/null
@@ -1,167 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Default target executed when no arguments are given to make.
-default_target: all
-.PHONY : default_target
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-#=============================================================================
-# Targets provided globally by CMake.
-
-# Special rule for the target edit_cache
-edit_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
- cd /home/scarab/tuxanci/build/data/sound && /usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : edit_cache
-
-# Special rule for the target edit_cache
-edit_cache/fast: edit_cache
-.PHONY : edit_cache/fast
-
-# Special rule for the target install
-install: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/data/sound && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install
-
-# Special rule for the target install
-install/fast: preinstall/fast
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/data/sound && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install/fast
-
-# Special rule for the target install/local
-install/local: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
- cd /home/scarab/tuxanci/build/data/sound && /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
-.PHONY : install/local
-
-# Special rule for the target install/local
-install/local/fast: install/local
-.PHONY : install/local/fast
-
-# Special rule for the target install/strip
-install/strip: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
- cd /home/scarab/tuxanci/build/data/sound && /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
-.PHONY : install/strip
-
-# Special rule for the target install/strip
-install/strip/fast: install/strip
-.PHONY : install/strip/fast
-
-# Special rule for the target list_install_components
-list_install_components:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
-.PHONY : list_install_components
-
-# Special rule for the target list_install_components
-list_install_components/fast: list_install_components
-.PHONY : list_install_components/fast
-
-# Special rule for the target rebuild_cache
-rebuild_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
- cd /home/scarab/tuxanci/build/data/sound && /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : rebuild_cache
-
-# Special rule for the target rebuild_cache
-rebuild_cache/fast: rebuild_cache
-.PHONY : rebuild_cache/fast
-
-# The main all target
-all: cmake_check_build_system
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles /home/scarab/tuxanci/build/data/sound/CMakeFiles/progress.make
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/sound/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : all
-
-# The main clean target
-clean:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/sound/clean
-.PHONY : clean
-
-# The main clean target
-clean/fast: clean
-.PHONY : clean/fast
-
-# Prepare targets for installation.
-preinstall: all
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/sound/preinstall
-.PHONY : preinstall
-
-# Prepare targets for installation.
-preinstall/fast:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 data/sound/preinstall
-.PHONY : preinstall/fast
-
-# clear depends
-depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
-.PHONY : depend
-
-# Help Target
-help:
- @echo "The following are some of the valid targets for this Makefile:"
- @echo "... all (the default if no target is provided)"
- @echo "... clean"
- @echo "... depend"
- @echo "... edit_cache"
- @echo "... install"
- @echo "... install/local"
- @echo "... install/strip"
- @echo "... list_install_components"
- @echo "... rebuild_cache"
-.PHONY : help
-
-
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-.PHONY : cmake_check_build_system
-
diff --git a/build/data/sound/cmake_install.cmake b/build/data/sound/cmake_install.cmake
deleted file mode 100644
index 6181b93..0000000
--- a/build/data/sound/cmake_install.cmake
+++ /dev/null
@@ -1,57 +0,0 @@
-# Install script for directory: /home/scarab/tuxanci/data/sound
-
-# Set the install prefix
-IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
- SET(CMAKE_INSTALL_PREFIX "/usr/local")
-ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
-STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
-
-# Set the install configuration name.
-IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
- IF(BUILD_TYPE)
- STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
- CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
- ELSE(BUILD_TYPE)
- SET(CMAKE_INSTALL_CONFIG_NAME "")
- ENDIF(BUILD_TYPE)
- MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
-ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
-
-# Set the component getting installed.
-IF(NOT CMAKE_INSTALL_COMPONENT)
- IF(COMPONENT)
- MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
- SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
- ELSE(COMPONENT)
- SET(CMAKE_INSTALL_COMPONENT)
- ENDIF(COMPONENT)
-ENDIF(NOT CMAKE_INSTALL_COMPONENT)
-
-# Install shared libraries without execute permission?
-IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
- SET(CMAKE_INSTALL_SO_NO_EXE "0")
-ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
-
-IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
- FILE(INSTALL DESTINATION "/usr/local/share/tuxanci-dev/sound" TYPE FILE FILES
- "/home/scarab/tuxanci/data/sound/tuxanci-smrt.ogg"
- "/home/scarab/tuxanci/data/sound/odraz-gun.ogg"
- "/home/scarab/tuxanci/data/sound/item_gun.ogg"
- "/home/scarab/tuxanci/data/sound/gun_tommy.ogg"
- "/home/scarab/tuxanci/data/sound/gun_scatter.ogg"
- "/home/scarab/tuxanci/data/sound/odraz-l.ogg"
- "/home/scarab/tuxanci/data/sound/explozion.ogg"
- "/home/scarab/tuxanci/data/sound/odraz-r.ogg"
- "/home/scarab/tuxanci/data/sound/item_bonus.ogg"
- "/home/scarab/tuxanci/data/sound/gun2.ogg"
- "/home/scarab/tuxanci/data/sound/gun_revolver.ogg"
- "/home/scarab/tuxanci/data/sound/dead.ogg"
- "/home/scarab/tuxanci/data/sound/switch_gun.ogg"
- "/home/scarab/tuxanci/data/sound/put_mine.ogg"
- "/home/scarab/tuxanci/data/sound/teleport.ogg"
- "/home/scarab/tuxanci/data/sound/smrt.ogg"
- "/home/scarab/tuxanci/data/sound/end.ogg"
- "/home/scarab/tuxanci/data/sound/gun_lasser.ogg"
- )
-ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
-
diff --git a/build/src/CMakeFiles/CMakeDirectoryInformation.cmake b/build/src/CMakeFiles/CMakeDirectoryInformation.cmake
deleted file mode 100644
index 40b7e7c..0000000
--- a/build/src/CMakeFiles/CMakeDirectoryInformation.cmake
+++ /dev/null
@@ -1,28 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Relative path conversion top directories.
-SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/scarab/tuxanci")
-SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/scarab/tuxanci/build")
-
-# Force unix paths in dependencies.
-SET(CMAKE_FORCE_UNIX_PATHS 1)
-
-# The C and CXX include file search paths:
-SET(CMAKE_C_INCLUDE_PATH
- "../src/base"
- "../src/net"
- "../src/client"
- "../src/screen"
- "../src/widget"
- "/usr/include/SDL"
- "../src/audio"
- )
-SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-
-# The C and CXX include file regular expressions for this directory.
-SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
-SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
-SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
-SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/build/src/CMakeFiles/progress.make b/build/src/CMakeFiles/progress.make
deleted file mode 100644
index f906e18..0000000
--- a/build/src/CMakeFiles/progress.make
+++ /dev/null
@@ -1 +0,0 @@
-96
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/C.includecache b/build/src/CMakeFiles/tuxanci-dev.dir/C.includecache
deleted file mode 100644
index 5ed2291..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/C.includecache
+++ /dev/null
@@ -1,3322 +0,0 @@
-#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
-
-#IncludeRegexScan: ^.*$
-
-#IncludeRegexComplain: ^$
-
-#IncludeRegexTransform:
-
-../src/audio/audio.h
-main.h
-../src/audio/main.h
-
-../src/audio/music.h
-SDL_mixer.h
--
-main.h
-../src/audio/main.h
-
-../src/audio/sound.h
-SDL_mixer.h
--
-main.h
-../src/audio/main.h
-
-../src/base/arena.h
-main.h
-../src/base/main.h
-image.h
-../src/base/image.h
-list.h
-../src/base/list.h
-space.h
-../src/base/space.h
-
-../src/base/arenaFile.h
-main.h
-../src/base/main.h
-arena.h
-../src/base/arena.h
-textFile.h
-../src/base/textFile.h
-
-../src/base/bool.h
-main.h
-../src/base/main.h
-
-../src/base/buffer.h
-
-../src/base/director.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-
-../src/base/gun.h
-main.h
-../src/base/main.h
-tux.h
-../src/base/tux.h
-
-../src/base/homeDirector.h
-main.h
-../src/base/main.h
-
-../src/base/idManager.h
-list.h
-../src/base/list.h
-
-../src/base/item.h
-main.h
-../src/base/main.h
-image.h
-../src/base/image.h
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-myTimer.h
-../src/base/myTimer.h
-
-../src/base/list.h
-main.h
-../src/base/main.h
-
-../src/base/main.h
-libintl.h
--
-locale.h
--
-bool.h
-../src/base/bool.h
-string_length.h
-../src/base/string_length.h
-path.h
-../src/base/path.h
-
-../src/base/modules.h
-tux.h
-../src/base/tux.h
-shot.h
-../src/base/shot.h
-arena.h
-../src/base/arena.h
-proto.h
-../src/base/proto.h
-myTimer.h
-../src/base/myTimer.h
-image.h
-../src/base/image.h
-
-../src/base/myTimer.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-
-../src/base/net_multiplayer.h
-main.h
-../src/base/main.h
-tux.h
-../src/base/tux.h
-item.h
-../src/base/item.h
-arena.h
-../src/base/arena.h
-
-../src/base/path.h
-main.h
-../src/base/main.h
-
-../src/base/protect.h
-main.h
-../src/base/main.h
-myTimer.h
-../src/base/myTimer.h
-
-../src/base/proto.h
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-item.h
-../src/base/item.h
-shot.h
-../src/base/shot.h
-arenaFile.h
-../src/base/arenaFile.h
-myTimer.h
-../src/base/myTimer.h
-server.h
-../src/base/server.h
-net_multiplayer.h
-../src/base/net_multiplayer.h
-screen_world.h
-../src/base/screen_world.h
-screen_setting.h
-../src/base/screen_setting.h
-screen_choiceArena.h
-../src/base/screen_choiceArena.h
-client.h
-../src/base/client.h
-publicServer.h
-../src/base/publicServer.h
-
-../src/base/server.h
-time.h
--
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-myTimer.h
-../src/base/myTimer.h
-protect.h
-../src/base/protect.h
-buffer.h
-../src/base/buffer.h
-interface.h
-../src/base/interface.h
-udp.h
-../src/base/udp.h
-
-../src/base/serverSendMsg.h
-server.h
-../src/base/server.h
-
-../src/base/shot.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-arena.h
-../src/base/arena.h
-image.h
-../src/base/image.h
-
-../src/base/space.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-
-../src/base/storage.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-
-../src/base/string_length.h
-main.h
-../src/base/main.h
-
-../src/base/textFile.h
-list.h
-../src/base/list.h
-
-../src/base/tux.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-arena.h
-../src/base/arena.h
-
-../src/client/chat.h
-
-../src/client/client.h
-main.h
-../src/client/main.h
-
-../src/client/configFile.h
-main.h
-../src/client/main.h
-textFile.h
-../src/client/textFile.h
-
-../src/client/font.h
-SDL_ttf.h
--
-assert.h
--
-main.h
-../src/client/main.h
-
-../src/client/game.h
-
-../src/client/hotKey.h
-
-../src/client/image.h
-interface.h
-../src/client/interface.h
-
-../src/client/interface.h
-stdio.h
--
-string.h
--
-time.h
--
-SDL.h
--
-SDL_image.h
--
-SDL_thread.h
--
-main.h
-../src/client/main.h
-SDL_net.h
--
-
-../src/client/layer.h
-main.h
-../src/client/main.h
-image.h
-../src/client/image.h
-
-../src/client/panel.h
-main.h
-../src/client/main.h
-list.h
-../src/client/list.h
-
-../src/client/pauza.h
-main.h
-../src/client/main.h
-
-../src/client/radar.h
-arena.h
-../src/client/arena.h
-
-../src/client/saveDialog.h
-
-../src/client/saveLoad.h
-textFile.h
-../src/client/textFile.h
-arena.h
-../src/client/arena.h
-
-../src/client/screen.h
-main.h
-../src/client/main.h
-
-../src/client/term.h
-main.h
-../src/client/main.h
-
-../src/net/dns.h
-
-../src/net/tcp.h
-main.h
-../src/net/main.h
-sys/socket.h
--
-netinet/in.h
--
-netinet/tcp.h
--
-
-../src/net/udp.h
-netinet/in.h
--
-windows.h
--
-wininet.h
--
-
-../src/screen/screen_analyze.h
-main.h
-../src/screen/main.h
-
-../src/screen/screen_browser.h
-
-../src/screen/screen_choiceArena.h
-main.h
-../src/screen/main.h
-arenaFile.h
-../src/screen/arenaFile.h
-
-../src/screen/screen_credits.h
-
-../src/screen/screen_downArena.h
-
-../src/screen/screen_gameType.h
-main.h
-../src/screen/main.h
-
-../src/screen/screen_mainMenu.h
-main.h
-../src/screen/main.h
-
-../src/screen/screen_setting.h
-main.h
-../src/screen/main.h
-
-../src/screen/screen_settingKeys.h
-main.h
-../src/screen/main.h
-
-../src/screen/screen_table.h
-
-../src/screen/screen_world.h
-main.h
-../src/screen/main.h
-myTimer.h
-../src/screen/myTimer.h
-tux.h
-../src/screen/tux.h
-arenaFile.h
-../src/screen/arenaFile.h
-arena.h
-../src/screen/arena.h
-
-../src/widget/widget.h
-main.h
-../src/widget/main.h
-
-../src/widget/widget_button.h
-main.h
-../src/widget/main.h
-widget.h
-../src/widget/widget.h
-
-../src/widget/widget_buttonimage.h
-main.h
-../src/widget/main.h
-widget.h
-../src/widget/widget.h
-
-../src/widget/widget_catchkey.h
-main.h
-../src/widget/main.h
-widget.h
-../src/widget/widget.h
-
-../src/widget/widget_check.h
-main.h
-../src/widget/main.h
-widget.h
-../src/widget/widget.h
-
-../src/widget/widget_choicegroup.h
-main.h
-../src/widget/main.h
-list.h
-../src/widget/list.h
-widget.h
-../src/widget/widget.h
-
-../src/widget/widget_image.h
-main.h
-../src/widget/main.h
-interface.h
-../src/widget/interface.h
-widget.h
-../src/widget/widget.h
-
-../src/widget/widget_label.h
-main.h
-../src/widget/main.h
-widget.h
-../src/widget/widget.h
-
-../src/widget/widget_select.h
-main.h
-../src/widget/main.h
-list.h
-../src/widget/list.h
-widget.h
-../src/widget/widget.h
-
-../src/widget/widget_textfield.h
-main.h
-../src/widget/main.h
-widget.h
-../src/widget/widget.h
-
-/home/scarab/tuxanci/src/audio/audio.c
-stdio.h
--
-assert.h
--
-SDL_mixer.h
--
-main.h
-/home/scarab/tuxanci/src/audio/main.h
-audio.h
-/home/scarab/tuxanci/src/audio/audio.h
-interface.h
-/home/scarab/tuxanci/src/audio/interface.h
-
-/home/scarab/tuxanci/src/audio/audio.h
-main.h
-/home/scarab/tuxanci/src/audio/main.h
-
-/home/scarab/tuxanci/src/audio/music.c
-stdio.h
--
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/audio/main.h
-list.h
-/home/scarab/tuxanci/src/audio/list.h
-storage.h
-/home/scarab/tuxanci/src/audio/storage.h
-interface.h
-/home/scarab/tuxanci/src/audio/interface.h
-audio.h
-/home/scarab/tuxanci/src/audio/audio.h
-music.h
-/home/scarab/tuxanci/src/audio/music.h
-
-/home/scarab/tuxanci/src/audio/music.h
-SDL_mixer.h
--
-main.h
-/home/scarab/tuxanci/src/audio/main.h
-
-/home/scarab/tuxanci/src/audio/sound.c
-stdio.h
--
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/audio/main.h
-list.h
-/home/scarab/tuxanci/src/audio/list.h
-storage.h
-/home/scarab/tuxanci/src/audio/storage.h
-interface.h
-/home/scarab/tuxanci/src/audio/interface.h
-audio.h
-/home/scarab/tuxanci/src/audio/audio.h
-sound.h
-/home/scarab/tuxanci/src/audio/sound.h
-
-/home/scarab/tuxanci/src/audio/sound.h
-SDL_mixer.h
--
-main.h
-/home/scarab/tuxanci/src/audio/main.h
-
-/home/scarab/tuxanci/src/base/archive.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-unistd.h
--
-zzip/zzip.h
--
-archive.h
-/home/scarab/tuxanci/src/base/archive.h
-
-/home/scarab/tuxanci/src/base/archive.h
-
-/home/scarab/tuxanci/src/base/arena.c
-stdlib.h
--
-assert.h
--
-string.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-arena.h
-/home/scarab/tuxanci/src/base/arena.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-shot.h
-/home/scarab/tuxanci/src/base/shot.h
-item.h
-/home/scarab/tuxanci/src/base/item.h
-myTimer.h
-/home/scarab/tuxanci/src/base/myTimer.h
-modules.h
-/home/scarab/tuxanci/src/base/modules.h
-hotKey.h
-/home/scarab/tuxanci/src/base/hotKey.h
-screen_world.h
-/home/scarab/tuxanci/src/base/screen_world.h
-screen_setting.h
-/home/scarab/tuxanci/src/base/screen_setting.h
-layer.h
-/home/scarab/tuxanci/src/base/layer.h
-
-/home/scarab/tuxanci/src/base/arena.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-image.h
-/home/scarab/tuxanci/src/base/image.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-space.h
-/home/scarab/tuxanci/src/base/space.h
-
-/home/scarab/tuxanci/src/base/arenaFile.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-textFile.h
-/home/scarab/tuxanci/src/base/textFile.h
-arenaFile.h
-/home/scarab/tuxanci/src/base/arenaFile.h
-arena.h
-/home/scarab/tuxanci/src/base/arena.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-shot.h
-/home/scarab/tuxanci/src/base/shot.h
-item.h
-/home/scarab/tuxanci/src/base/item.h
-director.h
-/home/scarab/tuxanci/src/base/director.h
-modules.h
-/home/scarab/tuxanci/src/base/modules.h
-archive.h
-/home/scarab/tuxanci/src/base/archive.h
-homeDirector.h
-/home/scarab/tuxanci/src/base/homeDirector.h
-configFile.h
-/home/scarab/tuxanci/src/base/configFile.h
-image.h
-/home/scarab/tuxanci/src/base/image.h
-music.h
-/home/scarab/tuxanci/src/base/music.h
-
-/home/scarab/tuxanci/src/base/arenaFile.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-arena.h
-/home/scarab/tuxanci/src/base/arena.h
-textFile.h
-/home/scarab/tuxanci/src/base/textFile.h
-
-/home/scarab/tuxanci/src/base/bool.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/buffer.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-buffer.h
-/home/scarab/tuxanci/src/base/buffer.h
-
-/home/scarab/tuxanci/src/base/buffer.h
-
-/home/scarab/tuxanci/src/base/checkFront.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-myTimer.h
-/home/scarab/tuxanci/src/base/myTimer.h
-checkFront.h
-/home/scarab/tuxanci/src/base/checkFront.h
-idManager.h
-/home/scarab/tuxanci/src/base/idManager.h
-server.h
-/home/scarab/tuxanci/src/base/server.h
-
-/home/scarab/tuxanci/src/base/checkFront.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-server.h
-/home/scarab/tuxanci/src/base/server.h
-
-/home/scarab/tuxanci/src/base/director.c
-dirent.h
--
-sys/types.h
--
-stdlib.h
--
-string.h
--
-stdio.h
--
-unistd.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/director.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/gun.c
-stdio.h
--
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-arena.h
-/home/scarab/tuxanci/src/base/arena.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-shot.h
-/home/scarab/tuxanci/src/base/shot.h
-myTimer.h
-/home/scarab/tuxanci/src/base/myTimer.h
-item.h
-/home/scarab/tuxanci/src/base/item.h
-gun.h
-/home/scarab/tuxanci/src/base/gun.h
-proto.h
-/home/scarab/tuxanci/src/base/proto.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/base/net_multiplayer.h
-serverSendMsg.h
-/home/scarab/tuxanci/src/base/serverSendMsg.h
-sound.h
-/home/scarab/tuxanci/src/base/sound.h
-interface.h
-/home/scarab/tuxanci/src/base/interface.h
-screen_world.h
-/home/scarab/tuxanci/src/base/screen_world.h
-publicServer.h
-/home/scarab/tuxanci/src/base/publicServer.h
-
-/home/scarab/tuxanci/src/base/gun.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-
-/home/scarab/tuxanci/src/base/homeDirector.c
-stdlib.h
--
-stdio.h
--
-unistd.h
--
-assert.h
--
-sys/stat.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-homeDirector.h
-/home/scarab/tuxanci/src/base/homeDirector.h
-
-/home/scarab/tuxanci/src/base/homeDirector.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/idManager.c
-stdlib.h
--
-stdio.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-idManager.h
-/home/scarab/tuxanci/src/base/idManager.h
-
-/home/scarab/tuxanci/src/base/idManager.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/index.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-index.h
-/home/scarab/tuxanci/src/base/index.h
-
-/home/scarab/tuxanci/src/base/index.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/item.c
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-arena.h
-/home/scarab/tuxanci/src/base/arena.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-item.h
-/home/scarab/tuxanci/src/base/item.h
-shot.h
-/home/scarab/tuxanci/src/base/shot.h
-proto.h
-/home/scarab/tuxanci/src/base/proto.h
-idManager.h
-/home/scarab/tuxanci/src/base/idManager.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/base/net_multiplayer.h
-serverSendMsg.h
-/home/scarab/tuxanci/src/base/serverSendMsg.h
-interface.h
-/home/scarab/tuxanci/src/base/interface.h
-image.h
-/home/scarab/tuxanci/src/base/image.h
-layer.h
-/home/scarab/tuxanci/src/base/layer.h
-screen_world.h
-/home/scarab/tuxanci/src/base/screen_world.h
-screen_setting.h
-/home/scarab/tuxanci/src/base/screen_setting.h
-sound.h
-/home/scarab/tuxanci/src/base/sound.h
-publicServer.h
-/home/scarab/tuxanci/src/base/publicServer.h
-
-/home/scarab/tuxanci/src/base/item.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-image.h
-/home/scarab/tuxanci/src/base/image.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-myTimer.h
-/home/scarab/tuxanci/src/base/myTimer.h
-
-/home/scarab/tuxanci/src/base/list.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/list.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/main.c
-time.h
--
-stdio.h
--
-stdlib.h
--
-string.h
--
-signal.h
--
-unistd.h
--
-assert.h
--
-sys/stat.h
--
-windows.h
--
-wininet.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-game.h
-/home/scarab/tuxanci/src/base/game.h
-publicServer.h
-/home/scarab/tuxanci/src/base/publicServer.h
-
-/home/scarab/tuxanci/src/base/main.h
-libintl.h
--
-locale.h
--
-bool.h
-/home/scarab/tuxanci/src/base/bool.h
-string_length.h
-/home/scarab/tuxanci/src/base/string_length.h
-path.h
-/home/scarab/tuxanci/src/base/path.h
-
-/home/scarab/tuxanci/src/base/modules.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-dlfcn.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-shot.h
-/home/scarab/tuxanci/src/base/shot.h
-modules.h
-/home/scarab/tuxanci/src/base/modules.h
-arena.h
-/home/scarab/tuxanci/src/base/arena.h
-arenaFile.h
-/home/scarab/tuxanci/src/base/arenaFile.h
-proto.h
-/home/scarab/tuxanci/src/base/proto.h
-shareFunction.h
-/home/scarab/tuxanci/src/base/shareFunction.h
-interface.h
-/home/scarab/tuxanci/src/base/interface.h
-image.h
-/home/scarab/tuxanci/src/base/image.h
-layer.h
-/home/scarab/tuxanci/src/base/layer.h
-configFile.h
-/home/scarab/tuxanci/src/base/configFile.h
-
-/home/scarab/tuxanci/src/base/modules.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-shot.h
-/home/scarab/tuxanci/src/base/shot.h
-arena.h
-/home/scarab/tuxanci/src/base/arena.h
-proto.h
-/home/scarab/tuxanci/src/base/proto.h
-myTimer.h
-/home/scarab/tuxanci/src/base/myTimer.h
-image.h
-/home/scarab/tuxanci/src/base/image.h
-
-/home/scarab/tuxanci/src/base/myTimer.c
-time.h
--
-assert.h
--
-stdlib.h
--
-string.h
--
-sys/time.h
--
-signal.h
--
-time.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-myTimer.h
-/home/scarab/tuxanci/src/base/myTimer.h
-interface.h
-/home/scarab/tuxanci/src/base/interface.h
-
-/home/scarab/tuxanci/src/base/myTimer.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/net_multiplayer.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-unistd.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-item.h
-/home/scarab/tuxanci/src/base/item.h
-arenaFile.h
-/home/scarab/tuxanci/src/base/arenaFile.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/base/net_multiplayer.h
-server.h
-/home/scarab/tuxanci/src/base/server.h
-udp.h
-/home/scarab/tuxanci/src/base/udp.h
-screen_setting.h
-/home/scarab/tuxanci/src/base/screen_setting.h
-screen_choiceArena.h
-/home/scarab/tuxanci/src/base/screen_choiceArena.h
-screen.h
-/home/scarab/tuxanci/src/base/screen.h
-client.h
-/home/scarab/tuxanci/src/base/client.h
-
-/home/scarab/tuxanci/src/base/net_multiplayer.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-item.h
-/home/scarab/tuxanci/src/base/item.h
-arena.h
-/home/scarab/tuxanci/src/base/arena.h
-
-/home/scarab/tuxanci/src/base/path.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/protect.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-myTimer.h
-/home/scarab/tuxanci/src/base/myTimer.h
-protect.h
-/home/scarab/tuxanci/src/base/protect.h
-
-/home/scarab/tuxanci/src/base/protect.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-myTimer.h
-/home/scarab/tuxanci/src/base/myTimer.h
-
-/home/scarab/tuxanci/src/base/proto.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-item.h
-/home/scarab/tuxanci/src/base/item.h
-shot.h
-/home/scarab/tuxanci/src/base/shot.h
-arenaFile.h
-/home/scarab/tuxanci/src/base/arenaFile.h
-myTimer.h
-/home/scarab/tuxanci/src/base/myTimer.h
-server.h
-/home/scarab/tuxanci/src/base/server.h
-proto.h
-/home/scarab/tuxanci/src/base/proto.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/base/net_multiplayer.h
-checkFront.h
-/home/scarab/tuxanci/src/base/checkFront.h
-idManager.h
-/home/scarab/tuxanci/src/base/idManager.h
-modules.h
-/home/scarab/tuxanci/src/base/modules.h
-protect.h
-/home/scarab/tuxanci/src/base/protect.h
-serverSendMsg.h
-/home/scarab/tuxanci/src/base/serverSendMsg.h
-screen_world.h
-/home/scarab/tuxanci/src/base/screen_world.h
-screen_setting.h
-/home/scarab/tuxanci/src/base/screen_setting.h
-screen_choiceArena.h
-/home/scarab/tuxanci/src/base/screen_choiceArena.h
-screen_analyze.h
-/home/scarab/tuxanci/src/base/screen_analyze.h
-screen_downArena.h
-/home/scarab/tuxanci/src/base/screen_downArena.h
-client.h
-/home/scarab/tuxanci/src/base/client.h
-term.h
-/home/scarab/tuxanci/src/base/term.h
-radar.h
-/home/scarab/tuxanci/src/base/radar.h
-chat.h
-/home/scarab/tuxanci/src/base/chat.h
-heightScore.h
-/home/scarab/tuxanci/src/base/heightScore.h
-publicServer.h
-/home/scarab/tuxanci/src/base/publicServer.h
-serverConfigFile.h
-/home/scarab/tuxanci/src/base/serverConfigFile.h
-
-/home/scarab/tuxanci/src/base/proto.h
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-item.h
-/home/scarab/tuxanci/src/base/item.h
-shot.h
-/home/scarab/tuxanci/src/base/shot.h
-arenaFile.h
-/home/scarab/tuxanci/src/base/arenaFile.h
-myTimer.h
-/home/scarab/tuxanci/src/base/myTimer.h
-server.h
-/home/scarab/tuxanci/src/base/server.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/base/net_multiplayer.h
-screen_world.h
-/home/scarab/tuxanci/src/base/screen_world.h
-screen_setting.h
-/home/scarab/tuxanci/src/base/screen_setting.h
-screen_choiceArena.h
-/home/scarab/tuxanci/src/base/screen_choiceArena.h
-client.h
-/home/scarab/tuxanci/src/base/client.h
-publicServer.h
-/home/scarab/tuxanci/src/base/publicServer.h
-
-/home/scarab/tuxanci/src/base/server.c
-sys/socket.h
--
-sys/types.h
--
-netinet/in.h
--
-arpa/inet.h
--
-netdb.h
--
-windows.h
--
-wininet.h
--
-unistd.h
--
-stdlib.h
--
-stdio.h
--
-string.h
--
-assert.h
--
-fcntl.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-proto.h
-/home/scarab/tuxanci/src/base/proto.h
-server.h
-/home/scarab/tuxanci/src/base/server.h
-myTimer.h
-/home/scarab/tuxanci/src/base/myTimer.h
-arena.h
-/home/scarab/tuxanci/src/base/arena.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/base/net_multiplayer.h
-checkFront.h
-/home/scarab/tuxanci/src/base/checkFront.h
-protect.h
-/home/scarab/tuxanci/src/base/protect.h
-index.h
-/home/scarab/tuxanci/src/base/index.h
-serverSelect.h
-/home/scarab/tuxanci/src/base/serverSelect.h
-serverSendMsg.h
-/home/scarab/tuxanci/src/base/serverSendMsg.h
-screen_world.h
-/home/scarab/tuxanci/src/base/screen_world.h
-publicServer.h
-/home/scarab/tuxanci/src/base/publicServer.h
-heightScore.h
-/home/scarab/tuxanci/src/base/heightScore.h
-udp_server.h
-/home/scarab/tuxanci/src/base/udp_server.h
-
-/home/scarab/tuxanci/src/base/server.h
-time.h
--
-list.h
-/home/scarab/tuxanci/src/base/list.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-myTimer.h
-/home/scarab/tuxanci/src/base/myTimer.h
-protect.h
-/home/scarab/tuxanci/src/base/protect.h
-buffer.h
-/home/scarab/tuxanci/src/base/buffer.h
-interface.h
-/home/scarab/tuxanci/src/base/interface.h
-udp.h
-/home/scarab/tuxanci/src/base/udp.h
-
-/home/scarab/tuxanci/src/base/serverSelect.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-sys/types.h
--
-unistd.h
--
-fcntl.h
--
-sys/time.h
--
-sys/ioctl.h
--
-sys/socket.h
--
-sys/select.h
--
-io.h
--
-winsock2.h
--
-server.h
-/home/scarab/tuxanci/src/base/server.h
-
-/home/scarab/tuxanci/src/base/serverSelect.h
-
-/home/scarab/tuxanci/src/base/serverSendMsg.c
-unistd.h
--
-stdlib.h
--
-stdio.h
--
-string.h
--
-assert.h
--
-server.h
-/home/scarab/tuxanci/src/base/server.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/base/net_multiplayer.h
-checkFront.h
-/home/scarab/tuxanci/src/base/checkFront.h
-serverSendMsg.h
-/home/scarab/tuxanci/src/base/serverSendMsg.h
-screen_world.h
-/home/scarab/tuxanci/src/base/screen_world.h
-
-/home/scarab/tuxanci/src/base/serverSendMsg.h
-server.h
-/home/scarab/tuxanci/src/base/server.h
-
-/home/scarab/tuxanci/src/base/shareFunction.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-shareFunction.h
-/home/scarab/tuxanci/src/base/shareFunction.h
-
-/home/scarab/tuxanci/src/base/shareFunction.h
-
-/home/scarab/tuxanci/src/base/shot.c
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-shot.h
-/home/scarab/tuxanci/src/base/shot.h
-gun.h
-/home/scarab/tuxanci/src/base/gun.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/base/net_multiplayer.h
-proto.h
-/home/scarab/tuxanci/src/base/proto.h
-idManager.h
-/home/scarab/tuxanci/src/base/idManager.h
-serverSendMsg.h
-/home/scarab/tuxanci/src/base/serverSendMsg.h
-image.h
-/home/scarab/tuxanci/src/base/image.h
-layer.h
-/home/scarab/tuxanci/src/base/layer.h
-screen_world.h
-/home/scarab/tuxanci/src/base/screen_world.h
-publicServer.h
-/home/scarab/tuxanci/src/base/publicServer.h
-
-/home/scarab/tuxanci/src/base/shot.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-arena.h
-/home/scarab/tuxanci/src/base/arena.h
-image.h
-/home/scarab/tuxanci/src/base/image.h
-
-/home/scarab/tuxanci/src/base/space.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-space.h
-/home/scarab/tuxanci/src/base/space.h
-index.h
-/home/scarab/tuxanci/src/base/index.h
-
-/home/scarab/tuxanci/src/base/space.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/storage.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/string_length.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/textFile.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-sys/stat.h
--
-assert.h
--
-unistd.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-textFile.h
-/home/scarab/tuxanci/src/base/textFile.h
-
-/home/scarab/tuxanci/src/base/textFile.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/tux.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-arena.h
-/home/scarab/tuxanci/src/base/arena.h
-shot.h
-/home/scarab/tuxanci/src/base/shot.h
-gun.h
-/home/scarab/tuxanci/src/base/gun.h
-item.h
-/home/scarab/tuxanci/src/base/item.h
-arena.h
-/home/scarab/tuxanci/src/base/arena.h
-myTimer.h
-/home/scarab/tuxanci/src/base/myTimer.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/base/net_multiplayer.h
-proto.h
-/home/scarab/tuxanci/src/base/proto.h
-modules.h
-/home/scarab/tuxanci/src/base/modules.h
-idManager.h
-/home/scarab/tuxanci/src/base/idManager.h
-serverSendMsg.h
-/home/scarab/tuxanci/src/base/serverSendMsg.h
-font.h
-/home/scarab/tuxanci/src/base/font.h
-image.h
-/home/scarab/tuxanci/src/base/image.h
-layer.h
-/home/scarab/tuxanci/src/base/layer.h
-radar.h
-/home/scarab/tuxanci/src/base/radar.h
-sound.h
-/home/scarab/tuxanci/src/base/sound.h
-screen_world.h
-/home/scarab/tuxanci/src/base/screen_world.h
-publicServer.h
-/home/scarab/tuxanci/src/base/publicServer.h
-
-/home/scarab/tuxanci/src/base/tux.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-arena.h
-/home/scarab/tuxanci/src/base/arena.h
-
-/home/scarab/tuxanci/src/base/udp_server.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-sys/types.h
--
-unistd.h
--
-fcntl.h
--
-sys/time.h
--
-sys/ioctl.h
--
-sys/socket.h
--
-sys/select.h
--
-io.h
--
-winsock2.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-tux.h
-/home/scarab/tuxanci/src/base/tux.h
-proto.h
-/home/scarab/tuxanci/src/base/proto.h
-server.h
-/home/scarab/tuxanci/src/base/server.h
-myTimer.h
-/home/scarab/tuxanci/src/base/myTimer.h
-arena.h
-/home/scarab/tuxanci/src/base/arena.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/base/net_multiplayer.h
-checkFront.h
-/home/scarab/tuxanci/src/base/checkFront.h
-protect.h
-/home/scarab/tuxanci/src/base/protect.h
-index.h
-/home/scarab/tuxanci/src/base/index.h
-screen_world.h
-/home/scarab/tuxanci/src/base/screen_world.h
-publicServer.h
-/home/scarab/tuxanci/src/base/publicServer.h
-heightScore.h
-/home/scarab/tuxanci/src/base/heightScore.h
-log.h
-/home/scarab/tuxanci/src/base/log.h
-udp.h
-/home/scarab/tuxanci/src/base/udp.h
-udp_server.h
-/home/scarab/tuxanci/src/base/udp_server.h
-serverSelect.h
-/home/scarab/tuxanci/src/base/serverSelect.h
-
-/home/scarab/tuxanci/src/base/udp_server.h
-server.h
-/home/scarab/tuxanci/src/base/server.h
-udp.h
-/home/scarab/tuxanci/src/base/udp.h
-
-/home/scarab/tuxanci/src/client/chat.c
-stdlib.h
--
-ctype.h
--
-assert.h
--
-SDL.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-list.h
-/home/scarab/tuxanci/src/client/list.h
-myTimer.h
-/home/scarab/tuxanci/src/client/myTimer.h
-image.h
-/home/scarab/tuxanci/src/client/image.h
-serverSendMsg.h
-/home/scarab/tuxanci/src/client/serverSendMsg.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/client/net_multiplayer.h
-screen_world.h
-/home/scarab/tuxanci/src/client/screen_world.h
-proto.h
-/home/scarab/tuxanci/src/client/proto.h
-interface.h
-/home/scarab/tuxanci/src/client/interface.h
-chat.h
-/home/scarab/tuxanci/src/client/chat.h
-font.h
-/home/scarab/tuxanci/src/client/font.h
-keyboardBuffer.h
-/home/scarab/tuxanci/src/client/keyboardBuffer.h
-hotKey.h
-/home/scarab/tuxanci/src/client/hotKey.h
-
-/home/scarab/tuxanci/src/client/chat.h
-
-/home/scarab/tuxanci/src/client/client.c
-assert.h
--
-stdio.h
--
-stdlib.h
--
-fcntl.h
--
-sys/types.h
--
-sys/time.h
--
-sys/ioctl.h
--
-sys/socket.h
--
-sys/select.h
--
-io.h
--
-winsock2.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-list.h
-/home/scarab/tuxanci/src/client/list.h
-tux.h
-/home/scarab/tuxanci/src/client/tux.h
-proto.h
-/home/scarab/tuxanci/src/client/proto.h
-client.h
-/home/scarab/tuxanci/src/client/client.h
-screen_analyze.h
-/home/scarab/tuxanci/src/client/screen_analyze.h
-screen_world.h
-/home/scarab/tuxanci/src/client/screen_world.h
-buffer.h
-/home/scarab/tuxanci/src/client/buffer.h
-udp.h
-/home/scarab/tuxanci/src/client/udp.h
-
-/home/scarab/tuxanci/src/client/client.h
-main.h
-/home/scarab/tuxanci/src/client/main.h
-
-/home/scarab/tuxanci/src/client/configFile.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-configFile.h
-/home/scarab/tuxanci/src/client/configFile.h
-
-/home/scarab/tuxanci/src/client/configFile.h
-main.h
-/home/scarab/tuxanci/src/client/main.h
-textFile.h
-/home/scarab/tuxanci/src/client/textFile.h
-
-/home/scarab/tuxanci/src/client/font.c
-main.h
-/home/scarab/tuxanci/src/client/main.h
-interface.h
-/home/scarab/tuxanci/src/client/interface.h
-font.h
-/home/scarab/tuxanci/src/client/font.h
-
-/home/scarab/tuxanci/src/client/font.h
-SDL_ttf.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-
-/home/scarab/tuxanci/src/client/game.c
-time.h
--
-stdio.h
--
-stdlib.h
--
-string.h
--
-signal.h
--
-unistd.h
--
-assert.h
--
-sys/stat.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-tux.h
-/home/scarab/tuxanci/src/client/tux.h
-homeDirector.h
-/home/scarab/tuxanci/src/client/homeDirector.h
-item.h
-/home/scarab/tuxanci/src/client/item.h
-shot.h
-/home/scarab/tuxanci/src/client/shot.h
-arenaFile.h
-/home/scarab/tuxanci/src/client/arenaFile.h
-image.h
-/home/scarab/tuxanci/src/client/image.h
-layer.h
-/home/scarab/tuxanci/src/client/layer.h
-interface.h
-/home/scarab/tuxanci/src/client/interface.h
-screen.h
-/home/scarab/tuxanci/src/client/screen.h
-font.h
-/home/scarab/tuxanci/src/client/font.h
-screen_settingKeys.h
-/home/scarab/tuxanci/src/client/screen_settingKeys.h
-panel.h
-/home/scarab/tuxanci/src/client/panel.h
-radar.h
-/home/scarab/tuxanci/src/client/radar.h
-audio.h
-/home/scarab/tuxanci/src/client/audio.h
-sound.h
-/home/scarab/tuxanci/src/client/sound.h
-music.h
-/home/scarab/tuxanci/src/client/music.h
-screen_world.h
-/home/scarab/tuxanci/src/client/screen_world.h
-screen_mainMenu.h
-/home/scarab/tuxanci/src/client/screen_mainMenu.h
-screen_analyze.h
-/home/scarab/tuxanci/src/client/screen_analyze.h
-screen_setting.h
-/home/scarab/tuxanci/src/client/screen_setting.h
-screen_settingKeys.h
-/home/scarab/tuxanci/src/client/screen_settingKeys.h
-screen_gameType.h
-/home/scarab/tuxanci/src/client/screen_gameType.h
-screen_downArena.h
-/home/scarab/tuxanci/src/client/screen_downArena.h
-screen_choiceArena.h
-/home/scarab/tuxanci/src/client/screen_choiceArena.h
-screen_table.h
-/home/scarab/tuxanci/src/client/screen_table.h
-screen_credits.h
-/home/scarab/tuxanci/src/client/screen_credits.h
-screen_browser.h
-/home/scarab/tuxanci/src/client/screen_browser.h
-
-/home/scarab/tuxanci/src/client/hotKey.c
-stdio.h
--
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-list.h
-/home/scarab/tuxanci/src/client/list.h
-myTimer.h
-/home/scarab/tuxanci/src/client/myTimer.h
-interface.h
-/home/scarab/tuxanci/src/client/interface.h
-hotKey.h
-/home/scarab/tuxanci/src/client/hotKey.h
-
-/home/scarab/tuxanci/src/client/hotKey.h
-
-/home/scarab/tuxanci/src/client/image.c
-stdio.h
--
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-list.h
-/home/scarab/tuxanci/src/client/list.h
-storage.h
-/home/scarab/tuxanci/src/client/storage.h
-interface.h
-/home/scarab/tuxanci/src/client/interface.h
-image.h
-/home/scarab/tuxanci/src/client/image.h
-
-/home/scarab/tuxanci/src/client/image.h
-interface.h
-/home/scarab/tuxanci/src/client/interface.h
-
-/home/scarab/tuxanci/src/client/interface.c
-stdlib.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-myTimer.h
-/home/scarab/tuxanci/src/client/myTimer.h
-interface.h
-/home/scarab/tuxanci/src/client/interface.h
-screen.h
-/home/scarab/tuxanci/src/client/screen.h
-keyboardBuffer.h
-/home/scarab/tuxanci/src/client/keyboardBuffer.h
-hotKey.h
-/home/scarab/tuxanci/src/client/hotKey.h
-
-/home/scarab/tuxanci/src/client/interface.h
-stdio.h
--
-string.h
--
-time.h
--
-SDL.h
--
-SDL_image.h
--
-SDL_thread.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-SDL_net.h
--
-
-/home/scarab/tuxanci/src/client/keyboardBuffer.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-SDL.h
--
-keyboardBuffer.h
-/home/scarab/tuxanci/src/client/keyboardBuffer.h
-
-/home/scarab/tuxanci/src/client/keyboardBuffer.h
-SDL.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-
-/home/scarab/tuxanci/src/client/layer.c
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-list.h
-/home/scarab/tuxanci/src/client/list.h
-tux.h
-/home/scarab/tuxanci/src/client/tux.h
-interface.h
-/home/scarab/tuxanci/src/client/interface.h
-layer.h
-/home/scarab/tuxanci/src/client/layer.h
-image.h
-/home/scarab/tuxanci/src/client/image.h
-screen_world.h
-/home/scarab/tuxanci/src/client/screen_world.h
-
-/home/scarab/tuxanci/src/client/layer.h
-main.h
-/home/scarab/tuxanci/src/client/main.h
-image.h
-/home/scarab/tuxanci/src/client/image.h
-
-/home/scarab/tuxanci/src/client/panel.c
-stdio.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-list.h
-/home/scarab/tuxanci/src/client/list.h
-tux.h
-/home/scarab/tuxanci/src/client/tux.h
-interface.h
-/home/scarab/tuxanci/src/client/interface.h
-image.h
-/home/scarab/tuxanci/src/client/image.h
-panel.h
-/home/scarab/tuxanci/src/client/panel.h
-font.h
-/home/scarab/tuxanci/src/client/font.h
-chat.h
-/home/scarab/tuxanci/src/client/chat.h
-
-/home/scarab/tuxanci/src/client/panel.h
-main.h
-/home/scarab/tuxanci/src/client/main.h
-list.h
-/home/scarab/tuxanci/src/client/list.h
-
-/home/scarab/tuxanci/src/client/pauza.c
-stdio.h
--
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-list.h
-/home/scarab/tuxanci/src/client/list.h
-myTimer.h
-/home/scarab/tuxanci/src/client/myTimer.h
-interface.h
-/home/scarab/tuxanci/src/client/interface.h
-image.h
-/home/scarab/tuxanci/src/client/image.h
-pauza.h
-/home/scarab/tuxanci/src/client/pauza.h
-hotKey.h
-/home/scarab/tuxanci/src/client/hotKey.h
-
-/home/scarab/tuxanci/src/client/pauza.h
-main.h
-/home/scarab/tuxanci/src/client/main.h
-
-/home/scarab/tuxanci/src/client/radar.c
-stdio.h
--
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-list.h
-/home/scarab/tuxanci/src/client/list.h
-tux.h
-/home/scarab/tuxanci/src/client/tux.h
-arena.h
-/home/scarab/tuxanci/src/client/arena.h
-interface.h
-/home/scarab/tuxanci/src/client/interface.h
-image.h
-/home/scarab/tuxanci/src/client/image.h
-radar.h
-/home/scarab/tuxanci/src/client/radar.h
-
-/home/scarab/tuxanci/src/client/radar.h
-arena.h
-/home/scarab/tuxanci/src/client/arena.h
-
-/home/scarab/tuxanci/src/client/saveDialog.c
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-list.h
-/home/scarab/tuxanci/src/client/list.h
-tux.h
-/home/scarab/tuxanci/src/client/tux.h
-space.h
-/home/scarab/tuxanci/src/client/space.h
-arena.h
-/home/scarab/tuxanci/src/client/arena.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/client/net_multiplayer.h
-interface.h
-/home/scarab/tuxanci/src/client/interface.h
-saveDialog.h
-/home/scarab/tuxanci/src/client/saveDialog.h
-image.h
-/home/scarab/tuxanci/src/client/image.h
-font.h
-/home/scarab/tuxanci/src/client/font.h
-saveLoad.h
-/home/scarab/tuxanci/src/client/saveLoad.h
-hotKey.h
-/home/scarab/tuxanci/src/client/hotKey.h
-widget.h
-/home/scarab/tuxanci/src/client/widget.h
-widget_label.h
-/home/scarab/tuxanci/src/client/widget_label.h
-widget_button.h
-/home/scarab/tuxanci/src/client/widget_button.h
-widget_textfield.h
-/home/scarab/tuxanci/src/client/widget_textfield.h
-
-/home/scarab/tuxanci/src/client/saveDialog.h
-
-/home/scarab/tuxanci/src/client/saveLoad.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-textFile.h
-/home/scarab/tuxanci/src/client/textFile.h
-homeDirector.h
-/home/scarab/tuxanci/src/client/homeDirector.h
-arena.h
-/home/scarab/tuxanci/src/client/arena.h
-arenaFile.h
-/home/scarab/tuxanci/src/client/arenaFile.h
-tux.h
-/home/scarab/tuxanci/src/client/tux.h
-shot.h
-/home/scarab/tuxanci/src/client/shot.h
-item.h
-/home/scarab/tuxanci/src/client/item.h
-modules.h
-/home/scarab/tuxanci/src/client/modules.h
-saveLoad.h
-/home/scarab/tuxanci/src/client/saveLoad.h
-screen_choiceArena.h
-/home/scarab/tuxanci/src/client/screen_choiceArena.h
-screen_world.h
-/home/scarab/tuxanci/src/client/screen_world.h
-
-/home/scarab/tuxanci/src/client/saveLoad.h
-textFile.h
-/home/scarab/tuxanci/src/client/textFile.h
-arena.h
-/home/scarab/tuxanci/src/client/arena.h
-
-/home/scarab/tuxanci/src/client/screen.c
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-list.h
-/home/scarab/tuxanci/src/client/list.h
-interface.h
-/home/scarab/tuxanci/src/client/interface.h
-screen.h
-/home/scarab/tuxanci/src/client/screen.h
-layer.h
-/home/scarab/tuxanci/src/client/layer.h
-myTimer.h
-/home/scarab/tuxanci/src/client/myTimer.h
-
-/home/scarab/tuxanci/src/client/screen.h
-main.h
-/home/scarab/tuxanci/src/client/main.h
-
-/home/scarab/tuxanci/src/client/term.c
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/client/main.h
-list.h
-/home/scarab/tuxanci/src/client/list.h
-myTimer.h
-/home/scarab/tuxanci/src/client/myTimer.h
-tux.h
-/home/scarab/tuxanci/src/client/tux.h
-space.h
-/home/scarab/tuxanci/src/client/space.h
-arena.h
-/home/scarab/tuxanci/src/client/arena.h
-interface.h
-/home/scarab/tuxanci/src/client/interface.h
-term.h
-/home/scarab/tuxanci/src/client/term.h
-font.h
-/home/scarab/tuxanci/src/client/font.h
-
-/home/scarab/tuxanci/src/client/term.h
-main.h
-/home/scarab/tuxanci/src/client/main.h
-
-/home/scarab/tuxanci/src/net/dns.c
-sys/socket.h
--
-netinet/in.h
--
-arpa/inet.h
--
-netdb.h
--
-windows.h
--
-wininet.h
--
-string.h
--
-main.h
-/home/scarab/tuxanci/src/net/main.h
-
-/home/scarab/tuxanci/src/net/tcp.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-sys/poll.h
--
-sys/types.h
--
-sys/time.h
--
-sys/socket.h
--
-sys/select.h
--
-stdio.h
--
-netinet/in.h
--
-arpa/inet.h
--
-unistd.h
--
-assert.h
--
-netdb.h
--
-sys/socket.h
--
-netinet/in.h
--
-netinet/tcp.h
--
-fcntl.h
--
-tcp.h
-/home/scarab/tuxanci/src/net/tcp.h
-
-/home/scarab/tuxanci/src/net/tcp.h
-main.h
-/home/scarab/tuxanci/src/net/main.h
-sys/socket.h
--
-netinet/in.h
--
-netinet/tcp.h
--
-
-/home/scarab/tuxanci/src/net/udp.c
-sys/socket.h
--
-sys/types.h
--
-netinet/in.h
--
-arpa/inet.h
--
-netdb.h
--
-windows.h
--
-wininet.h
--
-unistd.h
--
-stdlib.h
--
-stdio.h
--
-string.h
--
-assert.h
--
-fcntl.h
--
-main.h
-/home/scarab/tuxanci/src/net/main.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/net/net_multiplayer.h
-udp.h
-/home/scarab/tuxanci/src/net/udp.h
-
-/home/scarab/tuxanci/src/net/udp.h
-netinet/in.h
--
-windows.h
--
-wininet.h
--
-
-/home/scarab/tuxanci/src/screen/screen_analyze.c
-stdio.h
--
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-list.h
-/home/scarab/tuxanci/src/screen/list.h
-interface.h
-/home/scarab/tuxanci/src/screen/interface.h
-screen.h
-/home/scarab/tuxanci/src/screen/screen.h
-image.h
-/home/scarab/tuxanci/src/screen/image.h
-music.h
-/home/scarab/tuxanci/src/screen/music.h
-screen_mainMenu.h
-/home/scarab/tuxanci/src/screen/screen_mainMenu.h
-screen_analyze.h
-/home/scarab/tuxanci/src/screen/screen_analyze.h
-widget.h
-/home/scarab/tuxanci/src/screen/widget.h
-widget_label.h
-/home/scarab/tuxanci/src/screen/widget_label.h
-widget_button.h
-/home/scarab/tuxanci/src/screen/widget_button.h
-widget_image.h
-/home/scarab/tuxanci/src/screen/widget_image.h
-
-/home/scarab/tuxanci/src/screen/screen_analyze.h
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-
-/home/scarab/tuxanci/src/screen/screen_browser.c
-stdio.h
--
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-list.h
-/home/scarab/tuxanci/src/screen/list.h
-textFile.h
-/home/scarab/tuxanci/src/screen/textFile.h
-homeDirector.h
-/home/scarab/tuxanci/src/screen/homeDirector.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/screen/net_multiplayer.h
-interface.h
-/home/scarab/tuxanci/src/screen/interface.h
-screen.h
-/home/scarab/tuxanci/src/screen/screen.h
-image.h
-/home/scarab/tuxanci/src/screen/image.h
-sys/socket.h
--
-sys/select.h
--
-sys/types.h
--
-netinet/in.h
--
-arpa/inet.h
--
-netdb.h
--
-windows.h
--
-wininet.h
--
-unistd.h
--
-fcntl.h
--
-errno.h
--
-udp.h
-/home/scarab/tuxanci/src/screen/udp.h
-dns.h
-/home/scarab/tuxanci/src/screen/dns.h
-music.h
-/home/scarab/tuxanci/src/screen/music.h
-screen_gameType.h
-/home/scarab/tuxanci/src/screen/screen_gameType.h
-screen_browser.h
-/home/scarab/tuxanci/src/screen/screen_browser.h
-widget.h
-/home/scarab/tuxanci/src/screen/widget.h
-widget_image.h
-/home/scarab/tuxanci/src/screen/widget_image.h
-widget_label.h
-/home/scarab/tuxanci/src/screen/widget_label.h
-widget_button.h
-/home/scarab/tuxanci/src/screen/widget_button.h
-widget_select.h
-/home/scarab/tuxanci/src/screen/widget_select.h
-
-/home/scarab/tuxanci/src/screen/screen_browser.h
-
-/home/scarab/tuxanci/src/screen/screen_choiceArena.c
-stdio.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-list.h
-/home/scarab/tuxanci/src/screen/list.h
-arenaFile.h
-/home/scarab/tuxanci/src/screen/arenaFile.h
-interface.h
-/home/scarab/tuxanci/src/screen/interface.h
-screen.h
-/home/scarab/tuxanci/src/screen/screen.h
-image.h
-/home/scarab/tuxanci/src/screen/image.h
-music.h
-/home/scarab/tuxanci/src/screen/music.h
-screen_mainMenu.h
-/home/scarab/tuxanci/src/screen/screen_mainMenu.h
-screen_choiceArena.h
-/home/scarab/tuxanci/src/screen/screen_choiceArena.h
-widget.h
-/home/scarab/tuxanci/src/screen/widget.h
-widget_label.h
-/home/scarab/tuxanci/src/screen/widget_label.h
-widget_button.h
-/home/scarab/tuxanci/src/screen/widget_button.h
-widget_image.h
-/home/scarab/tuxanci/src/screen/widget_image.h
-widget_buttonimage.h
-/home/scarab/tuxanci/src/screen/widget_buttonimage.h
-
-/home/scarab/tuxanci/src/screen/screen_choiceArena.h
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-arenaFile.h
-/home/scarab/tuxanci/src/screen/arenaFile.h
-
-/home/scarab/tuxanci/src/screen/screen_credits.c
-stdio.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-list.h
-/home/scarab/tuxanci/src/screen/list.h
-textFile.h
-/home/scarab/tuxanci/src/screen/textFile.h
-interface.h
-/home/scarab/tuxanci/src/screen/interface.h
-screen.h
-/home/scarab/tuxanci/src/screen/screen.h
-image.h
-/home/scarab/tuxanci/src/screen/image.h
-music.h
-/home/scarab/tuxanci/src/screen/music.h
-screen_credits.h
-/home/scarab/tuxanci/src/screen/screen_credits.h
-widget.h
-/home/scarab/tuxanci/src/screen/widget.h
-widget_image.h
-/home/scarab/tuxanci/src/screen/widget_image.h
-widget_label.h
-/home/scarab/tuxanci/src/screen/widget_label.h
-widget_button.h
-/home/scarab/tuxanci/src/screen/widget_button.h
-
-/home/scarab/tuxanci/src/screen/screen_credits.h
-
-/home/scarab/tuxanci/src/screen/screen_downArena.c
-stdio.h
--
-stdlib.h
--
-unistd.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-list.h
-/home/scarab/tuxanci/src/screen/list.h
-buffer.h
-/home/scarab/tuxanci/src/screen/buffer.h
-textFile.h
-/home/scarab/tuxanci/src/screen/textFile.h
-arenaFile.h
-/home/scarab/tuxanci/src/screen/arenaFile.h
-homeDirector.h
-/home/scarab/tuxanci/src/screen/homeDirector.h
-interface.h
-/home/scarab/tuxanci/src/screen/interface.h
-screen.h
-/home/scarab/tuxanci/src/screen/screen.h
-image.h
-/home/scarab/tuxanci/src/screen/image.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/screen/net_multiplayer.h
-udp.h
-/home/scarab/tuxanci/src/screen/udp.h
-tcp.h
-/home/scarab/tuxanci/src/screen/tcp.h
-widget.h
-/home/scarab/tuxanci/src/screen/widget.h
-widget_image.h
-/home/scarab/tuxanci/src/screen/widget_image.h
-widget_label.h
-/home/scarab/tuxanci/src/screen/widget_label.h
-widget_button.h
-/home/scarab/tuxanci/src/screen/widget_button.h
-screen_setting.h
-/home/scarab/tuxanci/src/screen/screen_setting.h
-screen_downArena.h
-/home/scarab/tuxanci/src/screen/screen_downArena.h
-screen_gameType.h
-/home/scarab/tuxanci/src/screen/screen_gameType.h
-
-/home/scarab/tuxanci/src/screen/screen_downArena.h
-
-/home/scarab/tuxanci/src/screen/screen_gameType.c
-stdio.h
--
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-list.h
-/home/scarab/tuxanci/src/screen/list.h
-director.h
-/home/scarab/tuxanci/src/screen/director.h
-homeDirector.h
-/home/scarab/tuxanci/src/screen/homeDirector.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/screen/net_multiplayer.h
-tux.h
-/home/scarab/tuxanci/src/screen/tux.h
-interface.h
-/home/scarab/tuxanci/src/screen/interface.h
-screen.h
-/home/scarab/tuxanci/src/screen/screen.h
-image.h
-/home/scarab/tuxanci/src/screen/image.h
-music.h
-/home/scarab/tuxanci/src/screen/music.h
-screen_gameType.h
-/home/scarab/tuxanci/src/screen/screen_gameType.h
-screen_setting.h
-/home/scarab/tuxanci/src/screen/screen_setting.h
-widget.h
-/home/scarab/tuxanci/src/screen/widget.h
-widget_label.h
-/home/scarab/tuxanci/src/screen/widget_label.h
-widget_button.h
-/home/scarab/tuxanci/src/screen/widget_button.h
-widget_image.h
-/home/scarab/tuxanci/src/screen/widget_image.h
-widget_textfield.h
-/home/scarab/tuxanci/src/screen/widget_textfield.h
-widget_choicegroup.h
-/home/scarab/tuxanci/src/screen/widget_choicegroup.h
-widget_check.h
-/home/scarab/tuxanci/src/screen/widget_check.h
-widget_select.h
-/home/scarab/tuxanci/src/screen/widget_select.h
-
-/home/scarab/tuxanci/src/screen/screen_gameType.h
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-
-/home/scarab/tuxanci/src/screen/screen_mainMenu.c
-stdio.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-game.h
-/home/scarab/tuxanci/src/screen/game.h
-interface.h
-/home/scarab/tuxanci/src/screen/interface.h
-screen.h
-/home/scarab/tuxanci/src/screen/screen.h
-image.h
-/home/scarab/tuxanci/src/screen/image.h
-music.h
-/home/scarab/tuxanci/src/screen/music.h
-screen_mainMenu.h
-/home/scarab/tuxanci/src/screen/screen_mainMenu.h
-screen_setting.h
-/home/scarab/tuxanci/src/screen/screen_setting.h
-widget.h
-/home/scarab/tuxanci/src/screen/widget.h
-widget_label.h
-/home/scarab/tuxanci/src/screen/widget_label.h
-widget_button.h
-/home/scarab/tuxanci/src/screen/widget_button.h
-widget_textfield.h
-/home/scarab/tuxanci/src/screen/widget_textfield.h
-widget_check.h
-/home/scarab/tuxanci/src/screen/widget_check.h
-widget_image.h
-/home/scarab/tuxanci/src/screen/widget_image.h
-
-/home/scarab/tuxanci/src/screen/screen_mainMenu.h
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-
-/home/scarab/tuxanci/src/screen/screen_setting.c
-stdio.h
--
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-list.h
-/home/scarab/tuxanci/src/screen/list.h
-tux.h
-/home/scarab/tuxanci/src/screen/tux.h
-textFile.h
-/home/scarab/tuxanci/src/screen/textFile.h
-director.h
-/home/scarab/tuxanci/src/screen/director.h
-homeDirector.h
-/home/scarab/tuxanci/src/screen/homeDirector.h
-arenaFile.h
-/home/scarab/tuxanci/src/screen/arenaFile.h
-configFile.h
-/home/scarab/tuxanci/src/screen/configFile.h
-interface.h
-/home/scarab/tuxanci/src/screen/interface.h
-screen.h
-/home/scarab/tuxanci/src/screen/screen.h
-image.h
-/home/scarab/tuxanci/src/screen/image.h
-music.h
-/home/scarab/tuxanci/src/screen/music.h
-sound.h
-/home/scarab/tuxanci/src/screen/sound.h
-screen_mainMenu.h
-/home/scarab/tuxanci/src/screen/screen_mainMenu.h
-screen_setting.h
-/home/scarab/tuxanci/src/screen/screen_setting.h
-screen_settingKeys.h
-/home/scarab/tuxanci/src/screen/screen_settingKeys.h
-screen_settingKeys.h
-/home/scarab/tuxanci/src/screen/screen_settingKeys.h
-screen_choiceArena.h
-/home/scarab/tuxanci/src/screen/screen_choiceArena.h
-widget.h
-/home/scarab/tuxanci/src/screen/widget.h
-widget_label.h
-/home/scarab/tuxanci/src/screen/widget_label.h
-widget_button.h
-/home/scarab/tuxanci/src/screen/widget_button.h
-widget_image.h
-/home/scarab/tuxanci/src/screen/widget_image.h
-widget_textfield.h
-/home/scarab/tuxanci/src/screen/widget_textfield.h
-widget_check.h
-/home/scarab/tuxanci/src/screen/widget_check.h
-widget_select.h
-/home/scarab/tuxanci/src/screen/widget_select.h
-
-/home/scarab/tuxanci/src/screen/screen_setting.h
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-
-/home/scarab/tuxanci/src/screen/screen_settingKeys.c
-stdio.h
--
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-list.h
-/home/scarab/tuxanci/src/screen/list.h
-tux.h
-/home/scarab/tuxanci/src/screen/tux.h
-textFile.h
-/home/scarab/tuxanci/src/screen/textFile.h
-director.h
-/home/scarab/tuxanci/src/screen/director.h
-homeDirector.h
-/home/scarab/tuxanci/src/screen/homeDirector.h
-configFile.h
-/home/scarab/tuxanci/src/screen/configFile.h
-interface.h
-/home/scarab/tuxanci/src/screen/interface.h
-screen.h
-/home/scarab/tuxanci/src/screen/screen.h
-image.h
-/home/scarab/tuxanci/src/screen/image.h
-music.h
-/home/scarab/tuxanci/src/screen/music.h
-sound.h
-/home/scarab/tuxanci/src/screen/sound.h
-screen_mainMenu.h
-/home/scarab/tuxanci/src/screen/screen_mainMenu.h
-screen_setting.h
-/home/scarab/tuxanci/src/screen/screen_setting.h
-screen_settingKeys.h
-/home/scarab/tuxanci/src/screen/screen_settingKeys.h
-widget.h
-/home/scarab/tuxanci/src/screen/widget.h
-widget_button.h
-/home/scarab/tuxanci/src/screen/widget_button.h
-widget_image.h
-/home/scarab/tuxanci/src/screen/widget_image.h
-widget_catchkey.h
-/home/scarab/tuxanci/src/screen/widget_catchkey.h
-widget_label.h
-/home/scarab/tuxanci/src/screen/widget_label.h
-
-/home/scarab/tuxanci/src/screen/screen_settingKeys.h
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-
-/home/scarab/tuxanci/src/screen/screen_table.c
-stdio.h
--
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-list.h
-/home/scarab/tuxanci/src/screen/list.h
-textFile.h
-/home/scarab/tuxanci/src/screen/textFile.h
-homeDirector.h
-/home/scarab/tuxanci/src/screen/homeDirector.h
-interface.h
-/home/scarab/tuxanci/src/screen/interface.h
-screen.h
-/home/scarab/tuxanci/src/screen/screen.h
-image.h
-/home/scarab/tuxanci/src/screen/image.h
-music.h
-/home/scarab/tuxanci/src/screen/music.h
-screen_table.h
-/home/scarab/tuxanci/src/screen/screen_table.h
-widget_image.h
-/home/scarab/tuxanci/src/screen/widget_image.h
-widget_label.h
-/home/scarab/tuxanci/src/screen/widget_label.h
-widget_button.h
-/home/scarab/tuxanci/src/screen/widget_button.h
-
-/home/scarab/tuxanci/src/screen/screen_table.h
-
-/home/scarab/tuxanci/src/screen/screen_world.c
-stdio.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-list.h
-/home/scarab/tuxanci/src/screen/list.h
-tux.h
-/home/scarab/tuxanci/src/screen/tux.h
-item.h
-/home/scarab/tuxanci/src/screen/item.h
-shot.h
-/home/scarab/tuxanci/src/screen/shot.h
-gun.h
-/home/scarab/tuxanci/src/screen/gun.h
-myTimer.h
-/home/scarab/tuxanci/src/screen/myTimer.h
-net_multiplayer.h
-/home/scarab/tuxanci/src/screen/net_multiplayer.h
-arena.h
-/home/scarab/tuxanci/src/screen/arena.h
-arenaFile.h
-/home/scarab/tuxanci/src/screen/arenaFile.h
-proto.h
-/home/scarab/tuxanci/src/screen/proto.h
-modules.h
-/home/scarab/tuxanci/src/screen/modules.h
-idManager.h
-/home/scarab/tuxanci/src/screen/idManager.h
-serverSendMsg.h
-/home/scarab/tuxanci/src/screen/serverSendMsg.h
-interface.h
-/home/scarab/tuxanci/src/screen/interface.h
-layer.h
-/home/scarab/tuxanci/src/screen/layer.h
-image.h
-/home/scarab/tuxanci/src/screen/image.h
-font.h
-/home/scarab/tuxanci/src/screen/font.h
-hotKey.h
-/home/scarab/tuxanci/src/screen/hotKey.h
-panel.h
-/home/scarab/tuxanci/src/screen/panel.h
-radar.h
-/home/scarab/tuxanci/src/screen/radar.h
-chat.h
-/home/scarab/tuxanci/src/screen/chat.h
-pauza.h
-/home/scarab/tuxanci/src/screen/pauza.h
-term.h
-/home/scarab/tuxanci/src/screen/term.h
-saveDialog.h
-/home/scarab/tuxanci/src/screen/saveDialog.h
-saveLoad.h
-/home/scarab/tuxanci/src/screen/saveLoad.h
-music.h
-/home/scarab/tuxanci/src/screen/music.h
-sound.h
-/home/scarab/tuxanci/src/screen/sound.h
-screen.h
-/home/scarab/tuxanci/src/screen/screen.h
-screen_world.h
-/home/scarab/tuxanci/src/screen/screen_world.h
-screen_analyze.h
-/home/scarab/tuxanci/src/screen/screen_analyze.h
-screen_setting.h
-/home/scarab/tuxanci/src/screen/screen_setting.h
-screen_gameType.h
-/home/scarab/tuxanci/src/screen/screen_gameType.h
-screen_settingKeys.h
-/home/scarab/tuxanci/src/screen/screen_settingKeys.h
-screen_choiceArena.h
-/home/scarab/tuxanci/src/screen/screen_choiceArena.h
-screen_table.h
-/home/scarab/tuxanci/src/screen/screen_table.h
-
-/home/scarab/tuxanci/src/screen/screen_world.h
-main.h
-/home/scarab/tuxanci/src/screen/main.h
-myTimer.h
-/home/scarab/tuxanci/src/screen/myTimer.h
-tux.h
-/home/scarab/tuxanci/src/screen/tux.h
-arenaFile.h
-/home/scarab/tuxanci/src/screen/arenaFile.h
-arena.h
-/home/scarab/tuxanci/src/screen/arena.h
-
-/home/scarab/tuxanci/src/widget/widget.c
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-widget_label.h
-/home/scarab/tuxanci/src/widget/widget_label.h
-
-/home/scarab/tuxanci/src/widget/widget.h
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-
-/home/scarab/tuxanci/src/widget/widget_button.c
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-interface.h
-/home/scarab/tuxanci/src/widget/interface.h
-image.h
-/home/scarab/tuxanci/src/widget/image.h
-font.h
-/home/scarab/tuxanci/src/widget/font.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-widget_button.h
-/home/scarab/tuxanci/src/widget/widget_button.h
-
-/home/scarab/tuxanci/src/widget/widget_button.h
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-
-/home/scarab/tuxanci/src/widget/widget_buttonimage.c
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-interface.h
-/home/scarab/tuxanci/src/widget/interface.h
-font.h
-/home/scarab/tuxanci/src/widget/font.h
-image.h
-/home/scarab/tuxanci/src/widget/image.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-widget_buttonimage.h
-/home/scarab/tuxanci/src/widget/widget_buttonimage.h
-
-/home/scarab/tuxanci/src/widget/widget_buttonimage.h
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-
-/home/scarab/tuxanci/src/widget/widget_catchkey.c
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-interface.h
-/home/scarab/tuxanci/src/widget/interface.h
-font.h
-/home/scarab/tuxanci/src/widget/font.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-widget_catchkey.h
-/home/scarab/tuxanci/src/widget/widget_catchkey.h
-
-/home/scarab/tuxanci/src/widget/widget_catchkey.h
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-
-/home/scarab/tuxanci/src/widget/widget_check.c
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-interface.h
-/home/scarab/tuxanci/src/widget/interface.h
-image.h
-/home/scarab/tuxanci/src/widget/image.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-widget_check.h
-/home/scarab/tuxanci/src/widget/widget_check.h
-
-/home/scarab/tuxanci/src/widget/widget_check.h
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-
-/home/scarab/tuxanci/src/widget/widget_choicegroup.c
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-interface.h
-/home/scarab/tuxanci/src/widget/interface.h
-image.h
-/home/scarab/tuxanci/src/widget/image.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-widget_choicegroup.h
-/home/scarab/tuxanci/src/widget/widget_choicegroup.h
-
-/home/scarab/tuxanci/src/widget/widget_choicegroup.h
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-list.h
-/home/scarab/tuxanci/src/widget/list.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-
-/home/scarab/tuxanci/src/widget/widget_image.c
-stdlib.h
--
-assert.h
--
-stdlib.h
--
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-image.h
-/home/scarab/tuxanci/src/widget/image.h
-interface.h
-/home/scarab/tuxanci/src/widget/interface.h
-font.h
-/home/scarab/tuxanci/src/widget/font.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-widget_image.h
-/home/scarab/tuxanci/src/widget/widget_image.h
-
-/home/scarab/tuxanci/src/widget/widget_image.h
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-interface.h
-/home/scarab/tuxanci/src/widget/interface.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-
-/home/scarab/tuxanci/src/widget/widget_label.c
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-interface.h
-/home/scarab/tuxanci/src/widget/interface.h
-font.h
-/home/scarab/tuxanci/src/widget/font.h
-widget_label.h
-/home/scarab/tuxanci/src/widget/widget_label.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-
-/home/scarab/tuxanci/src/widget/widget_label.h
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-
-/home/scarab/tuxanci/src/widget/widget_select.c
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-interface.h
-/home/scarab/tuxanci/src/widget/interface.h
-font.h
-/home/scarab/tuxanci/src/widget/font.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-widget_select.h
-/home/scarab/tuxanci/src/widget/widget_select.h
-
-/home/scarab/tuxanci/src/widget/widget_select.h
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-list.h
-/home/scarab/tuxanci/src/widget/list.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-
-/home/scarab/tuxanci/src/widget/widget_textfield.c
-stdlib.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-interface.h
-/home/scarab/tuxanci/src/widget/interface.h
-font.h
-/home/scarab/tuxanci/src/widget/font.h
-image.h
-/home/scarab/tuxanci/src/widget/image.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-widget_textfield.h
-/home/scarab/tuxanci/src/widget/widget_textfield.h
-
-/home/scarab/tuxanci/src/widget/widget_textfield.h
-main.h
-/home/scarab/tuxanci/src/widget/main.h
-widget.h
-/home/scarab/tuxanci/src/widget/widget.h
-
-/usr/include/SDL/SDL.h
-SDL_main.h
-/usr/include/SDL/SDL_main.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_audio.h
-/usr/include/SDL/SDL_audio.h
-SDL_cdrom.h
-/usr/include/SDL/SDL_cdrom.h
-SDL_cpuinfo.h
-/usr/include/SDL/SDL_cpuinfo.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_events.h
-/usr/include/SDL/SDL_events.h
-SDL_loadso.h
-/usr/include/SDL/SDL_loadso.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-SDL_thread.h
-/usr/include/SDL/SDL_thread.h
-SDL_timer.h
-/usr/include/SDL/SDL_timer.h
-SDL_video.h
-/usr/include/SDL/SDL_video.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_active.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_audio.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-SDL_thread.h
-/usr/include/SDL/SDL_thread.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_cdrom.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_config.h
-SDL_platform.h
-/usr/include/SDL/SDL_platform.h
-stdarg.h
--
-
-/usr/include/SDL/SDL_cpuinfo.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_endian.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_error.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_events.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_active.h
-/usr/include/SDL/SDL_active.h
-SDL_keyboard.h
-/usr/include/SDL/SDL_keyboard.h
-SDL_mouse.h
-/usr/include/SDL/SDL_mouse.h
-SDL_joystick.h
-/usr/include/SDL/SDL_joystick.h
-SDL_quit.h
-/usr/include/SDL/SDL_quit.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_image.h
-SDL.h
-/usr/include/SDL/SDL.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_joystick.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_keyboard.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_keysym.h
-/usr/include/SDL/SDL_keysym.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_keysym.h
-
-/usr/include/SDL/SDL_loadso.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_main.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_mixer.h
-SDL_types.h
-/usr/include/SDL/SDL_types.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-SDL_audio.h
-/usr/include/SDL/SDL_audio.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_mouse.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_video.h
-/usr/include/SDL/SDL_video.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_mutex.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_net.h
-SDL.h
-/usr/include/SDL/SDL.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_platform.h
-
-/usr/include/SDL/SDL_quit.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-
-/usr/include/SDL/SDL_rwops.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_stdinc.h
-SDL_config.h
-/usr/include/SDL/SDL_config.h
-sys/types.h
--
-stdio.h
--
-stdlib.h
--
-stddef.h
--
-stdarg.h
--
-stdlib.h
--
-malloc.h
--
-stddef.h
--
-stdarg.h
--
-memory.h
--
-string.h
--
-strings.h
--
-inttypes.h
--
-stdint.h
--
-ctype.h
--
-iconv.h
--
-begin_code.h
-/usr/include/SDL/begin_code.h
-alloca.h
--
-malloc.h
--
-malloc.h
--
-malloc.h
--
-stdlib.h
--
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_thread.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-process.h
--
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_timer.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_ttf.h
-SDL.h
-/usr/include/SDL/SDL.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_types.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-
-/usr/include/SDL/SDL_version.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_video.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/begin_code.h
-
-/usr/include/SDL/close_code.h
-
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/DependInfo.cmake b/build/src/CMakeFiles/tuxanci-dev.dir/DependInfo.cmake
deleted file mode 100644
index b72aa91..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/DependInfo.cmake
+++ /dev/null
@@ -1,84 +0,0 @@
-# The set of languages for which implicit dependencies are needed:
-SET(CMAKE_DEPENDS_LANGUAGES
- "C"
- )
-# The set of files for implicit dependencies of each language:
-SET(CMAKE_DEPENDS_CHECK_C
- "/home/scarab/tuxanci/src/audio/audio.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o"
- "/home/scarab/tuxanci/src/audio/music.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o"
- "/home/scarab/tuxanci/src/audio/sound.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o"
- "/home/scarab/tuxanci/src/base/archive.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o"
- "/home/scarab/tuxanci/src/base/arena.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o"
- "/home/scarab/tuxanci/src/base/arenaFile.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o"
- "/home/scarab/tuxanci/src/base/buffer.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o"
- "/home/scarab/tuxanci/src/base/checkFront.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o"
- "/home/scarab/tuxanci/src/base/director.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/director.c.o"
- "/home/scarab/tuxanci/src/base/gun.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o"
- "/home/scarab/tuxanci/src/base/homeDirector.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o"
- "/home/scarab/tuxanci/src/base/idManager.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o"
- "/home/scarab/tuxanci/src/base/index.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/index.c.o"
- "/home/scarab/tuxanci/src/base/item.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/item.c.o"
- "/home/scarab/tuxanci/src/base/list.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/list.c.o"
- "/home/scarab/tuxanci/src/base/main.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/main.c.o"
- "/home/scarab/tuxanci/src/base/modules.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o"
- "/home/scarab/tuxanci/src/base/myTimer.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o"
- "/home/scarab/tuxanci/src/base/net_multiplayer.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o"
- "/home/scarab/tuxanci/src/base/protect.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o"
- "/home/scarab/tuxanci/src/base/proto.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o"
- "/home/scarab/tuxanci/src/base/server.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/server.c.o"
- "/home/scarab/tuxanci/src/base/serverSelect.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o"
- "/home/scarab/tuxanci/src/base/serverSendMsg.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o"
- "/home/scarab/tuxanci/src/base/shareFunction.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o"
- "/home/scarab/tuxanci/src/base/shot.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o"
- "/home/scarab/tuxanci/src/base/space.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/space.c.o"
- "/home/scarab/tuxanci/src/base/storage.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o"
- "/home/scarab/tuxanci/src/base/textFile.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o"
- "/home/scarab/tuxanci/src/base/tux.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o"
- "/home/scarab/tuxanci/src/base/udp_server.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o"
- "/home/scarab/tuxanci/src/client/chat.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o"
- "/home/scarab/tuxanci/src/client/client.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/client.c.o"
- "/home/scarab/tuxanci/src/client/configFile.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o"
- "/home/scarab/tuxanci/src/client/font.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/font.c.o"
- "/home/scarab/tuxanci/src/client/game.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/game.c.o"
- "/home/scarab/tuxanci/src/client/hotKey.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o"
- "/home/scarab/tuxanci/src/client/image.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/image.c.o"
- "/home/scarab/tuxanci/src/client/interface.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o"
- "/home/scarab/tuxanci/src/client/keyboardBuffer.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o"
- "/home/scarab/tuxanci/src/client/layer.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o"
- "/home/scarab/tuxanci/src/client/panel.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o"
- "/home/scarab/tuxanci/src/client/pauza.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o"
- "/home/scarab/tuxanci/src/client/radar.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o"
- "/home/scarab/tuxanci/src/client/saveDialog.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o"
- "/home/scarab/tuxanci/src/client/saveLoad.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o"
- "/home/scarab/tuxanci/src/client/screen.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o"
- "/home/scarab/tuxanci/src/client/term.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/client/term.c.o"
- "/home/scarab/tuxanci/src/net/dns.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o"
- "/home/scarab/tuxanci/src/net/tcp.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o"
- "/home/scarab/tuxanci/src/net/udp.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o"
- "/home/scarab/tuxanci/src/screen/screen_analyze.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o"
- "/home/scarab/tuxanci/src/screen/screen_browser.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o"
- "/home/scarab/tuxanci/src/screen/screen_choiceArena.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o"
- "/home/scarab/tuxanci/src/screen/screen_credits.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o"
- "/home/scarab/tuxanci/src/screen/screen_downArena.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o"
- "/home/scarab/tuxanci/src/screen/screen_gameType.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o"
- "/home/scarab/tuxanci/src/screen/screen_mainMenu.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o"
- "/home/scarab/tuxanci/src/screen/screen_setting.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o"
- "/home/scarab/tuxanci/src/screen/screen_settingKeys.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o"
- "/home/scarab/tuxanci/src/screen/screen_table.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o"
- "/home/scarab/tuxanci/src/screen/screen_world.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o"
- "/home/scarab/tuxanci/src/widget/widget.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o"
- "/home/scarab/tuxanci/src/widget/widget_button.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o"
- "/home/scarab/tuxanci/src/widget/widget_buttonimage.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o"
- "/home/scarab/tuxanci/src/widget/widget_catchkey.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o"
- "/home/scarab/tuxanci/src/widget/widget_check.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o"
- "/home/scarab/tuxanci/src/widget/widget_choicegroup.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o"
- "/home/scarab/tuxanci/src/widget/widget_image.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o"
- "/home/scarab/tuxanci/src/widget/widget_label.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o"
- "/home/scarab/tuxanci/src/widget/widget_select.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o"
- "/home/scarab/tuxanci/src/widget/widget_textfield.c" "/home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o"
- )
-SET(CMAKE_C_COMPILER_ID "GNU")
-
-# Targets to which this target links.
-SET(CMAKE_TARGET_LINKED_INFO_FILES
- )
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o
deleted file mode 100644
index d23502d..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o
deleted file mode 100644
index 824b4e7..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o
deleted file mode 100644
index 0e80ea5..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o
deleted file mode 100644
index 99e44f0..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o
deleted file mode 100644
index 4824b8c..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o
deleted file mode 100644
index e9bbbb7..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o
deleted file mode 100644
index b08cd17..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o
deleted file mode 100644
index bd526c5..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/director.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/director.c.o
deleted file mode 100644
index 14b8c04..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/director.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o
deleted file mode 100644
index 057847b..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o
deleted file mode 100644
index 964c136..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o
deleted file mode 100644
index 2cc8e2b..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/index.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/index.c.o
deleted file mode 100644
index 5ba8473..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/index.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/item.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/item.c.o
deleted file mode 100644
index f89c23f..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/item.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/list.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/list.c.o
deleted file mode 100644
index f16ac56..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/list.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/main.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/main.c.o
deleted file mode 100644
index b7188f0..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/main.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o
deleted file mode 100644
index 007246a..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o
deleted file mode 100644
index c085ce0..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o
deleted file mode 100644
index 5d26b4a..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o
deleted file mode 100644
index 259e937..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o
deleted file mode 100644
index f5acae5..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/server.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/server.c.o
deleted file mode 100644
index ab484d8..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/server.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o
deleted file mode 100644
index 7ee7be2..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o
deleted file mode 100644
index 12f7cca..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o
deleted file mode 100644
index e51051a..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o
deleted file mode 100644
index 9a66d64..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/space.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/space.c.o
deleted file mode 100644
index dd1886c..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/space.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o
deleted file mode 100644
index a387f46..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o
deleted file mode 100644
index 54b645a..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o
deleted file mode 100644
index 2b6e3e4..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o
deleted file mode 100644
index 1b76f1a..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/build.make b/build/src/CMakeFiles/tuxanci-dev.dir/build.make
deleted file mode 100644
index a2d39f7..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/build.make
+++ /dev/null
@@ -1,2026 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-# Include any dependencies generated for this target.
-include src/CMakeFiles/tuxanci-dev.dir/depend.make
-
-# Include the progress variables for this target.
-include src/CMakeFiles/tuxanci-dev.dir/progress.make
-
-# Include the compile flags for this target's objects.
-include src/CMakeFiles/tuxanci-dev.dir/flags.make
-
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: ../src/net/udp.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_1)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/net/udp.c.o -c /home/scarab/tuxanci/src/net/udp.c
-
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/net/udp.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/net/udp.c > CMakeFiles/tuxanci-dev.dir/net/udp.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/net/udp.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/net/udp.c -o CMakeFiles/tuxanci-dev.dir/net/udp.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o: ../src/net/tcp.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_2)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/net/tcp.c.o -c /home/scarab/tuxanci/src/net/tcp.c
-
-src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/net/tcp.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/net/tcp.c > CMakeFiles/tuxanci-dev.dir/net/tcp.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/net/tcp.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/net/tcp.c -o CMakeFiles/tuxanci-dev.dir/net/tcp.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/udp_server.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_3)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o -c /home/scarab/tuxanci/src/base/udp_server.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/udp_server.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/udp_server.c > CMakeFiles/tuxanci-dev.dir/base/udp_server.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/udp_server.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/udp_server.c -o CMakeFiles/tuxanci-dev.dir/base/udp_server.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: ../src/base/main.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_4)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/main.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/main.c.o -c /home/scarab/tuxanci/src/base/main.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/main.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/main.c > CMakeFiles/tuxanci-dev.dir/base/main.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/main.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/main.c -o CMakeFiles/tuxanci-dev.dir/base/main.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/main.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/main.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/main.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/main.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/main.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/main.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/shot.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_5)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/shot.c.o -c /home/scarab/tuxanci/src/base/shot.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/shot.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/shot.c > CMakeFiles/tuxanci-dev.dir/base/shot.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/shot.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/shot.c -o CMakeFiles/tuxanci-dev.dir/base/shot.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/space.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/space.c.o: ../src/base/space.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_6)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/space.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/space.c.o -c /home/scarab/tuxanci/src/base/space.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/space.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/space.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/space.c > CMakeFiles/tuxanci-dev.dir/base/space.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/space.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/space.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/space.c -o CMakeFiles/tuxanci-dev.dir/base/space.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/space.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/space.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/space.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/space.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/space.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/space.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/space.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/space.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/space.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/base/checkFront.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_7)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o -c /home/scarab/tuxanci/src/base/checkFront.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/checkFront.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/checkFront.c > CMakeFiles/tuxanci-dev.dir/base/checkFront.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/checkFront.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/checkFront.c -o CMakeFiles/tuxanci-dev.dir/base/checkFront.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o: ../src/base/storage.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_8)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/storage.c.o -c /home/scarab/tuxanci/src/base/storage.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/storage.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/storage.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/storage.c > CMakeFiles/tuxanci-dev.dir/base/storage.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/storage.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/storage.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/storage.c -o CMakeFiles/tuxanci-dev.dir/base/storage.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: ../src/base/myTimer.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_9)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o -c /home/scarab/tuxanci/src/base/myTimer.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/myTimer.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/myTimer.c > CMakeFiles/tuxanci-dev.dir/base/myTimer.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/myTimer.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/myTimer.c -o CMakeFiles/tuxanci-dev.dir/base/myTimer.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o: ../src/base/protect.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_10)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/protect.c.o -c /home/scarab/tuxanci/src/base/protect.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/protect.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/protect.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/protect.c > CMakeFiles/tuxanci-dev.dir/base/protect.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/protect.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/protect.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/protect.c -o CMakeFiles/tuxanci-dev.dir/base/protect.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/list.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/list.c.o: ../src/base/list.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_11)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/list.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/list.c.o -c /home/scarab/tuxanci/src/base/list.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/list.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/list.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/list.c > CMakeFiles/tuxanci-dev.dir/base/list.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/list.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/list.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/list.c -o CMakeFiles/tuxanci-dev.dir/base/list.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/list.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/list.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/list.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/list.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/list.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/list.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/list.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/list.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/list.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/arena.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_12)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/arena.c.o -c /home/scarab/tuxanci/src/base/arena.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/arena.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/arena.c > CMakeFiles/tuxanci-dev.dir/base/arena.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/arena.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/arena.c -o CMakeFiles/tuxanci-dev.dir/base/arena.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/server.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_13)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/server.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/server.c.o -c /home/scarab/tuxanci/src/base/server.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/server.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/server.c > CMakeFiles/tuxanci-dev.dir/base/server.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/server.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/server.c -o CMakeFiles/tuxanci-dev.dir/base/server.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/server.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/server.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/server.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/server.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/server.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/server.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/base/serverSelect.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_14)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o -c /home/scarab/tuxanci/src/base/serverSelect.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/serverSelect.c > CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/serverSelect.c -o CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/serverSendMsg.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_15)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o -c /home/scarab/tuxanci/src/base/serverSendMsg.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/serverSendMsg.c > CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/serverSendMsg.c -o CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o: ../src/base/textFile.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_16)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/textFile.c.o -c /home/scarab/tuxanci/src/base/textFile.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/textFile.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/textFile.c > CMakeFiles/tuxanci-dev.dir/base/textFile.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/textFile.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/textFile.c -o CMakeFiles/tuxanci-dev.dir/base/textFile.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/gun.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_17)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/gun.c.o -c /home/scarab/tuxanci/src/base/gun.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/gun.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/gun.c > CMakeFiles/tuxanci-dev.dir/base/gun.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/gun.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/gun.c -o CMakeFiles/tuxanci-dev.dir/base/gun.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/arenaFile.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_18)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o -c /home/scarab/tuxanci/src/base/arenaFile.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/arenaFile.c > CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/arenaFile.c -o CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/modules.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_19)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/modules.c.o -c /home/scarab/tuxanci/src/base/modules.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/modules.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/modules.c > CMakeFiles/tuxanci-dev.dir/base/modules.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/modules.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/modules.c -o CMakeFiles/tuxanci-dev.dir/base/modules.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/net_multiplayer.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_20)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o -c /home/scarab/tuxanci/src/base/net_multiplayer.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/net_multiplayer.c > CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/net_multiplayer.c -o CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/index.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/index.c.o: ../src/base/index.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_21)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/index.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/index.c.o -c /home/scarab/tuxanci/src/base/index.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/index.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/index.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/index.c > CMakeFiles/tuxanci-dev.dir/base/index.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/index.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/index.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/index.c -o CMakeFiles/tuxanci-dev.dir/base/index.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/index.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/index.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/index.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/index.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/index.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/index.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/index.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/index.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/index.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/item.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_22)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/item.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/item.c.o -c /home/scarab/tuxanci/src/base/item.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/item.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/item.c > CMakeFiles/tuxanci-dev.dir/base/item.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/item.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/item.c -o CMakeFiles/tuxanci-dev.dir/base/item.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/item.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/item.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/item.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/item.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/item.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/item.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/tux.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_23)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/tux.c.o -c /home/scarab/tuxanci/src/base/tux.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/tux.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/tux.c > CMakeFiles/tuxanci-dev.dir/base/tux.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/tux.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/tux.c -o CMakeFiles/tuxanci-dev.dir/base/tux.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/director.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/director.c.o: ../src/base/director.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_24)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/director.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/director.c.o -c /home/scarab/tuxanci/src/base/director.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/director.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/director.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/director.c > CMakeFiles/tuxanci-dev.dir/base/director.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/director.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/director.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/director.c -o CMakeFiles/tuxanci-dev.dir/base/director.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/director.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/director.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/director.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/director.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/director.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/director.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/director.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/director.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/director.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o: ../src/base/idManager.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_25)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/idManager.c.o -c /home/scarab/tuxanci/src/base/idManager.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/idManager.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/idManager.c > CMakeFiles/tuxanci-dev.dir/base/idManager.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/idManager.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/idManager.c -o CMakeFiles/tuxanci-dev.dir/base/idManager.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o: ../src/base/homeDirector.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_26)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o -c /home/scarab/tuxanci/src/base/homeDirector.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/homeDirector.c > CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/homeDirector.c -o CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/proto.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_27)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/proto.c.o -c /home/scarab/tuxanci/src/base/proto.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/proto.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/proto.c > CMakeFiles/tuxanci-dev.dir/base/proto.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/proto.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/proto.c -o CMakeFiles/tuxanci-dev.dir/base/proto.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o: ../src/base/shareFunction.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_28)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o -c /home/scarab/tuxanci/src/base/shareFunction.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/shareFunction.c > CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/shareFunction.c -o CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o: ../src/base/buffer.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_29)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/buffer.c.o -c /home/scarab/tuxanci/src/base/buffer.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/buffer.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/buffer.c > CMakeFiles/tuxanci-dev.dir/base/buffer.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/buffer.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/buffer.c -o CMakeFiles/tuxanci-dev.dir/base/buffer.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o: ../src/base/archive.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_30)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/base/archive.c.o -c /home/scarab/tuxanci/src/base/archive.c
-
-src/CMakeFiles/tuxanci-dev.dir/base/archive.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/base/archive.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/archive.c > CMakeFiles/tuxanci-dev.dir/base/archive.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/base/archive.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/base/archive.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/archive.c -o CMakeFiles/tuxanci-dev.dir/base/archive.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o: ../src/net/dns.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_31)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/net/dns.c.o -c /home/scarab/tuxanci/src/net/dns.c
-
-src/CMakeFiles/tuxanci-dev.dir/net/dns.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/net/dns.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/net/dns.c > CMakeFiles/tuxanci-dev.dir/net/dns.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/net/dns.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/net/dns.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/net/dns.c -o CMakeFiles/tuxanci-dev.dir/net/dns.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/client/layer.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_32)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/layer.c.o -c /home/scarab/tuxanci/src/client/layer.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/layer.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/layer.c > CMakeFiles/tuxanci-dev.dir/client/layer.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/layer.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/layer.c -o CMakeFiles/tuxanci-dev.dir/client/layer.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: ../src/client/term.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_33)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/term.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/term.c.o -c /home/scarab/tuxanci/src/client/term.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/term.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/term.c > CMakeFiles/tuxanci-dev.dir/client/term.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/term.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/term.c -o CMakeFiles/tuxanci-dev.dir/client/term.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/term.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/term.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/term.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/term.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/term.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/term.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: ../src/client/screen.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_34)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/screen.c.o -c /home/scarab/tuxanci/src/client/screen.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/screen.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/screen.c > CMakeFiles/tuxanci-dev.dir/client/screen.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/screen.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/screen.c -o CMakeFiles/tuxanci-dev.dir/client/screen.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: ../src/client/interface.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_35)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/interface.c.o -c /home/scarab/tuxanci/src/client/interface.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/interface.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/interface.c > CMakeFiles/tuxanci-dev.dir/client/interface.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/interface.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/interface.c -o CMakeFiles/tuxanci-dev.dir/client/interface.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/client/client.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_36)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/client.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/client.c.o -c /home/scarab/tuxanci/src/client/client.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/client.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/client.c > CMakeFiles/tuxanci-dev.dir/client/client.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/client.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/client.c -o CMakeFiles/tuxanci-dev.dir/client/client.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/client.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/client.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/client.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/client.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/client.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/client.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/client/chat.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_37)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/chat.c.o -c /home/scarab/tuxanci/src/client/chat.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/chat.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/chat.c > CMakeFiles/tuxanci-dev.dir/client/chat.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/chat.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/chat.c -o CMakeFiles/tuxanci-dev.dir/client/chat.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o: ../src/client/configFile.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_38)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/configFile.c.o -c /home/scarab/tuxanci/src/client/configFile.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/configFile.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/configFile.c > CMakeFiles/tuxanci-dev.dir/client/configFile.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/configFile.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/configFile.c -o CMakeFiles/tuxanci-dev.dir/client/configFile.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/client/saveLoad.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_39)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o -c /home/scarab/tuxanci/src/client/saveLoad.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/saveLoad.c > CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/saveLoad.c -o CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: ../src/client/font.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_40)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/font.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/font.c.o -c /home/scarab/tuxanci/src/client/font.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/font.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/font.c > CMakeFiles/tuxanci-dev.dir/client/font.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/font.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/font.c -o CMakeFiles/tuxanci-dev.dir/client/font.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/font.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/font.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/font.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/font.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/font.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/font.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/client/game.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_41)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/game.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/game.c.o -c /home/scarab/tuxanci/src/client/game.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/game.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/game.c > CMakeFiles/tuxanci-dev.dir/client/game.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/game.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/game.c -o CMakeFiles/tuxanci-dev.dir/client/game.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/game.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/game.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/game.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/game.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/game.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/game.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: ../src/client/radar.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_42)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/radar.c.o -c /home/scarab/tuxanci/src/client/radar.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/radar.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/radar.c > CMakeFiles/tuxanci-dev.dir/client/radar.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/radar.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/radar.c -o CMakeFiles/tuxanci-dev.dir/client/radar.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: ../src/client/panel.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_43)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/panel.c.o -c /home/scarab/tuxanci/src/client/panel.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/panel.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/panel.c > CMakeFiles/tuxanci-dev.dir/client/panel.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/panel.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/panel.c -o CMakeFiles/tuxanci-dev.dir/client/panel.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: ../src/client/image.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_44)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/image.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/image.c.o -c /home/scarab/tuxanci/src/client/image.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/image.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/image.c > CMakeFiles/tuxanci-dev.dir/client/image.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/image.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/image.c -o CMakeFiles/tuxanci-dev.dir/client/image.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/image.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/image.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/image.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/image.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/image.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/image.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: ../src/client/keyboardBuffer.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_45)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o -c /home/scarab/tuxanci/src/client/keyboardBuffer.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/keyboardBuffer.c > CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/keyboardBuffer.c -o CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: ../src/client/pauza.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_46)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/pauza.c.o -c /home/scarab/tuxanci/src/client/pauza.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/pauza.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/pauza.c > CMakeFiles/tuxanci-dev.dir/client/pauza.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/pauza.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/pauza.c -o CMakeFiles/tuxanci-dev.dir/client/pauza.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/client/saveDialog.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_47)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o -c /home/scarab/tuxanci/src/client/saveDialog.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/saveDialog.c > CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/saveDialog.c -o CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: ../src/client/hotKey.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_48)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o -c /home/scarab/tuxanci/src/client/hotKey.c
-
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/client/hotKey.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/client/hotKey.c > CMakeFiles/tuxanci-dev.dir/client/hotKey.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/client/hotKey.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/client/hotKey.c -o CMakeFiles/tuxanci-dev.dir/client/hotKey.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/screen/screen_choiceArena.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_49)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o -c /home/scarab/tuxanci/src/screen/screen_choiceArena.c
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/screen/screen_choiceArena.c > CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/screen/screen_choiceArena.c -o CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/screen/screen_settingKeys.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_50)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o -c /home/scarab/tuxanci/src/screen/screen_settingKeys.c
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/screen/screen_settingKeys.c > CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/screen/screen_settingKeys.c -o CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/screen/screen_table.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_51)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o -c /home/scarab/tuxanci/src/screen/screen_table.c
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/screen/screen_table.c > CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/screen/screen_table.c -o CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/screen/screen_setting.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_52)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o -c /home/scarab/tuxanci/src/screen/screen_setting.c
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/screen/screen_setting.c > CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/screen/screen_setting.c -o CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/screen/screen_credits.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_53)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o -c /home/scarab/tuxanci/src/screen/screen_credits.c
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/screen/screen_credits.c > CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/screen/screen_credits.c -o CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/screen/screen_world.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_54)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o -c /home/scarab/tuxanci/src/screen/screen_world.c
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/screen/screen_world.c > CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/screen/screen_world.c -o CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/screen/screen_analyze.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_55)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o -c /home/scarab/tuxanci/src/screen/screen_analyze.c
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/screen/screen_analyze.c > CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/screen/screen_analyze.c -o CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/screen/screen_mainMenu.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_56)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o -c /home/scarab/tuxanci/src/screen/screen_mainMenu.c
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/screen/screen_mainMenu.c > CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/screen/screen_mainMenu.c -o CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/screen/screen_browser.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_57)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o -c /home/scarab/tuxanci/src/screen/screen_browser.c
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/screen/screen_browser.c > CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/screen/screen_browser.c -o CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/screen/screen_gameType.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_58)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o -c /home/scarab/tuxanci/src/screen/screen_gameType.c
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/screen/screen_gameType.c > CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/screen/screen_gameType.c -o CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/screen/screen_downArena.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_59)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o -c /home/scarab/tuxanci/src/screen/screen_downArena.c
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/screen/screen_downArena.c > CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/screen/screen_downArena.c -o CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: ../src/widget/widget_check.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_60)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o -c /home/scarab/tuxanci/src/widget/widget_check.c
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/widget/widget_check.c > CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/widget/widget_check.c -o CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: ../src/widget/widget_button.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_61)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o -c /home/scarab/tuxanci/src/widget/widget_button.c
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/widget/widget_button.c > CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/widget/widget_button.c -o CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: ../src/widget/widget_textfield.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_62)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o -c /home/scarab/tuxanci/src/widget/widget_textfield.c
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/widget/widget_textfield.c > CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/widget/widget_textfield.c -o CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: ../src/widget/widget_label.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_63)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o -c /home/scarab/tuxanci/src/widget/widget_label.c
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/widget/widget_label.c > CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/widget/widget_label.c -o CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: ../src/widget/widget_buttonimage.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_64)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o -c /home/scarab/tuxanci/src/widget/widget_buttonimage.c
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/widget/widget_buttonimage.c > CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/widget/widget_buttonimage.c -o CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: ../src/widget/widget_image.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_65)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o -c /home/scarab/tuxanci/src/widget/widget_image.c
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/widget/widget_image.c > CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/widget/widget_image.c -o CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: ../src/widget/widget_select.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_66)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o -c /home/scarab/tuxanci/src/widget/widget_select.c
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/widget/widget_select.c > CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/widget/widget_select.c -o CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: ../src/widget/widget_catchkey.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_67)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o -c /home/scarab/tuxanci/src/widget/widget_catchkey.c
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/widget/widget_catchkey.c > CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/widget/widget_catchkey.c -o CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: ../src/widget/widget_choicegroup.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_68)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o -c /home/scarab/tuxanci/src/widget/widget_choicegroup.c
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/widget/widget_choicegroup.c > CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/widget/widget_choicegroup.c -o CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o: ../src/widget/widget.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_69)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/widget/widget.c.o -c /home/scarab/tuxanci/src/widget/widget.c
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/widget/widget.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/widget/widget.c > CMakeFiles/tuxanci-dev.dir/widget/widget.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/widget/widget.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/widget/widget.c -o CMakeFiles/tuxanci-dev.dir/widget/widget.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: ../src/audio/audio.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_70)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/audio/audio.c.o -c /home/scarab/tuxanci/src/audio/audio.c
-
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/audio/audio.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/audio/audio.c > CMakeFiles/tuxanci-dev.dir/audio/audio.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/audio/audio.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/audio/audio.c -o CMakeFiles/tuxanci-dev.dir/audio/audio.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: ../src/audio/music.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_71)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/audio/music.c.o -c /home/scarab/tuxanci/src/audio/music.c
-
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/audio/music.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/audio/music.c > CMakeFiles/tuxanci-dev.dir/audio/music.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/audio/music.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/audio/music.c -o CMakeFiles/tuxanci-dev.dir/audio/music.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o.provides.build
-
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: src/CMakeFiles/tuxanci-dev.dir/flags.make
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: ../src/audio/sound.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_72)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/tuxanci-dev.dir/audio/sound.c.o -c /home/scarab/tuxanci/src/audio/sound.c
-
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/tuxanci-dev.dir/audio/sound.c.i"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/audio/sound.c > CMakeFiles/tuxanci-dev.dir/audio/sound.c.i
-
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/tuxanci-dev.dir/audio/sound.c.s"
- cd /home/scarab/tuxanci/build/src && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/audio/sound.c -o CMakeFiles/tuxanci-dev.dir/audio/sound.c.s
-
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o.requires:
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o.requires
-
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o.provides: src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o.requires
- $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o.provides.build
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o.provides
-
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o.provides.build: src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o.provides.build
-
-# Object files for target tuxanci-dev
-tuxanci__dev_OBJECTS = \
-"CMakeFiles/tuxanci-dev.dir/net/udp.c.o" \
-"CMakeFiles/tuxanci-dev.dir/net/tcp.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/main.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/shot.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/space.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/storage.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/protect.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/list.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/arena.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/server.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/textFile.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/gun.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/modules.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/index.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/item.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/tux.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/director.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/idManager.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/proto.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/buffer.c.o" \
-"CMakeFiles/tuxanci-dev.dir/base/archive.c.o" \
-"CMakeFiles/tuxanci-dev.dir/net/dns.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/layer.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/term.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/screen.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/interface.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/client.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/chat.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/configFile.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/font.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/game.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/radar.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/panel.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/image.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/pauza.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o" \
-"CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o" \
-"CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o" \
-"CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o" \
-"CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o" \
-"CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o" \
-"CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o" \
-"CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o" \
-"CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o" \
-"CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o" \
-"CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o" \
-"CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o" \
-"CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o" \
-"CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o" \
-"CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o" \
-"CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o" \
-"CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o" \
-"CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o" \
-"CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o" \
-"CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o" \
-"CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o" \
-"CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o" \
-"CMakeFiles/tuxanci-dev.dir/widget/widget.c.o" \
-"CMakeFiles/tuxanci-dev.dir/audio/audio.c.o" \
-"CMakeFiles/tuxanci-dev.dir/audio/music.c.o" \
-"CMakeFiles/tuxanci-dev.dir/audio/sound.c.o"
-
-# External object files for target tuxanci-dev
-tuxanci__dev_EXTERNAL_OBJECTS =
-
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/main.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/space.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/list.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/server.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/index.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/item.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/director.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/term.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/client.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/font.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/game.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/image.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o
-src/tuxanci-dev: /usr/lib64/libzzip.so
-src/tuxanci-dev: /usr/lib64/libSDLmain.a
-src/tuxanci-dev: /usr/lib64/libSDL.so
-src/tuxanci-dev: /usr/lib64/libSDL_mixer.so
-src/tuxanci-dev: /usr/lib64/libSDL_image.so
-src/tuxanci-dev: /usr/lib64/libSDL_ttf.so
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/build.make
-src/tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/link.txt
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C executable tuxanci-dev"
- cd /home/scarab/tuxanci/build/src && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/tuxanci-dev.dir/link.txt --verbose=$(VERBOSE)
-
-# Rule to build all files generated by this target.
-src/CMakeFiles/tuxanci-dev.dir/build: src/tuxanci-dev
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/build
-
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/main.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/space.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/list.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/server.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/index.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/item.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/director.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/term.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/client.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/font.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/game.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/image.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o.requires
-src/CMakeFiles/tuxanci-dev.dir/requires: src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o.requires
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/requires
-
-src/CMakeFiles/tuxanci-dev.dir/clean:
- cd /home/scarab/tuxanci/build/src && $(CMAKE_COMMAND) -P CMakeFiles/tuxanci-dev.dir/cmake_clean.cmake
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/clean
-
-src/CMakeFiles/tuxanci-dev.dir/depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/scarab/tuxanci /home/scarab/tuxanci/src /home/scarab/tuxanci/build /home/scarab/tuxanci/build/src /home/scarab/tuxanci/build/src/CMakeFiles/tuxanci-dev.dir/DependInfo.cmake --color=$(COLOR)
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/depend
-
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o
deleted file mode 100644
index 57e4b38..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/client.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/client.c.o
deleted file mode 100644
index e3c9d73..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/client.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o
deleted file mode 100644
index 0cb9444..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/font.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/font.c.o
deleted file mode 100644
index b0f1347..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/font.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/game.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/game.c.o
deleted file mode 100644
index 6a52fe3..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/game.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o
deleted file mode 100644
index 3a00164..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/image.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/image.c.o
deleted file mode 100644
index 87c69b7..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/image.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o
deleted file mode 100644
index aa9f5a0..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o
deleted file mode 100644
index 5ca517f..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o
deleted file mode 100644
index 74f736b..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o
deleted file mode 100644
index 4a281f5..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o
deleted file mode 100644
index e2e32b5..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o
deleted file mode 100644
index 65b6be0..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o
deleted file mode 100644
index d6a1e9f..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o
deleted file mode 100644
index 0876a23..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o
deleted file mode 100644
index cc74676..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/client/term.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/client/term.c.o
deleted file mode 100644
index d5c0b12..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/client/term.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/cmake_clean.cmake b/build/src/CMakeFiles/tuxanci-dev.dir/cmake_clean.cmake
deleted file mode 100644
index 308f5b4..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/cmake_clean.cmake
+++ /dev/null
@@ -1,81 +0,0 @@
-FILE(REMOVE_RECURSE
- "CMakeFiles/tuxanci-dev.dir/net/udp.c.o"
- "CMakeFiles/tuxanci-dev.dir/net/tcp.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/main.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/shot.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/space.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/storage.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/protect.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/list.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/arena.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/server.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/textFile.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/gun.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/modules.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/index.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/item.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/tux.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/director.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/idManager.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/proto.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/buffer.c.o"
- "CMakeFiles/tuxanci-dev.dir/base/archive.c.o"
- "CMakeFiles/tuxanci-dev.dir/net/dns.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/layer.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/term.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/screen.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/interface.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/client.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/chat.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/configFile.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/font.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/game.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/radar.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/panel.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/image.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/pauza.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o"
- "CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o"
- "CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o"
- "CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o"
- "CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o"
- "CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o"
- "CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o"
- "CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o"
- "CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o"
- "CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o"
- "CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o"
- "CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o"
- "CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o"
- "CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o"
- "CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o"
- "CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o"
- "CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o"
- "CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o"
- "CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o"
- "CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o"
- "CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o"
- "CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o"
- "CMakeFiles/tuxanci-dev.dir/widget/widget.c.o"
- "CMakeFiles/tuxanci-dev.dir/audio/audio.c.o"
- "CMakeFiles/tuxanci-dev.dir/audio/music.c.o"
- "CMakeFiles/tuxanci-dev.dir/audio/sound.c.o"
- "tuxanci-dev.pdb"
- "tuxanci-dev"
-)
-
-# Per-language clean rules from dependency scanning.
-FOREACH(lang C)
- INCLUDE(CMakeFiles/tuxanci-dev.dir/cmake_clean_${lang}.cmake OPTIONAL)
-ENDFOREACH(lang)
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/depend.internal b/build/src/CMakeFiles/tuxanci-dev.dir/depend.internal
deleted file mode 100644
index c2bc03b..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/depend.internal
+++ /dev/null
@@ -1,2870 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o
- ../src/base/bool.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- ../src/client/interface.h
- /home/scarab/tuxanci/src/audio/audio.c
- /home/scarab/tuxanci/src/audio/audio.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/storage.h
- ../src/base/string_length.h
- ../src/client/interface.h
- /home/scarab/tuxanci/src/audio/audio.h
- /home/scarab/tuxanci/src/audio/music.c
- /home/scarab/tuxanci/src/audio/music.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/storage.h
- ../src/base/string_length.h
- ../src/client/interface.h
- /home/scarab/tuxanci/src/audio/audio.h
- /home/scarab/tuxanci/src/audio/sound.c
- /home/scarab/tuxanci/src/audio/sound.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o
- /home/scarab/tuxanci/src/base/archive.c
- /home/scarab/tuxanci/src/base/archive.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o
- ../src/base/arenaFile.h
- ../src/base/textFile.h
- ../src/client/client.h
- ../src/client/hotKey.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/layer.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/base/arena.c
- /home/scarab/tuxanci/src/base/arena.h
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/buffer.h
- /home/scarab/tuxanci/src/base/item.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/modules.h
- /home/scarab/tuxanci/src/base/myTimer.h
- /home/scarab/tuxanci/src/base/net_multiplayer.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/protect.h
- /home/scarab/tuxanci/src/base/proto.h
- /home/scarab/tuxanci/src/base/server.h
- /home/scarab/tuxanci/src/base/shot.h
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
- /home/scarab/tuxanci/src/base/tux.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o
- ../src/audio/music.h
- ../src/client/client.h
- ../src/client/configFile.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/base/archive.h
- /home/scarab/tuxanci/src/base/arena.h
- /home/scarab/tuxanci/src/base/arenaFile.c
- /home/scarab/tuxanci/src/base/arenaFile.h
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/buffer.h
- /home/scarab/tuxanci/src/base/director.h
- /home/scarab/tuxanci/src/base/homeDirector.h
- /home/scarab/tuxanci/src/base/item.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/modules.h
- /home/scarab/tuxanci/src/base/myTimer.h
- /home/scarab/tuxanci/src/base/net_multiplayer.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/protect.h
- /home/scarab/tuxanci/src/base/proto.h
- /home/scarab/tuxanci/src/base/server.h
- /home/scarab/tuxanci/src/base/shot.h
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
- /home/scarab/tuxanci/src/base/textFile.h
- /home/scarab/tuxanci/src/base/tux.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o
- /home/scarab/tuxanci/src/base/buffer.c
- /home/scarab/tuxanci/src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o
- ../src/client/image.h
- ../src/client/interface.h
- ../src/net/udp.h
- /home/scarab/tuxanci/src/base/arena.h
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/buffer.h
- /home/scarab/tuxanci/src/base/checkFront.c
- /home/scarab/tuxanci/src/base/checkFront.h
- /home/scarab/tuxanci/src/base/idManager.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/myTimer.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/protect.h
- /home/scarab/tuxanci/src/base/server.h
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
- /home/scarab/tuxanci/src/base/tux.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/director.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/director.c
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o
- ../src/audio/sound.h
- ../src/client/client.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/base/arena.h
- /home/scarab/tuxanci/src/base/arenaFile.h
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/buffer.h
- /home/scarab/tuxanci/src/base/gun.c
- /home/scarab/tuxanci/src/base/gun.h
- /home/scarab/tuxanci/src/base/item.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/myTimer.h
- /home/scarab/tuxanci/src/base/net_multiplayer.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/protect.h
- /home/scarab/tuxanci/src/base/proto.h
- /home/scarab/tuxanci/src/base/server.h
- /home/scarab/tuxanci/src/base/serverSendMsg.h
- /home/scarab/tuxanci/src/base/shot.h
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
- /home/scarab/tuxanci/src/base/textFile.h
- /home/scarab/tuxanci/src/base/tux.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/homeDirector.c
- /home/scarab/tuxanci/src/base/homeDirector.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/idManager.c
- /home/scarab/tuxanci/src/base/idManager.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/index.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/index.c
- /home/scarab/tuxanci/src/base/index.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o
- ../src/audio/sound.h
- ../src/client/client.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/layer.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/base/arena.h
- /home/scarab/tuxanci/src/base/arenaFile.h
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/buffer.h
- /home/scarab/tuxanci/src/base/idManager.h
- /home/scarab/tuxanci/src/base/item.c
- /home/scarab/tuxanci/src/base/item.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/myTimer.h
- /home/scarab/tuxanci/src/base/net_multiplayer.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/protect.h
- /home/scarab/tuxanci/src/base/proto.h
- /home/scarab/tuxanci/src/base/server.h
- /home/scarab/tuxanci/src/base/serverSendMsg.h
- /home/scarab/tuxanci/src/base/shot.h
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
- /home/scarab/tuxanci/src/base/textFile.h
- /home/scarab/tuxanci/src/base/tux.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/list.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/list.c
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o
- ../src/client/game.h
- ../src/client/image.h
- ../src/client/interface.h
- /home/scarab/tuxanci/src/base/arena.h
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.c
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
- /home/scarab/tuxanci/src/base/tux.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o
- ../src/client/client.h
- ../src/client/configFile.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/layer.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/base/arena.h
- /home/scarab/tuxanci/src/base/arenaFile.h
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/buffer.h
- /home/scarab/tuxanci/src/base/item.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/modules.c
- /home/scarab/tuxanci/src/base/modules.h
- /home/scarab/tuxanci/src/base/myTimer.h
- /home/scarab/tuxanci/src/base/net_multiplayer.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/protect.h
- /home/scarab/tuxanci/src/base/proto.h
- /home/scarab/tuxanci/src/base/server.h
- /home/scarab/tuxanci/src/base/shareFunction.h
- /home/scarab/tuxanci/src/base/shot.h
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
- /home/scarab/tuxanci/src/base/textFile.h
- /home/scarab/tuxanci/src/base/tux.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o
- ../src/client/interface.h
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/myTimer.c
- /home/scarab/tuxanci/src/base/myTimer.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o
- ../src/client/client.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/screen.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- /home/scarab/tuxanci/src/base/arena.h
- /home/scarab/tuxanci/src/base/arenaFile.h
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/buffer.h
- /home/scarab/tuxanci/src/base/item.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/myTimer.h
- /home/scarab/tuxanci/src/base/net_multiplayer.c
- /home/scarab/tuxanci/src/base/net_multiplayer.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/protect.h
- /home/scarab/tuxanci/src/base/server.h
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
- /home/scarab/tuxanci/src/base/textFile.h
- /home/scarab/tuxanci/src/base/tux.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/myTimer.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/protect.c
- /home/scarab/tuxanci/src/base/protect.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o
- ../src/client/chat.h
- ../src/client/client.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/radar.h
- ../src/client/term.h
- ../src/net/udp.h
- ../src/screen/screen_analyze.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_downArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/base/arena.h
- /home/scarab/tuxanci/src/base/arenaFile.h
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/buffer.h
- /home/scarab/tuxanci/src/base/checkFront.h
- /home/scarab/tuxanci/src/base/idManager.h
- /home/scarab/tuxanci/src/base/item.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/modules.h
- /home/scarab/tuxanci/src/base/myTimer.h
- /home/scarab/tuxanci/src/base/net_multiplayer.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/protect.h
- /home/scarab/tuxanci/src/base/proto.c
- /home/scarab/tuxanci/src/base/proto.h
- /home/scarab/tuxanci/src/base/server.h
- /home/scarab/tuxanci/src/base/serverSendMsg.h
- /home/scarab/tuxanci/src/base/shot.h
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
- /home/scarab/tuxanci/src/base/textFile.h
- /home/scarab/tuxanci/src/base/tux.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o
- ../src/client/client.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/base/arena.h
- /home/scarab/tuxanci/src/base/arenaFile.h
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/buffer.h
- /home/scarab/tuxanci/src/base/checkFront.h
- /home/scarab/tuxanci/src/base/index.h
- /home/scarab/tuxanci/src/base/item.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/myTimer.h
- /home/scarab/tuxanci/src/base/net_multiplayer.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/protect.h
- /home/scarab/tuxanci/src/base/proto.h
- /home/scarab/tuxanci/src/base/server.c
- /home/scarab/tuxanci/src/base/server.h
- /home/scarab/tuxanci/src/base/serverSelect.h
- /home/scarab/tuxanci/src/base/serverSendMsg.h
- /home/scarab/tuxanci/src/base/shot.h
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
- /home/scarab/tuxanci/src/base/textFile.h
- /home/scarab/tuxanci/src/base/tux.h
- /home/scarab/tuxanci/src/base/udp_server.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o
- ../src/client/image.h
- ../src/client/interface.h
- ../src/net/udp.h
- /home/scarab/tuxanci/src/base/arena.h
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/buffer.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/myTimer.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/protect.h
- /home/scarab/tuxanci/src/base/server.h
- /home/scarab/tuxanci/src/base/serverSelect.c
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
- /home/scarab/tuxanci/src/base/tux.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o
- ../src/base/arenaFile.h
- ../src/base/textFile.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/net/udp.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/base/arena.h
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/buffer.h
- /home/scarab/tuxanci/src/base/checkFront.h
- /home/scarab/tuxanci/src/base/item.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/myTimer.h
- /home/scarab/tuxanci/src/base/net_multiplayer.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/protect.h
- /home/scarab/tuxanci/src/base/server.h
- /home/scarab/tuxanci/src/base/serverSendMsg.c
- /home/scarab/tuxanci/src/base/serverSendMsg.h
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
- /home/scarab/tuxanci/src/base/tux.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/shareFunction.c
- /home/scarab/tuxanci/src/base/shareFunction.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o
- ../src/client/client.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/layer.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/base/arena.h
- /home/scarab/tuxanci/src/base/arenaFile.h
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/buffer.h
- /home/scarab/tuxanci/src/base/gun.h
- /home/scarab/tuxanci/src/base/idManager.h
- /home/scarab/tuxanci/src/base/item.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/myTimer.h
- /home/scarab/tuxanci/src/base/net_multiplayer.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/protect.h
- /home/scarab/tuxanci/src/base/proto.h
- /home/scarab/tuxanci/src/base/server.h
- /home/scarab/tuxanci/src/base/serverSendMsg.h
- /home/scarab/tuxanci/src/base/shot.c
- /home/scarab/tuxanci/src/base/shot.h
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
- /home/scarab/tuxanci/src/base/textFile.h
- /home/scarab/tuxanci/src/base/tux.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/space.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/index.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/space.c
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/storage.c
- /home/scarab/tuxanci/src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
- /home/scarab/tuxanci/src/base/textFile.c
- /home/scarab/tuxanci/src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o
- ../src/audio/sound.h
- ../src/client/client.h
- ../src/client/font.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/layer.h
- ../src/client/radar.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/base/arena.h
- /home/scarab/tuxanci/src/base/arenaFile.h
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/buffer.h
- /home/scarab/tuxanci/src/base/gun.h
- /home/scarab/tuxanci/src/base/idManager.h
- /home/scarab/tuxanci/src/base/item.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/modules.h
- /home/scarab/tuxanci/src/base/myTimer.h
- /home/scarab/tuxanci/src/base/net_multiplayer.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/protect.h
- /home/scarab/tuxanci/src/base/proto.h
- /home/scarab/tuxanci/src/base/server.h
- /home/scarab/tuxanci/src/base/serverSendMsg.h
- /home/scarab/tuxanci/src/base/shot.h
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
- /home/scarab/tuxanci/src/base/textFile.h
- /home/scarab/tuxanci/src/base/tux.c
- /home/scarab/tuxanci/src/base/tux.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_ttf.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o
- ../src/client/client.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/base/arena.h
- /home/scarab/tuxanci/src/base/arenaFile.h
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/buffer.h
- /home/scarab/tuxanci/src/base/checkFront.h
- /home/scarab/tuxanci/src/base/index.h
- /home/scarab/tuxanci/src/base/item.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/myTimer.h
- /home/scarab/tuxanci/src/base/net_multiplayer.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/protect.h
- /home/scarab/tuxanci/src/base/proto.h
- /home/scarab/tuxanci/src/base/server.h
- /home/scarab/tuxanci/src/base/serverSelect.h
- /home/scarab/tuxanci/src/base/shot.h
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
- /home/scarab/tuxanci/src/base/textFile.h
- /home/scarab/tuxanci/src/base/tux.h
- /home/scarab/tuxanci/src/base/udp_server.c
- /home/scarab/tuxanci/src/base/udp_server.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o
- ../src/base/arena.h
- ../src/base/arenaFile.h
- ../src/base/bool.h
- ../src/base/buffer.h
- ../src/base/item.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/myTimer.h
- ../src/base/net_multiplayer.h
- ../src/base/path.h
- ../src/base/protect.h
- ../src/base/proto.h
- ../src/base/server.h
- ../src/base/serverSendMsg.h
- ../src/base/shot.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/client/client.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/client/chat.c
- /home/scarab/tuxanci/src/client/chat.h
- /home/scarab/tuxanci/src/client/font.h
- /home/scarab/tuxanci/src/client/hotKey.h
- /home/scarab/tuxanci/src/client/image.h
- /home/scarab/tuxanci/src/client/interface.h
- /home/scarab/tuxanci/src/client/keyboardBuffer.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_ttf.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o
- ../src/base/arena.h
- ../src/base/arenaFile.h
- ../src/base/bool.h
- ../src/base/buffer.h
- ../src/base/item.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/myTimer.h
- ../src/base/net_multiplayer.h
- ../src/base/path.h
- ../src/base/protect.h
- ../src/base/proto.h
- ../src/base/server.h
- ../src/base/shot.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/net/udp.h
- ../src/screen/screen_analyze.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/client/client.c
- /home/scarab/tuxanci/src/client/client.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- /home/scarab/tuxanci/src/client/configFile.c
- /home/scarab/tuxanci/src/client/configFile.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o
- ../src/base/bool.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- /home/scarab/tuxanci/src/client/font.c
- /home/scarab/tuxanci/src/client/font.h
- /home/scarab/tuxanci/src/client/interface.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_ttf.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o
- ../src/audio/audio.h
- ../src/audio/music.h
- ../src/audio/sound.h
- ../src/base/arena.h
- ../src/base/arenaFile.h
- ../src/base/bool.h
- ../src/base/homeDirector.h
- ../src/base/item.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/myTimer.h
- ../src/base/path.h
- ../src/base/shot.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/screen/screen_analyze.h
- ../src/screen/screen_browser.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_credits.h
- ../src/screen/screen_downArena.h
- ../src/screen/screen_gameType.h
- ../src/screen/screen_mainMenu.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_settingKeys.h
- ../src/screen/screen_table.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/client/font.h
- /home/scarab/tuxanci/src/client/game.c
- /home/scarab/tuxanci/src/client/image.h
- /home/scarab/tuxanci/src/client/interface.h
- /home/scarab/tuxanci/src/client/layer.h
- /home/scarab/tuxanci/src/client/panel.h
- /home/scarab/tuxanci/src/client/radar.h
- /home/scarab/tuxanci/src/client/screen.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_ttf.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/myTimer.h
- ../src/base/path.h
- ../src/base/string_length.h
- /home/scarab/tuxanci/src/client/hotKey.c
- /home/scarab/tuxanci/src/client/hotKey.h
- /home/scarab/tuxanci/src/client/interface.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/storage.h
- ../src/base/string_length.h
- /home/scarab/tuxanci/src/client/image.c
- /home/scarab/tuxanci/src/client/image.h
- /home/scarab/tuxanci/src/client/interface.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/myTimer.h
- ../src/base/path.h
- ../src/base/string_length.h
- /home/scarab/tuxanci/src/client/hotKey.h
- /home/scarab/tuxanci/src/client/interface.c
- /home/scarab/tuxanci/src/client/interface.h
- /home/scarab/tuxanci/src/client/keyboardBuffer.h
- /home/scarab/tuxanci/src/client/screen.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o
- ../src/base/bool.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- /home/scarab/tuxanci/src/client/keyboardBuffer.c
- /home/scarab/tuxanci/src/client/keyboardBuffer.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o
- ../src/base/arena.h
- ../src/base/arenaFile.h
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/myTimer.h
- ../src/base/path.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/client/image.h
- /home/scarab/tuxanci/src/client/interface.h
- /home/scarab/tuxanci/src/client/layer.c
- /home/scarab/tuxanci/src/client/layer.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o
- ../src/base/arena.h
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/tux.h
- /home/scarab/tuxanci/src/client/chat.h
- /home/scarab/tuxanci/src/client/font.h
- /home/scarab/tuxanci/src/client/image.h
- /home/scarab/tuxanci/src/client/interface.h
- /home/scarab/tuxanci/src/client/panel.c
- /home/scarab/tuxanci/src/client/panel.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_ttf.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/myTimer.h
- ../src/base/path.h
- ../src/base/string_length.h
- /home/scarab/tuxanci/src/client/hotKey.h
- /home/scarab/tuxanci/src/client/image.h
- /home/scarab/tuxanci/src/client/interface.h
- /home/scarab/tuxanci/src/client/pauza.c
- /home/scarab/tuxanci/src/client/pauza.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o
- ../src/base/arena.h
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/tux.h
- /home/scarab/tuxanci/src/client/image.h
- /home/scarab/tuxanci/src/client/interface.h
- /home/scarab/tuxanci/src/client/radar.c
- /home/scarab/tuxanci/src/client/radar.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o
- ../src/base/arena.h
- ../src/base/bool.h
- ../src/base/item.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/myTimer.h
- ../src/base/net_multiplayer.h
- ../src/base/path.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/widget/widget.h
- ../src/widget/widget_button.h
- ../src/widget/widget_label.h
- ../src/widget/widget_textfield.h
- /home/scarab/tuxanci/src/client/font.h
- /home/scarab/tuxanci/src/client/hotKey.h
- /home/scarab/tuxanci/src/client/image.h
- /home/scarab/tuxanci/src/client/interface.h
- /home/scarab/tuxanci/src/client/saveDialog.c
- /home/scarab/tuxanci/src/client/saveDialog.h
- /home/scarab/tuxanci/src/client/saveLoad.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_ttf.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o
- ../src/base/arena.h
- ../src/base/arenaFile.h
- ../src/base/bool.h
- ../src/base/buffer.h
- ../src/base/homeDirector.h
- ../src/base/item.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/modules.h
- ../src/base/myTimer.h
- ../src/base/net_multiplayer.h
- ../src/base/path.h
- ../src/base/protect.h
- ../src/base/proto.h
- ../src/base/server.h
- ../src/base/shot.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/client/client.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/client/saveLoad.c
- /home/scarab/tuxanci/src/client/saveLoad.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/myTimer.h
- ../src/base/path.h
- ../src/base/string_length.h
- /home/scarab/tuxanci/src/client/image.h
- /home/scarab/tuxanci/src/client/interface.h
- /home/scarab/tuxanci/src/client/layer.h
- /home/scarab/tuxanci/src/client/screen.c
- /home/scarab/tuxanci/src/client/screen.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o
- ../src/base/arena.h
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/myTimer.h
- ../src/base/path.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/tux.h
- ../src/client/image.h
- /home/scarab/tuxanci/src/client/font.h
- /home/scarab/tuxanci/src/client/interface.h
- /home/scarab/tuxanci/src/client/term.c
- /home/scarab/tuxanci/src/client/term.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_ttf.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o
- ../src/base/bool.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- /home/scarab/tuxanci/src/net/dns.c
-src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o
- ../src/base/bool.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- /home/scarab/tuxanci/src/net/tcp.c
- /home/scarab/tuxanci/src/net/tcp.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o
- ../src/base/arena.h
- ../src/base/bool.h
- ../src/base/item.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/myTimer.h
- ../src/base/net_multiplayer.h
- ../src/base/path.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/tux.h
- ../src/client/image.h
- ../src/client/interface.h
- /home/scarab/tuxanci/src/net/udp.c
- /home/scarab/tuxanci/src/net/udp.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o
- ../src/audio/music.h
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/screen.h
- ../src/widget/widget.h
- ../src/widget/widget_button.h
- ../src/widget/widget_image.h
- ../src/widget/widget_label.h
- /home/scarab/tuxanci/src/screen/screen_analyze.c
- /home/scarab/tuxanci/src/screen/screen_analyze.h
- /home/scarab/tuxanci/src/screen/screen_mainMenu.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o
- ../src/audio/music.h
- ../src/base/arena.h
- ../src/base/bool.h
- ../src/base/homeDirector.h
- ../src/base/item.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/myTimer.h
- ../src/base/net_multiplayer.h
- ../src/base/path.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/screen.h
- ../src/net/dns.h
- ../src/net/udp.h
- ../src/widget/widget.h
- ../src/widget/widget_button.h
- ../src/widget/widget_image.h
- ../src/widget/widget_label.h
- ../src/widget/widget_select.h
- /home/scarab/tuxanci/src/screen/screen_browser.c
- /home/scarab/tuxanci/src/screen/screen_browser.h
- /home/scarab/tuxanci/src/screen/screen_gameType.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o
- ../src/audio/music.h
- ../src/base/arena.h
- ../src/base/arenaFile.h
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/screen.h
- ../src/widget/widget.h
- ../src/widget/widget_button.h
- ../src/widget/widget_buttonimage.h
- ../src/widget/widget_image.h
- ../src/widget/widget_label.h
- /home/scarab/tuxanci/src/screen/screen_choiceArena.c
- /home/scarab/tuxanci/src/screen/screen_choiceArena.h
- /home/scarab/tuxanci/src/screen/screen_mainMenu.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o
- ../src/audio/music.h
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/screen.h
- ../src/widget/widget.h
- ../src/widget/widget_button.h
- ../src/widget/widget_image.h
- ../src/widget/widget_label.h
- /home/scarab/tuxanci/src/screen/screen_credits.c
- /home/scarab/tuxanci/src/screen/screen_credits.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o
- ../src/base/arena.h
- ../src/base/arenaFile.h
- ../src/base/bool.h
- ../src/base/buffer.h
- ../src/base/homeDirector.h
- ../src/base/item.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/myTimer.h
- ../src/base/net_multiplayer.h
- ../src/base/path.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/screen.h
- ../src/net/tcp.h
- ../src/net/udp.h
- ../src/widget/widget.h
- ../src/widget/widget_button.h
- ../src/widget/widget_image.h
- ../src/widget/widget_label.h
- /home/scarab/tuxanci/src/screen/screen_downArena.c
- /home/scarab/tuxanci/src/screen/screen_downArena.h
- /home/scarab/tuxanci/src/screen/screen_gameType.h
- /home/scarab/tuxanci/src/screen/screen_setting.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o
- ../src/audio/music.h
- ../src/base/arena.h
- ../src/base/bool.h
- ../src/base/director.h
- ../src/base/homeDirector.h
- ../src/base/item.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/myTimer.h
- ../src/base/net_multiplayer.h
- ../src/base/path.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/tux.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/screen.h
- ../src/widget/widget.h
- ../src/widget/widget_button.h
- ../src/widget/widget_check.h
- ../src/widget/widget_choicegroup.h
- ../src/widget/widget_image.h
- ../src/widget/widget_label.h
- ../src/widget/widget_select.h
- ../src/widget/widget_textfield.h
- /home/scarab/tuxanci/src/screen/screen_gameType.c
- /home/scarab/tuxanci/src/screen/screen_gameType.h
- /home/scarab/tuxanci/src/screen/screen_setting.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o
- ../src/audio/music.h
- ../src/base/bool.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- ../src/client/game.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/screen.h
- ../src/widget/widget.h
- ../src/widget/widget_button.h
- ../src/widget/widget_check.h
- ../src/widget/widget_image.h
- ../src/widget/widget_label.h
- ../src/widget/widget_textfield.h
- /home/scarab/tuxanci/src/screen/screen_mainMenu.c
- /home/scarab/tuxanci/src/screen/screen_mainMenu.h
- /home/scarab/tuxanci/src/screen/screen_setting.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o
- ../src/audio/music.h
- ../src/audio/sound.h
- ../src/base/arena.h
- ../src/base/arenaFile.h
- ../src/base/bool.h
- ../src/base/director.h
- ../src/base/homeDirector.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/client/configFile.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/screen.h
- ../src/widget/widget.h
- ../src/widget/widget_button.h
- ../src/widget/widget_check.h
- ../src/widget/widget_image.h
- ../src/widget/widget_label.h
- ../src/widget/widget_select.h
- ../src/widget/widget_textfield.h
- /home/scarab/tuxanci/src/screen/screen_choiceArena.h
- /home/scarab/tuxanci/src/screen/screen_mainMenu.h
- /home/scarab/tuxanci/src/screen/screen_setting.c
- /home/scarab/tuxanci/src/screen/screen_setting.h
- /home/scarab/tuxanci/src/screen/screen_settingKeys.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o
- ../src/audio/music.h
- ../src/audio/sound.h
- ../src/base/arena.h
- ../src/base/bool.h
- ../src/base/director.h
- ../src/base/homeDirector.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/client/configFile.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/screen.h
- ../src/widget/widget.h
- ../src/widget/widget_button.h
- ../src/widget/widget_catchkey.h
- ../src/widget/widget_image.h
- ../src/widget/widget_label.h
- /home/scarab/tuxanci/src/screen/screen_mainMenu.h
- /home/scarab/tuxanci/src/screen/screen_setting.h
- /home/scarab/tuxanci/src/screen/screen_settingKeys.c
- /home/scarab/tuxanci/src/screen/screen_settingKeys.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o
- ../src/audio/music.h
- ../src/base/bool.h
- ../src/base/homeDirector.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/screen.h
- ../src/widget/widget.h
- ../src/widget/widget_button.h
- ../src/widget/widget_image.h
- ../src/widget/widget_label.h
- /home/scarab/tuxanci/src/screen/screen_table.c
- /home/scarab/tuxanci/src/screen/screen_table.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o
- ../src/audio/music.h
- ../src/audio/sound.h
- ../src/base/arena.h
- ../src/base/arenaFile.h
- ../src/base/bool.h
- ../src/base/buffer.h
- ../src/base/gun.h
- ../src/base/idManager.h
- ../src/base/item.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/modules.h
- ../src/base/myTimer.h
- ../src/base/net_multiplayer.h
- ../src/base/path.h
- ../src/base/protect.h
- ../src/base/proto.h
- ../src/base/server.h
- ../src/base/serverSendMsg.h
- ../src/base/shot.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/client/chat.h
- ../src/client/client.h
- ../src/client/font.h
- ../src/client/hotKey.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/client/layer.h
- ../src/client/panel.h
- ../src/client/pauza.h
- ../src/client/radar.h
- ../src/client/saveDialog.h
- ../src/client/saveLoad.h
- ../src/client/screen.h
- ../src/client/term.h
- ../src/net/udp.h
- /home/scarab/tuxanci/src/screen/screen_analyze.h
- /home/scarab/tuxanci/src/screen/screen_choiceArena.h
- /home/scarab/tuxanci/src/screen/screen_gameType.h
- /home/scarab/tuxanci/src/screen/screen_setting.h
- /home/scarab/tuxanci/src/screen/screen_settingKeys.h
- /home/scarab/tuxanci/src/screen/screen_table.h
- /home/scarab/tuxanci/src/screen/screen_world.c
- /home/scarab/tuxanci/src/screen/screen_world.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mixer.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_ttf.h
- /usr/include/SDL/SDL_types.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o
- ../src/base/bool.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- /home/scarab/tuxanci/src/widget/widget.c
- /home/scarab/tuxanci/src/widget/widget.h
- /home/scarab/tuxanci/src/widget/widget_label.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o
- ../src/base/bool.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- ../src/client/font.h
- ../src/client/image.h
- ../src/client/interface.h
- /home/scarab/tuxanci/src/widget/widget.h
- /home/scarab/tuxanci/src/widget/widget_button.c
- /home/scarab/tuxanci/src/widget/widget_button.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_ttf.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o
- ../src/base/bool.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- ../src/client/font.h
- ../src/client/image.h
- ../src/client/interface.h
- /home/scarab/tuxanci/src/widget/widget.h
- /home/scarab/tuxanci/src/widget/widget_buttonimage.c
- /home/scarab/tuxanci/src/widget/widget_buttonimage.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_ttf.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o
- ../src/base/bool.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- ../src/client/font.h
- ../src/client/interface.h
- /home/scarab/tuxanci/src/widget/widget.h
- /home/scarab/tuxanci/src/widget/widget_catchkey.c
- /home/scarab/tuxanci/src/widget/widget_catchkey.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_ttf.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o
- ../src/base/bool.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- ../src/client/image.h
- ../src/client/interface.h
- /home/scarab/tuxanci/src/widget/widget.h
- /home/scarab/tuxanci/src/widget/widget_check.c
- /home/scarab/tuxanci/src/widget/widget_check.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- ../src/client/image.h
- ../src/client/interface.h
- /home/scarab/tuxanci/src/widget/widget.h
- /home/scarab/tuxanci/src/widget/widget_choicegroup.c
- /home/scarab/tuxanci/src/widget/widget_choicegroup.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o
- ../src/base/bool.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- ../src/client/font.h
- ../src/client/image.h
- ../src/client/interface.h
- /home/scarab/tuxanci/src/widget/widget.h
- /home/scarab/tuxanci/src/widget/widget_image.c
- /home/scarab/tuxanci/src/widget/widget_image.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_ttf.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o
- ../src/base/bool.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- ../src/client/font.h
- ../src/client/interface.h
- /home/scarab/tuxanci/src/widget/widget.h
- /home/scarab/tuxanci/src/widget/widget_label.c
- /home/scarab/tuxanci/src/widget/widget_label.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_ttf.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o
- ../src/base/bool.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- ../src/client/font.h
- ../src/client/interface.h
- /home/scarab/tuxanci/src/widget/widget.h
- /home/scarab/tuxanci/src/widget/widget_select.c
- /home/scarab/tuxanci/src/widget/widget_select.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_ttf.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o
- ../src/base/bool.h
- ../src/base/main.h
- ../src/base/path.h
- ../src/base/string_length.h
- ../src/client/font.h
- ../src/client/image.h
- ../src/client/interface.h
- /home/scarab/tuxanci/src/widget/widget.h
- /home/scarab/tuxanci/src/widget/widget_textfield.c
- /home/scarab/tuxanci/src/widget/widget_textfield.h
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_ttf.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/depend.make b/build/src/CMakeFiles/tuxanci-dev.dir/depend.make
deleted file mode 100644
index 0e06c3e..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/depend.make
+++ /dev/null
@@ -1,2870 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: ../src/audio/audio.c
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: ../src/audio/audio.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: ../src/base/storage.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: ../src/audio/audio.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: ../src/audio/music.c
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: ../src/audio/music.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: ../src/base/storage.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: ../src/audio/audio.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: ../src/audio/sound.c
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: ../src/audio/sound.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o: ../src/base/archive.c
-src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o: ../src/base/archive.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/client/client.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/client/hotKey.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/client/layer.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/arena.c
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/modules.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/proto.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/shot.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/audio/music.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/client/client.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/client/configFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/archive.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/arenaFile.c
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/director.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/homeDirector.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/modules.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/proto.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/shot.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o: ../src/base/buffer.c
-src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o: ../src/base/buffer.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/base/checkFront.c
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/base/checkFront.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/base/idManager.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/director.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/director.c.o: ../src/base/director.c
-src/CMakeFiles/tuxanci-dev.dir/base/director.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/director.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/director.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/director.c.o: ../src/base/string_length.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/audio/sound.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/client/client.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/gun.c
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/gun.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/proto.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/serverSendMsg.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/shot.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o: ../src/base/homeDirector.c
-src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o: ../src/base/homeDirector.h
-src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o: ../src/base/string_length.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o: ../src/base/idManager.c
-src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o: ../src/base/idManager.h
-src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o: ../src/base/string_length.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/index.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/index.c.o: ../src/base/index.c
-src/CMakeFiles/tuxanci-dev.dir/base/index.c.o: ../src/base/index.h
-src/CMakeFiles/tuxanci-dev.dir/base/index.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/index.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/index.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/index.c.o: ../src/base/string_length.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/audio/sound.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/client/client.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/client/layer.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/idManager.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/item.c
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/proto.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/serverSendMsg.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/shot.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/item.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/list.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/list.c.o: ../src/base/list.c
-src/CMakeFiles/tuxanci-dev.dir/base/list.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/list.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/list.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/list.c.o: ../src/base/string_length.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: ../src/client/game.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: ../src/base/main.c
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/main.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/client/client.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/client/configFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/client/layer.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/modules.c
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/modules.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/proto.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/shareFunction.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/shot.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: ../src/base/myTimer.c
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/client/client.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/client/screen.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/net_multiplayer.c
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o: ../src/base/protect.c
-src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o: ../src/base/string_length.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/client/chat.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/client/client.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/client/radar.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/client/term.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/screen/screen_analyze.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/screen/screen_downArena.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/checkFront.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/idManager.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/modules.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/proto.c
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/proto.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/serverSendMsg.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/shot.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/client/client.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/checkFront.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/index.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/proto.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/server.c
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/serverSelect.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/serverSendMsg.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/shot.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: ../src/base/udp_server.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/server.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/base/serverSelect.c
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/checkFront.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/serverSendMsg.c
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/serverSendMsg.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o: ../src/base/shareFunction.c
-src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o: ../src/base/shareFunction.h
-src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o: ../src/base/string_length.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/client/client.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/client/layer.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/gun.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/idManager.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/proto.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/serverSendMsg.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/shot.c
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/shot.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/space.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/space.c.o: ../src/base/index.h
-src/CMakeFiles/tuxanci-dev.dir/base/space.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/space.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/space.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/space.c.o: ../src/base/space.c
-src/CMakeFiles/tuxanci-dev.dir/base/space.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/base/space.c.o: ../src/base/string_length.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o: ../src/base/storage.c
-src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o: ../src/base/string_length.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o: ../src/base/textFile.c
-src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o: ../src/base/textFile.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/audio/sound.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/client/client.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/client/font.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/client/layer.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/client/radar.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/gun.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/idManager.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/modules.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/proto.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/serverSendMsg.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/shot.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/tux.c
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_ttf.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/client/client.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/checkFront.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/index.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/proto.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/serverSelect.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/shot.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/udp_server.c
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: ../src/base/udp_server.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/proto.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/serverSendMsg.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/shot.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/client/client.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/client/chat.c
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/client/chat.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/client/font.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/client/hotKey.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: ../src/client/keyboardBuffer.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_ttf.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/proto.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/shot.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/screen/screen_analyze.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/client/client.c
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: ../src/client/client.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/client.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o: ../src/client/configFile.c
-src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o: ../src/client/configFile.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: ../src/client/font.c
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: ../src/client/font.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_ttf.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/font.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/audio/audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/audio/music.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/audio/sound.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/base/homeDirector.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/base/shot.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/screen/screen_analyze.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/screen/screen_browser.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/screen/screen_credits.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/screen/screen_downArena.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/screen/screen_gameType.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/screen/screen_mainMenu.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/screen/screen_settingKeys.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/screen/screen_table.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/client/font.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/client/game.c
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/client/layer.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/client/panel.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/client/radar.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: ../src/client/screen.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_ttf.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/game.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: ../src/client/hotKey.c
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: ../src/client/hotKey.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: ../src/base/storage.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: ../src/client/image.c
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/image.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: ../src/client/hotKey.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: ../src/client/interface.c
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: ../src/client/keyboardBuffer.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: ../src/client/screen.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: ../src/client/keyboardBuffer.c
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: ../src/client/keyboardBuffer.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/client/layer.c
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: ../src/client/layer.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: ../src/client/chat.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: ../src/client/font.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: ../src/client/panel.c
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: ../src/client/panel.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_ttf.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: ../src/client/hotKey.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: ../src/client/pauza.c
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: ../src/client/pauza.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: ../src/client/radar.c
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: ../src/client/radar.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/widget/widget_button.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/widget/widget_label.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/widget/widget_textfield.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/client/font.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/client/hotKey.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/client/saveDialog.c
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/client/saveDialog.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: ../src/client/saveLoad.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_ttf.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/homeDirector.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/modules.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/proto.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/shot.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/client/client.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/client/saveLoad.c
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: ../src/client/saveLoad.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: ../src/client/layer.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: ../src/client/screen.c
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: ../src/client/screen.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: ../src/client/font.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: ../src/client/term.c
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: ../src/client/term.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_ttf.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/client/term.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o: ../src/net/dns.c
-
-src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o: ../src/net/tcp.c
-src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o: ../src/net/tcp.h
-
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: ../src/net/udp.c
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/audio/music.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/client/screen.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/widget/widget_button.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/widget/widget_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/widget/widget_label.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/screen/screen_analyze.c
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/screen/screen_analyze.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: ../src/screen/screen_mainMenu.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/audio/music.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/base/homeDirector.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/client/screen.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/net/dns.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/widget/widget_button.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/widget/widget_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/widget/widget_label.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/widget/widget_select.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/screen/screen_browser.c
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/screen/screen_browser.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: ../src/screen/screen_gameType.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/audio/music.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/client/screen.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/widget/widget_button.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/widget/widget_buttonimage.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/widget/widget_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/widget/widget_label.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/screen/screen_choiceArena.c
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: ../src/screen/screen_mainMenu.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/audio/music.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/client/screen.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/widget/widget_button.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/widget/widget_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/widget/widget_label.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/screen/screen_credits.c
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: ../src/screen/screen_credits.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/base/homeDirector.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/client/screen.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/net/tcp.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/widget/widget_button.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/widget/widget_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/widget/widget_label.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/screen/screen_downArena.c
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/screen/screen_downArena.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/screen/screen_gameType.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/audio/music.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/base/director.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/base/homeDirector.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/client/screen.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/widget/widget_button.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/widget/widget_check.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/widget/widget_choicegroup.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/widget/widget_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/widget/widget_label.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/widget/widget_select.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/widget/widget_textfield.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/screen/screen_gameType.c
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/screen/screen_gameType.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/audio/music.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/client/game.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/client/screen.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/widget/widget_button.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/widget/widget_check.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/widget/widget_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/widget/widget_label.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/widget/widget_textfield.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/screen/screen_mainMenu.c
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/screen/screen_mainMenu.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/audio/music.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/audio/sound.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/base/director.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/base/homeDirector.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/client/configFile.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/client/screen.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/widget/widget_button.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/widget/widget_check.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/widget/widget_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/widget/widget_label.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/widget/widget_select.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/widget/widget_textfield.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/screen/screen_mainMenu.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/screen/screen_setting.c
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: ../src/screen/screen_settingKeys.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/audio/music.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/audio/sound.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/base/director.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/base/homeDirector.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/client/configFile.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/client/screen.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/widget/widget_button.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/widget/widget_catchkey.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/widget/widget_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/widget/widget_label.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/screen/screen_mainMenu.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/screen/screen_settingKeys.c
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: ../src/screen/screen_settingKeys.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/audio/music.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/base/homeDirector.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/client/screen.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/widget/widget_button.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/widget/widget_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/widget/widget_label.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/screen/screen_table.c
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: ../src/screen/screen_table.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/audio/music.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/audio/sound.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/arena.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/arenaFile.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/buffer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/gun.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/idManager.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/item.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/modules.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/myTimer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/net_multiplayer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/protect.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/proto.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/server.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/serverSendMsg.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/shot.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/space.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/textFile.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/base/tux.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/client/chat.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/client/client.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/client/font.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/client/hotKey.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/client/layer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/client/panel.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/client/pauza.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/client/radar.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/client/saveDialog.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/client/saveLoad.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/client/screen.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/client/term.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/net/udp.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/screen/screen_analyze.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/screen/screen_choiceArena.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/screen/screen_gameType.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/screen/screen_setting.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/screen/screen_settingKeys.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/screen/screen_table.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/screen/screen_world.c
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: ../src/screen/screen_world.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_mixer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_ttf.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_types.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o: ../src/widget/widget.c
-src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o: ../src/widget/widget_label.h
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: ../src/client/font.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: ../src/widget/widget_button.c
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: ../src/widget/widget_button.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_ttf.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: ../src/client/font.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: ../src/widget/widget_buttonimage.c
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: ../src/widget/widget_buttonimage.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_ttf.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: ../src/client/font.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: ../src/widget/widget_catchkey.c
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: ../src/widget/widget_catchkey.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_ttf.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: ../src/widget/widget_check.c
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: ../src/widget/widget_check.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: ../src/widget/widget_choicegroup.c
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: ../src/widget/widget_choicegroup.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: ../src/client/font.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: ../src/widget/widget_image.c
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: ../src/widget/widget_image.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_ttf.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: ../src/client/font.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: ../src/widget/widget_label.c
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: ../src/widget/widget_label.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_ttf.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: ../src/base/list.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: ../src/client/font.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: ../src/widget/widget_select.c
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: ../src/widget/widget_select.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_ttf.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o: /usr/include/SDL/close_code.h
-
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: ../src/base/bool.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: ../src/base/main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: ../src/base/path.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: ../src/base/string_length.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: ../src/client/font.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: ../src/client/image.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: ../src/client/interface.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: ../src/widget/widget.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: ../src/widget/widget_textfield.c
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: ../src/widget/widget_textfield.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_active.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_audio.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_cdrom.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_config.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_endian.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_error.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_events.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_image.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_joystick.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_keyboard.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_keysym.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_loadso.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_main.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_mouse.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_mutex.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_net.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_platform.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_quit.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_rwops.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_stdinc.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_thread.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_timer.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_ttf.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_version.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/SDL_video.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/begin_code.h
-src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o: /usr/include/SDL/close_code.h
-
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/flags.make b/build/src/CMakeFiles/tuxanci-dev.dir/flags.make
deleted file mode 100644
index 938aea9..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/flags.make
+++ /dev/null
@@ -1,8 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# compile C with /usr/bin/gcc
-C_FLAGS = -I/home/scarab/tuxanci/src/base -I/home/scarab/tuxanci/src/net -I/home/scarab/tuxanci/src/client -I/home/scarab/tuxanci/src/screen -I/home/scarab/tuxanci/src/widget -I/usr/include/SDL -I/home/scarab/tuxanci/src/audio
-
-C_DEFINES =
-
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/link.txt b/build/src/CMakeFiles/tuxanci-dev.dir/link.txt
deleted file mode 100644
index 21ac08b..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/link.txt
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/gcc -fPIC CMakeFiles/tuxanci-dev.dir/net/udp.c.o CMakeFiles/tuxanci-dev.dir/net/tcp.c.o CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o CMakeFiles/tuxanci-dev.dir/base/main.c.o CMakeFiles/tuxanci-dev.dir/base/shot.c.o CMakeFiles/tuxanci-dev.dir/base/space.c.o CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o CMakeFiles/tuxanci-dev.dir/base/storage.c.o CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o CMakeFiles/tuxanci-dev.dir/base/protect.c.o CMakeFiles/tuxanci-dev.dir/base/list.c.o CMakeFiles/tuxanci-dev.dir/base/arena.c.o CMakeFiles/tuxanci-dev.dir/base/server.c.o CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o CMakeFiles/tuxanci-dev.dir/base/textFile.c.o CMakeFiles/tuxanci-dev.dir/base/gun.c.o CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o CMakeFiles/tuxanci-dev.dir/base/modules.c.o CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o CMakeFiles/tuxanci-dev.dir/base/index.c.o CMakeFiles/tuxanci-dev.dir/base/item.c.o CMakeFiles/tuxanci-dev.dir/base/tux.c.o CMakeFiles/tuxanci-dev.dir/base/director.c.o CMakeFiles/tuxanci-dev.dir/base/idManager.c.o CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o CMakeFiles/tuxanci-dev.dir/base/proto.c.o CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o CMakeFiles/tuxanci-dev.dir/base/buffer.c.o CMakeFiles/tuxanci-dev.dir/base/archive.c.o CMakeFiles/tuxanci-dev.dir/net/dns.c.o CMakeFiles/tuxanci-dev.dir/client/layer.c.o CMakeFiles/tuxanci-dev.dir/client/term.c.o CMakeFiles/tuxanci-dev.dir/client/screen.c.o CMakeFiles/tuxanci-dev.dir/client/interface.c.o CMakeFiles/tuxanci-dev.dir/client/client.c.o CMakeFiles/tuxanci-dev.dir/client/chat.c.o CMakeFiles/tuxanci-dev.dir/client/configFile.c.o CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o CMakeFiles/tuxanci-dev.dir/client/font.c.o CMakeFiles/tuxanci-dev.dir/client/game.c.o CMakeFiles/tuxanci-dev.dir/client/radar.c.o CMakeFiles/tuxanci-dev.dir/client/panel.c.o CMakeFiles/tuxanci-dev.dir/client/image.c.o CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o CMakeFiles/tuxanci-dev.dir/client/pauza.c.o CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o CMakeFiles/tuxanci-dev.dir/widget/widget.c.o CMakeFiles/tuxanci-dev.dir/audio/audio.c.o CMakeFiles/tuxanci-dev.dir/audio/music.c.o CMakeFiles/tuxanci-dev.dir/audio/sound.c.o -o tuxanci-dev -rdynamic -lzzip -Wl,-Bstatic -lSDLmain -Wl,-Bdynamic -lSDL -lpthread -lSDL_mixer -lSDL_image -lSDL_ttf -lSDLmain
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o
deleted file mode 100644
index 32abe32..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o
deleted file mode 100644
index 16d494e..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o
deleted file mode 100644
index 5011718..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/progress.make b/build/src/CMakeFiles/tuxanci-dev.dir/progress.make
deleted file mode 100644
index b9d8178..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/progress.make
+++ /dev/null
@@ -1,73 +0,0 @@
-CMAKE_PROGRESS_1 = 1
-CMAKE_PROGRESS_2 = 2
-CMAKE_PROGRESS_3 = 3
-CMAKE_PROGRESS_4 = 4
-CMAKE_PROGRESS_5 = 5
-CMAKE_PROGRESS_6 = 6
-CMAKE_PROGRESS_7 = 7
-CMAKE_PROGRESS_8 = 8
-CMAKE_PROGRESS_9 = 9
-CMAKE_PROGRESS_10 = 10
-CMAKE_PROGRESS_11 = 11
-CMAKE_PROGRESS_12 = 12
-CMAKE_PROGRESS_13 = 13
-CMAKE_PROGRESS_14 = 14
-CMAKE_PROGRESS_15 = 15
-CMAKE_PROGRESS_16 = 16
-CMAKE_PROGRESS_17 = 17
-CMAKE_PROGRESS_18 = 18
-CMAKE_PROGRESS_19 = 19
-CMAKE_PROGRESS_20 = 20
-CMAKE_PROGRESS_21 = 21
-CMAKE_PROGRESS_22 = 22
-CMAKE_PROGRESS_23 = 23
-CMAKE_PROGRESS_24 = 24
-CMAKE_PROGRESS_25 = 25
-CMAKE_PROGRESS_26 = 26
-CMAKE_PROGRESS_27 = 27
-CMAKE_PROGRESS_28 = 28
-CMAKE_PROGRESS_29 = 29
-CMAKE_PROGRESS_30 = 30
-CMAKE_PROGRESS_31 = 31
-CMAKE_PROGRESS_32 = 32
-CMAKE_PROGRESS_33 = 33
-CMAKE_PROGRESS_34 = 34
-CMAKE_PROGRESS_35 = 35
-CMAKE_PROGRESS_36 = 36
-CMAKE_PROGRESS_37 = 37
-CMAKE_PROGRESS_38 = 38
-CMAKE_PROGRESS_39 = 39
-CMAKE_PROGRESS_40 = 40
-CMAKE_PROGRESS_41 = 41
-CMAKE_PROGRESS_42 = 42
-CMAKE_PROGRESS_43 = 43
-CMAKE_PROGRESS_44 = 44
-CMAKE_PROGRESS_45 = 45
-CMAKE_PROGRESS_46 = 46
-CMAKE_PROGRESS_47 = 47
-CMAKE_PROGRESS_48 = 48
-CMAKE_PROGRESS_49 = 49
-CMAKE_PROGRESS_50 = 50
-CMAKE_PROGRESS_51 = 51
-CMAKE_PROGRESS_52 = 52
-CMAKE_PROGRESS_53 = 53
-CMAKE_PROGRESS_54 = 54
-CMAKE_PROGRESS_55 = 55
-CMAKE_PROGRESS_56 = 56
-CMAKE_PROGRESS_57 = 57
-CMAKE_PROGRESS_58 = 58
-CMAKE_PROGRESS_59 = 59
-CMAKE_PROGRESS_60 = 60
-CMAKE_PROGRESS_61 = 61
-CMAKE_PROGRESS_62 = 62
-CMAKE_PROGRESS_63 = 63
-CMAKE_PROGRESS_64 = 64
-CMAKE_PROGRESS_65 = 65
-CMAKE_PROGRESS_66 = 66
-CMAKE_PROGRESS_67 = 67
-CMAKE_PROGRESS_68 = 68
-CMAKE_PROGRESS_69 = 69
-CMAKE_PROGRESS_70 = 70
-CMAKE_PROGRESS_71 = 71
-CMAKE_PROGRESS_72 = 72
-
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o
deleted file mode 100644
index 57a8307..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o
deleted file mode 100644
index 5dd3c7f..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o
deleted file mode 100644
index fef9305..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o
deleted file mode 100644
index 67d154b..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o
deleted file mode 100644
index 9fd2bf6..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o
deleted file mode 100644
index e388abd..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o
deleted file mode 100644
index a151333..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o
deleted file mode 100644
index 294240f..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o
deleted file mode 100644
index 77d4a75..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o
deleted file mode 100644
index 813fb24..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o
deleted file mode 100644
index b05c053..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o
deleted file mode 100644
index abb6d0a..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o
deleted file mode 100644
index be8bc1d..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o
deleted file mode 100644
index 6148bee..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o
deleted file mode 100644
index aaf9c02..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o
deleted file mode 100644
index 74e5c65..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o
deleted file mode 100644
index 23e6ef9..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o
deleted file mode 100644
index 0eebb23..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o
deleted file mode 100644
index 431bc76..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o
deleted file mode 100644
index 3cdcad5..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o b/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o
deleted file mode 100644
index 04eee46..0000000
--- a/build/src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/Makefile b/build/src/Makefile
deleted file mode 100644
index feae2e9..0000000
--- a/build/src/Makefile
+++ /dev/null
@@ -1,2126 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Default target executed when no arguments are given to make.
-default_target: all
-.PHONY : default_target
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-#=============================================================================
-# Targets provided globally by CMake.
-
-# Special rule for the target edit_cache
-edit_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
- cd /home/scarab/tuxanci/build/src && /usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : edit_cache
-
-# Special rule for the target edit_cache
-edit_cache/fast: edit_cache
-.PHONY : edit_cache/fast
-
-# Special rule for the target install
-install: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/src && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install
-
-# Special rule for the target install
-install/fast: preinstall/fast
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/src && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install/fast
-
-# Special rule for the target install/local
-install/local: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
- cd /home/scarab/tuxanci/build/src && /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
-.PHONY : install/local
-
-# Special rule for the target install/local
-install/local/fast: install/local
-.PHONY : install/local/fast
-
-# Special rule for the target install/strip
-install/strip: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
- cd /home/scarab/tuxanci/build/src && /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
-.PHONY : install/strip
-
-# Special rule for the target install/strip
-install/strip/fast: install/strip
-.PHONY : install/strip/fast
-
-# Special rule for the target list_install_components
-list_install_components:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
-.PHONY : list_install_components
-
-# Special rule for the target list_install_components
-list_install_components/fast: list_install_components
-.PHONY : list_install_components/fast
-
-# Special rule for the target rebuild_cache
-rebuild_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
- cd /home/scarab/tuxanci/build/src && /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : rebuild_cache
-
-# Special rule for the target rebuild_cache
-rebuild_cache/fast: rebuild_cache
-.PHONY : rebuild_cache/fast
-
-# The main all target
-all: cmake_check_build_system
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles /home/scarab/tuxanci/build/src/CMakeFiles/progress.make
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 src/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : all
-
-# The main clean target
-clean:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 src/clean
-.PHONY : clean
-
-# The main clean target
-clean/fast: clean
-.PHONY : clean/fast
-
-# Prepare targets for installation.
-preinstall: all
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 src/preinstall
-.PHONY : preinstall
-
-# Prepare targets for installation.
-preinstall/fast:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 src/preinstall
-.PHONY : preinstall/fast
-
-# clear depends
-depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
-.PHONY : depend
-
-# Convenience name for target.
-src/CMakeFiles/tuxanci-dev.dir/rule:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/tuxanci-dev.dir/rule
-.PHONY : src/CMakeFiles/tuxanci-dev.dir/rule
-
-# Convenience name for target.
-tuxanci-dev: src/CMakeFiles/tuxanci-dev.dir/rule
-.PHONY : tuxanci-dev
-
-# fast build rule for target.
-tuxanci-dev/fast:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/build
-.PHONY : tuxanci-dev/fast
-
-audio/audio.o: audio/audio.c.o
-.PHONY : audio/audio.o
-
-# target to build an object file
-audio/audio.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.o
-.PHONY : audio/audio.c.o
-
-audio/audio.i: audio/audio.c.i
-.PHONY : audio/audio.i
-
-# target to preprocess a source file
-audio/audio.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.i
-.PHONY : audio/audio.c.i
-
-audio/audio.s: audio/audio.c.s
-.PHONY : audio/audio.s
-
-# target to generate assembly for a file
-audio/audio.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/audio/audio.c.s
-.PHONY : audio/audio.c.s
-
-audio/music.o: audio/music.c.o
-.PHONY : audio/music.o
-
-# target to build an object file
-audio/music.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/audio/music.c.o
-.PHONY : audio/music.c.o
-
-audio/music.i: audio/music.c.i
-.PHONY : audio/music.i
-
-# target to preprocess a source file
-audio/music.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/audio/music.c.i
-.PHONY : audio/music.c.i
-
-audio/music.s: audio/music.c.s
-.PHONY : audio/music.s
-
-# target to generate assembly for a file
-audio/music.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/audio/music.c.s
-.PHONY : audio/music.c.s
-
-audio/sound.o: audio/sound.c.o
-.PHONY : audio/sound.o
-
-# target to build an object file
-audio/sound.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.o
-.PHONY : audio/sound.c.o
-
-audio/sound.i: audio/sound.c.i
-.PHONY : audio/sound.i
-
-# target to preprocess a source file
-audio/sound.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.i
-.PHONY : audio/sound.c.i
-
-audio/sound.s: audio/sound.c.s
-.PHONY : audio/sound.s
-
-# target to generate assembly for a file
-audio/sound.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/audio/sound.c.s
-.PHONY : audio/sound.c.s
-
-base/archive.o: base/archive.c.o
-.PHONY : base/archive.o
-
-# target to build an object file
-base/archive.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/archive.c.o
-.PHONY : base/archive.c.o
-
-base/archive.i: base/archive.c.i
-.PHONY : base/archive.i
-
-# target to preprocess a source file
-base/archive.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/archive.c.i
-.PHONY : base/archive.c.i
-
-base/archive.s: base/archive.c.s
-.PHONY : base/archive.s
-
-# target to generate assembly for a file
-base/archive.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/archive.c.s
-.PHONY : base/archive.c.s
-
-base/arena.o: base/arena.c.o
-.PHONY : base/arena.o
-
-# target to build an object file
-base/arena.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/arena.c.o
-.PHONY : base/arena.c.o
-
-base/arena.i: base/arena.c.i
-.PHONY : base/arena.i
-
-# target to preprocess a source file
-base/arena.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/arena.c.i
-.PHONY : base/arena.c.i
-
-base/arena.s: base/arena.c.s
-.PHONY : base/arena.s
-
-# target to generate assembly for a file
-base/arena.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/arena.c.s
-.PHONY : base/arena.c.s
-
-base/arenaFile.o: base/arenaFile.c.o
-.PHONY : base/arenaFile.o
-
-# target to build an object file
-base/arenaFile.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.o
-.PHONY : base/arenaFile.c.o
-
-base/arenaFile.i: base/arenaFile.c.i
-.PHONY : base/arenaFile.i
-
-# target to preprocess a source file
-base/arenaFile.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.i
-.PHONY : base/arenaFile.c.i
-
-base/arenaFile.s: base/arenaFile.c.s
-.PHONY : base/arenaFile.s
-
-# target to generate assembly for a file
-base/arenaFile.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/arenaFile.c.s
-.PHONY : base/arenaFile.c.s
-
-base/buffer.o: base/buffer.c.o
-.PHONY : base/buffer.o
-
-# target to build an object file
-base/buffer.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.o
-.PHONY : base/buffer.c.o
-
-base/buffer.i: base/buffer.c.i
-.PHONY : base/buffer.i
-
-# target to preprocess a source file
-base/buffer.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.i
-.PHONY : base/buffer.c.i
-
-base/buffer.s: base/buffer.c.s
-.PHONY : base/buffer.s
-
-# target to generate assembly for a file
-base/buffer.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/buffer.c.s
-.PHONY : base/buffer.c.s
-
-base/checkFront.o: base/checkFront.c.o
-.PHONY : base/checkFront.o
-
-# target to build an object file
-base/checkFront.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.o
-.PHONY : base/checkFront.c.o
-
-base/checkFront.i: base/checkFront.c.i
-.PHONY : base/checkFront.i
-
-# target to preprocess a source file
-base/checkFront.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.i
-.PHONY : base/checkFront.c.i
-
-base/checkFront.s: base/checkFront.c.s
-.PHONY : base/checkFront.s
-
-# target to generate assembly for a file
-base/checkFront.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/checkFront.c.s
-.PHONY : base/checkFront.c.s
-
-base/director.o: base/director.c.o
-.PHONY : base/director.o
-
-# target to build an object file
-base/director.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/director.c.o
-.PHONY : base/director.c.o
-
-base/director.i: base/director.c.i
-.PHONY : base/director.i
-
-# target to preprocess a source file
-base/director.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/director.c.i
-.PHONY : base/director.c.i
-
-base/director.s: base/director.c.s
-.PHONY : base/director.s
-
-# target to generate assembly for a file
-base/director.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/director.c.s
-.PHONY : base/director.c.s
-
-base/gun.o: base/gun.c.o
-.PHONY : base/gun.o
-
-# target to build an object file
-base/gun.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/gun.c.o
-.PHONY : base/gun.c.o
-
-base/gun.i: base/gun.c.i
-.PHONY : base/gun.i
-
-# target to preprocess a source file
-base/gun.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/gun.c.i
-.PHONY : base/gun.c.i
-
-base/gun.s: base/gun.c.s
-.PHONY : base/gun.s
-
-# target to generate assembly for a file
-base/gun.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/gun.c.s
-.PHONY : base/gun.c.s
-
-base/homeDirector.o: base/homeDirector.c.o
-.PHONY : base/homeDirector.o
-
-# target to build an object file
-base/homeDirector.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.o
-.PHONY : base/homeDirector.c.o
-
-base/homeDirector.i: base/homeDirector.c.i
-.PHONY : base/homeDirector.i
-
-# target to preprocess a source file
-base/homeDirector.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.i
-.PHONY : base/homeDirector.c.i
-
-base/homeDirector.s: base/homeDirector.c.s
-.PHONY : base/homeDirector.s
-
-# target to generate assembly for a file
-base/homeDirector.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/homeDirector.c.s
-.PHONY : base/homeDirector.c.s
-
-base/idManager.o: base/idManager.c.o
-.PHONY : base/idManager.o
-
-# target to build an object file
-base/idManager.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.o
-.PHONY : base/idManager.c.o
-
-base/idManager.i: base/idManager.c.i
-.PHONY : base/idManager.i
-
-# target to preprocess a source file
-base/idManager.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.i
-.PHONY : base/idManager.c.i
-
-base/idManager.s: base/idManager.c.s
-.PHONY : base/idManager.s
-
-# target to generate assembly for a file
-base/idManager.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/idManager.c.s
-.PHONY : base/idManager.c.s
-
-base/index.o: base/index.c.o
-.PHONY : base/index.o
-
-# target to build an object file
-base/index.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/index.c.o
-.PHONY : base/index.c.o
-
-base/index.i: base/index.c.i
-.PHONY : base/index.i
-
-# target to preprocess a source file
-base/index.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/index.c.i
-.PHONY : base/index.c.i
-
-base/index.s: base/index.c.s
-.PHONY : base/index.s
-
-# target to generate assembly for a file
-base/index.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/index.c.s
-.PHONY : base/index.c.s
-
-base/item.o: base/item.c.o
-.PHONY : base/item.o
-
-# target to build an object file
-base/item.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/item.c.o
-.PHONY : base/item.c.o
-
-base/item.i: base/item.c.i
-.PHONY : base/item.i
-
-# target to preprocess a source file
-base/item.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/item.c.i
-.PHONY : base/item.c.i
-
-base/item.s: base/item.c.s
-.PHONY : base/item.s
-
-# target to generate assembly for a file
-base/item.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/item.c.s
-.PHONY : base/item.c.s
-
-base/list.o: base/list.c.o
-.PHONY : base/list.o
-
-# target to build an object file
-base/list.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/list.c.o
-.PHONY : base/list.c.o
-
-base/list.i: base/list.c.i
-.PHONY : base/list.i
-
-# target to preprocess a source file
-base/list.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/list.c.i
-.PHONY : base/list.c.i
-
-base/list.s: base/list.c.s
-.PHONY : base/list.s
-
-# target to generate assembly for a file
-base/list.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/list.c.s
-.PHONY : base/list.c.s
-
-base/main.o: base/main.c.o
-.PHONY : base/main.o
-
-# target to build an object file
-base/main.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/main.c.o
-.PHONY : base/main.c.o
-
-base/main.i: base/main.c.i
-.PHONY : base/main.i
-
-# target to preprocess a source file
-base/main.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/main.c.i
-.PHONY : base/main.c.i
-
-base/main.s: base/main.c.s
-.PHONY : base/main.s
-
-# target to generate assembly for a file
-base/main.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/main.c.s
-.PHONY : base/main.c.s
-
-base/modules.o: base/modules.c.o
-.PHONY : base/modules.o
-
-# target to build an object file
-base/modules.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/modules.c.o
-.PHONY : base/modules.c.o
-
-base/modules.i: base/modules.c.i
-.PHONY : base/modules.i
-
-# target to preprocess a source file
-base/modules.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/modules.c.i
-.PHONY : base/modules.c.i
-
-base/modules.s: base/modules.c.s
-.PHONY : base/modules.s
-
-# target to generate assembly for a file
-base/modules.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/modules.c.s
-.PHONY : base/modules.c.s
-
-base/myTimer.o: base/myTimer.c.o
-.PHONY : base/myTimer.o
-
-# target to build an object file
-base/myTimer.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.o
-.PHONY : base/myTimer.c.o
-
-base/myTimer.i: base/myTimer.c.i
-.PHONY : base/myTimer.i
-
-# target to preprocess a source file
-base/myTimer.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.i
-.PHONY : base/myTimer.c.i
-
-base/myTimer.s: base/myTimer.c.s
-.PHONY : base/myTimer.s
-
-# target to generate assembly for a file
-base/myTimer.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/myTimer.c.s
-.PHONY : base/myTimer.c.s
-
-base/net_multiplayer.o: base/net_multiplayer.c.o
-.PHONY : base/net_multiplayer.o
-
-# target to build an object file
-base/net_multiplayer.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.o
-.PHONY : base/net_multiplayer.c.o
-
-base/net_multiplayer.i: base/net_multiplayer.c.i
-.PHONY : base/net_multiplayer.i
-
-# target to preprocess a source file
-base/net_multiplayer.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.i
-.PHONY : base/net_multiplayer.c.i
-
-base/net_multiplayer.s: base/net_multiplayer.c.s
-.PHONY : base/net_multiplayer.s
-
-# target to generate assembly for a file
-base/net_multiplayer.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/net_multiplayer.c.s
-.PHONY : base/net_multiplayer.c.s
-
-base/protect.o: base/protect.c.o
-.PHONY : base/protect.o
-
-# target to build an object file
-base/protect.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/protect.c.o
-.PHONY : base/protect.c.o
-
-base/protect.i: base/protect.c.i
-.PHONY : base/protect.i
-
-# target to preprocess a source file
-base/protect.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/protect.c.i
-.PHONY : base/protect.c.i
-
-base/protect.s: base/protect.c.s
-.PHONY : base/protect.s
-
-# target to generate assembly for a file
-base/protect.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/protect.c.s
-.PHONY : base/protect.c.s
-
-base/proto.o: base/proto.c.o
-.PHONY : base/proto.o
-
-# target to build an object file
-base/proto.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/proto.c.o
-.PHONY : base/proto.c.o
-
-base/proto.i: base/proto.c.i
-.PHONY : base/proto.i
-
-# target to preprocess a source file
-base/proto.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/proto.c.i
-.PHONY : base/proto.c.i
-
-base/proto.s: base/proto.c.s
-.PHONY : base/proto.s
-
-# target to generate assembly for a file
-base/proto.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/proto.c.s
-.PHONY : base/proto.c.s
-
-base/server.o: base/server.c.o
-.PHONY : base/server.o
-
-# target to build an object file
-base/server.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/server.c.o
-.PHONY : base/server.c.o
-
-base/server.i: base/server.c.i
-.PHONY : base/server.i
-
-# target to preprocess a source file
-base/server.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/server.c.i
-.PHONY : base/server.c.i
-
-base/server.s: base/server.c.s
-.PHONY : base/server.s
-
-# target to generate assembly for a file
-base/server.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/server.c.s
-.PHONY : base/server.c.s
-
-base/serverSelect.o: base/serverSelect.c.o
-.PHONY : base/serverSelect.o
-
-# target to build an object file
-base/serverSelect.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.o
-.PHONY : base/serverSelect.c.o
-
-base/serverSelect.i: base/serverSelect.c.i
-.PHONY : base/serverSelect.i
-
-# target to preprocess a source file
-base/serverSelect.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.i
-.PHONY : base/serverSelect.c.i
-
-base/serverSelect.s: base/serverSelect.c.s
-.PHONY : base/serverSelect.s
-
-# target to generate assembly for a file
-base/serverSelect.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/serverSelect.c.s
-.PHONY : base/serverSelect.c.s
-
-base/serverSendMsg.o: base/serverSendMsg.c.o
-.PHONY : base/serverSendMsg.o
-
-# target to build an object file
-base/serverSendMsg.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.o
-.PHONY : base/serverSendMsg.c.o
-
-base/serverSendMsg.i: base/serverSendMsg.c.i
-.PHONY : base/serverSendMsg.i
-
-# target to preprocess a source file
-base/serverSendMsg.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.i
-.PHONY : base/serverSendMsg.c.i
-
-base/serverSendMsg.s: base/serverSendMsg.c.s
-.PHONY : base/serverSendMsg.s
-
-# target to generate assembly for a file
-base/serverSendMsg.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/serverSendMsg.c.s
-.PHONY : base/serverSendMsg.c.s
-
-base/shareFunction.o: base/shareFunction.c.o
-.PHONY : base/shareFunction.o
-
-# target to build an object file
-base/shareFunction.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.o
-.PHONY : base/shareFunction.c.o
-
-base/shareFunction.i: base/shareFunction.c.i
-.PHONY : base/shareFunction.i
-
-# target to preprocess a source file
-base/shareFunction.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.i
-.PHONY : base/shareFunction.c.i
-
-base/shareFunction.s: base/shareFunction.c.s
-.PHONY : base/shareFunction.s
-
-# target to generate assembly for a file
-base/shareFunction.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/shareFunction.c.s
-.PHONY : base/shareFunction.c.s
-
-base/shot.o: base/shot.c.o
-.PHONY : base/shot.o
-
-# target to build an object file
-base/shot.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/shot.c.o
-.PHONY : base/shot.c.o
-
-base/shot.i: base/shot.c.i
-.PHONY : base/shot.i
-
-# target to preprocess a source file
-base/shot.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/shot.c.i
-.PHONY : base/shot.c.i
-
-base/shot.s: base/shot.c.s
-.PHONY : base/shot.s
-
-# target to generate assembly for a file
-base/shot.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/shot.c.s
-.PHONY : base/shot.c.s
-
-base/space.o: base/space.c.o
-.PHONY : base/space.o
-
-# target to build an object file
-base/space.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/space.c.o
-.PHONY : base/space.c.o
-
-base/space.i: base/space.c.i
-.PHONY : base/space.i
-
-# target to preprocess a source file
-base/space.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/space.c.i
-.PHONY : base/space.c.i
-
-base/space.s: base/space.c.s
-.PHONY : base/space.s
-
-# target to generate assembly for a file
-base/space.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/space.c.s
-.PHONY : base/space.c.s
-
-base/storage.o: base/storage.c.o
-.PHONY : base/storage.o
-
-# target to build an object file
-base/storage.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/storage.c.o
-.PHONY : base/storage.c.o
-
-base/storage.i: base/storage.c.i
-.PHONY : base/storage.i
-
-# target to preprocess a source file
-base/storage.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/storage.c.i
-.PHONY : base/storage.c.i
-
-base/storage.s: base/storage.c.s
-.PHONY : base/storage.s
-
-# target to generate assembly for a file
-base/storage.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/storage.c.s
-.PHONY : base/storage.c.s
-
-base/textFile.o: base/textFile.c.o
-.PHONY : base/textFile.o
-
-# target to build an object file
-base/textFile.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.o
-.PHONY : base/textFile.c.o
-
-base/textFile.i: base/textFile.c.i
-.PHONY : base/textFile.i
-
-# target to preprocess a source file
-base/textFile.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.i
-.PHONY : base/textFile.c.i
-
-base/textFile.s: base/textFile.c.s
-.PHONY : base/textFile.s
-
-# target to generate assembly for a file
-base/textFile.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/textFile.c.s
-.PHONY : base/textFile.c.s
-
-base/tux.o: base/tux.c.o
-.PHONY : base/tux.o
-
-# target to build an object file
-base/tux.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/tux.c.o
-.PHONY : base/tux.c.o
-
-base/tux.i: base/tux.c.i
-.PHONY : base/tux.i
-
-# target to preprocess a source file
-base/tux.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/tux.c.i
-.PHONY : base/tux.c.i
-
-base/tux.s: base/tux.c.s
-.PHONY : base/tux.s
-
-# target to generate assembly for a file
-base/tux.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/tux.c.s
-.PHONY : base/tux.c.s
-
-base/udp_server.o: base/udp_server.c.o
-.PHONY : base/udp_server.o
-
-# target to build an object file
-base/udp_server.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.o
-.PHONY : base/udp_server.c.o
-
-base/udp_server.i: base/udp_server.c.i
-.PHONY : base/udp_server.i
-
-# target to preprocess a source file
-base/udp_server.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.i
-.PHONY : base/udp_server.c.i
-
-base/udp_server.s: base/udp_server.c.s
-.PHONY : base/udp_server.s
-
-# target to generate assembly for a file
-base/udp_server.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/base/udp_server.c.s
-.PHONY : base/udp_server.c.s
-
-client/chat.o: client/chat.c.o
-.PHONY : client/chat.o
-
-# target to build an object file
-client/chat.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/chat.c.o
-.PHONY : client/chat.c.o
-
-client/chat.i: client/chat.c.i
-.PHONY : client/chat.i
-
-# target to preprocess a source file
-client/chat.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/chat.c.i
-.PHONY : client/chat.c.i
-
-client/chat.s: client/chat.c.s
-.PHONY : client/chat.s
-
-# target to generate assembly for a file
-client/chat.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/chat.c.s
-.PHONY : client/chat.c.s
-
-client/client.o: client/client.c.o
-.PHONY : client/client.o
-
-# target to build an object file
-client/client.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/client.c.o
-.PHONY : client/client.c.o
-
-client/client.i: client/client.c.i
-.PHONY : client/client.i
-
-# target to preprocess a source file
-client/client.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/client.c.i
-.PHONY : client/client.c.i
-
-client/client.s: client/client.c.s
-.PHONY : client/client.s
-
-# target to generate assembly for a file
-client/client.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/client.c.s
-.PHONY : client/client.c.s
-
-client/configFile.o: client/configFile.c.o
-.PHONY : client/configFile.o
-
-# target to build an object file
-client/configFile.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.o
-.PHONY : client/configFile.c.o
-
-client/configFile.i: client/configFile.c.i
-.PHONY : client/configFile.i
-
-# target to preprocess a source file
-client/configFile.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.i
-.PHONY : client/configFile.c.i
-
-client/configFile.s: client/configFile.c.s
-.PHONY : client/configFile.s
-
-# target to generate assembly for a file
-client/configFile.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/configFile.c.s
-.PHONY : client/configFile.c.s
-
-client/font.o: client/font.c.o
-.PHONY : client/font.o
-
-# target to build an object file
-client/font.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/font.c.o
-.PHONY : client/font.c.o
-
-client/font.i: client/font.c.i
-.PHONY : client/font.i
-
-# target to preprocess a source file
-client/font.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/font.c.i
-.PHONY : client/font.c.i
-
-client/font.s: client/font.c.s
-.PHONY : client/font.s
-
-# target to generate assembly for a file
-client/font.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/font.c.s
-.PHONY : client/font.c.s
-
-client/game.o: client/game.c.o
-.PHONY : client/game.o
-
-# target to build an object file
-client/game.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/game.c.o
-.PHONY : client/game.c.o
-
-client/game.i: client/game.c.i
-.PHONY : client/game.i
-
-# target to preprocess a source file
-client/game.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/game.c.i
-.PHONY : client/game.c.i
-
-client/game.s: client/game.c.s
-.PHONY : client/game.s
-
-# target to generate assembly for a file
-client/game.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/game.c.s
-.PHONY : client/game.c.s
-
-client/hotKey.o: client/hotKey.c.o
-.PHONY : client/hotKey.o
-
-# target to build an object file
-client/hotKey.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.o
-.PHONY : client/hotKey.c.o
-
-client/hotKey.i: client/hotKey.c.i
-.PHONY : client/hotKey.i
-
-# target to preprocess a source file
-client/hotKey.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.i
-.PHONY : client/hotKey.c.i
-
-client/hotKey.s: client/hotKey.c.s
-.PHONY : client/hotKey.s
-
-# target to generate assembly for a file
-client/hotKey.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/hotKey.c.s
-.PHONY : client/hotKey.c.s
-
-client/image.o: client/image.c.o
-.PHONY : client/image.o
-
-# target to build an object file
-client/image.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/image.c.o
-.PHONY : client/image.c.o
-
-client/image.i: client/image.c.i
-.PHONY : client/image.i
-
-# target to preprocess a source file
-client/image.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/image.c.i
-.PHONY : client/image.c.i
-
-client/image.s: client/image.c.s
-.PHONY : client/image.s
-
-# target to generate assembly for a file
-client/image.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/image.c.s
-.PHONY : client/image.c.s
-
-client/interface.o: client/interface.c.o
-.PHONY : client/interface.o
-
-# target to build an object file
-client/interface.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/interface.c.o
-.PHONY : client/interface.c.o
-
-client/interface.i: client/interface.c.i
-.PHONY : client/interface.i
-
-# target to preprocess a source file
-client/interface.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/interface.c.i
-.PHONY : client/interface.c.i
-
-client/interface.s: client/interface.c.s
-.PHONY : client/interface.s
-
-# target to generate assembly for a file
-client/interface.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/interface.c.s
-.PHONY : client/interface.c.s
-
-client/keyboardBuffer.o: client/keyboardBuffer.c.o
-.PHONY : client/keyboardBuffer.o
-
-# target to build an object file
-client/keyboardBuffer.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.o
-.PHONY : client/keyboardBuffer.c.o
-
-client/keyboardBuffer.i: client/keyboardBuffer.c.i
-.PHONY : client/keyboardBuffer.i
-
-# target to preprocess a source file
-client/keyboardBuffer.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.i
-.PHONY : client/keyboardBuffer.c.i
-
-client/keyboardBuffer.s: client/keyboardBuffer.c.s
-.PHONY : client/keyboardBuffer.s
-
-# target to generate assembly for a file
-client/keyboardBuffer.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/keyboardBuffer.c.s
-.PHONY : client/keyboardBuffer.c.s
-
-client/layer.o: client/layer.c.o
-.PHONY : client/layer.o
-
-# target to build an object file
-client/layer.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/layer.c.o
-.PHONY : client/layer.c.o
-
-client/layer.i: client/layer.c.i
-.PHONY : client/layer.i
-
-# target to preprocess a source file
-client/layer.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/layer.c.i
-.PHONY : client/layer.c.i
-
-client/layer.s: client/layer.c.s
-.PHONY : client/layer.s
-
-# target to generate assembly for a file
-client/layer.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/layer.c.s
-.PHONY : client/layer.c.s
-
-client/panel.o: client/panel.c.o
-.PHONY : client/panel.o
-
-# target to build an object file
-client/panel.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/panel.c.o
-.PHONY : client/panel.c.o
-
-client/panel.i: client/panel.c.i
-.PHONY : client/panel.i
-
-# target to preprocess a source file
-client/panel.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/panel.c.i
-.PHONY : client/panel.c.i
-
-client/panel.s: client/panel.c.s
-.PHONY : client/panel.s
-
-# target to generate assembly for a file
-client/panel.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/panel.c.s
-.PHONY : client/panel.c.s
-
-client/pauza.o: client/pauza.c.o
-.PHONY : client/pauza.o
-
-# target to build an object file
-client/pauza.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.o
-.PHONY : client/pauza.c.o
-
-client/pauza.i: client/pauza.c.i
-.PHONY : client/pauza.i
-
-# target to preprocess a source file
-client/pauza.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.i
-.PHONY : client/pauza.c.i
-
-client/pauza.s: client/pauza.c.s
-.PHONY : client/pauza.s
-
-# target to generate assembly for a file
-client/pauza.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/pauza.c.s
-.PHONY : client/pauza.c.s
-
-client/radar.o: client/radar.c.o
-.PHONY : client/radar.o
-
-# target to build an object file
-client/radar.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/radar.c.o
-.PHONY : client/radar.c.o
-
-client/radar.i: client/radar.c.i
-.PHONY : client/radar.i
-
-# target to preprocess a source file
-client/radar.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/radar.c.i
-.PHONY : client/radar.c.i
-
-client/radar.s: client/radar.c.s
-.PHONY : client/radar.s
-
-# target to generate assembly for a file
-client/radar.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/radar.c.s
-.PHONY : client/radar.c.s
-
-client/saveDialog.o: client/saveDialog.c.o
-.PHONY : client/saveDialog.o
-
-# target to build an object file
-client/saveDialog.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.o
-.PHONY : client/saveDialog.c.o
-
-client/saveDialog.i: client/saveDialog.c.i
-.PHONY : client/saveDialog.i
-
-# target to preprocess a source file
-client/saveDialog.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.i
-.PHONY : client/saveDialog.c.i
-
-client/saveDialog.s: client/saveDialog.c.s
-.PHONY : client/saveDialog.s
-
-# target to generate assembly for a file
-client/saveDialog.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/saveDialog.c.s
-.PHONY : client/saveDialog.c.s
-
-client/saveLoad.o: client/saveLoad.c.o
-.PHONY : client/saveLoad.o
-
-# target to build an object file
-client/saveLoad.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.o
-.PHONY : client/saveLoad.c.o
-
-client/saveLoad.i: client/saveLoad.c.i
-.PHONY : client/saveLoad.i
-
-# target to preprocess a source file
-client/saveLoad.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.i
-.PHONY : client/saveLoad.c.i
-
-client/saveLoad.s: client/saveLoad.c.s
-.PHONY : client/saveLoad.s
-
-# target to generate assembly for a file
-client/saveLoad.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/saveLoad.c.s
-.PHONY : client/saveLoad.c.s
-
-client/screen.o: client/screen.c.o
-.PHONY : client/screen.o
-
-# target to build an object file
-client/screen.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/screen.c.o
-.PHONY : client/screen.c.o
-
-client/screen.i: client/screen.c.i
-.PHONY : client/screen.i
-
-# target to preprocess a source file
-client/screen.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/screen.c.i
-.PHONY : client/screen.c.i
-
-client/screen.s: client/screen.c.s
-.PHONY : client/screen.s
-
-# target to generate assembly for a file
-client/screen.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/screen.c.s
-.PHONY : client/screen.c.s
-
-client/term.o: client/term.c.o
-.PHONY : client/term.o
-
-# target to build an object file
-client/term.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/term.c.o
-.PHONY : client/term.c.o
-
-client/term.i: client/term.c.i
-.PHONY : client/term.i
-
-# target to preprocess a source file
-client/term.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/term.c.i
-.PHONY : client/term.c.i
-
-client/term.s: client/term.c.s
-.PHONY : client/term.s
-
-# target to generate assembly for a file
-client/term.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/client/term.c.s
-.PHONY : client/term.c.s
-
-net/dns.o: net/dns.c.o
-.PHONY : net/dns.o
-
-# target to build an object file
-net/dns.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/net/dns.c.o
-.PHONY : net/dns.c.o
-
-net/dns.i: net/dns.c.i
-.PHONY : net/dns.i
-
-# target to preprocess a source file
-net/dns.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/net/dns.c.i
-.PHONY : net/dns.c.i
-
-net/dns.s: net/dns.c.s
-.PHONY : net/dns.s
-
-# target to generate assembly for a file
-net/dns.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/net/dns.c.s
-.PHONY : net/dns.c.s
-
-net/tcp.o: net/tcp.c.o
-.PHONY : net/tcp.o
-
-# target to build an object file
-net/tcp.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.o
-.PHONY : net/tcp.c.o
-
-net/tcp.i: net/tcp.c.i
-.PHONY : net/tcp.i
-
-# target to preprocess a source file
-net/tcp.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.i
-.PHONY : net/tcp.c.i
-
-net/tcp.s: net/tcp.c.s
-.PHONY : net/tcp.s
-
-# target to generate assembly for a file
-net/tcp.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/net/tcp.c.s
-.PHONY : net/tcp.c.s
-
-net/udp.o: net/udp.c.o
-.PHONY : net/udp.o
-
-# target to build an object file
-net/udp.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/net/udp.c.o
-.PHONY : net/udp.c.o
-
-net/udp.i: net/udp.c.i
-.PHONY : net/udp.i
-
-# target to preprocess a source file
-net/udp.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/net/udp.c.i
-.PHONY : net/udp.c.i
-
-net/udp.s: net/udp.c.s
-.PHONY : net/udp.s
-
-# target to generate assembly for a file
-net/udp.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/net/udp.c.s
-.PHONY : net/udp.c.s
-
-screen/screen_analyze.o: screen/screen_analyze.c.o
-.PHONY : screen/screen_analyze.o
-
-# target to build an object file
-screen/screen_analyze.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.o
-.PHONY : screen/screen_analyze.c.o
-
-screen/screen_analyze.i: screen/screen_analyze.c.i
-.PHONY : screen/screen_analyze.i
-
-# target to preprocess a source file
-screen/screen_analyze.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.i
-.PHONY : screen/screen_analyze.c.i
-
-screen/screen_analyze.s: screen/screen_analyze.c.s
-.PHONY : screen/screen_analyze.s
-
-# target to generate assembly for a file
-screen/screen_analyze.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_analyze.c.s
-.PHONY : screen/screen_analyze.c.s
-
-screen/screen_browser.o: screen/screen_browser.c.o
-.PHONY : screen/screen_browser.o
-
-# target to build an object file
-screen/screen_browser.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.o
-.PHONY : screen/screen_browser.c.o
-
-screen/screen_browser.i: screen/screen_browser.c.i
-.PHONY : screen/screen_browser.i
-
-# target to preprocess a source file
-screen/screen_browser.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.i
-.PHONY : screen/screen_browser.c.i
-
-screen/screen_browser.s: screen/screen_browser.c.s
-.PHONY : screen/screen_browser.s
-
-# target to generate assembly for a file
-screen/screen_browser.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_browser.c.s
-.PHONY : screen/screen_browser.c.s
-
-screen/screen_choiceArena.o: screen/screen_choiceArena.c.o
-.PHONY : screen/screen_choiceArena.o
-
-# target to build an object file
-screen/screen_choiceArena.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.o
-.PHONY : screen/screen_choiceArena.c.o
-
-screen/screen_choiceArena.i: screen/screen_choiceArena.c.i
-.PHONY : screen/screen_choiceArena.i
-
-# target to preprocess a source file
-screen/screen_choiceArena.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.i
-.PHONY : screen/screen_choiceArena.c.i
-
-screen/screen_choiceArena.s: screen/screen_choiceArena.c.s
-.PHONY : screen/screen_choiceArena.s
-
-# target to generate assembly for a file
-screen/screen_choiceArena.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_choiceArena.c.s
-.PHONY : screen/screen_choiceArena.c.s
-
-screen/screen_credits.o: screen/screen_credits.c.o
-.PHONY : screen/screen_credits.o
-
-# target to build an object file
-screen/screen_credits.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.o
-.PHONY : screen/screen_credits.c.o
-
-screen/screen_credits.i: screen/screen_credits.c.i
-.PHONY : screen/screen_credits.i
-
-# target to preprocess a source file
-screen/screen_credits.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.i
-.PHONY : screen/screen_credits.c.i
-
-screen/screen_credits.s: screen/screen_credits.c.s
-.PHONY : screen/screen_credits.s
-
-# target to generate assembly for a file
-screen/screen_credits.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_credits.c.s
-.PHONY : screen/screen_credits.c.s
-
-screen/screen_downArena.o: screen/screen_downArena.c.o
-.PHONY : screen/screen_downArena.o
-
-# target to build an object file
-screen/screen_downArena.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.o
-.PHONY : screen/screen_downArena.c.o
-
-screen/screen_downArena.i: screen/screen_downArena.c.i
-.PHONY : screen/screen_downArena.i
-
-# target to preprocess a source file
-screen/screen_downArena.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.i
-.PHONY : screen/screen_downArena.c.i
-
-screen/screen_downArena.s: screen/screen_downArena.c.s
-.PHONY : screen/screen_downArena.s
-
-# target to generate assembly for a file
-screen/screen_downArena.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_downArena.c.s
-.PHONY : screen/screen_downArena.c.s
-
-screen/screen_gameType.o: screen/screen_gameType.c.o
-.PHONY : screen/screen_gameType.o
-
-# target to build an object file
-screen/screen_gameType.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.o
-.PHONY : screen/screen_gameType.c.o
-
-screen/screen_gameType.i: screen/screen_gameType.c.i
-.PHONY : screen/screen_gameType.i
-
-# target to preprocess a source file
-screen/screen_gameType.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.i
-.PHONY : screen/screen_gameType.c.i
-
-screen/screen_gameType.s: screen/screen_gameType.c.s
-.PHONY : screen/screen_gameType.s
-
-# target to generate assembly for a file
-screen/screen_gameType.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_gameType.c.s
-.PHONY : screen/screen_gameType.c.s
-
-screen/screen_mainMenu.o: screen/screen_mainMenu.c.o
-.PHONY : screen/screen_mainMenu.o
-
-# target to build an object file
-screen/screen_mainMenu.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.o
-.PHONY : screen/screen_mainMenu.c.o
-
-screen/screen_mainMenu.i: screen/screen_mainMenu.c.i
-.PHONY : screen/screen_mainMenu.i
-
-# target to preprocess a source file
-screen/screen_mainMenu.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.i
-.PHONY : screen/screen_mainMenu.c.i
-
-screen/screen_mainMenu.s: screen/screen_mainMenu.c.s
-.PHONY : screen/screen_mainMenu.s
-
-# target to generate assembly for a file
-screen/screen_mainMenu.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_mainMenu.c.s
-.PHONY : screen/screen_mainMenu.c.s
-
-screen/screen_setting.o: screen/screen_setting.c.o
-.PHONY : screen/screen_setting.o
-
-# target to build an object file
-screen/screen_setting.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.o
-.PHONY : screen/screen_setting.c.o
-
-screen/screen_setting.i: screen/screen_setting.c.i
-.PHONY : screen/screen_setting.i
-
-# target to preprocess a source file
-screen/screen_setting.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.i
-.PHONY : screen/screen_setting.c.i
-
-screen/screen_setting.s: screen/screen_setting.c.s
-.PHONY : screen/screen_setting.s
-
-# target to generate assembly for a file
-screen/screen_setting.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_setting.c.s
-.PHONY : screen/screen_setting.c.s
-
-screen/screen_settingKeys.o: screen/screen_settingKeys.c.o
-.PHONY : screen/screen_settingKeys.o
-
-# target to build an object file
-screen/screen_settingKeys.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.o
-.PHONY : screen/screen_settingKeys.c.o
-
-screen/screen_settingKeys.i: screen/screen_settingKeys.c.i
-.PHONY : screen/screen_settingKeys.i
-
-# target to preprocess a source file
-screen/screen_settingKeys.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.i
-.PHONY : screen/screen_settingKeys.c.i
-
-screen/screen_settingKeys.s: screen/screen_settingKeys.c.s
-.PHONY : screen/screen_settingKeys.s
-
-# target to generate assembly for a file
-screen/screen_settingKeys.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_settingKeys.c.s
-.PHONY : screen/screen_settingKeys.c.s
-
-screen/screen_table.o: screen/screen_table.c.o
-.PHONY : screen/screen_table.o
-
-# target to build an object file
-screen/screen_table.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.o
-.PHONY : screen/screen_table.c.o
-
-screen/screen_table.i: screen/screen_table.c.i
-.PHONY : screen/screen_table.i
-
-# target to preprocess a source file
-screen/screen_table.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.i
-.PHONY : screen/screen_table.c.i
-
-screen/screen_table.s: screen/screen_table.c.s
-.PHONY : screen/screen_table.s
-
-# target to generate assembly for a file
-screen/screen_table.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_table.c.s
-.PHONY : screen/screen_table.c.s
-
-screen/screen_world.o: screen/screen_world.c.o
-.PHONY : screen/screen_world.o
-
-# target to build an object file
-screen/screen_world.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.o
-.PHONY : screen/screen_world.c.o
-
-screen/screen_world.i: screen/screen_world.c.i
-.PHONY : screen/screen_world.i
-
-# target to preprocess a source file
-screen/screen_world.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.i
-.PHONY : screen/screen_world.c.i
-
-screen/screen_world.s: screen/screen_world.c.s
-.PHONY : screen/screen_world.s
-
-# target to generate assembly for a file
-screen/screen_world.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/screen/screen_world.c.s
-.PHONY : screen/screen_world.c.s
-
-widget/widget.o: widget/widget.c.o
-.PHONY : widget/widget.o
-
-# target to build an object file
-widget/widget.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.o
-.PHONY : widget/widget.c.o
-
-widget/widget.i: widget/widget.c.i
-.PHONY : widget/widget.i
-
-# target to preprocess a source file
-widget/widget.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.i
-.PHONY : widget/widget.c.i
-
-widget/widget.s: widget/widget.c.s
-.PHONY : widget/widget.s
-
-# target to generate assembly for a file
-widget/widget.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget.c.s
-.PHONY : widget/widget.c.s
-
-widget/widget_button.o: widget/widget_button.c.o
-.PHONY : widget/widget_button.o
-
-# target to build an object file
-widget/widget_button.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.o
-.PHONY : widget/widget_button.c.o
-
-widget/widget_button.i: widget/widget_button.c.i
-.PHONY : widget/widget_button.i
-
-# target to preprocess a source file
-widget/widget_button.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.i
-.PHONY : widget/widget_button.c.i
-
-widget/widget_button.s: widget/widget_button.c.s
-.PHONY : widget/widget_button.s
-
-# target to generate assembly for a file
-widget/widget_button.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_button.c.s
-.PHONY : widget/widget_button.c.s
-
-widget/widget_buttonimage.o: widget/widget_buttonimage.c.o
-.PHONY : widget/widget_buttonimage.o
-
-# target to build an object file
-widget/widget_buttonimage.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.o
-.PHONY : widget/widget_buttonimage.c.o
-
-widget/widget_buttonimage.i: widget/widget_buttonimage.c.i
-.PHONY : widget/widget_buttonimage.i
-
-# target to preprocess a source file
-widget/widget_buttonimage.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.i
-.PHONY : widget/widget_buttonimage.c.i
-
-widget/widget_buttonimage.s: widget/widget_buttonimage.c.s
-.PHONY : widget/widget_buttonimage.s
-
-# target to generate assembly for a file
-widget/widget_buttonimage.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_buttonimage.c.s
-.PHONY : widget/widget_buttonimage.c.s
-
-widget/widget_catchkey.o: widget/widget_catchkey.c.o
-.PHONY : widget/widget_catchkey.o
-
-# target to build an object file
-widget/widget_catchkey.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.o
-.PHONY : widget/widget_catchkey.c.o
-
-widget/widget_catchkey.i: widget/widget_catchkey.c.i
-.PHONY : widget/widget_catchkey.i
-
-# target to preprocess a source file
-widget/widget_catchkey.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.i
-.PHONY : widget/widget_catchkey.c.i
-
-widget/widget_catchkey.s: widget/widget_catchkey.c.s
-.PHONY : widget/widget_catchkey.s
-
-# target to generate assembly for a file
-widget/widget_catchkey.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_catchkey.c.s
-.PHONY : widget/widget_catchkey.c.s
-
-widget/widget_check.o: widget/widget_check.c.o
-.PHONY : widget/widget_check.o
-
-# target to build an object file
-widget/widget_check.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.o
-.PHONY : widget/widget_check.c.o
-
-widget/widget_check.i: widget/widget_check.c.i
-.PHONY : widget/widget_check.i
-
-# target to preprocess a source file
-widget/widget_check.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.i
-.PHONY : widget/widget_check.c.i
-
-widget/widget_check.s: widget/widget_check.c.s
-.PHONY : widget/widget_check.s
-
-# target to generate assembly for a file
-widget/widget_check.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_check.c.s
-.PHONY : widget/widget_check.c.s
-
-widget/widget_choicegroup.o: widget/widget_choicegroup.c.o
-.PHONY : widget/widget_choicegroup.o
-
-# target to build an object file
-widget/widget_choicegroup.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.o
-.PHONY : widget/widget_choicegroup.c.o
-
-widget/widget_choicegroup.i: widget/widget_choicegroup.c.i
-.PHONY : widget/widget_choicegroup.i
-
-# target to preprocess a source file
-widget/widget_choicegroup.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.i
-.PHONY : widget/widget_choicegroup.c.i
-
-widget/widget_choicegroup.s: widget/widget_choicegroup.c.s
-.PHONY : widget/widget_choicegroup.s
-
-# target to generate assembly for a file
-widget/widget_choicegroup.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_choicegroup.c.s
-.PHONY : widget/widget_choicegroup.c.s
-
-widget/widget_image.o: widget/widget_image.c.o
-.PHONY : widget/widget_image.o
-
-# target to build an object file
-widget/widget_image.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.o
-.PHONY : widget/widget_image.c.o
-
-widget/widget_image.i: widget/widget_image.c.i
-.PHONY : widget/widget_image.i
-
-# target to preprocess a source file
-widget/widget_image.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.i
-.PHONY : widget/widget_image.c.i
-
-widget/widget_image.s: widget/widget_image.c.s
-.PHONY : widget/widget_image.s
-
-# target to generate assembly for a file
-widget/widget_image.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_image.c.s
-.PHONY : widget/widget_image.c.s
-
-widget/widget_label.o: widget/widget_label.c.o
-.PHONY : widget/widget_label.o
-
-# target to build an object file
-widget/widget_label.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.o
-.PHONY : widget/widget_label.c.o
-
-widget/widget_label.i: widget/widget_label.c.i
-.PHONY : widget/widget_label.i
-
-# target to preprocess a source file
-widget/widget_label.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.i
-.PHONY : widget/widget_label.c.i
-
-widget/widget_label.s: widget/widget_label.c.s
-.PHONY : widget/widget_label.s
-
-# target to generate assembly for a file
-widget/widget_label.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_label.c.s
-.PHONY : widget/widget_label.c.s
-
-widget/widget_select.o: widget/widget_select.c.o
-.PHONY : widget/widget_select.o
-
-# target to build an object file
-widget/widget_select.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.o
-.PHONY : widget/widget_select.c.o
-
-widget/widget_select.i: widget/widget_select.c.i
-.PHONY : widget/widget_select.i
-
-# target to preprocess a source file
-widget/widget_select.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.i
-.PHONY : widget/widget_select.c.i
-
-widget/widget_select.s: widget/widget_select.c.s
-.PHONY : widget/widget_select.s
-
-# target to generate assembly for a file
-widget/widget_select.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_select.c.s
-.PHONY : widget/widget_select.c.s
-
-widget/widget_textfield.o: widget/widget_textfield.c.o
-.PHONY : widget/widget_textfield.o
-
-# target to build an object file
-widget/widget_textfield.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.o
-.PHONY : widget/widget_textfield.c.o
-
-widget/widget_textfield.i: widget/widget_textfield.c.i
-.PHONY : widget/widget_textfield.i
-
-# target to preprocess a source file
-widget/widget_textfield.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.i
-.PHONY : widget/widget_textfield.c.i
-
-widget/widget_textfield.s: widget/widget_textfield.c.s
-.PHONY : widget/widget_textfield.s
-
-# target to generate assembly for a file
-widget/widget_textfield.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/CMakeFiles/tuxanci-dev.dir/build.make src/CMakeFiles/tuxanci-dev.dir/widget/widget_textfield.c.s
-.PHONY : widget/widget_textfield.c.s
-
-# Help Target
-help:
- @echo "The following are some of the valid targets for this Makefile:"
- @echo "... all (the default if no target is provided)"
- @echo "... clean"
- @echo "... depend"
- @echo "... edit_cache"
- @echo "... install"
- @echo "... install/local"
- @echo "... install/strip"
- @echo "... list_install_components"
- @echo "... rebuild_cache"
- @echo "... tuxanci-dev"
- @echo "... audio/audio.o"
- @echo "... audio/audio.i"
- @echo "... audio/audio.s"
- @echo "... audio/music.o"
- @echo "... audio/music.i"
- @echo "... audio/music.s"
- @echo "... audio/sound.o"
- @echo "... audio/sound.i"
- @echo "... audio/sound.s"
- @echo "... base/archive.o"
- @echo "... base/archive.i"
- @echo "... base/archive.s"
- @echo "... base/arena.o"
- @echo "... base/arena.i"
- @echo "... base/arena.s"
- @echo "... base/arenaFile.o"
- @echo "... base/arenaFile.i"
- @echo "... base/arenaFile.s"
- @echo "... base/buffer.o"
- @echo "... base/buffer.i"
- @echo "... base/buffer.s"
- @echo "... base/checkFront.o"
- @echo "... base/checkFront.i"
- @echo "... base/checkFront.s"
- @echo "... base/director.o"
- @echo "... base/director.i"
- @echo "... base/director.s"
- @echo "... base/gun.o"
- @echo "... base/gun.i"
- @echo "... base/gun.s"
- @echo "... base/homeDirector.o"
- @echo "... base/homeDirector.i"
- @echo "... base/homeDirector.s"
- @echo "... base/idManager.o"
- @echo "... base/idManager.i"
- @echo "... base/idManager.s"
- @echo "... base/index.o"
- @echo "... base/index.i"
- @echo "... base/index.s"
- @echo "... base/item.o"
- @echo "... base/item.i"
- @echo "... base/item.s"
- @echo "... base/list.o"
- @echo "... base/list.i"
- @echo "... base/list.s"
- @echo "... base/main.o"
- @echo "... base/main.i"
- @echo "... base/main.s"
- @echo "... base/modules.o"
- @echo "... base/modules.i"
- @echo "... base/modules.s"
- @echo "... base/myTimer.o"
- @echo "... base/myTimer.i"
- @echo "... base/myTimer.s"
- @echo "... base/net_multiplayer.o"
- @echo "... base/net_multiplayer.i"
- @echo "... base/net_multiplayer.s"
- @echo "... base/protect.o"
- @echo "... base/protect.i"
- @echo "... base/protect.s"
- @echo "... base/proto.o"
- @echo "... base/proto.i"
- @echo "... base/proto.s"
- @echo "... base/server.o"
- @echo "... base/server.i"
- @echo "... base/server.s"
- @echo "... base/serverSelect.o"
- @echo "... base/serverSelect.i"
- @echo "... base/serverSelect.s"
- @echo "... base/serverSendMsg.o"
- @echo "... base/serverSendMsg.i"
- @echo "... base/serverSendMsg.s"
- @echo "... base/shareFunction.o"
- @echo "... base/shareFunction.i"
- @echo "... base/shareFunction.s"
- @echo "... base/shot.o"
- @echo "... base/shot.i"
- @echo "... base/shot.s"
- @echo "... base/space.o"
- @echo "... base/space.i"
- @echo "... base/space.s"
- @echo "... base/storage.o"
- @echo "... base/storage.i"
- @echo "... base/storage.s"
- @echo "... base/textFile.o"
- @echo "... base/textFile.i"
- @echo "... base/textFile.s"
- @echo "... base/tux.o"
- @echo "... base/tux.i"
- @echo "... base/tux.s"
- @echo "... base/udp_server.o"
- @echo "... base/udp_server.i"
- @echo "... base/udp_server.s"
- @echo "... client/chat.o"
- @echo "... client/chat.i"
- @echo "... client/chat.s"
- @echo "... client/client.o"
- @echo "... client/client.i"
- @echo "... client/client.s"
- @echo "... client/configFile.o"
- @echo "... client/configFile.i"
- @echo "... client/configFile.s"
- @echo "... client/font.o"
- @echo "... client/font.i"
- @echo "... client/font.s"
- @echo "... client/game.o"
- @echo "... client/game.i"
- @echo "... client/game.s"
- @echo "... client/hotKey.o"
- @echo "... client/hotKey.i"
- @echo "... client/hotKey.s"
- @echo "... client/image.o"
- @echo "... client/image.i"
- @echo "... client/image.s"
- @echo "... client/interface.o"
- @echo "... client/interface.i"
- @echo "... client/interface.s"
- @echo "... client/keyboardBuffer.o"
- @echo "... client/keyboardBuffer.i"
- @echo "... client/keyboardBuffer.s"
- @echo "... client/layer.o"
- @echo "... client/layer.i"
- @echo "... client/layer.s"
- @echo "... client/panel.o"
- @echo "... client/panel.i"
- @echo "... client/panel.s"
- @echo "... client/pauza.o"
- @echo "... client/pauza.i"
- @echo "... client/pauza.s"
- @echo "... client/radar.o"
- @echo "... client/radar.i"
- @echo "... client/radar.s"
- @echo "... client/saveDialog.o"
- @echo "... client/saveDialog.i"
- @echo "... client/saveDialog.s"
- @echo "... client/saveLoad.o"
- @echo "... client/saveLoad.i"
- @echo "... client/saveLoad.s"
- @echo "... client/screen.o"
- @echo "... client/screen.i"
- @echo "... client/screen.s"
- @echo "... client/term.o"
- @echo "... client/term.i"
- @echo "... client/term.s"
- @echo "... net/dns.o"
- @echo "... net/dns.i"
- @echo "... net/dns.s"
- @echo "... net/tcp.o"
- @echo "... net/tcp.i"
- @echo "... net/tcp.s"
- @echo "... net/udp.o"
- @echo "... net/udp.i"
- @echo "... net/udp.s"
- @echo "... screen/screen_analyze.o"
- @echo "... screen/screen_analyze.i"
- @echo "... screen/screen_analyze.s"
- @echo "... screen/screen_browser.o"
- @echo "... screen/screen_browser.i"
- @echo "... screen/screen_browser.s"
- @echo "... screen/screen_choiceArena.o"
- @echo "... screen/screen_choiceArena.i"
- @echo "... screen/screen_choiceArena.s"
- @echo "... screen/screen_credits.o"
- @echo "... screen/screen_credits.i"
- @echo "... screen/screen_credits.s"
- @echo "... screen/screen_downArena.o"
- @echo "... screen/screen_downArena.i"
- @echo "... screen/screen_downArena.s"
- @echo "... screen/screen_gameType.o"
- @echo "... screen/screen_gameType.i"
- @echo "... screen/screen_gameType.s"
- @echo "... screen/screen_mainMenu.o"
- @echo "... screen/screen_mainMenu.i"
- @echo "... screen/screen_mainMenu.s"
- @echo "... screen/screen_setting.o"
- @echo "... screen/screen_setting.i"
- @echo "... screen/screen_setting.s"
- @echo "... screen/screen_settingKeys.o"
- @echo "... screen/screen_settingKeys.i"
- @echo "... screen/screen_settingKeys.s"
- @echo "... screen/screen_table.o"
- @echo "... screen/screen_table.i"
- @echo "... screen/screen_table.s"
- @echo "... screen/screen_world.o"
- @echo "... screen/screen_world.i"
- @echo "... screen/screen_world.s"
- @echo "... widget/widget.o"
- @echo "... widget/widget.i"
- @echo "... widget/widget.s"
- @echo "... widget/widget_button.o"
- @echo "... widget/widget_button.i"
- @echo "... widget/widget_button.s"
- @echo "... widget/widget_buttonimage.o"
- @echo "... widget/widget_buttonimage.i"
- @echo "... widget/widget_buttonimage.s"
- @echo "... widget/widget_catchkey.o"
- @echo "... widget/widget_catchkey.i"
- @echo "... widget/widget_catchkey.s"
- @echo "... widget/widget_check.o"
- @echo "... widget/widget_check.i"
- @echo "... widget/widget_check.s"
- @echo "... widget/widget_choicegroup.o"
- @echo "... widget/widget_choicegroup.i"
- @echo "... widget/widget_choicegroup.s"
- @echo "... widget/widget_image.o"
- @echo "... widget/widget_image.i"
- @echo "... widget/widget_image.s"
- @echo "... widget/widget_label.o"
- @echo "... widget/widget_label.i"
- @echo "... widget/widget_label.s"
- @echo "... widget/widget_select.o"
- @echo "... widget/widget_select.i"
- @echo "... widget/widget_select.s"
- @echo "... widget/widget_textfield.o"
- @echo "... widget/widget_textfield.i"
- @echo "... widget/widget_textfield.s"
-.PHONY : help
-
-
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-.PHONY : cmake_check_build_system
-
diff --git a/build/src/cmake_install.cmake b/build/src/cmake_install.cmake
deleted file mode 100644
index 7122cad..0000000
--- a/build/src/cmake_install.cmake
+++ /dev/null
@@ -1,54 +0,0 @@
-# Install script for directory: /home/scarab/tuxanci/src
-
-# Set the install prefix
-IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
- SET(CMAKE_INSTALL_PREFIX "/usr/local")
-ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
-STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
-
-# Set the install configuration name.
-IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
- IF(BUILD_TYPE)
- STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
- CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
- ELSE(BUILD_TYPE)
- SET(CMAKE_INSTALL_CONFIG_NAME "")
- ENDIF(BUILD_TYPE)
- MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
-ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
-
-# Set the component getting installed.
-IF(NOT CMAKE_INSTALL_COMPONENT)
- IF(COMPONENT)
- MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
- SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
- ELSE(COMPONENT)
- SET(CMAKE_INSTALL_COMPONENT)
- ENDIF(COMPONENT)
-ENDIF(NOT CMAKE_INSTALL_COMPONENT)
-
-# Install shared libraries without execute permission?
-IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
- SET(CMAKE_INSTALL_SO_NO_EXE "0")
-ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
-
-IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
- IF(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tuxanci-dev")
- FILE(RPATH_CHECK
- FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tuxanci-dev"
- RPATH "")
- ENDIF(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tuxanci-dev")
- FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/scarab/tuxanci/build/src/tuxanci-dev")
- IF(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tuxanci-dev")
- IF(CMAKE_INSTALL_DO_STRIP)
- EXECUTE_PROCESS(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tuxanci-dev")
- ENDIF(CMAKE_INSTALL_DO_STRIP)
- ENDIF(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tuxanci-dev")
-ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
-
-IF(NOT CMAKE_INSTALL_LOCAL_ONLY)
- # Include the install script for each subdirectory.
- INCLUDE("/home/scarab/tuxanci/build/src/modules/cmake_install.cmake")
-
-ENDIF(NOT CMAKE_INSTALL_LOCAL_ONLY)
-
diff --git a/build/src/modules/CMakeFiles/CMakeDirectoryInformation.cmake b/build/src/modules/CMakeFiles/CMakeDirectoryInformation.cmake
deleted file mode 100644
index 40b7e7c..0000000
--- a/build/src/modules/CMakeFiles/CMakeDirectoryInformation.cmake
+++ /dev/null
@@ -1,28 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Relative path conversion top directories.
-SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/scarab/tuxanci")
-SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/scarab/tuxanci/build")
-
-# Force unix paths in dependencies.
-SET(CMAKE_FORCE_UNIX_PATHS 1)
-
-# The C and CXX include file search paths:
-SET(CMAKE_C_INCLUDE_PATH
- "../src/base"
- "../src/net"
- "../src/client"
- "../src/screen"
- "../src/widget"
- "/usr/include/SDL"
- "../src/audio"
- )
-SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-
-# The C and CXX include file regular expressions for this directory.
-SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
-SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
-SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
-SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/build/src/modules/CMakeFiles/modAI.dir/C.includecache b/build/src/modules/CMakeFiles/modAI.dir/C.includecache
deleted file mode 100644
index d014534..0000000
--- a/build/src/modules/CMakeFiles/modAI.dir/C.includecache
+++ /dev/null
@@ -1,698 +0,0 @@
-#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
-
-#IncludeRegexScan: ^.*$
-
-#IncludeRegexComplain: ^$
-
-#IncludeRegexTransform:
-
-../src/base/arena.h
-main.h
-../src/base/main.h
-image.h
-../src/base/image.h
-list.h
-../src/base/list.h
-space.h
-../src/base/space.h
-
-../src/base/arenaFile.h
-main.h
-../src/base/main.h
-arena.h
-../src/base/arena.h
-textFile.h
-../src/base/textFile.h
-
-../src/base/bool.h
-main.h
-../src/base/main.h
-
-../src/base/buffer.h
-
-../src/base/gun.h
-main.h
-../src/base/main.h
-tux.h
-../src/base/tux.h
-
-../src/base/item.h
-main.h
-../src/base/main.h
-image.h
-../src/base/image.h
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-myTimer.h
-../src/base/myTimer.h
-
-../src/base/list.h
-main.h
-../src/base/main.h
-
-../src/base/main.h
-libintl.h
--
-locale.h
--
-bool.h
-../src/base/bool.h
-string_length.h
-../src/base/string_length.h
-path.h
-../src/base/path.h
-
-../src/base/modules.h
-tux.h
-../src/base/tux.h
-shot.h
-../src/base/shot.h
-arena.h
-../src/base/arena.h
-proto.h
-../src/base/proto.h
-myTimer.h
-../src/base/myTimer.h
-image.h
-../src/base/image.h
-
-../src/base/myTimer.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-
-../src/base/net_multiplayer.h
-main.h
-../src/base/main.h
-tux.h
-../src/base/tux.h
-item.h
-../src/base/item.h
-arena.h
-../src/base/arena.h
-
-../src/base/path.h
-main.h
-../src/base/main.h
-
-../src/base/protect.h
-main.h
-../src/base/main.h
-myTimer.h
-../src/base/myTimer.h
-
-../src/base/proto.h
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-item.h
-../src/base/item.h
-shot.h
-../src/base/shot.h
-arenaFile.h
-../src/base/arenaFile.h
-myTimer.h
-../src/base/myTimer.h
-server.h
-../src/base/server.h
-net_multiplayer.h
-../src/base/net_multiplayer.h
-screen_world.h
-../src/base/screen_world.h
-screen_setting.h
-../src/base/screen_setting.h
-screen_choiceArena.h
-../src/base/screen_choiceArena.h
-client.h
-../src/base/client.h
-publicServer.h
-../src/base/publicServer.h
-
-../src/base/server.h
-time.h
--
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-myTimer.h
-../src/base/myTimer.h
-protect.h
-../src/base/protect.h
-buffer.h
-../src/base/buffer.h
-interface.h
-../src/base/interface.h
-udp.h
-../src/base/udp.h
-
-../src/base/shot.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-arena.h
-../src/base/arena.h
-image.h
-../src/base/image.h
-
-../src/base/space.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-
-../src/base/string_length.h
-main.h
-../src/base/main.h
-
-../src/base/textFile.h
-list.h
-../src/base/list.h
-
-../src/base/tux.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-arena.h
-../src/base/arena.h
-
-../src/client/client.h
-main.h
-../src/client/main.h
-
-../src/client/image.h
-interface.h
-../src/client/interface.h
-
-../src/client/interface.h
-stdio.h
--
-string.h
--
-time.h
--
-SDL.h
--
-SDL_image.h
--
-SDL_thread.h
--
-main.h
-../src/client/main.h
-SDL_net.h
--
-
-../src/net/udp.h
-netinet/in.h
--
-windows.h
--
-wininet.h
--
-
-../src/screen/screen_choiceArena.h
-main.h
-../src/screen/main.h
-arenaFile.h
-../src/screen/arenaFile.h
-
-../src/screen/screen_setting.h
-main.h
-../src/screen/main.h
-
-../src/screen/screen_world.h
-main.h
-../src/screen/main.h
-myTimer.h
-../src/screen/myTimer.h
-tux.h
-../src/screen/tux.h
-arenaFile.h
-../src/screen/arenaFile.h
-arena.h
-../src/screen/arena.h
-
-/home/scarab/tuxanci/src/base/bool.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/index.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-index.h
-/home/scarab/tuxanci/src/base/index.h
-
-/home/scarab/tuxanci/src/base/index.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/list.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/list.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/main.h
-libintl.h
--
-locale.h
--
-bool.h
-/home/scarab/tuxanci/src/base/bool.h
-string_length.h
-/home/scarab/tuxanci/src/base/string_length.h
-path.h
-/home/scarab/tuxanci/src/base/path.h
-
-/home/scarab/tuxanci/src/base/path.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/space.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-space.h
-/home/scarab/tuxanci/src/base/space.h
-index.h
-/home/scarab/tuxanci/src/base/index.h
-
-/home/scarab/tuxanci/src/base/space.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/string_length.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/modules/modAI.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/modules/main.h
-modules.h
-/home/scarab/tuxanci/src/modules/modules.h
-tux.h
-/home/scarab/tuxanci/src/modules/tux.h
-shot.h
-/home/scarab/tuxanci/src/modules/shot.h
-list.h
-/home/scarab/tuxanci/src/modules/list.h
-gun.h
-/home/scarab/tuxanci/src/modules/gun.h
-space.h
-/home/scarab/tuxanci/src/modules/space.h
-interface.h
-/home/scarab/tuxanci/src/modules/interface.h
-image.h
-/home/scarab/tuxanci/src/modules/image.h
-publicServer.h
-/home/scarab/tuxanci/src/modules/publicServer.h
-
-/usr/include/SDL/SDL.h
-SDL_main.h
-/usr/include/SDL/SDL_main.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_audio.h
-/usr/include/SDL/SDL_audio.h
-SDL_cdrom.h
-/usr/include/SDL/SDL_cdrom.h
-SDL_cpuinfo.h
-/usr/include/SDL/SDL_cpuinfo.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_events.h
-/usr/include/SDL/SDL_events.h
-SDL_loadso.h
-/usr/include/SDL/SDL_loadso.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-SDL_thread.h
-/usr/include/SDL/SDL_thread.h
-SDL_timer.h
-/usr/include/SDL/SDL_timer.h
-SDL_video.h
-/usr/include/SDL/SDL_video.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_active.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_audio.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-SDL_thread.h
-/usr/include/SDL/SDL_thread.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_cdrom.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_config.h
-SDL_platform.h
-/usr/include/SDL/SDL_platform.h
-stdarg.h
--
-
-/usr/include/SDL/SDL_cpuinfo.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_endian.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_error.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_events.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_active.h
-/usr/include/SDL/SDL_active.h
-SDL_keyboard.h
-/usr/include/SDL/SDL_keyboard.h
-SDL_mouse.h
-/usr/include/SDL/SDL_mouse.h
-SDL_joystick.h
-/usr/include/SDL/SDL_joystick.h
-SDL_quit.h
-/usr/include/SDL/SDL_quit.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_image.h
-SDL.h
-/usr/include/SDL/SDL.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_joystick.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_keyboard.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_keysym.h
-/usr/include/SDL/SDL_keysym.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_keysym.h
-
-/usr/include/SDL/SDL_loadso.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_main.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_mouse.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_video.h
-/usr/include/SDL/SDL_video.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_mutex.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_net.h
-SDL.h
-/usr/include/SDL/SDL.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_platform.h
-
-/usr/include/SDL/SDL_quit.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-
-/usr/include/SDL/SDL_rwops.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_stdinc.h
-SDL_config.h
-/usr/include/SDL/SDL_config.h
-sys/types.h
--
-stdio.h
--
-stdlib.h
--
-stddef.h
--
-stdarg.h
--
-stdlib.h
--
-malloc.h
--
-stddef.h
--
-stdarg.h
--
-memory.h
--
-string.h
--
-strings.h
--
-inttypes.h
--
-stdint.h
--
-ctype.h
--
-iconv.h
--
-begin_code.h
-/usr/include/SDL/begin_code.h
-alloca.h
--
-malloc.h
--
-malloc.h
--
-malloc.h
--
-stdlib.h
--
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_thread.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-process.h
--
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_timer.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_version.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_video.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/begin_code.h
-
-/usr/include/SDL/close_code.h
-
diff --git a/build/src/modules/CMakeFiles/modAI.dir/DependInfo.cmake b/build/src/modules/CMakeFiles/modAI.dir/DependInfo.cmake
deleted file mode 100644
index 0c3b0a2..0000000
--- a/build/src/modules/CMakeFiles/modAI.dir/DependInfo.cmake
+++ /dev/null
@@ -1,16 +0,0 @@
-# The set of languages for which implicit dependencies are needed:
-SET(CMAKE_DEPENDS_LANGUAGES
- "C"
- )
-# The set of files for implicit dependencies of each language:
-SET(CMAKE_DEPENDS_CHECK_C
- "/home/scarab/tuxanci/src/base/index.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modAI.dir/__/base/index.c.o"
- "/home/scarab/tuxanci/src/base/list.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modAI.dir/__/base/list.c.o"
- "/home/scarab/tuxanci/src/base/space.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modAI.dir/__/base/space.c.o"
- "/home/scarab/tuxanci/src/modules/modAI.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modAI.dir/modAI.c.o"
- )
-SET(CMAKE_C_COMPILER_ID "GNU")
-
-# Targets to which this target links.
-SET(CMAKE_TARGET_LINKED_INFO_FILES
- )
diff --git a/build/src/modules/CMakeFiles/modAI.dir/__/base/index.c.o b/build/src/modules/CMakeFiles/modAI.dir/__/base/index.c.o
deleted file mode 100644
index 88dbb6b..0000000
--- a/build/src/modules/CMakeFiles/modAI.dir/__/base/index.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modAI.dir/__/base/list.c.o b/build/src/modules/CMakeFiles/modAI.dir/__/base/list.c.o
deleted file mode 100644
index 5264aeb..0000000
--- a/build/src/modules/CMakeFiles/modAI.dir/__/base/list.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modAI.dir/__/base/space.c.o b/build/src/modules/CMakeFiles/modAI.dir/__/base/space.c.o
deleted file mode 100644
index 1bfa92f..0000000
--- a/build/src/modules/CMakeFiles/modAI.dir/__/base/space.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modAI.dir/build.make b/build/src/modules/CMakeFiles/modAI.dir/build.make
deleted file mode 100644
index 2748c57..0000000
--- a/build/src/modules/CMakeFiles/modAI.dir/build.make
+++ /dev/null
@@ -1,190 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-# Include any dependencies generated for this target.
-include src/modules/CMakeFiles/modAI.dir/depend.make
-
-# Include the progress variables for this target.
-include src/modules/CMakeFiles/modAI.dir/progress.make
-
-# Include the compile flags for this target's objects.
-include src/modules/CMakeFiles/modAI.dir/flags.make
-
-src/modules/CMakeFiles/modAI.dir/__/base/list.c.o: src/modules/CMakeFiles/modAI.dir/flags.make
-src/modules/CMakeFiles/modAI.dir/__/base/list.c.o: ../src/base/list.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_1)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modAI.dir/__/base/list.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modAI.dir/__/base/list.c.o -c /home/scarab/tuxanci/src/base/list.c
-
-src/modules/CMakeFiles/modAI.dir/__/base/list.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modAI.dir/__/base/list.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/list.c > CMakeFiles/modAI.dir/__/base/list.c.i
-
-src/modules/CMakeFiles/modAI.dir/__/base/list.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modAI.dir/__/base/list.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/list.c -o CMakeFiles/modAI.dir/__/base/list.c.s
-
-src/modules/CMakeFiles/modAI.dir/__/base/list.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modAI.dir/__/base/list.c.o.requires
-
-src/modules/CMakeFiles/modAI.dir/__/base/list.c.o.provides: src/modules/CMakeFiles/modAI.dir/__/base/list.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/__/base/list.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modAI.dir/__/base/list.c.o.provides
-
-src/modules/CMakeFiles/modAI.dir/__/base/list.c.o.provides.build: src/modules/CMakeFiles/modAI.dir/__/base/list.c.o
-.PHONY : src/modules/CMakeFiles/modAI.dir/__/base/list.c.o.provides.build
-
-src/modules/CMakeFiles/modAI.dir/__/base/space.c.o: src/modules/CMakeFiles/modAI.dir/flags.make
-src/modules/CMakeFiles/modAI.dir/__/base/space.c.o: ../src/base/space.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_2)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modAI.dir/__/base/space.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modAI.dir/__/base/space.c.o -c /home/scarab/tuxanci/src/base/space.c
-
-src/modules/CMakeFiles/modAI.dir/__/base/space.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modAI.dir/__/base/space.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/space.c > CMakeFiles/modAI.dir/__/base/space.c.i
-
-src/modules/CMakeFiles/modAI.dir/__/base/space.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modAI.dir/__/base/space.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/space.c -o CMakeFiles/modAI.dir/__/base/space.c.s
-
-src/modules/CMakeFiles/modAI.dir/__/base/space.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modAI.dir/__/base/space.c.o.requires
-
-src/modules/CMakeFiles/modAI.dir/__/base/space.c.o.provides: src/modules/CMakeFiles/modAI.dir/__/base/space.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/__/base/space.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modAI.dir/__/base/space.c.o.provides
-
-src/modules/CMakeFiles/modAI.dir/__/base/space.c.o.provides.build: src/modules/CMakeFiles/modAI.dir/__/base/space.c.o
-.PHONY : src/modules/CMakeFiles/modAI.dir/__/base/space.c.o.provides.build
-
-src/modules/CMakeFiles/modAI.dir/__/base/index.c.o: src/modules/CMakeFiles/modAI.dir/flags.make
-src/modules/CMakeFiles/modAI.dir/__/base/index.c.o: ../src/base/index.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_3)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modAI.dir/__/base/index.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modAI.dir/__/base/index.c.o -c /home/scarab/tuxanci/src/base/index.c
-
-src/modules/CMakeFiles/modAI.dir/__/base/index.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modAI.dir/__/base/index.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/index.c > CMakeFiles/modAI.dir/__/base/index.c.i
-
-src/modules/CMakeFiles/modAI.dir/__/base/index.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modAI.dir/__/base/index.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/index.c -o CMakeFiles/modAI.dir/__/base/index.c.s
-
-src/modules/CMakeFiles/modAI.dir/__/base/index.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modAI.dir/__/base/index.c.o.requires
-
-src/modules/CMakeFiles/modAI.dir/__/base/index.c.o.provides: src/modules/CMakeFiles/modAI.dir/__/base/index.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/__/base/index.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modAI.dir/__/base/index.c.o.provides
-
-src/modules/CMakeFiles/modAI.dir/__/base/index.c.o.provides.build: src/modules/CMakeFiles/modAI.dir/__/base/index.c.o
-.PHONY : src/modules/CMakeFiles/modAI.dir/__/base/index.c.o.provides.build
-
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: src/modules/CMakeFiles/modAI.dir/flags.make
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/modules/modAI.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_4)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modAI.dir/modAI.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modAI.dir/modAI.c.o -c /home/scarab/tuxanci/src/modules/modAI.c
-
-src/modules/CMakeFiles/modAI.dir/modAI.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modAI.dir/modAI.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/modules/modAI.c > CMakeFiles/modAI.dir/modAI.c.i
-
-src/modules/CMakeFiles/modAI.dir/modAI.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modAI.dir/modAI.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/modules/modAI.c -o CMakeFiles/modAI.dir/modAI.c.s
-
-src/modules/CMakeFiles/modAI.dir/modAI.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modAI.dir/modAI.c.o.requires
-
-src/modules/CMakeFiles/modAI.dir/modAI.c.o.provides: src/modules/CMakeFiles/modAI.dir/modAI.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/modAI.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modAI.dir/modAI.c.o.provides
-
-src/modules/CMakeFiles/modAI.dir/modAI.c.o.provides.build: src/modules/CMakeFiles/modAI.dir/modAI.c.o
-.PHONY : src/modules/CMakeFiles/modAI.dir/modAI.c.o.provides.build
-
-# Object files for target modAI
-modAI_OBJECTS = \
-"CMakeFiles/modAI.dir/__/base/list.c.o" \
-"CMakeFiles/modAI.dir/__/base/space.c.o" \
-"CMakeFiles/modAI.dir/__/base/index.c.o" \
-"CMakeFiles/modAI.dir/modAI.c.o"
-
-# External object files for target modAI
-modAI_EXTERNAL_OBJECTS =
-
-src/modules/libmodAI.so: src/modules/CMakeFiles/modAI.dir/__/base/list.c.o
-src/modules/libmodAI.so: src/modules/CMakeFiles/modAI.dir/__/base/space.c.o
-src/modules/libmodAI.so: src/modules/CMakeFiles/modAI.dir/__/base/index.c.o
-src/modules/libmodAI.so: src/modules/CMakeFiles/modAI.dir/modAI.c.o
-src/modules/libmodAI.so: /usr/lib64/libzzip.so
-src/modules/libmodAI.so: /usr/lib64/libSDLmain.a
-src/modules/libmodAI.so: /usr/lib64/libSDL.so
-src/modules/libmodAI.so: /usr/lib64/libSDL_mixer.so
-src/modules/libmodAI.so: /usr/lib64/libSDL_image.so
-src/modules/libmodAI.so: /usr/lib64/libSDL_ttf.so
-src/modules/libmodAI.so: src/modules/CMakeFiles/modAI.dir/build.make
-src/modules/libmodAI.so: src/modules/CMakeFiles/modAI.dir/link.txt
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C shared library libmodAI.so"
- cd /home/scarab/tuxanci/build/src/modules && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/modAI.dir/link.txt --verbose=$(VERBOSE)
-
-# Rule to build all files generated by this target.
-src/modules/CMakeFiles/modAI.dir/build: src/modules/libmodAI.so
-.PHONY : src/modules/CMakeFiles/modAI.dir/build
-
-src/modules/CMakeFiles/modAI.dir/requires: src/modules/CMakeFiles/modAI.dir/__/base/list.c.o.requires
-src/modules/CMakeFiles/modAI.dir/requires: src/modules/CMakeFiles/modAI.dir/__/base/space.c.o.requires
-src/modules/CMakeFiles/modAI.dir/requires: src/modules/CMakeFiles/modAI.dir/__/base/index.c.o.requires
-src/modules/CMakeFiles/modAI.dir/requires: src/modules/CMakeFiles/modAI.dir/modAI.c.o.requires
-.PHONY : src/modules/CMakeFiles/modAI.dir/requires
-
-src/modules/CMakeFiles/modAI.dir/clean:
- cd /home/scarab/tuxanci/build/src/modules && $(CMAKE_COMMAND) -P CMakeFiles/modAI.dir/cmake_clean.cmake
-.PHONY : src/modules/CMakeFiles/modAI.dir/clean
-
-src/modules/CMakeFiles/modAI.dir/depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/scarab/tuxanci /home/scarab/tuxanci/src/modules /home/scarab/tuxanci/build /home/scarab/tuxanci/build/src/modules /home/scarab/tuxanci/build/src/modules/CMakeFiles/modAI.dir/DependInfo.cmake --color=$(COLOR)
-.PHONY : src/modules/CMakeFiles/modAI.dir/depend
-
diff --git a/build/src/modules/CMakeFiles/modAI.dir/cmake_clean.cmake b/build/src/modules/CMakeFiles/modAI.dir/cmake_clean.cmake
deleted file mode 100644
index 52548ae..0000000
--- a/build/src/modules/CMakeFiles/modAI.dir/cmake_clean.cmake
+++ /dev/null
@@ -1,14 +0,0 @@
-FILE(REMOVE_RECURSE
- "CMakeFiles/modAI.dir/__/base/list.c.o"
- "CMakeFiles/modAI.dir/__/base/space.c.o"
- "CMakeFiles/modAI.dir/__/base/index.c.o"
- "CMakeFiles/modAI.dir/modAI.c.o"
- "libmodAI.pdb"
- "libmodAI.a"
- "libmodAI.so"
-)
-
-# Per-language clean rules from dependency scanning.
-FOREACH(lang C)
- INCLUDE(CMakeFiles/modAI.dir/cmake_clean_${lang}.cmake OPTIONAL)
-ENDFOREACH(lang)
diff --git a/build/src/modules/CMakeFiles/modAI.dir/depend.internal b/build/src/modules/CMakeFiles/modAI.dir/depend.internal
deleted file mode 100644
index 716ecd7..0000000
--- a/build/src/modules/CMakeFiles/modAI.dir/depend.internal
+++ /dev/null
@@ -1,84 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-src/modules/CMakeFiles/modAI.dir/__/base/index.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/index.c
- /home/scarab/tuxanci/src/base/index.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modAI.dir/__/base/list.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/list.c
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modAI.dir/__/base/space.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/index.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/space.c
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o
- ../src/base/arena.h
- ../src/base/arenaFile.h
- ../src/base/bool.h
- ../src/base/buffer.h
- ../src/base/gun.h
- ../src/base/item.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/modules.h
- ../src/base/myTimer.h
- ../src/base/net_multiplayer.h
- ../src/base/path.h
- ../src/base/protect.h
- ../src/base/proto.h
- ../src/base/server.h
- ../src/base/shot.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/client/client.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/modules/modAI.c
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
diff --git a/build/src/modules/CMakeFiles/modAI.dir/depend.make b/build/src/modules/CMakeFiles/modAI.dir/depend.make
deleted file mode 100644
index 3b731a0..0000000
--- a/build/src/modules/CMakeFiles/modAI.dir/depend.make
+++ /dev/null
@@ -1,84 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-src/modules/CMakeFiles/modAI.dir/__/base/index.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modAI.dir/__/base/index.c.o: ../src/base/index.c
-src/modules/CMakeFiles/modAI.dir/__/base/index.c.o: ../src/base/index.h
-src/modules/CMakeFiles/modAI.dir/__/base/index.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modAI.dir/__/base/index.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modAI.dir/__/base/index.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modAI.dir/__/base/index.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modAI.dir/__/base/list.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modAI.dir/__/base/list.c.o: ../src/base/list.c
-src/modules/CMakeFiles/modAI.dir/__/base/list.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modAI.dir/__/base/list.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modAI.dir/__/base/list.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modAI.dir/__/base/list.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modAI.dir/__/base/space.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modAI.dir/__/base/space.c.o: ../src/base/index.h
-src/modules/CMakeFiles/modAI.dir/__/base/space.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modAI.dir/__/base/space.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modAI.dir/__/base/space.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modAI.dir/__/base/space.c.o: ../src/base/space.c
-src/modules/CMakeFiles/modAI.dir/__/base/space.c.o: ../src/base/space.h
-src/modules/CMakeFiles/modAI.dir/__/base/space.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/arena.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/arenaFile.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/buffer.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/gun.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/item.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/modules.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/myTimer.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/net_multiplayer.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/protect.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/proto.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/server.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/shot.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/space.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/string_length.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/textFile.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/base/tux.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/client/client.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/client/image.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/client/interface.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/net/udp.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/screen/screen_choiceArena.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/screen/screen_setting.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/screen/screen_world.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: ../src/modules/modAI.c
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_active.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_audio.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_cdrom.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_config.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_endian.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_error.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_events.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_image.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_joystick.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_keyboard.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_keysym.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_loadso.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_main.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_mouse.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_mutex.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_net.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_platform.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_quit.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_rwops.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_stdinc.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_thread.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_timer.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_version.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/SDL_video.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/begin_code.h
-src/modules/CMakeFiles/modAI.dir/modAI.c.o: /usr/include/SDL/close_code.h
-
diff --git a/build/src/modules/CMakeFiles/modAI.dir/flags.make b/build/src/modules/CMakeFiles/modAI.dir/flags.make
deleted file mode 100644
index af12365..0000000
--- a/build/src/modules/CMakeFiles/modAI.dir/flags.make
+++ /dev/null
@@ -1,8 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# compile C with /usr/bin/gcc
-C_FLAGS = -DmodAI_EXPORTS -fPIC -I/home/scarab/tuxanci/src/base -I/home/scarab/tuxanci/src/net -I/home/scarab/tuxanci/src/client -I/home/scarab/tuxanci/src/screen -I/home/scarab/tuxanci/src/widget -I/usr/include/SDL -I/home/scarab/tuxanci/src/audio
-
-C_DEFINES =
-
diff --git a/build/src/modules/CMakeFiles/modAI.dir/link.txt b/build/src/modules/CMakeFiles/modAI.dir/link.txt
deleted file mode 100644
index b96b1cc..0000000
--- a/build/src/modules/CMakeFiles/modAI.dir/link.txt
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/gcc -fPIC -shared -Wl,-soname,libmodAI.so -o libmodAI.so CMakeFiles/modAI.dir/__/base/list.c.o CMakeFiles/modAI.dir/__/base/space.c.o CMakeFiles/modAI.dir/__/base/index.c.o CMakeFiles/modAI.dir/modAI.c.o -lzzip -Wl,-Bstatic -lSDLmain -Wl,-Bdynamic -lSDL -lpthread -lSDL_mixer -lSDL_image -lSDL_ttf -lSDLmain -ldl
diff --git a/build/src/modules/CMakeFiles/modAI.dir/modAI.c.o b/build/src/modules/CMakeFiles/modAI.dir/modAI.c.o
deleted file mode 100644
index 9b9a34f..0000000
--- a/build/src/modules/CMakeFiles/modAI.dir/modAI.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modAI.dir/progress.make b/build/src/modules/CMakeFiles/modAI.dir/progress.make
deleted file mode 100644
index 6c9936e..0000000
--- a/build/src/modules/CMakeFiles/modAI.dir/progress.make
+++ /dev/null
@@ -1,5 +0,0 @@
-CMAKE_PROGRESS_1 = 73
-CMAKE_PROGRESS_2 = 74
-CMAKE_PROGRESS_3 = 75
-CMAKE_PROGRESS_4 = 76
-
diff --git a/build/src/modules/CMakeFiles/modBasic.dir/C.includecache b/build/src/modules/CMakeFiles/modBasic.dir/C.includecache
deleted file mode 100644
index 7954141..0000000
--- a/build/src/modules/CMakeFiles/modBasic.dir/C.includecache
+++ /dev/null
@@ -1,698 +0,0 @@
-#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
-
-#IncludeRegexScan: ^.*$
-
-#IncludeRegexComplain: ^$
-
-#IncludeRegexTransform:
-
-../src/base/arena.h
-main.h
-../src/base/main.h
-image.h
-../src/base/image.h
-list.h
-../src/base/list.h
-space.h
-../src/base/space.h
-
-../src/base/arenaFile.h
-main.h
-../src/base/main.h
-arena.h
-../src/base/arena.h
-textFile.h
-../src/base/textFile.h
-
-../src/base/bool.h
-main.h
-../src/base/main.h
-
-../src/base/buffer.h
-
-../src/base/gun.h
-main.h
-../src/base/main.h
-tux.h
-../src/base/tux.h
-
-../src/base/item.h
-main.h
-../src/base/main.h
-image.h
-../src/base/image.h
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-myTimer.h
-../src/base/myTimer.h
-
-../src/base/list.h
-main.h
-../src/base/main.h
-
-../src/base/main.h
-libintl.h
--
-locale.h
--
-bool.h
-../src/base/bool.h
-string_length.h
-../src/base/string_length.h
-path.h
-../src/base/path.h
-
-../src/base/modules.h
-tux.h
-../src/base/tux.h
-shot.h
-../src/base/shot.h
-arena.h
-../src/base/arena.h
-proto.h
-../src/base/proto.h
-myTimer.h
-../src/base/myTimer.h
-image.h
-../src/base/image.h
-
-../src/base/myTimer.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-
-../src/base/net_multiplayer.h
-main.h
-../src/base/main.h
-tux.h
-../src/base/tux.h
-item.h
-../src/base/item.h
-arena.h
-../src/base/arena.h
-
-../src/base/path.h
-main.h
-../src/base/main.h
-
-../src/base/protect.h
-main.h
-../src/base/main.h
-myTimer.h
-../src/base/myTimer.h
-
-../src/base/proto.h
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-item.h
-../src/base/item.h
-shot.h
-../src/base/shot.h
-arenaFile.h
-../src/base/arenaFile.h
-myTimer.h
-../src/base/myTimer.h
-server.h
-../src/base/server.h
-net_multiplayer.h
-../src/base/net_multiplayer.h
-screen_world.h
-../src/base/screen_world.h
-screen_setting.h
-../src/base/screen_setting.h
-screen_choiceArena.h
-../src/base/screen_choiceArena.h
-client.h
-../src/base/client.h
-publicServer.h
-../src/base/publicServer.h
-
-../src/base/server.h
-time.h
--
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-myTimer.h
-../src/base/myTimer.h
-protect.h
-../src/base/protect.h
-buffer.h
-../src/base/buffer.h
-interface.h
-../src/base/interface.h
-udp.h
-../src/base/udp.h
-
-../src/base/shot.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-arena.h
-../src/base/arena.h
-image.h
-../src/base/image.h
-
-../src/base/space.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-
-../src/base/string_length.h
-main.h
-../src/base/main.h
-
-../src/base/textFile.h
-list.h
-../src/base/list.h
-
-../src/base/tux.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-arena.h
-../src/base/arena.h
-
-../src/client/client.h
-main.h
-../src/client/main.h
-
-../src/client/image.h
-interface.h
-../src/client/interface.h
-
-../src/client/interface.h
-stdio.h
--
-string.h
--
-time.h
--
-SDL.h
--
-SDL_image.h
--
-SDL_thread.h
--
-main.h
-../src/client/main.h
-SDL_net.h
--
-
-../src/net/udp.h
-netinet/in.h
--
-windows.h
--
-wininet.h
--
-
-../src/screen/screen_choiceArena.h
-main.h
-../src/screen/main.h
-arenaFile.h
-../src/screen/arenaFile.h
-
-../src/screen/screen_setting.h
-main.h
-../src/screen/main.h
-
-../src/screen/screen_world.h
-main.h
-../src/screen/main.h
-myTimer.h
-../src/screen/myTimer.h
-tux.h
-../src/screen/tux.h
-arenaFile.h
-../src/screen/arenaFile.h
-arena.h
-../src/screen/arena.h
-
-/home/scarab/tuxanci/src/base/bool.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/index.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-index.h
-/home/scarab/tuxanci/src/base/index.h
-
-/home/scarab/tuxanci/src/base/index.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/list.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/list.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/main.h
-libintl.h
--
-locale.h
--
-bool.h
-/home/scarab/tuxanci/src/base/bool.h
-string_length.h
-/home/scarab/tuxanci/src/base/string_length.h
-path.h
-/home/scarab/tuxanci/src/base/path.h
-
-/home/scarab/tuxanci/src/base/path.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/space.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-space.h
-/home/scarab/tuxanci/src/base/space.h
-index.h
-/home/scarab/tuxanci/src/base/index.h
-
-/home/scarab/tuxanci/src/base/space.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/string_length.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/modules/modBasic.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/modules/main.h
-modules.h
-/home/scarab/tuxanci/src/modules/modules.h
-tux.h
-/home/scarab/tuxanci/src/modules/tux.h
-shot.h
-/home/scarab/tuxanci/src/modules/shot.h
-list.h
-/home/scarab/tuxanci/src/modules/list.h
-gun.h
-/home/scarab/tuxanci/src/modules/gun.h
-space.h
-/home/scarab/tuxanci/src/modules/space.h
-interface.h
-/home/scarab/tuxanci/src/modules/interface.h
-image.h
-/home/scarab/tuxanci/src/modules/image.h
-publicServer.h
-/home/scarab/tuxanci/src/modules/publicServer.h
-
-/usr/include/SDL/SDL.h
-SDL_main.h
-/usr/include/SDL/SDL_main.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_audio.h
-/usr/include/SDL/SDL_audio.h
-SDL_cdrom.h
-/usr/include/SDL/SDL_cdrom.h
-SDL_cpuinfo.h
-/usr/include/SDL/SDL_cpuinfo.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_events.h
-/usr/include/SDL/SDL_events.h
-SDL_loadso.h
-/usr/include/SDL/SDL_loadso.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-SDL_thread.h
-/usr/include/SDL/SDL_thread.h
-SDL_timer.h
-/usr/include/SDL/SDL_timer.h
-SDL_video.h
-/usr/include/SDL/SDL_video.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_active.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_audio.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-SDL_thread.h
-/usr/include/SDL/SDL_thread.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_cdrom.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_config.h
-SDL_platform.h
-/usr/include/SDL/SDL_platform.h
-stdarg.h
--
-
-/usr/include/SDL/SDL_cpuinfo.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_endian.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_error.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_events.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_active.h
-/usr/include/SDL/SDL_active.h
-SDL_keyboard.h
-/usr/include/SDL/SDL_keyboard.h
-SDL_mouse.h
-/usr/include/SDL/SDL_mouse.h
-SDL_joystick.h
-/usr/include/SDL/SDL_joystick.h
-SDL_quit.h
-/usr/include/SDL/SDL_quit.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_image.h
-SDL.h
-/usr/include/SDL/SDL.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_joystick.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_keyboard.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_keysym.h
-/usr/include/SDL/SDL_keysym.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_keysym.h
-
-/usr/include/SDL/SDL_loadso.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_main.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_mouse.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_video.h
-/usr/include/SDL/SDL_video.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_mutex.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_net.h
-SDL.h
-/usr/include/SDL/SDL.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_platform.h
-
-/usr/include/SDL/SDL_quit.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-
-/usr/include/SDL/SDL_rwops.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_stdinc.h
-SDL_config.h
-/usr/include/SDL/SDL_config.h
-sys/types.h
--
-stdio.h
--
-stdlib.h
--
-stddef.h
--
-stdarg.h
--
-stdlib.h
--
-malloc.h
--
-stddef.h
--
-stdarg.h
--
-memory.h
--
-string.h
--
-strings.h
--
-inttypes.h
--
-stdint.h
--
-ctype.h
--
-iconv.h
--
-begin_code.h
-/usr/include/SDL/begin_code.h
-alloca.h
--
-malloc.h
--
-malloc.h
--
-malloc.h
--
-stdlib.h
--
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_thread.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-process.h
--
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_timer.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_version.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_video.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/begin_code.h
-
-/usr/include/SDL/close_code.h
-
diff --git a/build/src/modules/CMakeFiles/modBasic.dir/DependInfo.cmake b/build/src/modules/CMakeFiles/modBasic.dir/DependInfo.cmake
deleted file mode 100644
index 84abc04..0000000
--- a/build/src/modules/CMakeFiles/modBasic.dir/DependInfo.cmake
+++ /dev/null
@@ -1,16 +0,0 @@
-# The set of languages for which implicit dependencies are needed:
-SET(CMAKE_DEPENDS_LANGUAGES
- "C"
- )
-# The set of files for implicit dependencies of each language:
-SET(CMAKE_DEPENDS_CHECK_C
- "/home/scarab/tuxanci/src/base/index.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o"
- "/home/scarab/tuxanci/src/base/list.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o"
- "/home/scarab/tuxanci/src/base/space.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o"
- "/home/scarab/tuxanci/src/modules/modBasic.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modBasic.dir/modBasic.c.o"
- )
-SET(CMAKE_C_COMPILER_ID "GNU")
-
-# Targets to which this target links.
-SET(CMAKE_TARGET_LINKED_INFO_FILES
- )
diff --git a/build/src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o b/build/src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o
deleted file mode 100644
index 88dbb6b..0000000
--- a/build/src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o b/build/src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o
deleted file mode 100644
index 5264aeb..0000000
--- a/build/src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o b/build/src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o
deleted file mode 100644
index 1bfa92f..0000000
--- a/build/src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modBasic.dir/build.make b/build/src/modules/CMakeFiles/modBasic.dir/build.make
deleted file mode 100644
index c4fd558..0000000
--- a/build/src/modules/CMakeFiles/modBasic.dir/build.make
+++ /dev/null
@@ -1,190 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-# Include any dependencies generated for this target.
-include src/modules/CMakeFiles/modBasic.dir/depend.make
-
-# Include the progress variables for this target.
-include src/modules/CMakeFiles/modBasic.dir/progress.make
-
-# Include the compile flags for this target's objects.
-include src/modules/CMakeFiles/modBasic.dir/flags.make
-
-src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o: src/modules/CMakeFiles/modBasic.dir/flags.make
-src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o: ../src/base/list.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_1)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modBasic.dir/__/base/list.c.o -c /home/scarab/tuxanci/src/base/list.c
-
-src/modules/CMakeFiles/modBasic.dir/__/base/list.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modBasic.dir/__/base/list.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/list.c > CMakeFiles/modBasic.dir/__/base/list.c.i
-
-src/modules/CMakeFiles/modBasic.dir/__/base/list.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modBasic.dir/__/base/list.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/list.c -o CMakeFiles/modBasic.dir/__/base/list.c.s
-
-src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o.requires
-
-src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o.provides: src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o.provides
-
-src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o.provides.build: src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o
-.PHONY : src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o.provides.build
-
-src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o: src/modules/CMakeFiles/modBasic.dir/flags.make
-src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o: ../src/base/space.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_2)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modBasic.dir/__/base/space.c.o -c /home/scarab/tuxanci/src/base/space.c
-
-src/modules/CMakeFiles/modBasic.dir/__/base/space.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modBasic.dir/__/base/space.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/space.c > CMakeFiles/modBasic.dir/__/base/space.c.i
-
-src/modules/CMakeFiles/modBasic.dir/__/base/space.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modBasic.dir/__/base/space.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/space.c -o CMakeFiles/modBasic.dir/__/base/space.c.s
-
-src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o.requires
-
-src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o.provides: src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o.provides
-
-src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o.provides.build: src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o
-.PHONY : src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o.provides.build
-
-src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o: src/modules/CMakeFiles/modBasic.dir/flags.make
-src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o: ../src/base/index.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_3)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modBasic.dir/__/base/index.c.o -c /home/scarab/tuxanci/src/base/index.c
-
-src/modules/CMakeFiles/modBasic.dir/__/base/index.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modBasic.dir/__/base/index.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/index.c > CMakeFiles/modBasic.dir/__/base/index.c.i
-
-src/modules/CMakeFiles/modBasic.dir/__/base/index.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modBasic.dir/__/base/index.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/index.c -o CMakeFiles/modBasic.dir/__/base/index.c.s
-
-src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o.requires
-
-src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o.provides: src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o.provides
-
-src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o.provides.build: src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o
-.PHONY : src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o.provides.build
-
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: src/modules/CMakeFiles/modBasic.dir/flags.make
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/modules/modBasic.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_4)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modBasic.dir/modBasic.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modBasic.dir/modBasic.c.o -c /home/scarab/tuxanci/src/modules/modBasic.c
-
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modBasic.dir/modBasic.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/modules/modBasic.c > CMakeFiles/modBasic.dir/modBasic.c.i
-
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modBasic.dir/modBasic.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/modules/modBasic.c -o CMakeFiles/modBasic.dir/modBasic.c.s
-
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modBasic.dir/modBasic.c.o.requires
-
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o.provides: src/modules/CMakeFiles/modBasic.dir/modBasic.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/modBasic.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modBasic.dir/modBasic.c.o.provides
-
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o.provides.build: src/modules/CMakeFiles/modBasic.dir/modBasic.c.o
-.PHONY : src/modules/CMakeFiles/modBasic.dir/modBasic.c.o.provides.build
-
-# Object files for target modBasic
-modBasic_OBJECTS = \
-"CMakeFiles/modBasic.dir/__/base/list.c.o" \
-"CMakeFiles/modBasic.dir/__/base/space.c.o" \
-"CMakeFiles/modBasic.dir/__/base/index.c.o" \
-"CMakeFiles/modBasic.dir/modBasic.c.o"
-
-# External object files for target modBasic
-modBasic_EXTERNAL_OBJECTS =
-
-src/modules/libmodBasic.so: src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o
-src/modules/libmodBasic.so: src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o
-src/modules/libmodBasic.so: src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o
-src/modules/libmodBasic.so: src/modules/CMakeFiles/modBasic.dir/modBasic.c.o
-src/modules/libmodBasic.so: /usr/lib64/libzzip.so
-src/modules/libmodBasic.so: /usr/lib64/libSDLmain.a
-src/modules/libmodBasic.so: /usr/lib64/libSDL.so
-src/modules/libmodBasic.so: /usr/lib64/libSDL_mixer.so
-src/modules/libmodBasic.so: /usr/lib64/libSDL_image.so
-src/modules/libmodBasic.so: /usr/lib64/libSDL_ttf.so
-src/modules/libmodBasic.so: src/modules/CMakeFiles/modBasic.dir/build.make
-src/modules/libmodBasic.so: src/modules/CMakeFiles/modBasic.dir/link.txt
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C shared library libmodBasic.so"
- cd /home/scarab/tuxanci/build/src/modules && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/modBasic.dir/link.txt --verbose=$(VERBOSE)
-
-# Rule to build all files generated by this target.
-src/modules/CMakeFiles/modBasic.dir/build: src/modules/libmodBasic.so
-.PHONY : src/modules/CMakeFiles/modBasic.dir/build
-
-src/modules/CMakeFiles/modBasic.dir/requires: src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o.requires
-src/modules/CMakeFiles/modBasic.dir/requires: src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o.requires
-src/modules/CMakeFiles/modBasic.dir/requires: src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o.requires
-src/modules/CMakeFiles/modBasic.dir/requires: src/modules/CMakeFiles/modBasic.dir/modBasic.c.o.requires
-.PHONY : src/modules/CMakeFiles/modBasic.dir/requires
-
-src/modules/CMakeFiles/modBasic.dir/clean:
- cd /home/scarab/tuxanci/build/src/modules && $(CMAKE_COMMAND) -P CMakeFiles/modBasic.dir/cmake_clean.cmake
-.PHONY : src/modules/CMakeFiles/modBasic.dir/clean
-
-src/modules/CMakeFiles/modBasic.dir/depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/scarab/tuxanci /home/scarab/tuxanci/src/modules /home/scarab/tuxanci/build /home/scarab/tuxanci/build/src/modules /home/scarab/tuxanci/build/src/modules/CMakeFiles/modBasic.dir/DependInfo.cmake --color=$(COLOR)
-.PHONY : src/modules/CMakeFiles/modBasic.dir/depend
-
diff --git a/build/src/modules/CMakeFiles/modBasic.dir/cmake_clean.cmake b/build/src/modules/CMakeFiles/modBasic.dir/cmake_clean.cmake
deleted file mode 100644
index f7a2f09..0000000
--- a/build/src/modules/CMakeFiles/modBasic.dir/cmake_clean.cmake
+++ /dev/null
@@ -1,14 +0,0 @@
-FILE(REMOVE_RECURSE
- "CMakeFiles/modBasic.dir/__/base/list.c.o"
- "CMakeFiles/modBasic.dir/__/base/space.c.o"
- "CMakeFiles/modBasic.dir/__/base/index.c.o"
- "CMakeFiles/modBasic.dir/modBasic.c.o"
- "libmodBasic.pdb"
- "libmodBasic.a"
- "libmodBasic.so"
-)
-
-# Per-language clean rules from dependency scanning.
-FOREACH(lang C)
- INCLUDE(CMakeFiles/modBasic.dir/cmake_clean_${lang}.cmake OPTIONAL)
-ENDFOREACH(lang)
diff --git a/build/src/modules/CMakeFiles/modBasic.dir/depend.internal b/build/src/modules/CMakeFiles/modBasic.dir/depend.internal
deleted file mode 100644
index b94af6b..0000000
--- a/build/src/modules/CMakeFiles/modBasic.dir/depend.internal
+++ /dev/null
@@ -1,84 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/index.c
- /home/scarab/tuxanci/src/base/index.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/list.c
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/index.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/space.c
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o
- ../src/base/arena.h
- ../src/base/arenaFile.h
- ../src/base/bool.h
- ../src/base/buffer.h
- ../src/base/gun.h
- ../src/base/item.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/modules.h
- ../src/base/myTimer.h
- ../src/base/net_multiplayer.h
- ../src/base/path.h
- ../src/base/protect.h
- ../src/base/proto.h
- ../src/base/server.h
- ../src/base/shot.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/client/client.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/modules/modBasic.c
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
diff --git a/build/src/modules/CMakeFiles/modBasic.dir/depend.make b/build/src/modules/CMakeFiles/modBasic.dir/depend.make
deleted file mode 100644
index 3b962bf..0000000
--- a/build/src/modules/CMakeFiles/modBasic.dir/depend.make
+++ /dev/null
@@ -1,84 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o: ../src/base/index.c
-src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o: ../src/base/index.h
-src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o: ../src/base/list.c
-src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o: ../src/base/index.h
-src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o: ../src/base/space.c
-src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o: ../src/base/space.h
-src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/arena.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/arenaFile.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/buffer.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/gun.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/item.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/modules.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/myTimer.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/net_multiplayer.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/protect.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/proto.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/server.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/shot.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/space.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/string_length.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/textFile.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/base/tux.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/client/client.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/client/image.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/client/interface.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/net/udp.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/screen/screen_choiceArena.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/screen/screen_setting.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/screen/screen_world.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: ../src/modules/modBasic.c
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_active.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_audio.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_cdrom.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_config.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_endian.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_error.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_events.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_image.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_joystick.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_keyboard.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_keysym.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_loadso.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_main.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_mouse.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_mutex.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_net.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_platform.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_quit.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_rwops.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_stdinc.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_thread.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_timer.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_version.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/SDL_video.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/begin_code.h
-src/modules/CMakeFiles/modBasic.dir/modBasic.c.o: /usr/include/SDL/close_code.h
-
diff --git a/build/src/modules/CMakeFiles/modBasic.dir/flags.make b/build/src/modules/CMakeFiles/modBasic.dir/flags.make
deleted file mode 100644
index 4ad7c2c..0000000
--- a/build/src/modules/CMakeFiles/modBasic.dir/flags.make
+++ /dev/null
@@ -1,8 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# compile C with /usr/bin/gcc
-C_FLAGS = -DmodBasic_EXPORTS -fPIC -I/home/scarab/tuxanci/src/base -I/home/scarab/tuxanci/src/net -I/home/scarab/tuxanci/src/client -I/home/scarab/tuxanci/src/screen -I/home/scarab/tuxanci/src/widget -I/usr/include/SDL -I/home/scarab/tuxanci/src/audio
-
-C_DEFINES =
-
diff --git a/build/src/modules/CMakeFiles/modBasic.dir/link.txt b/build/src/modules/CMakeFiles/modBasic.dir/link.txt
deleted file mode 100644
index 70b0f3a..0000000
--- a/build/src/modules/CMakeFiles/modBasic.dir/link.txt
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/gcc -fPIC -shared -Wl,-soname,libmodBasic.so -o libmodBasic.so CMakeFiles/modBasic.dir/__/base/list.c.o CMakeFiles/modBasic.dir/__/base/space.c.o CMakeFiles/modBasic.dir/__/base/index.c.o CMakeFiles/modBasic.dir/modBasic.c.o -lzzip -Wl,-Bstatic -lSDLmain -Wl,-Bdynamic -lSDL -lpthread -lSDL_mixer -lSDL_image -lSDL_ttf -lSDLmain -ldl
diff --git a/build/src/modules/CMakeFiles/modBasic.dir/modBasic.c.o b/build/src/modules/CMakeFiles/modBasic.dir/modBasic.c.o
deleted file mode 100644
index 22bed28..0000000
--- a/build/src/modules/CMakeFiles/modBasic.dir/modBasic.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modBasic.dir/progress.make b/build/src/modules/CMakeFiles/modBasic.dir/progress.make
deleted file mode 100644
index 40040ec..0000000
--- a/build/src/modules/CMakeFiles/modBasic.dir/progress.make
+++ /dev/null
@@ -1,5 +0,0 @@
-CMAKE_PROGRESS_1 = 77
-CMAKE_PROGRESS_2 = 78
-CMAKE_PROGRESS_3 = 79
-CMAKE_PROGRESS_4 = 80
-
diff --git a/build/src/modules/CMakeFiles/modMove.dir/C.includecache b/build/src/modules/CMakeFiles/modMove.dir/C.includecache
deleted file mode 100644
index f942ca6..0000000
--- a/build/src/modules/CMakeFiles/modMove.dir/C.includecache
+++ /dev/null
@@ -1,704 +0,0 @@
-#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
-
-#IncludeRegexScan: ^.*$
-
-#IncludeRegexComplain: ^$
-
-#IncludeRegexTransform:
-
-../src/base/arena.h
-main.h
-../src/base/main.h
-image.h
-../src/base/image.h
-list.h
-../src/base/list.h
-space.h
-../src/base/space.h
-
-../src/base/arenaFile.h
-main.h
-../src/base/main.h
-arena.h
-../src/base/arena.h
-textFile.h
-../src/base/textFile.h
-
-../src/base/bool.h
-main.h
-../src/base/main.h
-
-../src/base/buffer.h
-
-../src/base/gun.h
-main.h
-../src/base/main.h
-tux.h
-../src/base/tux.h
-
-../src/base/item.h
-main.h
-../src/base/main.h
-image.h
-../src/base/image.h
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-myTimer.h
-../src/base/myTimer.h
-
-../src/base/list.h
-main.h
-../src/base/main.h
-
-../src/base/main.h
-libintl.h
--
-locale.h
--
-bool.h
-../src/base/bool.h
-string_length.h
-../src/base/string_length.h
-path.h
-../src/base/path.h
-
-../src/base/modules.h
-tux.h
-../src/base/tux.h
-shot.h
-../src/base/shot.h
-arena.h
-../src/base/arena.h
-proto.h
-../src/base/proto.h
-myTimer.h
-../src/base/myTimer.h
-image.h
-../src/base/image.h
-
-../src/base/myTimer.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-
-../src/base/net_multiplayer.h
-main.h
-../src/base/main.h
-tux.h
-../src/base/tux.h
-item.h
-../src/base/item.h
-arena.h
-../src/base/arena.h
-
-../src/base/path.h
-main.h
-../src/base/main.h
-
-../src/base/protect.h
-main.h
-../src/base/main.h
-myTimer.h
-../src/base/myTimer.h
-
-../src/base/proto.h
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-item.h
-../src/base/item.h
-shot.h
-../src/base/shot.h
-arenaFile.h
-../src/base/arenaFile.h
-myTimer.h
-../src/base/myTimer.h
-server.h
-../src/base/server.h
-net_multiplayer.h
-../src/base/net_multiplayer.h
-screen_world.h
-../src/base/screen_world.h
-screen_setting.h
-../src/base/screen_setting.h
-screen_choiceArena.h
-../src/base/screen_choiceArena.h
-client.h
-../src/base/client.h
-publicServer.h
-../src/base/publicServer.h
-
-../src/base/server.h
-time.h
--
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-myTimer.h
-../src/base/myTimer.h
-protect.h
-../src/base/protect.h
-buffer.h
-../src/base/buffer.h
-interface.h
-../src/base/interface.h
-udp.h
-../src/base/udp.h
-
-../src/base/serverSendMsg.h
-server.h
-../src/base/server.h
-
-../src/base/shot.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-arena.h
-../src/base/arena.h
-image.h
-../src/base/image.h
-
-../src/base/space.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-
-../src/base/string_length.h
-main.h
-../src/base/main.h
-
-../src/base/textFile.h
-list.h
-../src/base/list.h
-
-../src/base/tux.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-arena.h
-../src/base/arena.h
-
-../src/client/client.h
-main.h
-../src/client/main.h
-
-../src/client/image.h
-interface.h
-../src/client/interface.h
-
-../src/client/interface.h
-stdio.h
--
-string.h
--
-time.h
--
-SDL.h
--
-SDL_image.h
--
-SDL_thread.h
--
-main.h
-../src/client/main.h
-SDL_net.h
--
-
-../src/net/udp.h
-netinet/in.h
--
-windows.h
--
-wininet.h
--
-
-../src/screen/screen_choiceArena.h
-main.h
-../src/screen/main.h
-arenaFile.h
-../src/screen/arenaFile.h
-
-../src/screen/screen_setting.h
-main.h
-../src/screen/main.h
-
-../src/screen/screen_world.h
-main.h
-../src/screen/main.h
-myTimer.h
-../src/screen/myTimer.h
-tux.h
-../src/screen/tux.h
-arenaFile.h
-../src/screen/arenaFile.h
-arena.h
-../src/screen/arena.h
-
-/home/scarab/tuxanci/src/base/bool.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/index.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-index.h
-/home/scarab/tuxanci/src/base/index.h
-
-/home/scarab/tuxanci/src/base/index.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/list.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/list.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/main.h
-libintl.h
--
-locale.h
--
-bool.h
-/home/scarab/tuxanci/src/base/bool.h
-string_length.h
-/home/scarab/tuxanci/src/base/string_length.h
-path.h
-/home/scarab/tuxanci/src/base/path.h
-
-/home/scarab/tuxanci/src/base/path.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/space.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-space.h
-/home/scarab/tuxanci/src/base/space.h
-index.h
-/home/scarab/tuxanci/src/base/index.h
-
-/home/scarab/tuxanci/src/base/space.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/string_length.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/modules/modMove.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/modules/main.h
-modules.h
-/home/scarab/tuxanci/src/modules/modules.h
-tux.h
-/home/scarab/tuxanci/src/modules/tux.h
-shot.h
-/home/scarab/tuxanci/src/modules/shot.h
-list.h
-/home/scarab/tuxanci/src/modules/list.h
-gun.h
-/home/scarab/tuxanci/src/modules/gun.h
-space.h
-/home/scarab/tuxanci/src/modules/space.h
-serverSendMsg.h
-/home/scarab/tuxanci/src/modules/serverSendMsg.h
-interface.h
-/home/scarab/tuxanci/src/modules/interface.h
-image.h
-/home/scarab/tuxanci/src/modules/image.h
-publicServer.h
-/home/scarab/tuxanci/src/modules/publicServer.h
-
-/usr/include/SDL/SDL.h
-SDL_main.h
-/usr/include/SDL/SDL_main.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_audio.h
-/usr/include/SDL/SDL_audio.h
-SDL_cdrom.h
-/usr/include/SDL/SDL_cdrom.h
-SDL_cpuinfo.h
-/usr/include/SDL/SDL_cpuinfo.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_events.h
-/usr/include/SDL/SDL_events.h
-SDL_loadso.h
-/usr/include/SDL/SDL_loadso.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-SDL_thread.h
-/usr/include/SDL/SDL_thread.h
-SDL_timer.h
-/usr/include/SDL/SDL_timer.h
-SDL_video.h
-/usr/include/SDL/SDL_video.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_active.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_audio.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-SDL_thread.h
-/usr/include/SDL/SDL_thread.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_cdrom.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_config.h
-SDL_platform.h
-/usr/include/SDL/SDL_platform.h
-stdarg.h
--
-
-/usr/include/SDL/SDL_cpuinfo.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_endian.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_error.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_events.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_active.h
-/usr/include/SDL/SDL_active.h
-SDL_keyboard.h
-/usr/include/SDL/SDL_keyboard.h
-SDL_mouse.h
-/usr/include/SDL/SDL_mouse.h
-SDL_joystick.h
-/usr/include/SDL/SDL_joystick.h
-SDL_quit.h
-/usr/include/SDL/SDL_quit.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_image.h
-SDL.h
-/usr/include/SDL/SDL.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_joystick.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_keyboard.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_keysym.h
-/usr/include/SDL/SDL_keysym.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_keysym.h
-
-/usr/include/SDL/SDL_loadso.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_main.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_mouse.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_video.h
-/usr/include/SDL/SDL_video.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_mutex.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_net.h
-SDL.h
-/usr/include/SDL/SDL.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_platform.h
-
-/usr/include/SDL/SDL_quit.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-
-/usr/include/SDL/SDL_rwops.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_stdinc.h
-SDL_config.h
-/usr/include/SDL/SDL_config.h
-sys/types.h
--
-stdio.h
--
-stdlib.h
--
-stddef.h
--
-stdarg.h
--
-stdlib.h
--
-malloc.h
--
-stddef.h
--
-stdarg.h
--
-memory.h
--
-string.h
--
-strings.h
--
-inttypes.h
--
-stdint.h
--
-ctype.h
--
-iconv.h
--
-begin_code.h
-/usr/include/SDL/begin_code.h
-alloca.h
--
-malloc.h
--
-malloc.h
--
-malloc.h
--
-stdlib.h
--
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_thread.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-process.h
--
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_timer.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_version.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_video.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/begin_code.h
-
-/usr/include/SDL/close_code.h
-
diff --git a/build/src/modules/CMakeFiles/modMove.dir/DependInfo.cmake b/build/src/modules/CMakeFiles/modMove.dir/DependInfo.cmake
deleted file mode 100644
index ac08db5..0000000
--- a/build/src/modules/CMakeFiles/modMove.dir/DependInfo.cmake
+++ /dev/null
@@ -1,16 +0,0 @@
-# The set of languages for which implicit dependencies are needed:
-SET(CMAKE_DEPENDS_LANGUAGES
- "C"
- )
-# The set of files for implicit dependencies of each language:
-SET(CMAKE_DEPENDS_CHECK_C
- "/home/scarab/tuxanci/src/base/index.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modMove.dir/__/base/index.c.o"
- "/home/scarab/tuxanci/src/base/list.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modMove.dir/__/base/list.c.o"
- "/home/scarab/tuxanci/src/base/space.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modMove.dir/__/base/space.c.o"
- "/home/scarab/tuxanci/src/modules/modMove.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modMove.dir/modMove.c.o"
- )
-SET(CMAKE_C_COMPILER_ID "GNU")
-
-# Targets to which this target links.
-SET(CMAKE_TARGET_LINKED_INFO_FILES
- )
diff --git a/build/src/modules/CMakeFiles/modMove.dir/__/base/index.c.o b/build/src/modules/CMakeFiles/modMove.dir/__/base/index.c.o
deleted file mode 100644
index 88dbb6b..0000000
--- a/build/src/modules/CMakeFiles/modMove.dir/__/base/index.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modMove.dir/__/base/list.c.o b/build/src/modules/CMakeFiles/modMove.dir/__/base/list.c.o
deleted file mode 100644
index 5264aeb..0000000
--- a/build/src/modules/CMakeFiles/modMove.dir/__/base/list.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modMove.dir/__/base/space.c.o b/build/src/modules/CMakeFiles/modMove.dir/__/base/space.c.o
deleted file mode 100644
index 1bfa92f..0000000
--- a/build/src/modules/CMakeFiles/modMove.dir/__/base/space.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modMove.dir/build.make b/build/src/modules/CMakeFiles/modMove.dir/build.make
deleted file mode 100644
index a9ed9dd..0000000
--- a/build/src/modules/CMakeFiles/modMove.dir/build.make
+++ /dev/null
@@ -1,190 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-# Include any dependencies generated for this target.
-include src/modules/CMakeFiles/modMove.dir/depend.make
-
-# Include the progress variables for this target.
-include src/modules/CMakeFiles/modMove.dir/progress.make
-
-# Include the compile flags for this target's objects.
-include src/modules/CMakeFiles/modMove.dir/flags.make
-
-src/modules/CMakeFiles/modMove.dir/__/base/list.c.o: src/modules/CMakeFiles/modMove.dir/flags.make
-src/modules/CMakeFiles/modMove.dir/__/base/list.c.o: ../src/base/list.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_1)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modMove.dir/__/base/list.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modMove.dir/__/base/list.c.o -c /home/scarab/tuxanci/src/base/list.c
-
-src/modules/CMakeFiles/modMove.dir/__/base/list.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modMove.dir/__/base/list.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/list.c > CMakeFiles/modMove.dir/__/base/list.c.i
-
-src/modules/CMakeFiles/modMove.dir/__/base/list.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modMove.dir/__/base/list.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/list.c -o CMakeFiles/modMove.dir/__/base/list.c.s
-
-src/modules/CMakeFiles/modMove.dir/__/base/list.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modMove.dir/__/base/list.c.o.requires
-
-src/modules/CMakeFiles/modMove.dir/__/base/list.c.o.provides: src/modules/CMakeFiles/modMove.dir/__/base/list.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/__/base/list.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modMove.dir/__/base/list.c.o.provides
-
-src/modules/CMakeFiles/modMove.dir/__/base/list.c.o.provides.build: src/modules/CMakeFiles/modMove.dir/__/base/list.c.o
-.PHONY : src/modules/CMakeFiles/modMove.dir/__/base/list.c.o.provides.build
-
-src/modules/CMakeFiles/modMove.dir/__/base/space.c.o: src/modules/CMakeFiles/modMove.dir/flags.make
-src/modules/CMakeFiles/modMove.dir/__/base/space.c.o: ../src/base/space.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_2)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modMove.dir/__/base/space.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modMove.dir/__/base/space.c.o -c /home/scarab/tuxanci/src/base/space.c
-
-src/modules/CMakeFiles/modMove.dir/__/base/space.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modMove.dir/__/base/space.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/space.c > CMakeFiles/modMove.dir/__/base/space.c.i
-
-src/modules/CMakeFiles/modMove.dir/__/base/space.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modMove.dir/__/base/space.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/space.c -o CMakeFiles/modMove.dir/__/base/space.c.s
-
-src/modules/CMakeFiles/modMove.dir/__/base/space.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modMove.dir/__/base/space.c.o.requires
-
-src/modules/CMakeFiles/modMove.dir/__/base/space.c.o.provides: src/modules/CMakeFiles/modMove.dir/__/base/space.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/__/base/space.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modMove.dir/__/base/space.c.o.provides
-
-src/modules/CMakeFiles/modMove.dir/__/base/space.c.o.provides.build: src/modules/CMakeFiles/modMove.dir/__/base/space.c.o
-.PHONY : src/modules/CMakeFiles/modMove.dir/__/base/space.c.o.provides.build
-
-src/modules/CMakeFiles/modMove.dir/__/base/index.c.o: src/modules/CMakeFiles/modMove.dir/flags.make
-src/modules/CMakeFiles/modMove.dir/__/base/index.c.o: ../src/base/index.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_3)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modMove.dir/__/base/index.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modMove.dir/__/base/index.c.o -c /home/scarab/tuxanci/src/base/index.c
-
-src/modules/CMakeFiles/modMove.dir/__/base/index.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modMove.dir/__/base/index.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/index.c > CMakeFiles/modMove.dir/__/base/index.c.i
-
-src/modules/CMakeFiles/modMove.dir/__/base/index.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modMove.dir/__/base/index.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/index.c -o CMakeFiles/modMove.dir/__/base/index.c.s
-
-src/modules/CMakeFiles/modMove.dir/__/base/index.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modMove.dir/__/base/index.c.o.requires
-
-src/modules/CMakeFiles/modMove.dir/__/base/index.c.o.provides: src/modules/CMakeFiles/modMove.dir/__/base/index.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/__/base/index.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modMove.dir/__/base/index.c.o.provides
-
-src/modules/CMakeFiles/modMove.dir/__/base/index.c.o.provides.build: src/modules/CMakeFiles/modMove.dir/__/base/index.c.o
-.PHONY : src/modules/CMakeFiles/modMove.dir/__/base/index.c.o.provides.build
-
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: src/modules/CMakeFiles/modMove.dir/flags.make
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/modules/modMove.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_4)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modMove.dir/modMove.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modMove.dir/modMove.c.o -c /home/scarab/tuxanci/src/modules/modMove.c
-
-src/modules/CMakeFiles/modMove.dir/modMove.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modMove.dir/modMove.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/modules/modMove.c > CMakeFiles/modMove.dir/modMove.c.i
-
-src/modules/CMakeFiles/modMove.dir/modMove.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modMove.dir/modMove.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/modules/modMove.c -o CMakeFiles/modMove.dir/modMove.c.s
-
-src/modules/CMakeFiles/modMove.dir/modMove.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modMove.dir/modMove.c.o.requires
-
-src/modules/CMakeFiles/modMove.dir/modMove.c.o.provides: src/modules/CMakeFiles/modMove.dir/modMove.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/modMove.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modMove.dir/modMove.c.o.provides
-
-src/modules/CMakeFiles/modMove.dir/modMove.c.o.provides.build: src/modules/CMakeFiles/modMove.dir/modMove.c.o
-.PHONY : src/modules/CMakeFiles/modMove.dir/modMove.c.o.provides.build
-
-# Object files for target modMove
-modMove_OBJECTS = \
-"CMakeFiles/modMove.dir/__/base/list.c.o" \
-"CMakeFiles/modMove.dir/__/base/space.c.o" \
-"CMakeFiles/modMove.dir/__/base/index.c.o" \
-"CMakeFiles/modMove.dir/modMove.c.o"
-
-# External object files for target modMove
-modMove_EXTERNAL_OBJECTS =
-
-src/modules/libmodMove.so: src/modules/CMakeFiles/modMove.dir/__/base/list.c.o
-src/modules/libmodMove.so: src/modules/CMakeFiles/modMove.dir/__/base/space.c.o
-src/modules/libmodMove.so: src/modules/CMakeFiles/modMove.dir/__/base/index.c.o
-src/modules/libmodMove.so: src/modules/CMakeFiles/modMove.dir/modMove.c.o
-src/modules/libmodMove.so: /usr/lib64/libzzip.so
-src/modules/libmodMove.so: /usr/lib64/libSDLmain.a
-src/modules/libmodMove.so: /usr/lib64/libSDL.so
-src/modules/libmodMove.so: /usr/lib64/libSDL_mixer.so
-src/modules/libmodMove.so: /usr/lib64/libSDL_image.so
-src/modules/libmodMove.so: /usr/lib64/libSDL_ttf.so
-src/modules/libmodMove.so: src/modules/CMakeFiles/modMove.dir/build.make
-src/modules/libmodMove.so: src/modules/CMakeFiles/modMove.dir/link.txt
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C shared library libmodMove.so"
- cd /home/scarab/tuxanci/build/src/modules && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/modMove.dir/link.txt --verbose=$(VERBOSE)
-
-# Rule to build all files generated by this target.
-src/modules/CMakeFiles/modMove.dir/build: src/modules/libmodMove.so
-.PHONY : src/modules/CMakeFiles/modMove.dir/build
-
-src/modules/CMakeFiles/modMove.dir/requires: src/modules/CMakeFiles/modMove.dir/__/base/list.c.o.requires
-src/modules/CMakeFiles/modMove.dir/requires: src/modules/CMakeFiles/modMove.dir/__/base/space.c.o.requires
-src/modules/CMakeFiles/modMove.dir/requires: src/modules/CMakeFiles/modMove.dir/__/base/index.c.o.requires
-src/modules/CMakeFiles/modMove.dir/requires: src/modules/CMakeFiles/modMove.dir/modMove.c.o.requires
-.PHONY : src/modules/CMakeFiles/modMove.dir/requires
-
-src/modules/CMakeFiles/modMove.dir/clean:
- cd /home/scarab/tuxanci/build/src/modules && $(CMAKE_COMMAND) -P CMakeFiles/modMove.dir/cmake_clean.cmake
-.PHONY : src/modules/CMakeFiles/modMove.dir/clean
-
-src/modules/CMakeFiles/modMove.dir/depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/scarab/tuxanci /home/scarab/tuxanci/src/modules /home/scarab/tuxanci/build /home/scarab/tuxanci/build/src/modules /home/scarab/tuxanci/build/src/modules/CMakeFiles/modMove.dir/DependInfo.cmake --color=$(COLOR)
-.PHONY : src/modules/CMakeFiles/modMove.dir/depend
-
diff --git a/build/src/modules/CMakeFiles/modMove.dir/cmake_clean.cmake b/build/src/modules/CMakeFiles/modMove.dir/cmake_clean.cmake
deleted file mode 100644
index 0aa3b95..0000000
--- a/build/src/modules/CMakeFiles/modMove.dir/cmake_clean.cmake
+++ /dev/null
@@ -1,14 +0,0 @@
-FILE(REMOVE_RECURSE
- "CMakeFiles/modMove.dir/__/base/list.c.o"
- "CMakeFiles/modMove.dir/__/base/space.c.o"
- "CMakeFiles/modMove.dir/__/base/index.c.o"
- "CMakeFiles/modMove.dir/modMove.c.o"
- "libmodMove.pdb"
- "libmodMove.a"
- "libmodMove.so"
-)
-
-# Per-language clean rules from dependency scanning.
-FOREACH(lang C)
- INCLUDE(CMakeFiles/modMove.dir/cmake_clean_${lang}.cmake OPTIONAL)
-ENDFOREACH(lang)
diff --git a/build/src/modules/CMakeFiles/modMove.dir/depend.internal b/build/src/modules/CMakeFiles/modMove.dir/depend.internal
deleted file mode 100644
index 90e822f..0000000
--- a/build/src/modules/CMakeFiles/modMove.dir/depend.internal
+++ /dev/null
@@ -1,85 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-src/modules/CMakeFiles/modMove.dir/__/base/index.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/index.c
- /home/scarab/tuxanci/src/base/index.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modMove.dir/__/base/list.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/list.c
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modMove.dir/__/base/space.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/index.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/space.c
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o
- ../src/base/arena.h
- ../src/base/arenaFile.h
- ../src/base/bool.h
- ../src/base/buffer.h
- ../src/base/gun.h
- ../src/base/item.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/modules.h
- ../src/base/myTimer.h
- ../src/base/net_multiplayer.h
- ../src/base/path.h
- ../src/base/protect.h
- ../src/base/proto.h
- ../src/base/server.h
- ../src/base/serverSendMsg.h
- ../src/base/shot.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/client/client.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/modules/modMove.c
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
diff --git a/build/src/modules/CMakeFiles/modMove.dir/depend.make b/build/src/modules/CMakeFiles/modMove.dir/depend.make
deleted file mode 100644
index 23a0aeb..0000000
--- a/build/src/modules/CMakeFiles/modMove.dir/depend.make
+++ /dev/null
@@ -1,85 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-src/modules/CMakeFiles/modMove.dir/__/base/index.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modMove.dir/__/base/index.c.o: ../src/base/index.c
-src/modules/CMakeFiles/modMove.dir/__/base/index.c.o: ../src/base/index.h
-src/modules/CMakeFiles/modMove.dir/__/base/index.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modMove.dir/__/base/index.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modMove.dir/__/base/index.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modMove.dir/__/base/index.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modMove.dir/__/base/list.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modMove.dir/__/base/list.c.o: ../src/base/list.c
-src/modules/CMakeFiles/modMove.dir/__/base/list.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modMove.dir/__/base/list.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modMove.dir/__/base/list.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modMove.dir/__/base/list.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modMove.dir/__/base/space.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modMove.dir/__/base/space.c.o: ../src/base/index.h
-src/modules/CMakeFiles/modMove.dir/__/base/space.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modMove.dir/__/base/space.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modMove.dir/__/base/space.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modMove.dir/__/base/space.c.o: ../src/base/space.c
-src/modules/CMakeFiles/modMove.dir/__/base/space.c.o: ../src/base/space.h
-src/modules/CMakeFiles/modMove.dir/__/base/space.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/arena.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/arenaFile.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/buffer.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/gun.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/item.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/modules.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/myTimer.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/net_multiplayer.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/protect.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/proto.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/server.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/serverSendMsg.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/shot.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/space.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/string_length.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/textFile.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/base/tux.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/client/client.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/client/image.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/client/interface.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/net/udp.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/screen/screen_choiceArena.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/screen/screen_setting.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/screen/screen_world.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: ../src/modules/modMove.c
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_active.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_audio.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_cdrom.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_config.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_endian.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_error.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_events.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_image.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_joystick.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_keyboard.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_keysym.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_loadso.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_main.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_mouse.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_mutex.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_net.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_platform.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_quit.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_rwops.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_stdinc.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_thread.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_timer.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_version.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/SDL_video.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/begin_code.h
-src/modules/CMakeFiles/modMove.dir/modMove.c.o: /usr/include/SDL/close_code.h
-
diff --git a/build/src/modules/CMakeFiles/modMove.dir/flags.make b/build/src/modules/CMakeFiles/modMove.dir/flags.make
deleted file mode 100644
index f2b975d..0000000
--- a/build/src/modules/CMakeFiles/modMove.dir/flags.make
+++ /dev/null
@@ -1,8 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# compile C with /usr/bin/gcc
-C_FLAGS = -DmodMove_EXPORTS -fPIC -I/home/scarab/tuxanci/src/base -I/home/scarab/tuxanci/src/net -I/home/scarab/tuxanci/src/client -I/home/scarab/tuxanci/src/screen -I/home/scarab/tuxanci/src/widget -I/usr/include/SDL -I/home/scarab/tuxanci/src/audio
-
-C_DEFINES =
-
diff --git a/build/src/modules/CMakeFiles/modMove.dir/link.txt b/build/src/modules/CMakeFiles/modMove.dir/link.txt
deleted file mode 100644
index f0e8138..0000000
--- a/build/src/modules/CMakeFiles/modMove.dir/link.txt
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/gcc -fPIC -shared -Wl,-soname,libmodMove.so -o libmodMove.so CMakeFiles/modMove.dir/__/base/list.c.o CMakeFiles/modMove.dir/__/base/space.c.o CMakeFiles/modMove.dir/__/base/index.c.o CMakeFiles/modMove.dir/modMove.c.o -lzzip -Wl,-Bstatic -lSDLmain -Wl,-Bdynamic -lSDL -lpthread -lSDL_mixer -lSDL_image -lSDL_ttf -lSDLmain -ldl
diff --git a/build/src/modules/CMakeFiles/modMove.dir/modMove.c.o b/build/src/modules/CMakeFiles/modMove.dir/modMove.c.o
deleted file mode 100644
index e7cc0ae..0000000
--- a/build/src/modules/CMakeFiles/modMove.dir/modMove.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modMove.dir/progress.make b/build/src/modules/CMakeFiles/modMove.dir/progress.make
deleted file mode 100644
index 009b874..0000000
--- a/build/src/modules/CMakeFiles/modMove.dir/progress.make
+++ /dev/null
@@ -1,5 +0,0 @@
-CMAKE_PROGRESS_1 = 81
-CMAKE_PROGRESS_2 = 82
-CMAKE_PROGRESS_3 = 83
-CMAKE_PROGRESS_4 = 84
-
diff --git a/build/src/modules/CMakeFiles/modPipe.dir/C.includecache b/build/src/modules/CMakeFiles/modPipe.dir/C.includecache
deleted file mode 100644
index 7f5d9a0..0000000
--- a/build/src/modules/CMakeFiles/modPipe.dir/C.includecache
+++ /dev/null
@@ -1,698 +0,0 @@
-#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
-
-#IncludeRegexScan: ^.*$
-
-#IncludeRegexComplain: ^$
-
-#IncludeRegexTransform:
-
-../src/base/arena.h
-main.h
-../src/base/main.h
-image.h
-../src/base/image.h
-list.h
-../src/base/list.h
-space.h
-../src/base/space.h
-
-../src/base/arenaFile.h
-main.h
-../src/base/main.h
-arena.h
-../src/base/arena.h
-textFile.h
-../src/base/textFile.h
-
-../src/base/bool.h
-main.h
-../src/base/main.h
-
-../src/base/buffer.h
-
-../src/base/gun.h
-main.h
-../src/base/main.h
-tux.h
-../src/base/tux.h
-
-../src/base/item.h
-main.h
-../src/base/main.h
-image.h
-../src/base/image.h
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-myTimer.h
-../src/base/myTimer.h
-
-../src/base/list.h
-main.h
-../src/base/main.h
-
-../src/base/main.h
-libintl.h
--
-locale.h
--
-bool.h
-../src/base/bool.h
-string_length.h
-../src/base/string_length.h
-path.h
-../src/base/path.h
-
-../src/base/modules.h
-tux.h
-../src/base/tux.h
-shot.h
-../src/base/shot.h
-arena.h
-../src/base/arena.h
-proto.h
-../src/base/proto.h
-myTimer.h
-../src/base/myTimer.h
-image.h
-../src/base/image.h
-
-../src/base/myTimer.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-
-../src/base/net_multiplayer.h
-main.h
-../src/base/main.h
-tux.h
-../src/base/tux.h
-item.h
-../src/base/item.h
-arena.h
-../src/base/arena.h
-
-../src/base/path.h
-main.h
-../src/base/main.h
-
-../src/base/protect.h
-main.h
-../src/base/main.h
-myTimer.h
-../src/base/myTimer.h
-
-../src/base/proto.h
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-item.h
-../src/base/item.h
-shot.h
-../src/base/shot.h
-arenaFile.h
-../src/base/arenaFile.h
-myTimer.h
-../src/base/myTimer.h
-server.h
-../src/base/server.h
-net_multiplayer.h
-../src/base/net_multiplayer.h
-screen_world.h
-../src/base/screen_world.h
-screen_setting.h
-../src/base/screen_setting.h
-screen_choiceArena.h
-../src/base/screen_choiceArena.h
-client.h
-../src/base/client.h
-publicServer.h
-../src/base/publicServer.h
-
-../src/base/server.h
-time.h
--
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-myTimer.h
-../src/base/myTimer.h
-protect.h
-../src/base/protect.h
-buffer.h
-../src/base/buffer.h
-interface.h
-../src/base/interface.h
-udp.h
-../src/base/udp.h
-
-../src/base/shot.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-arena.h
-../src/base/arena.h
-image.h
-../src/base/image.h
-
-../src/base/space.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-
-../src/base/string_length.h
-main.h
-../src/base/main.h
-
-../src/base/textFile.h
-list.h
-../src/base/list.h
-
-../src/base/tux.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-arena.h
-../src/base/arena.h
-
-../src/client/client.h
-main.h
-../src/client/main.h
-
-../src/client/image.h
-interface.h
-../src/client/interface.h
-
-../src/client/interface.h
-stdio.h
--
-string.h
--
-time.h
--
-SDL.h
--
-SDL_image.h
--
-SDL_thread.h
--
-main.h
-../src/client/main.h
-SDL_net.h
--
-
-../src/net/udp.h
-netinet/in.h
--
-windows.h
--
-wininet.h
--
-
-../src/screen/screen_choiceArena.h
-main.h
-../src/screen/main.h
-arenaFile.h
-../src/screen/arenaFile.h
-
-../src/screen/screen_setting.h
-main.h
-../src/screen/main.h
-
-../src/screen/screen_world.h
-main.h
-../src/screen/main.h
-myTimer.h
-../src/screen/myTimer.h
-tux.h
-../src/screen/tux.h
-arenaFile.h
-../src/screen/arenaFile.h
-arena.h
-../src/screen/arena.h
-
-/home/scarab/tuxanci/src/base/bool.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/index.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-index.h
-/home/scarab/tuxanci/src/base/index.h
-
-/home/scarab/tuxanci/src/base/index.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/list.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/list.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/main.h
-libintl.h
--
-locale.h
--
-bool.h
-/home/scarab/tuxanci/src/base/bool.h
-string_length.h
-/home/scarab/tuxanci/src/base/string_length.h
-path.h
-/home/scarab/tuxanci/src/base/path.h
-
-/home/scarab/tuxanci/src/base/path.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/space.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-space.h
-/home/scarab/tuxanci/src/base/space.h
-index.h
-/home/scarab/tuxanci/src/base/index.h
-
-/home/scarab/tuxanci/src/base/space.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/string_length.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/modules/modPipe.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/modules/main.h
-modules.h
-/home/scarab/tuxanci/src/modules/modules.h
-tux.h
-/home/scarab/tuxanci/src/modules/tux.h
-shot.h
-/home/scarab/tuxanci/src/modules/shot.h
-list.h
-/home/scarab/tuxanci/src/modules/list.h
-gun.h
-/home/scarab/tuxanci/src/modules/gun.h
-space.h
-/home/scarab/tuxanci/src/modules/space.h
-interface.h
-/home/scarab/tuxanci/src/modules/interface.h
-image.h
-/home/scarab/tuxanci/src/modules/image.h
-publicServer.h
-/home/scarab/tuxanci/src/modules/publicServer.h
-
-/usr/include/SDL/SDL.h
-SDL_main.h
-/usr/include/SDL/SDL_main.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_audio.h
-/usr/include/SDL/SDL_audio.h
-SDL_cdrom.h
-/usr/include/SDL/SDL_cdrom.h
-SDL_cpuinfo.h
-/usr/include/SDL/SDL_cpuinfo.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_events.h
-/usr/include/SDL/SDL_events.h
-SDL_loadso.h
-/usr/include/SDL/SDL_loadso.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-SDL_thread.h
-/usr/include/SDL/SDL_thread.h
-SDL_timer.h
-/usr/include/SDL/SDL_timer.h
-SDL_video.h
-/usr/include/SDL/SDL_video.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_active.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_audio.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-SDL_thread.h
-/usr/include/SDL/SDL_thread.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_cdrom.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_config.h
-SDL_platform.h
-/usr/include/SDL/SDL_platform.h
-stdarg.h
--
-
-/usr/include/SDL/SDL_cpuinfo.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_endian.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_error.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_events.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_active.h
-/usr/include/SDL/SDL_active.h
-SDL_keyboard.h
-/usr/include/SDL/SDL_keyboard.h
-SDL_mouse.h
-/usr/include/SDL/SDL_mouse.h
-SDL_joystick.h
-/usr/include/SDL/SDL_joystick.h
-SDL_quit.h
-/usr/include/SDL/SDL_quit.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_image.h
-SDL.h
-/usr/include/SDL/SDL.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_joystick.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_keyboard.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_keysym.h
-/usr/include/SDL/SDL_keysym.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_keysym.h
-
-/usr/include/SDL/SDL_loadso.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_main.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_mouse.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_video.h
-/usr/include/SDL/SDL_video.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_mutex.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_net.h
-SDL.h
-/usr/include/SDL/SDL.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_platform.h
-
-/usr/include/SDL/SDL_quit.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-
-/usr/include/SDL/SDL_rwops.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_stdinc.h
-SDL_config.h
-/usr/include/SDL/SDL_config.h
-sys/types.h
--
-stdio.h
--
-stdlib.h
--
-stddef.h
--
-stdarg.h
--
-stdlib.h
--
-malloc.h
--
-stddef.h
--
-stdarg.h
--
-memory.h
--
-string.h
--
-strings.h
--
-inttypes.h
--
-stdint.h
--
-ctype.h
--
-iconv.h
--
-begin_code.h
-/usr/include/SDL/begin_code.h
-alloca.h
--
-malloc.h
--
-malloc.h
--
-malloc.h
--
-stdlib.h
--
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_thread.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-process.h
--
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_timer.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_version.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_video.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/begin_code.h
-
-/usr/include/SDL/close_code.h
-
diff --git a/build/src/modules/CMakeFiles/modPipe.dir/DependInfo.cmake b/build/src/modules/CMakeFiles/modPipe.dir/DependInfo.cmake
deleted file mode 100644
index 87146fd..0000000
--- a/build/src/modules/CMakeFiles/modPipe.dir/DependInfo.cmake
+++ /dev/null
@@ -1,16 +0,0 @@
-# The set of languages for which implicit dependencies are needed:
-SET(CMAKE_DEPENDS_LANGUAGES
- "C"
- )
-# The set of files for implicit dependencies of each language:
-SET(CMAKE_DEPENDS_CHECK_C
- "/home/scarab/tuxanci/src/base/index.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o"
- "/home/scarab/tuxanci/src/base/list.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o"
- "/home/scarab/tuxanci/src/base/space.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o"
- "/home/scarab/tuxanci/src/modules/modPipe.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modPipe.dir/modPipe.c.o"
- )
-SET(CMAKE_C_COMPILER_ID "GNU")
-
-# Targets to which this target links.
-SET(CMAKE_TARGET_LINKED_INFO_FILES
- )
diff --git a/build/src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o b/build/src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o
deleted file mode 100644
index 88dbb6b..0000000
--- a/build/src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o b/build/src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o
deleted file mode 100644
index 5264aeb..0000000
--- a/build/src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o b/build/src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o
deleted file mode 100644
index 1bfa92f..0000000
--- a/build/src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modPipe.dir/build.make b/build/src/modules/CMakeFiles/modPipe.dir/build.make
deleted file mode 100644
index 31660b7..0000000
--- a/build/src/modules/CMakeFiles/modPipe.dir/build.make
+++ /dev/null
@@ -1,190 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-# Include any dependencies generated for this target.
-include src/modules/CMakeFiles/modPipe.dir/depend.make
-
-# Include the progress variables for this target.
-include src/modules/CMakeFiles/modPipe.dir/progress.make
-
-# Include the compile flags for this target's objects.
-include src/modules/CMakeFiles/modPipe.dir/flags.make
-
-src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o: src/modules/CMakeFiles/modPipe.dir/flags.make
-src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o: ../src/base/list.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_1)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modPipe.dir/__/base/list.c.o -c /home/scarab/tuxanci/src/base/list.c
-
-src/modules/CMakeFiles/modPipe.dir/__/base/list.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modPipe.dir/__/base/list.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/list.c > CMakeFiles/modPipe.dir/__/base/list.c.i
-
-src/modules/CMakeFiles/modPipe.dir/__/base/list.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modPipe.dir/__/base/list.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/list.c -o CMakeFiles/modPipe.dir/__/base/list.c.s
-
-src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o.requires
-
-src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o.provides: src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o.provides
-
-src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o.provides.build: src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o
-.PHONY : src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o.provides.build
-
-src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o: src/modules/CMakeFiles/modPipe.dir/flags.make
-src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o: ../src/base/space.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_2)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modPipe.dir/__/base/space.c.o -c /home/scarab/tuxanci/src/base/space.c
-
-src/modules/CMakeFiles/modPipe.dir/__/base/space.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modPipe.dir/__/base/space.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/space.c > CMakeFiles/modPipe.dir/__/base/space.c.i
-
-src/modules/CMakeFiles/modPipe.dir/__/base/space.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modPipe.dir/__/base/space.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/space.c -o CMakeFiles/modPipe.dir/__/base/space.c.s
-
-src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o.requires
-
-src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o.provides: src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o.provides
-
-src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o.provides.build: src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o
-.PHONY : src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o.provides.build
-
-src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o: src/modules/CMakeFiles/modPipe.dir/flags.make
-src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o: ../src/base/index.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_3)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modPipe.dir/__/base/index.c.o -c /home/scarab/tuxanci/src/base/index.c
-
-src/modules/CMakeFiles/modPipe.dir/__/base/index.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modPipe.dir/__/base/index.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/index.c > CMakeFiles/modPipe.dir/__/base/index.c.i
-
-src/modules/CMakeFiles/modPipe.dir/__/base/index.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modPipe.dir/__/base/index.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/index.c -o CMakeFiles/modPipe.dir/__/base/index.c.s
-
-src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o.requires
-
-src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o.provides: src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o.provides
-
-src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o.provides.build: src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o
-.PHONY : src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o.provides.build
-
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: src/modules/CMakeFiles/modPipe.dir/flags.make
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/modules/modPipe.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_4)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modPipe.dir/modPipe.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modPipe.dir/modPipe.c.o -c /home/scarab/tuxanci/src/modules/modPipe.c
-
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modPipe.dir/modPipe.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/modules/modPipe.c > CMakeFiles/modPipe.dir/modPipe.c.i
-
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modPipe.dir/modPipe.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/modules/modPipe.c -o CMakeFiles/modPipe.dir/modPipe.c.s
-
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modPipe.dir/modPipe.c.o.requires
-
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o.provides: src/modules/CMakeFiles/modPipe.dir/modPipe.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/modPipe.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modPipe.dir/modPipe.c.o.provides
-
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o.provides.build: src/modules/CMakeFiles/modPipe.dir/modPipe.c.o
-.PHONY : src/modules/CMakeFiles/modPipe.dir/modPipe.c.o.provides.build
-
-# Object files for target modPipe
-modPipe_OBJECTS = \
-"CMakeFiles/modPipe.dir/__/base/list.c.o" \
-"CMakeFiles/modPipe.dir/__/base/space.c.o" \
-"CMakeFiles/modPipe.dir/__/base/index.c.o" \
-"CMakeFiles/modPipe.dir/modPipe.c.o"
-
-# External object files for target modPipe
-modPipe_EXTERNAL_OBJECTS =
-
-src/modules/libmodPipe.so: src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o
-src/modules/libmodPipe.so: src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o
-src/modules/libmodPipe.so: src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o
-src/modules/libmodPipe.so: src/modules/CMakeFiles/modPipe.dir/modPipe.c.o
-src/modules/libmodPipe.so: /usr/lib64/libzzip.so
-src/modules/libmodPipe.so: /usr/lib64/libSDLmain.a
-src/modules/libmodPipe.so: /usr/lib64/libSDL.so
-src/modules/libmodPipe.so: /usr/lib64/libSDL_mixer.so
-src/modules/libmodPipe.so: /usr/lib64/libSDL_image.so
-src/modules/libmodPipe.so: /usr/lib64/libSDL_ttf.so
-src/modules/libmodPipe.so: src/modules/CMakeFiles/modPipe.dir/build.make
-src/modules/libmodPipe.so: src/modules/CMakeFiles/modPipe.dir/link.txt
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C shared library libmodPipe.so"
- cd /home/scarab/tuxanci/build/src/modules && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/modPipe.dir/link.txt --verbose=$(VERBOSE)
-
-# Rule to build all files generated by this target.
-src/modules/CMakeFiles/modPipe.dir/build: src/modules/libmodPipe.so
-.PHONY : src/modules/CMakeFiles/modPipe.dir/build
-
-src/modules/CMakeFiles/modPipe.dir/requires: src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o.requires
-src/modules/CMakeFiles/modPipe.dir/requires: src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o.requires
-src/modules/CMakeFiles/modPipe.dir/requires: src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o.requires
-src/modules/CMakeFiles/modPipe.dir/requires: src/modules/CMakeFiles/modPipe.dir/modPipe.c.o.requires
-.PHONY : src/modules/CMakeFiles/modPipe.dir/requires
-
-src/modules/CMakeFiles/modPipe.dir/clean:
- cd /home/scarab/tuxanci/build/src/modules && $(CMAKE_COMMAND) -P CMakeFiles/modPipe.dir/cmake_clean.cmake
-.PHONY : src/modules/CMakeFiles/modPipe.dir/clean
-
-src/modules/CMakeFiles/modPipe.dir/depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/scarab/tuxanci /home/scarab/tuxanci/src/modules /home/scarab/tuxanci/build /home/scarab/tuxanci/build/src/modules /home/scarab/tuxanci/build/src/modules/CMakeFiles/modPipe.dir/DependInfo.cmake --color=$(COLOR)
-.PHONY : src/modules/CMakeFiles/modPipe.dir/depend
-
diff --git a/build/src/modules/CMakeFiles/modPipe.dir/cmake_clean.cmake b/build/src/modules/CMakeFiles/modPipe.dir/cmake_clean.cmake
deleted file mode 100644
index 203689b..0000000
--- a/build/src/modules/CMakeFiles/modPipe.dir/cmake_clean.cmake
+++ /dev/null
@@ -1,14 +0,0 @@
-FILE(REMOVE_RECURSE
- "CMakeFiles/modPipe.dir/__/base/list.c.o"
- "CMakeFiles/modPipe.dir/__/base/space.c.o"
- "CMakeFiles/modPipe.dir/__/base/index.c.o"
- "CMakeFiles/modPipe.dir/modPipe.c.o"
- "libmodPipe.pdb"
- "libmodPipe.a"
- "libmodPipe.so"
-)
-
-# Per-language clean rules from dependency scanning.
-FOREACH(lang C)
- INCLUDE(CMakeFiles/modPipe.dir/cmake_clean_${lang}.cmake OPTIONAL)
-ENDFOREACH(lang)
diff --git a/build/src/modules/CMakeFiles/modPipe.dir/depend.internal b/build/src/modules/CMakeFiles/modPipe.dir/depend.internal
deleted file mode 100644
index 53682f5..0000000
--- a/build/src/modules/CMakeFiles/modPipe.dir/depend.internal
+++ /dev/null
@@ -1,84 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/index.c
- /home/scarab/tuxanci/src/base/index.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/list.c
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/index.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/space.c
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o
- ../src/base/arena.h
- ../src/base/arenaFile.h
- ../src/base/bool.h
- ../src/base/buffer.h
- ../src/base/gun.h
- ../src/base/item.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/modules.h
- ../src/base/myTimer.h
- ../src/base/net_multiplayer.h
- ../src/base/path.h
- ../src/base/protect.h
- ../src/base/proto.h
- ../src/base/server.h
- ../src/base/shot.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/client/client.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/modules/modPipe.c
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
diff --git a/build/src/modules/CMakeFiles/modPipe.dir/depend.make b/build/src/modules/CMakeFiles/modPipe.dir/depend.make
deleted file mode 100644
index feaa030..0000000
--- a/build/src/modules/CMakeFiles/modPipe.dir/depend.make
+++ /dev/null
@@ -1,84 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o: ../src/base/index.c
-src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o: ../src/base/index.h
-src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o: ../src/base/list.c
-src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o: ../src/base/index.h
-src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o: ../src/base/space.c
-src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o: ../src/base/space.h
-src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/arena.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/arenaFile.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/buffer.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/gun.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/item.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/modules.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/myTimer.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/net_multiplayer.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/protect.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/proto.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/server.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/shot.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/space.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/string_length.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/textFile.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/base/tux.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/client/client.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/client/image.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/client/interface.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/net/udp.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/screen/screen_choiceArena.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/screen/screen_setting.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/screen/screen_world.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: ../src/modules/modPipe.c
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_active.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_audio.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_cdrom.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_config.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_endian.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_error.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_events.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_image.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_joystick.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_keyboard.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_keysym.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_loadso.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_main.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_mouse.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_mutex.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_net.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_platform.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_quit.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_rwops.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_stdinc.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_thread.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_timer.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_version.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/SDL_video.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/begin_code.h
-src/modules/CMakeFiles/modPipe.dir/modPipe.c.o: /usr/include/SDL/close_code.h
-
diff --git a/build/src/modules/CMakeFiles/modPipe.dir/flags.make b/build/src/modules/CMakeFiles/modPipe.dir/flags.make
deleted file mode 100644
index 7d8fcd5..0000000
--- a/build/src/modules/CMakeFiles/modPipe.dir/flags.make
+++ /dev/null
@@ -1,8 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# compile C with /usr/bin/gcc
-C_FLAGS = -DmodPipe_EXPORTS -fPIC -I/home/scarab/tuxanci/src/base -I/home/scarab/tuxanci/src/net -I/home/scarab/tuxanci/src/client -I/home/scarab/tuxanci/src/screen -I/home/scarab/tuxanci/src/widget -I/usr/include/SDL -I/home/scarab/tuxanci/src/audio
-
-C_DEFINES =
-
diff --git a/build/src/modules/CMakeFiles/modPipe.dir/link.txt b/build/src/modules/CMakeFiles/modPipe.dir/link.txt
deleted file mode 100644
index cc033fe..0000000
--- a/build/src/modules/CMakeFiles/modPipe.dir/link.txt
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/gcc -fPIC -shared -Wl,-soname,libmodPipe.so -o libmodPipe.so CMakeFiles/modPipe.dir/__/base/list.c.o CMakeFiles/modPipe.dir/__/base/space.c.o CMakeFiles/modPipe.dir/__/base/index.c.o CMakeFiles/modPipe.dir/modPipe.c.o -lzzip -Wl,-Bstatic -lSDLmain -Wl,-Bdynamic -lSDL -lpthread -lSDL_mixer -lSDL_image -lSDL_ttf -lSDLmain -ldl
diff --git a/build/src/modules/CMakeFiles/modPipe.dir/modPipe.c.o b/build/src/modules/CMakeFiles/modPipe.dir/modPipe.c.o
deleted file mode 100644
index 5809008..0000000
--- a/build/src/modules/CMakeFiles/modPipe.dir/modPipe.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modPipe.dir/progress.make b/build/src/modules/CMakeFiles/modPipe.dir/progress.make
deleted file mode 100644
index 283c350..0000000
--- a/build/src/modules/CMakeFiles/modPipe.dir/progress.make
+++ /dev/null
@@ -1,5 +0,0 @@
-CMAKE_PROGRESS_1 = 85
-CMAKE_PROGRESS_2 = 86
-CMAKE_PROGRESS_3 = 87
-CMAKE_PROGRESS_4 = 88
-
diff --git a/build/src/modules/CMakeFiles/modTeleport.dir/C.includecache b/build/src/modules/CMakeFiles/modTeleport.dir/C.includecache
deleted file mode 100644
index b1772f0..0000000
--- a/build/src/modules/CMakeFiles/modTeleport.dir/C.includecache
+++ /dev/null
@@ -1,698 +0,0 @@
-#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
-
-#IncludeRegexScan: ^.*$
-
-#IncludeRegexComplain: ^$
-
-#IncludeRegexTransform:
-
-../src/base/arena.h
-main.h
-../src/base/main.h
-image.h
-../src/base/image.h
-list.h
-../src/base/list.h
-space.h
-../src/base/space.h
-
-../src/base/arenaFile.h
-main.h
-../src/base/main.h
-arena.h
-../src/base/arena.h
-textFile.h
-../src/base/textFile.h
-
-../src/base/bool.h
-main.h
-../src/base/main.h
-
-../src/base/buffer.h
-
-../src/base/gun.h
-main.h
-../src/base/main.h
-tux.h
-../src/base/tux.h
-
-../src/base/item.h
-main.h
-../src/base/main.h
-image.h
-../src/base/image.h
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-myTimer.h
-../src/base/myTimer.h
-
-../src/base/list.h
-main.h
-../src/base/main.h
-
-../src/base/main.h
-libintl.h
--
-locale.h
--
-bool.h
-../src/base/bool.h
-string_length.h
-../src/base/string_length.h
-path.h
-../src/base/path.h
-
-../src/base/modules.h
-tux.h
-../src/base/tux.h
-shot.h
-../src/base/shot.h
-arena.h
-../src/base/arena.h
-proto.h
-../src/base/proto.h
-myTimer.h
-../src/base/myTimer.h
-image.h
-../src/base/image.h
-
-../src/base/myTimer.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-
-../src/base/net_multiplayer.h
-main.h
-../src/base/main.h
-tux.h
-../src/base/tux.h
-item.h
-../src/base/item.h
-arena.h
-../src/base/arena.h
-
-../src/base/path.h
-main.h
-../src/base/main.h
-
-../src/base/protect.h
-main.h
-../src/base/main.h
-myTimer.h
-../src/base/myTimer.h
-
-../src/base/proto.h
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-item.h
-../src/base/item.h
-shot.h
-../src/base/shot.h
-arenaFile.h
-../src/base/arenaFile.h
-myTimer.h
-../src/base/myTimer.h
-server.h
-../src/base/server.h
-net_multiplayer.h
-../src/base/net_multiplayer.h
-screen_world.h
-../src/base/screen_world.h
-screen_setting.h
-../src/base/screen_setting.h
-screen_choiceArena.h
-../src/base/screen_choiceArena.h
-client.h
-../src/base/client.h
-publicServer.h
-../src/base/publicServer.h
-
-../src/base/server.h
-time.h
--
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-myTimer.h
-../src/base/myTimer.h
-protect.h
-../src/base/protect.h
-buffer.h
-../src/base/buffer.h
-interface.h
-../src/base/interface.h
-udp.h
-../src/base/udp.h
-
-../src/base/shot.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-arena.h
-../src/base/arena.h
-image.h
-../src/base/image.h
-
-../src/base/space.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-
-../src/base/string_length.h
-main.h
-../src/base/main.h
-
-../src/base/textFile.h
-list.h
-../src/base/list.h
-
-../src/base/tux.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-arena.h
-../src/base/arena.h
-
-../src/client/client.h
-main.h
-../src/client/main.h
-
-../src/client/image.h
-interface.h
-../src/client/interface.h
-
-../src/client/interface.h
-stdio.h
--
-string.h
--
-time.h
--
-SDL.h
--
-SDL_image.h
--
-SDL_thread.h
--
-main.h
-../src/client/main.h
-SDL_net.h
--
-
-../src/net/udp.h
-netinet/in.h
--
-windows.h
--
-wininet.h
--
-
-../src/screen/screen_choiceArena.h
-main.h
-../src/screen/main.h
-arenaFile.h
-../src/screen/arenaFile.h
-
-../src/screen/screen_setting.h
-main.h
-../src/screen/main.h
-
-../src/screen/screen_world.h
-main.h
-../src/screen/main.h
-myTimer.h
-../src/screen/myTimer.h
-tux.h
-../src/screen/tux.h
-arenaFile.h
-../src/screen/arenaFile.h
-arena.h
-../src/screen/arena.h
-
-/home/scarab/tuxanci/src/base/bool.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/index.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-index.h
-/home/scarab/tuxanci/src/base/index.h
-
-/home/scarab/tuxanci/src/base/index.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/list.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/list.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/main.h
-libintl.h
--
-locale.h
--
-bool.h
-/home/scarab/tuxanci/src/base/bool.h
-string_length.h
-/home/scarab/tuxanci/src/base/string_length.h
-path.h
-/home/scarab/tuxanci/src/base/path.h
-
-/home/scarab/tuxanci/src/base/path.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/space.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-space.h
-/home/scarab/tuxanci/src/base/space.h
-index.h
-/home/scarab/tuxanci/src/base/index.h
-
-/home/scarab/tuxanci/src/base/space.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/string_length.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/modules/modTeleport.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/modules/main.h
-modules.h
-/home/scarab/tuxanci/src/modules/modules.h
-tux.h
-/home/scarab/tuxanci/src/modules/tux.h
-shot.h
-/home/scarab/tuxanci/src/modules/shot.h
-list.h
-/home/scarab/tuxanci/src/modules/list.h
-gun.h
-/home/scarab/tuxanci/src/modules/gun.h
-space.h
-/home/scarab/tuxanci/src/modules/space.h
-interface.h
-/home/scarab/tuxanci/src/modules/interface.h
-image.h
-/home/scarab/tuxanci/src/modules/image.h
-publicServer.h
-/home/scarab/tuxanci/src/modules/publicServer.h
-
-/usr/include/SDL/SDL.h
-SDL_main.h
-/usr/include/SDL/SDL_main.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_audio.h
-/usr/include/SDL/SDL_audio.h
-SDL_cdrom.h
-/usr/include/SDL/SDL_cdrom.h
-SDL_cpuinfo.h
-/usr/include/SDL/SDL_cpuinfo.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_events.h
-/usr/include/SDL/SDL_events.h
-SDL_loadso.h
-/usr/include/SDL/SDL_loadso.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-SDL_thread.h
-/usr/include/SDL/SDL_thread.h
-SDL_timer.h
-/usr/include/SDL/SDL_timer.h
-SDL_video.h
-/usr/include/SDL/SDL_video.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_active.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_audio.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-SDL_thread.h
-/usr/include/SDL/SDL_thread.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_cdrom.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_config.h
-SDL_platform.h
-/usr/include/SDL/SDL_platform.h
-stdarg.h
--
-
-/usr/include/SDL/SDL_cpuinfo.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_endian.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_error.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_events.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_active.h
-/usr/include/SDL/SDL_active.h
-SDL_keyboard.h
-/usr/include/SDL/SDL_keyboard.h
-SDL_mouse.h
-/usr/include/SDL/SDL_mouse.h
-SDL_joystick.h
-/usr/include/SDL/SDL_joystick.h
-SDL_quit.h
-/usr/include/SDL/SDL_quit.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_image.h
-SDL.h
-/usr/include/SDL/SDL.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_joystick.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_keyboard.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_keysym.h
-/usr/include/SDL/SDL_keysym.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_keysym.h
-
-/usr/include/SDL/SDL_loadso.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_main.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_mouse.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_video.h
-/usr/include/SDL/SDL_video.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_mutex.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_net.h
-SDL.h
-/usr/include/SDL/SDL.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_platform.h
-
-/usr/include/SDL/SDL_quit.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-
-/usr/include/SDL/SDL_rwops.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_stdinc.h
-SDL_config.h
-/usr/include/SDL/SDL_config.h
-sys/types.h
--
-stdio.h
--
-stdlib.h
--
-stddef.h
--
-stdarg.h
--
-stdlib.h
--
-malloc.h
--
-stddef.h
--
-stdarg.h
--
-memory.h
--
-string.h
--
-strings.h
--
-inttypes.h
--
-stdint.h
--
-ctype.h
--
-iconv.h
--
-begin_code.h
-/usr/include/SDL/begin_code.h
-alloca.h
--
-malloc.h
--
-malloc.h
--
-malloc.h
--
-stdlib.h
--
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_thread.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-process.h
--
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_timer.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_version.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_video.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/begin_code.h
-
-/usr/include/SDL/close_code.h
-
diff --git a/build/src/modules/CMakeFiles/modTeleport.dir/DependInfo.cmake b/build/src/modules/CMakeFiles/modTeleport.dir/DependInfo.cmake
deleted file mode 100644
index 9de0a2d..0000000
--- a/build/src/modules/CMakeFiles/modTeleport.dir/DependInfo.cmake
+++ /dev/null
@@ -1,16 +0,0 @@
-# The set of languages for which implicit dependencies are needed:
-SET(CMAKE_DEPENDS_LANGUAGES
- "C"
- )
-# The set of files for implicit dependencies of each language:
-SET(CMAKE_DEPENDS_CHECK_C
- "/home/scarab/tuxanci/src/base/index.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o"
- "/home/scarab/tuxanci/src/base/list.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o"
- "/home/scarab/tuxanci/src/base/space.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o"
- "/home/scarab/tuxanci/src/modules/modTeleport.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o"
- )
-SET(CMAKE_C_COMPILER_ID "GNU")
-
-# Targets to which this target links.
-SET(CMAKE_TARGET_LINKED_INFO_FILES
- )
diff --git a/build/src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o b/build/src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o
deleted file mode 100644
index 88dbb6b..0000000
--- a/build/src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o b/build/src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o
deleted file mode 100644
index 5264aeb..0000000
--- a/build/src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o b/build/src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o
deleted file mode 100644
index 1bfa92f..0000000
--- a/build/src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modTeleport.dir/build.make b/build/src/modules/CMakeFiles/modTeleport.dir/build.make
deleted file mode 100644
index dc3592c..0000000
--- a/build/src/modules/CMakeFiles/modTeleport.dir/build.make
+++ /dev/null
@@ -1,190 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-# Include any dependencies generated for this target.
-include src/modules/CMakeFiles/modTeleport.dir/depend.make
-
-# Include the progress variables for this target.
-include src/modules/CMakeFiles/modTeleport.dir/progress.make
-
-# Include the compile flags for this target's objects.
-include src/modules/CMakeFiles/modTeleport.dir/flags.make
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o: src/modules/CMakeFiles/modTeleport.dir/flags.make
-src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o: ../src/base/list.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_1)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modTeleport.dir/__/base/list.c.o -c /home/scarab/tuxanci/src/base/list.c
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modTeleport.dir/__/base/list.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/list.c > CMakeFiles/modTeleport.dir/__/base/list.c.i
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modTeleport.dir/__/base/list.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/list.c -o CMakeFiles/modTeleport.dir/__/base/list.c.s
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o.requires
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o.provides: src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o.provides
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o.provides.build: src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o.provides.build
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o: src/modules/CMakeFiles/modTeleport.dir/flags.make
-src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o: ../src/base/space.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_2)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modTeleport.dir/__/base/space.c.o -c /home/scarab/tuxanci/src/base/space.c
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modTeleport.dir/__/base/space.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/space.c > CMakeFiles/modTeleport.dir/__/base/space.c.i
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modTeleport.dir/__/base/space.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/space.c -o CMakeFiles/modTeleport.dir/__/base/space.c.s
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o.requires
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o.provides: src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o.provides
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o.provides.build: src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o.provides.build
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o: src/modules/CMakeFiles/modTeleport.dir/flags.make
-src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o: ../src/base/index.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_3)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modTeleport.dir/__/base/index.c.o -c /home/scarab/tuxanci/src/base/index.c
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modTeleport.dir/__/base/index.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/index.c > CMakeFiles/modTeleport.dir/__/base/index.c.i
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modTeleport.dir/__/base/index.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/index.c -o CMakeFiles/modTeleport.dir/__/base/index.c.s
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o.requires
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o.provides: src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o.provides
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o.provides.build: src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o.provides.build
-
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: src/modules/CMakeFiles/modTeleport.dir/flags.make
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/modules/modTeleport.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_4)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modTeleport.dir/modTeleport.c.o -c /home/scarab/tuxanci/src/modules/modTeleport.c
-
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modTeleport.dir/modTeleport.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/modules/modTeleport.c > CMakeFiles/modTeleport.dir/modTeleport.c.i
-
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modTeleport.dir/modTeleport.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/modules/modTeleport.c -o CMakeFiles/modTeleport.dir/modTeleport.c.s
-
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o.requires
-
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o.provides: src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o.provides
-
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o.provides.build: src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o.provides.build
-
-# Object files for target modTeleport
-modTeleport_OBJECTS = \
-"CMakeFiles/modTeleport.dir/__/base/list.c.o" \
-"CMakeFiles/modTeleport.dir/__/base/space.c.o" \
-"CMakeFiles/modTeleport.dir/__/base/index.c.o" \
-"CMakeFiles/modTeleport.dir/modTeleport.c.o"
-
-# External object files for target modTeleport
-modTeleport_EXTERNAL_OBJECTS =
-
-src/modules/libmodTeleport.so: src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o
-src/modules/libmodTeleport.so: src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o
-src/modules/libmodTeleport.so: src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o
-src/modules/libmodTeleport.so: src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o
-src/modules/libmodTeleport.so: /usr/lib64/libzzip.so
-src/modules/libmodTeleport.so: /usr/lib64/libSDLmain.a
-src/modules/libmodTeleport.so: /usr/lib64/libSDL.so
-src/modules/libmodTeleport.so: /usr/lib64/libSDL_mixer.so
-src/modules/libmodTeleport.so: /usr/lib64/libSDL_image.so
-src/modules/libmodTeleport.so: /usr/lib64/libSDL_ttf.so
-src/modules/libmodTeleport.so: src/modules/CMakeFiles/modTeleport.dir/build.make
-src/modules/libmodTeleport.so: src/modules/CMakeFiles/modTeleport.dir/link.txt
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C shared library libmodTeleport.so"
- cd /home/scarab/tuxanci/build/src/modules && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/modTeleport.dir/link.txt --verbose=$(VERBOSE)
-
-# Rule to build all files generated by this target.
-src/modules/CMakeFiles/modTeleport.dir/build: src/modules/libmodTeleport.so
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/build
-
-src/modules/CMakeFiles/modTeleport.dir/requires: src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o.requires
-src/modules/CMakeFiles/modTeleport.dir/requires: src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o.requires
-src/modules/CMakeFiles/modTeleport.dir/requires: src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o.requires
-src/modules/CMakeFiles/modTeleport.dir/requires: src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o.requires
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/requires
-
-src/modules/CMakeFiles/modTeleport.dir/clean:
- cd /home/scarab/tuxanci/build/src/modules && $(CMAKE_COMMAND) -P CMakeFiles/modTeleport.dir/cmake_clean.cmake
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/clean
-
-src/modules/CMakeFiles/modTeleport.dir/depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/scarab/tuxanci /home/scarab/tuxanci/src/modules /home/scarab/tuxanci/build /home/scarab/tuxanci/build/src/modules /home/scarab/tuxanci/build/src/modules/CMakeFiles/modTeleport.dir/DependInfo.cmake --color=$(COLOR)
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/depend
-
diff --git a/build/src/modules/CMakeFiles/modTeleport.dir/cmake_clean.cmake b/build/src/modules/CMakeFiles/modTeleport.dir/cmake_clean.cmake
deleted file mode 100644
index 16eaefe..0000000
--- a/build/src/modules/CMakeFiles/modTeleport.dir/cmake_clean.cmake
+++ /dev/null
@@ -1,14 +0,0 @@
-FILE(REMOVE_RECURSE
- "CMakeFiles/modTeleport.dir/__/base/list.c.o"
- "CMakeFiles/modTeleport.dir/__/base/space.c.o"
- "CMakeFiles/modTeleport.dir/__/base/index.c.o"
- "CMakeFiles/modTeleport.dir/modTeleport.c.o"
- "libmodTeleport.pdb"
- "libmodTeleport.a"
- "libmodTeleport.so"
-)
-
-# Per-language clean rules from dependency scanning.
-FOREACH(lang C)
- INCLUDE(CMakeFiles/modTeleport.dir/cmake_clean_${lang}.cmake OPTIONAL)
-ENDFOREACH(lang)
diff --git a/build/src/modules/CMakeFiles/modTeleport.dir/depend.internal b/build/src/modules/CMakeFiles/modTeleport.dir/depend.internal
deleted file mode 100644
index bafc83a..0000000
--- a/build/src/modules/CMakeFiles/modTeleport.dir/depend.internal
+++ /dev/null
@@ -1,84 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/index.c
- /home/scarab/tuxanci/src/base/index.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/list.c
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/index.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/space.c
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o
- ../src/base/arena.h
- ../src/base/arenaFile.h
- ../src/base/bool.h
- ../src/base/buffer.h
- ../src/base/gun.h
- ../src/base/item.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/modules.h
- ../src/base/myTimer.h
- ../src/base/net_multiplayer.h
- ../src/base/path.h
- ../src/base/protect.h
- ../src/base/proto.h
- ../src/base/server.h
- ../src/base/shot.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/client/client.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/modules/modTeleport.c
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
diff --git a/build/src/modules/CMakeFiles/modTeleport.dir/depend.make b/build/src/modules/CMakeFiles/modTeleport.dir/depend.make
deleted file mode 100644
index c63c8ad..0000000
--- a/build/src/modules/CMakeFiles/modTeleport.dir/depend.make
+++ /dev/null
@@ -1,84 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o: ../src/base/index.c
-src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o: ../src/base/index.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o: ../src/base/list.c
-src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o: ../src/base/index.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o: ../src/base/space.c
-src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o: ../src/base/space.h
-src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/arena.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/arenaFile.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/buffer.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/gun.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/item.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/modules.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/myTimer.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/net_multiplayer.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/protect.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/proto.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/server.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/shot.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/space.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/string_length.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/textFile.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/base/tux.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/client/client.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/client/image.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/client/interface.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/net/udp.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/screen/screen_choiceArena.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/screen/screen_setting.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/screen/screen_world.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: ../src/modules/modTeleport.c
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_active.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_audio.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_cdrom.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_config.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_endian.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_error.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_events.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_image.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_joystick.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_keyboard.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_keysym.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_loadso.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_main.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_mouse.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_mutex.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_net.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_platform.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_quit.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_rwops.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_stdinc.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_thread.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_timer.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_version.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/SDL_video.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/begin_code.h
-src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o: /usr/include/SDL/close_code.h
-
diff --git a/build/src/modules/CMakeFiles/modTeleport.dir/flags.make b/build/src/modules/CMakeFiles/modTeleport.dir/flags.make
deleted file mode 100644
index f34b97e..0000000
--- a/build/src/modules/CMakeFiles/modTeleport.dir/flags.make
+++ /dev/null
@@ -1,8 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# compile C with /usr/bin/gcc
-C_FLAGS = -DmodTeleport_EXPORTS -fPIC -I/home/scarab/tuxanci/src/base -I/home/scarab/tuxanci/src/net -I/home/scarab/tuxanci/src/client -I/home/scarab/tuxanci/src/screen -I/home/scarab/tuxanci/src/widget -I/usr/include/SDL -I/home/scarab/tuxanci/src/audio
-
-C_DEFINES =
-
diff --git a/build/src/modules/CMakeFiles/modTeleport.dir/link.txt b/build/src/modules/CMakeFiles/modTeleport.dir/link.txt
deleted file mode 100644
index 350eb6d..0000000
--- a/build/src/modules/CMakeFiles/modTeleport.dir/link.txt
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/gcc -fPIC -shared -Wl,-soname,libmodTeleport.so -o libmodTeleport.so CMakeFiles/modTeleport.dir/__/base/list.c.o CMakeFiles/modTeleport.dir/__/base/space.c.o CMakeFiles/modTeleport.dir/__/base/index.c.o CMakeFiles/modTeleport.dir/modTeleport.c.o -lzzip -Wl,-Bstatic -lSDLmain -Wl,-Bdynamic -lSDL -lpthread -lSDL_mixer -lSDL_image -lSDL_ttf -lSDLmain -ldl
diff --git a/build/src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o b/build/src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o
deleted file mode 100644
index ac3cbb9..0000000
--- a/build/src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modTeleport.dir/progress.make b/build/src/modules/CMakeFiles/modTeleport.dir/progress.make
deleted file mode 100644
index d8021bc..0000000
--- a/build/src/modules/CMakeFiles/modTeleport.dir/progress.make
+++ /dev/null
@@ -1,5 +0,0 @@
-CMAKE_PROGRESS_1 = 89
-CMAKE_PROGRESS_2 = 90
-CMAKE_PROGRESS_3 = 91
-CMAKE_PROGRESS_4 = 92
-
diff --git a/build/src/modules/CMakeFiles/modWall.dir/C.includecache b/build/src/modules/CMakeFiles/modWall.dir/C.includecache
deleted file mode 100644
index 0dc03ee..0000000
--- a/build/src/modules/CMakeFiles/modWall.dir/C.includecache
+++ /dev/null
@@ -1,698 +0,0 @@
-#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
-
-#IncludeRegexScan: ^.*$
-
-#IncludeRegexComplain: ^$
-
-#IncludeRegexTransform:
-
-../src/base/arena.h
-main.h
-../src/base/main.h
-image.h
-../src/base/image.h
-list.h
-../src/base/list.h
-space.h
-../src/base/space.h
-
-../src/base/arenaFile.h
-main.h
-../src/base/main.h
-arena.h
-../src/base/arena.h
-textFile.h
-../src/base/textFile.h
-
-../src/base/bool.h
-main.h
-../src/base/main.h
-
-../src/base/buffer.h
-
-../src/base/gun.h
-main.h
-../src/base/main.h
-tux.h
-../src/base/tux.h
-
-../src/base/item.h
-main.h
-../src/base/main.h
-image.h
-../src/base/image.h
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-myTimer.h
-../src/base/myTimer.h
-
-../src/base/list.h
-main.h
-../src/base/main.h
-
-../src/base/main.h
-libintl.h
--
-locale.h
--
-bool.h
-../src/base/bool.h
-string_length.h
-../src/base/string_length.h
-path.h
-../src/base/path.h
-
-../src/base/modules.h
-tux.h
-../src/base/tux.h
-shot.h
-../src/base/shot.h
-arena.h
-../src/base/arena.h
-proto.h
-../src/base/proto.h
-myTimer.h
-../src/base/myTimer.h
-image.h
-../src/base/image.h
-
-../src/base/myTimer.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-
-../src/base/net_multiplayer.h
-main.h
-../src/base/main.h
-tux.h
-../src/base/tux.h
-item.h
-../src/base/item.h
-arena.h
-../src/base/arena.h
-
-../src/base/path.h
-main.h
-../src/base/main.h
-
-../src/base/protect.h
-main.h
-../src/base/main.h
-myTimer.h
-../src/base/myTimer.h
-
-../src/base/proto.h
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-item.h
-../src/base/item.h
-shot.h
-../src/base/shot.h
-arenaFile.h
-../src/base/arenaFile.h
-myTimer.h
-../src/base/myTimer.h
-server.h
-../src/base/server.h
-net_multiplayer.h
-../src/base/net_multiplayer.h
-screen_world.h
-../src/base/screen_world.h
-screen_setting.h
-../src/base/screen_setting.h
-screen_choiceArena.h
-../src/base/screen_choiceArena.h
-client.h
-../src/base/client.h
-publicServer.h
-../src/base/publicServer.h
-
-../src/base/server.h
-time.h
--
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-myTimer.h
-../src/base/myTimer.h
-protect.h
-../src/base/protect.h
-buffer.h
-../src/base/buffer.h
-interface.h
-../src/base/interface.h
-udp.h
-../src/base/udp.h
-
-../src/base/shot.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-tux.h
-../src/base/tux.h
-arena.h
-../src/base/arena.h
-image.h
-../src/base/image.h
-
-../src/base/space.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-
-../src/base/string_length.h
-main.h
-../src/base/main.h
-
-../src/base/textFile.h
-list.h
-../src/base/list.h
-
-../src/base/tux.h
-main.h
-../src/base/main.h
-list.h
-../src/base/list.h
-arena.h
-../src/base/arena.h
-
-../src/client/client.h
-main.h
-../src/client/main.h
-
-../src/client/image.h
-interface.h
-../src/client/interface.h
-
-../src/client/interface.h
-stdio.h
--
-string.h
--
-time.h
--
-SDL.h
--
-SDL_image.h
--
-SDL_thread.h
--
-main.h
-../src/client/main.h
-SDL_net.h
--
-
-../src/net/udp.h
-netinet/in.h
--
-windows.h
--
-wininet.h
--
-
-../src/screen/screen_choiceArena.h
-main.h
-../src/screen/main.h
-arenaFile.h
-../src/screen/arenaFile.h
-
-../src/screen/screen_setting.h
-main.h
-../src/screen/main.h
-
-../src/screen/screen_world.h
-main.h
-../src/screen/main.h
-myTimer.h
-../src/screen/myTimer.h
-tux.h
-../src/screen/tux.h
-arenaFile.h
-../src/screen/arenaFile.h
-arena.h
-../src/screen/arena.h
-
-/home/scarab/tuxanci/src/base/bool.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/index.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-index.h
-/home/scarab/tuxanci/src/base/index.h
-
-/home/scarab/tuxanci/src/base/index.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/list.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/list.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/main.h
-libintl.h
--
-locale.h
--
-bool.h
-/home/scarab/tuxanci/src/base/bool.h
-string_length.h
-/home/scarab/tuxanci/src/base/string_length.h
-path.h
-/home/scarab/tuxanci/src/base/path.h
-
-/home/scarab/tuxanci/src/base/path.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/base/space.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-space.h
-/home/scarab/tuxanci/src/base/space.h
-index.h
-/home/scarab/tuxanci/src/base/index.h
-
-/home/scarab/tuxanci/src/base/space.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-list.h
-/home/scarab/tuxanci/src/base/list.h
-
-/home/scarab/tuxanci/src/base/string_length.h
-main.h
-/home/scarab/tuxanci/src/base/main.h
-
-/home/scarab/tuxanci/src/modules/modWall.c
-stdio.h
--
-stdlib.h
--
-string.h
--
-assert.h
--
-main.h
-/home/scarab/tuxanci/src/modules/main.h
-modules.h
-/home/scarab/tuxanci/src/modules/modules.h
-tux.h
-/home/scarab/tuxanci/src/modules/tux.h
-shot.h
-/home/scarab/tuxanci/src/modules/shot.h
-list.h
-/home/scarab/tuxanci/src/modules/list.h
-gun.h
-/home/scarab/tuxanci/src/modules/gun.h
-space.h
-/home/scarab/tuxanci/src/modules/space.h
-interface.h
-/home/scarab/tuxanci/src/modules/interface.h
-image.h
-/home/scarab/tuxanci/src/modules/image.h
-publicServer.h
-/home/scarab/tuxanci/src/modules/publicServer.h
-
-/usr/include/SDL/SDL.h
-SDL_main.h
-/usr/include/SDL/SDL_main.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_audio.h
-/usr/include/SDL/SDL_audio.h
-SDL_cdrom.h
-/usr/include/SDL/SDL_cdrom.h
-SDL_cpuinfo.h
-/usr/include/SDL/SDL_cpuinfo.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_events.h
-/usr/include/SDL/SDL_events.h
-SDL_loadso.h
-/usr/include/SDL/SDL_loadso.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-SDL_thread.h
-/usr/include/SDL/SDL_thread.h
-SDL_timer.h
-/usr/include/SDL/SDL_timer.h
-SDL_video.h
-/usr/include/SDL/SDL_video.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_active.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_audio.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-SDL_thread.h
-/usr/include/SDL/SDL_thread.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_cdrom.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_config.h
-SDL_platform.h
-/usr/include/SDL/SDL_platform.h
-stdarg.h
--
-
-/usr/include/SDL/SDL_cpuinfo.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_endian.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_error.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_events.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_active.h
-/usr/include/SDL/SDL_active.h
-SDL_keyboard.h
-/usr/include/SDL/SDL_keyboard.h
-SDL_mouse.h
-/usr/include/SDL/SDL_mouse.h
-SDL_joystick.h
-/usr/include/SDL/SDL_joystick.h
-SDL_quit.h
-/usr/include/SDL/SDL_quit.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_image.h
-SDL.h
-/usr/include/SDL/SDL.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_joystick.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_keyboard.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_keysym.h
-/usr/include/SDL/SDL_keysym.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_keysym.h
-
-/usr/include/SDL/SDL_loadso.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_main.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_mouse.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_video.h
-/usr/include/SDL/SDL_video.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_mutex.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_net.h
-SDL.h
-/usr/include/SDL/SDL.h
-SDL_endian.h
-/usr/include/SDL/SDL_endian.h
-SDL_version.h
-/usr/include/SDL/SDL_version.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_platform.h
-
-/usr/include/SDL/SDL_quit.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-
-/usr/include/SDL/SDL_rwops.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_stdinc.h
-SDL_config.h
-/usr/include/SDL/SDL_config.h
-sys/types.h
--
-stdio.h
--
-stdlib.h
--
-stddef.h
--
-stdarg.h
--
-stdlib.h
--
-malloc.h
--
-stddef.h
--
-stdarg.h
--
-memory.h
--
-string.h
--
-strings.h
--
-inttypes.h
--
-stdint.h
--
-ctype.h
--
-iconv.h
--
-begin_code.h
-/usr/include/SDL/begin_code.h
-alloca.h
--
-malloc.h
--
-malloc.h
--
-malloc.h
--
-stdlib.h
--
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_thread.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_mutex.h
-/usr/include/SDL/SDL_mutex.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-process.h
--
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_timer.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_version.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/SDL_video.h
-SDL_stdinc.h
-/usr/include/SDL/SDL_stdinc.h
-SDL_error.h
-/usr/include/SDL/SDL_error.h
-SDL_rwops.h
-/usr/include/SDL/SDL_rwops.h
-begin_code.h
-/usr/include/SDL/begin_code.h
-close_code.h
-/usr/include/SDL/close_code.h
-
-/usr/include/SDL/begin_code.h
-
-/usr/include/SDL/close_code.h
-
diff --git a/build/src/modules/CMakeFiles/modWall.dir/DependInfo.cmake b/build/src/modules/CMakeFiles/modWall.dir/DependInfo.cmake
deleted file mode 100644
index 7789f8d..0000000
--- a/build/src/modules/CMakeFiles/modWall.dir/DependInfo.cmake
+++ /dev/null
@@ -1,16 +0,0 @@
-# The set of languages for which implicit dependencies are needed:
-SET(CMAKE_DEPENDS_LANGUAGES
- "C"
- )
-# The set of files for implicit dependencies of each language:
-SET(CMAKE_DEPENDS_CHECK_C
- "/home/scarab/tuxanci/src/base/index.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modWall.dir/__/base/index.c.o"
- "/home/scarab/tuxanci/src/base/list.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modWall.dir/__/base/list.c.o"
- "/home/scarab/tuxanci/src/base/space.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modWall.dir/__/base/space.c.o"
- "/home/scarab/tuxanci/src/modules/modWall.c" "/home/scarab/tuxanci/build/src/modules/CMakeFiles/modWall.dir/modWall.c.o"
- )
-SET(CMAKE_C_COMPILER_ID "GNU")
-
-# Targets to which this target links.
-SET(CMAKE_TARGET_LINKED_INFO_FILES
- )
diff --git a/build/src/modules/CMakeFiles/modWall.dir/__/base/index.c.o b/build/src/modules/CMakeFiles/modWall.dir/__/base/index.c.o
deleted file mode 100644
index 88dbb6b..0000000
--- a/build/src/modules/CMakeFiles/modWall.dir/__/base/index.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modWall.dir/__/base/list.c.o b/build/src/modules/CMakeFiles/modWall.dir/__/base/list.c.o
deleted file mode 100644
index 5264aeb..0000000
--- a/build/src/modules/CMakeFiles/modWall.dir/__/base/list.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modWall.dir/__/base/space.c.o b/build/src/modules/CMakeFiles/modWall.dir/__/base/space.c.o
deleted file mode 100644
index 1bfa92f..0000000
--- a/build/src/modules/CMakeFiles/modWall.dir/__/base/space.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modWall.dir/build.make b/build/src/modules/CMakeFiles/modWall.dir/build.make
deleted file mode 100644
index 0ce6f1e..0000000
--- a/build/src/modules/CMakeFiles/modWall.dir/build.make
+++ /dev/null
@@ -1,190 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-# Include any dependencies generated for this target.
-include src/modules/CMakeFiles/modWall.dir/depend.make
-
-# Include the progress variables for this target.
-include src/modules/CMakeFiles/modWall.dir/progress.make
-
-# Include the compile flags for this target's objects.
-include src/modules/CMakeFiles/modWall.dir/flags.make
-
-src/modules/CMakeFiles/modWall.dir/__/base/list.c.o: src/modules/CMakeFiles/modWall.dir/flags.make
-src/modules/CMakeFiles/modWall.dir/__/base/list.c.o: ../src/base/list.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_1)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modWall.dir/__/base/list.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modWall.dir/__/base/list.c.o -c /home/scarab/tuxanci/src/base/list.c
-
-src/modules/CMakeFiles/modWall.dir/__/base/list.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modWall.dir/__/base/list.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/list.c > CMakeFiles/modWall.dir/__/base/list.c.i
-
-src/modules/CMakeFiles/modWall.dir/__/base/list.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modWall.dir/__/base/list.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/list.c -o CMakeFiles/modWall.dir/__/base/list.c.s
-
-src/modules/CMakeFiles/modWall.dir/__/base/list.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modWall.dir/__/base/list.c.o.requires
-
-src/modules/CMakeFiles/modWall.dir/__/base/list.c.o.provides: src/modules/CMakeFiles/modWall.dir/__/base/list.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/__/base/list.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modWall.dir/__/base/list.c.o.provides
-
-src/modules/CMakeFiles/modWall.dir/__/base/list.c.o.provides.build: src/modules/CMakeFiles/modWall.dir/__/base/list.c.o
-.PHONY : src/modules/CMakeFiles/modWall.dir/__/base/list.c.o.provides.build
-
-src/modules/CMakeFiles/modWall.dir/__/base/space.c.o: src/modules/CMakeFiles/modWall.dir/flags.make
-src/modules/CMakeFiles/modWall.dir/__/base/space.c.o: ../src/base/space.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_2)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modWall.dir/__/base/space.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modWall.dir/__/base/space.c.o -c /home/scarab/tuxanci/src/base/space.c
-
-src/modules/CMakeFiles/modWall.dir/__/base/space.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modWall.dir/__/base/space.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/space.c > CMakeFiles/modWall.dir/__/base/space.c.i
-
-src/modules/CMakeFiles/modWall.dir/__/base/space.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modWall.dir/__/base/space.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/space.c -o CMakeFiles/modWall.dir/__/base/space.c.s
-
-src/modules/CMakeFiles/modWall.dir/__/base/space.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modWall.dir/__/base/space.c.o.requires
-
-src/modules/CMakeFiles/modWall.dir/__/base/space.c.o.provides: src/modules/CMakeFiles/modWall.dir/__/base/space.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/__/base/space.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modWall.dir/__/base/space.c.o.provides
-
-src/modules/CMakeFiles/modWall.dir/__/base/space.c.o.provides.build: src/modules/CMakeFiles/modWall.dir/__/base/space.c.o
-.PHONY : src/modules/CMakeFiles/modWall.dir/__/base/space.c.o.provides.build
-
-src/modules/CMakeFiles/modWall.dir/__/base/index.c.o: src/modules/CMakeFiles/modWall.dir/flags.make
-src/modules/CMakeFiles/modWall.dir/__/base/index.c.o: ../src/base/index.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_3)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modWall.dir/__/base/index.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modWall.dir/__/base/index.c.o -c /home/scarab/tuxanci/src/base/index.c
-
-src/modules/CMakeFiles/modWall.dir/__/base/index.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modWall.dir/__/base/index.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/base/index.c > CMakeFiles/modWall.dir/__/base/index.c.i
-
-src/modules/CMakeFiles/modWall.dir/__/base/index.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modWall.dir/__/base/index.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/base/index.c -o CMakeFiles/modWall.dir/__/base/index.c.s
-
-src/modules/CMakeFiles/modWall.dir/__/base/index.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modWall.dir/__/base/index.c.o.requires
-
-src/modules/CMakeFiles/modWall.dir/__/base/index.c.o.provides: src/modules/CMakeFiles/modWall.dir/__/base/index.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/__/base/index.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modWall.dir/__/base/index.c.o.provides
-
-src/modules/CMakeFiles/modWall.dir/__/base/index.c.o.provides.build: src/modules/CMakeFiles/modWall.dir/__/base/index.c.o
-.PHONY : src/modules/CMakeFiles/modWall.dir/__/base/index.c.o.provides.build
-
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: src/modules/CMakeFiles/modWall.dir/flags.make
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/modules/modWall.c
- $(CMAKE_COMMAND) -E cmake_progress_report /home/scarab/tuxanci/build/CMakeFiles $(CMAKE_PROGRESS_4)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object src/modules/CMakeFiles/modWall.dir/modWall.c.o"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/modWall.dir/modWall.c.o -c /home/scarab/tuxanci/src/modules/modWall.c
-
-src/modules/CMakeFiles/modWall.dir/modWall.c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/modWall.dir/modWall.c.i"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/scarab/tuxanci/src/modules/modWall.c > CMakeFiles/modWall.dir/modWall.c.i
-
-src/modules/CMakeFiles/modWall.dir/modWall.c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/modWall.dir/modWall.c.s"
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/scarab/tuxanci/src/modules/modWall.c -o CMakeFiles/modWall.dir/modWall.c.s
-
-src/modules/CMakeFiles/modWall.dir/modWall.c.o.requires:
-.PHONY : src/modules/CMakeFiles/modWall.dir/modWall.c.o.requires
-
-src/modules/CMakeFiles/modWall.dir/modWall.c.o.provides: src/modules/CMakeFiles/modWall.dir/modWall.c.o.requires
- $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/modWall.c.o.provides.build
-.PHONY : src/modules/CMakeFiles/modWall.dir/modWall.c.o.provides
-
-src/modules/CMakeFiles/modWall.dir/modWall.c.o.provides.build: src/modules/CMakeFiles/modWall.dir/modWall.c.o
-.PHONY : src/modules/CMakeFiles/modWall.dir/modWall.c.o.provides.build
-
-# Object files for target modWall
-modWall_OBJECTS = \
-"CMakeFiles/modWall.dir/__/base/list.c.o" \
-"CMakeFiles/modWall.dir/__/base/space.c.o" \
-"CMakeFiles/modWall.dir/__/base/index.c.o" \
-"CMakeFiles/modWall.dir/modWall.c.o"
-
-# External object files for target modWall
-modWall_EXTERNAL_OBJECTS =
-
-src/modules/libmodWall.so: src/modules/CMakeFiles/modWall.dir/__/base/list.c.o
-src/modules/libmodWall.so: src/modules/CMakeFiles/modWall.dir/__/base/space.c.o
-src/modules/libmodWall.so: src/modules/CMakeFiles/modWall.dir/__/base/index.c.o
-src/modules/libmodWall.so: src/modules/CMakeFiles/modWall.dir/modWall.c.o
-src/modules/libmodWall.so: /usr/lib64/libzzip.so
-src/modules/libmodWall.so: /usr/lib64/libSDLmain.a
-src/modules/libmodWall.so: /usr/lib64/libSDL.so
-src/modules/libmodWall.so: /usr/lib64/libSDL_mixer.so
-src/modules/libmodWall.so: /usr/lib64/libSDL_image.so
-src/modules/libmodWall.so: /usr/lib64/libSDL_ttf.so
-src/modules/libmodWall.so: src/modules/CMakeFiles/modWall.dir/build.make
-src/modules/libmodWall.so: src/modules/CMakeFiles/modWall.dir/link.txt
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C shared library libmodWall.so"
- cd /home/scarab/tuxanci/build/src/modules && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/modWall.dir/link.txt --verbose=$(VERBOSE)
-
-# Rule to build all files generated by this target.
-src/modules/CMakeFiles/modWall.dir/build: src/modules/libmodWall.so
-.PHONY : src/modules/CMakeFiles/modWall.dir/build
-
-src/modules/CMakeFiles/modWall.dir/requires: src/modules/CMakeFiles/modWall.dir/__/base/list.c.o.requires
-src/modules/CMakeFiles/modWall.dir/requires: src/modules/CMakeFiles/modWall.dir/__/base/space.c.o.requires
-src/modules/CMakeFiles/modWall.dir/requires: src/modules/CMakeFiles/modWall.dir/__/base/index.c.o.requires
-src/modules/CMakeFiles/modWall.dir/requires: src/modules/CMakeFiles/modWall.dir/modWall.c.o.requires
-.PHONY : src/modules/CMakeFiles/modWall.dir/requires
-
-src/modules/CMakeFiles/modWall.dir/clean:
- cd /home/scarab/tuxanci/build/src/modules && $(CMAKE_COMMAND) -P CMakeFiles/modWall.dir/cmake_clean.cmake
-.PHONY : src/modules/CMakeFiles/modWall.dir/clean
-
-src/modules/CMakeFiles/modWall.dir/depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/scarab/tuxanci /home/scarab/tuxanci/src/modules /home/scarab/tuxanci/build /home/scarab/tuxanci/build/src/modules /home/scarab/tuxanci/build/src/modules/CMakeFiles/modWall.dir/DependInfo.cmake --color=$(COLOR)
-.PHONY : src/modules/CMakeFiles/modWall.dir/depend
-
diff --git a/build/src/modules/CMakeFiles/modWall.dir/cmake_clean.cmake b/build/src/modules/CMakeFiles/modWall.dir/cmake_clean.cmake
deleted file mode 100644
index dfae26c..0000000
--- a/build/src/modules/CMakeFiles/modWall.dir/cmake_clean.cmake
+++ /dev/null
@@ -1,14 +0,0 @@
-FILE(REMOVE_RECURSE
- "CMakeFiles/modWall.dir/__/base/list.c.o"
- "CMakeFiles/modWall.dir/__/base/space.c.o"
- "CMakeFiles/modWall.dir/__/base/index.c.o"
- "CMakeFiles/modWall.dir/modWall.c.o"
- "libmodWall.pdb"
- "libmodWall.a"
- "libmodWall.so"
-)
-
-# Per-language clean rules from dependency scanning.
-FOREACH(lang C)
- INCLUDE(CMakeFiles/modWall.dir/cmake_clean_${lang}.cmake OPTIONAL)
-ENDFOREACH(lang)
diff --git a/build/src/modules/CMakeFiles/modWall.dir/depend.internal b/build/src/modules/CMakeFiles/modWall.dir/depend.internal
deleted file mode 100644
index 97e2bc7..0000000
--- a/build/src/modules/CMakeFiles/modWall.dir/depend.internal
+++ /dev/null
@@ -1,84 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-src/modules/CMakeFiles/modWall.dir/__/base/index.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/index.c
- /home/scarab/tuxanci/src/base/index.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modWall.dir/__/base/list.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/list.c
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modWall.dir/__/base/space.c.o
- /home/scarab/tuxanci/src/base/bool.h
- /home/scarab/tuxanci/src/base/index.h
- /home/scarab/tuxanci/src/base/list.h
- /home/scarab/tuxanci/src/base/main.h
- /home/scarab/tuxanci/src/base/path.h
- /home/scarab/tuxanci/src/base/space.c
- /home/scarab/tuxanci/src/base/space.h
- /home/scarab/tuxanci/src/base/string_length.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o
- ../src/base/arena.h
- ../src/base/arenaFile.h
- ../src/base/bool.h
- ../src/base/buffer.h
- ../src/base/gun.h
- ../src/base/item.h
- ../src/base/list.h
- ../src/base/main.h
- ../src/base/modules.h
- ../src/base/myTimer.h
- ../src/base/net_multiplayer.h
- ../src/base/path.h
- ../src/base/protect.h
- ../src/base/proto.h
- ../src/base/server.h
- ../src/base/shot.h
- ../src/base/space.h
- ../src/base/string_length.h
- ../src/base/textFile.h
- ../src/base/tux.h
- ../src/client/client.h
- ../src/client/image.h
- ../src/client/interface.h
- ../src/net/udp.h
- ../src/screen/screen_choiceArena.h
- ../src/screen/screen_setting.h
- ../src/screen/screen_world.h
- /home/scarab/tuxanci/src/modules/modWall.c
- /usr/include/SDL/SDL.h
- /usr/include/SDL/SDL_active.h
- /usr/include/SDL/SDL_audio.h
- /usr/include/SDL/SDL_cdrom.h
- /usr/include/SDL/SDL_config.h
- /usr/include/SDL/SDL_cpuinfo.h
- /usr/include/SDL/SDL_endian.h
- /usr/include/SDL/SDL_error.h
- /usr/include/SDL/SDL_events.h
- /usr/include/SDL/SDL_image.h
- /usr/include/SDL/SDL_joystick.h
- /usr/include/SDL/SDL_keyboard.h
- /usr/include/SDL/SDL_keysym.h
- /usr/include/SDL/SDL_loadso.h
- /usr/include/SDL/SDL_main.h
- /usr/include/SDL/SDL_mouse.h
- /usr/include/SDL/SDL_mutex.h
- /usr/include/SDL/SDL_net.h
- /usr/include/SDL/SDL_platform.h
- /usr/include/SDL/SDL_quit.h
- /usr/include/SDL/SDL_rwops.h
- /usr/include/SDL/SDL_stdinc.h
- /usr/include/SDL/SDL_thread.h
- /usr/include/SDL/SDL_timer.h
- /usr/include/SDL/SDL_version.h
- /usr/include/SDL/SDL_video.h
- /usr/include/SDL/begin_code.h
- /usr/include/SDL/close_code.h
diff --git a/build/src/modules/CMakeFiles/modWall.dir/depend.make b/build/src/modules/CMakeFiles/modWall.dir/depend.make
deleted file mode 100644
index 1123878..0000000
--- a/build/src/modules/CMakeFiles/modWall.dir/depend.make
+++ /dev/null
@@ -1,84 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-src/modules/CMakeFiles/modWall.dir/__/base/index.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modWall.dir/__/base/index.c.o: ../src/base/index.c
-src/modules/CMakeFiles/modWall.dir/__/base/index.c.o: ../src/base/index.h
-src/modules/CMakeFiles/modWall.dir/__/base/index.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modWall.dir/__/base/index.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modWall.dir/__/base/index.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modWall.dir/__/base/index.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modWall.dir/__/base/list.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modWall.dir/__/base/list.c.o: ../src/base/list.c
-src/modules/CMakeFiles/modWall.dir/__/base/list.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modWall.dir/__/base/list.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modWall.dir/__/base/list.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modWall.dir/__/base/list.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modWall.dir/__/base/space.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modWall.dir/__/base/space.c.o: ../src/base/index.h
-src/modules/CMakeFiles/modWall.dir/__/base/space.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modWall.dir/__/base/space.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modWall.dir/__/base/space.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modWall.dir/__/base/space.c.o: ../src/base/space.c
-src/modules/CMakeFiles/modWall.dir/__/base/space.c.o: ../src/base/space.h
-src/modules/CMakeFiles/modWall.dir/__/base/space.c.o: ../src/base/string_length.h
-
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/arena.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/arenaFile.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/bool.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/buffer.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/gun.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/item.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/list.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/main.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/modules.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/myTimer.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/net_multiplayer.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/path.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/protect.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/proto.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/server.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/shot.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/space.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/string_length.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/textFile.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/base/tux.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/client/client.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/client/image.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/client/interface.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/net/udp.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/screen/screen_choiceArena.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/screen/screen_setting.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/screen/screen_world.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: ../src/modules/modWall.c
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_active.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_audio.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_cdrom.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_config.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_cpuinfo.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_endian.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_error.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_events.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_image.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_joystick.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_keyboard.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_keysym.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_loadso.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_main.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_mouse.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_mutex.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_net.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_platform.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_quit.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_rwops.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_stdinc.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_thread.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_timer.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_version.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/SDL_video.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/begin_code.h
-src/modules/CMakeFiles/modWall.dir/modWall.c.o: /usr/include/SDL/close_code.h
-
diff --git a/build/src/modules/CMakeFiles/modWall.dir/flags.make b/build/src/modules/CMakeFiles/modWall.dir/flags.make
deleted file mode 100644
index d8bb03c..0000000
--- a/build/src/modules/CMakeFiles/modWall.dir/flags.make
+++ /dev/null
@@ -1,8 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# compile C with /usr/bin/gcc
-C_FLAGS = -DmodWall_EXPORTS -fPIC -I/home/scarab/tuxanci/src/base -I/home/scarab/tuxanci/src/net -I/home/scarab/tuxanci/src/client -I/home/scarab/tuxanci/src/screen -I/home/scarab/tuxanci/src/widget -I/usr/include/SDL -I/home/scarab/tuxanci/src/audio
-
-C_DEFINES =
-
diff --git a/build/src/modules/CMakeFiles/modWall.dir/link.txt b/build/src/modules/CMakeFiles/modWall.dir/link.txt
deleted file mode 100644
index 4a07fcb..0000000
--- a/build/src/modules/CMakeFiles/modWall.dir/link.txt
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/gcc -fPIC -shared -Wl,-soname,libmodWall.so -o libmodWall.so CMakeFiles/modWall.dir/__/base/list.c.o CMakeFiles/modWall.dir/__/base/space.c.o CMakeFiles/modWall.dir/__/base/index.c.o CMakeFiles/modWall.dir/modWall.c.o -lzzip -Wl,-Bstatic -lSDLmain -Wl,-Bdynamic -lSDL -lpthread -lSDL_mixer -lSDL_image -lSDL_ttf -lSDLmain -ldl
diff --git a/build/src/modules/CMakeFiles/modWall.dir/modWall.c.o b/build/src/modules/CMakeFiles/modWall.dir/modWall.c.o
deleted file mode 100644
index 1ec5da7..0000000
--- a/build/src/modules/CMakeFiles/modWall.dir/modWall.c.o
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/CMakeFiles/modWall.dir/progress.make b/build/src/modules/CMakeFiles/modWall.dir/progress.make
deleted file mode 100644
index 621473c..0000000
--- a/build/src/modules/CMakeFiles/modWall.dir/progress.make
+++ /dev/null
@@ -1,5 +0,0 @@
-CMAKE_PROGRESS_1 = 93
-CMAKE_PROGRESS_2 = 94
-CMAKE_PROGRESS_3 = 95
-CMAKE_PROGRESS_4 = 96
-
diff --git a/build/src/modules/CMakeFiles/progress.make b/build/src/modules/CMakeFiles/progress.make
deleted file mode 100644
index a45fd52..0000000
--- a/build/src/modules/CMakeFiles/progress.make
+++ /dev/null
@@ -1 +0,0 @@
-24
diff --git a/build/src/modules/Makefile b/build/src/modules/Makefile
deleted file mode 100644
index b910054..0000000
--- a/build/src/modules/Makefile
+++ /dev/null
@@ -1,545 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Default target executed when no arguments are given to make.
-default_target: all
-.PHONY : default_target
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/scarab/tuxanci
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/scarab/tuxanci/build
-
-#=============================================================================
-# Targets provided globally by CMake.
-
-# Special rule for the target edit_cache
-edit_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : edit_cache
-
-# Special rule for the target edit_cache
-edit_cache/fast: edit_cache
-.PHONY : edit_cache/fast
-
-# Special rule for the target install
-install: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install
-
-# Special rule for the target install
-install/fast: preinstall/fast
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/cmake -P cmake_install.cmake
-.PHONY : install/fast
-
-# Special rule for the target install/local
-install/local: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
-.PHONY : install/local
-
-# Special rule for the target install/local
-install/local/fast: install/local
-.PHONY : install/local/fast
-
-# Special rule for the target install/strip
-install/strip: preinstall
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
-.PHONY : install/strip
-
-# Special rule for the target install/strip
-install/strip/fast: install/strip
-.PHONY : install/strip/fast
-
-# Special rule for the target list_install_components
-list_install_components:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
-.PHONY : list_install_components
-
-# Special rule for the target list_install_components
-list_install_components/fast: list_install_components
-.PHONY : list_install_components/fast
-
-# Special rule for the target rebuild_cache
-rebuild_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
- cd /home/scarab/tuxanci/build/src/modules && /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : rebuild_cache
-
-# Special rule for the target rebuild_cache
-rebuild_cache/fast: rebuild_cache
-.PHONY : rebuild_cache/fast
-
-# The main all target
-all: cmake_check_build_system
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles /home/scarab/tuxanci/build/src/modules/CMakeFiles/progress.make
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 src/modules/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/scarab/tuxanci/build/CMakeFiles 0
-.PHONY : all
-
-# The main clean target
-clean:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 src/modules/clean
-.PHONY : clean
-
-# The main clean target
-clean/fast: clean
-.PHONY : clean/fast
-
-# Prepare targets for installation.
-preinstall: all
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 src/modules/preinstall
-.PHONY : preinstall
-
-# Prepare targets for installation.
-preinstall/fast:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 src/modules/preinstall
-.PHONY : preinstall/fast
-
-# clear depends
-depend:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
-.PHONY : depend
-
-# Convenience name for target.
-src/modules/CMakeFiles/modAI.dir/rule:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 src/modules/CMakeFiles/modAI.dir/rule
-.PHONY : src/modules/CMakeFiles/modAI.dir/rule
-
-# Convenience name for target.
-modAI: src/modules/CMakeFiles/modAI.dir/rule
-.PHONY : modAI
-
-# fast build rule for target.
-modAI/fast:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/build
-.PHONY : modAI/fast
-
-# Convenience name for target.
-src/modules/CMakeFiles/modBasic.dir/rule:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 src/modules/CMakeFiles/modBasic.dir/rule
-.PHONY : src/modules/CMakeFiles/modBasic.dir/rule
-
-# Convenience name for target.
-modBasic: src/modules/CMakeFiles/modBasic.dir/rule
-.PHONY : modBasic
-
-# fast build rule for target.
-modBasic/fast:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/build
-.PHONY : modBasic/fast
-
-# Convenience name for target.
-src/modules/CMakeFiles/modMove.dir/rule:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 src/modules/CMakeFiles/modMove.dir/rule
-.PHONY : src/modules/CMakeFiles/modMove.dir/rule
-
-# Convenience name for target.
-modMove: src/modules/CMakeFiles/modMove.dir/rule
-.PHONY : modMove
-
-# fast build rule for target.
-modMove/fast:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/build
-.PHONY : modMove/fast
-
-# Convenience name for target.
-src/modules/CMakeFiles/modPipe.dir/rule:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 src/modules/CMakeFiles/modPipe.dir/rule
-.PHONY : src/modules/CMakeFiles/modPipe.dir/rule
-
-# Convenience name for target.
-modPipe: src/modules/CMakeFiles/modPipe.dir/rule
-.PHONY : modPipe
-
-# fast build rule for target.
-modPipe/fast:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/build
-.PHONY : modPipe/fast
-
-# Convenience name for target.
-src/modules/CMakeFiles/modTeleport.dir/rule:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 src/modules/CMakeFiles/modTeleport.dir/rule
-.PHONY : src/modules/CMakeFiles/modTeleport.dir/rule
-
-# Convenience name for target.
-modTeleport: src/modules/CMakeFiles/modTeleport.dir/rule
-.PHONY : modTeleport
-
-# fast build rule for target.
-modTeleport/fast:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/build
-.PHONY : modTeleport/fast
-
-# Convenience name for target.
-src/modules/CMakeFiles/modWall.dir/rule:
- cd /home/scarab/tuxanci/build && $(MAKE) -f CMakeFiles/Makefile2 src/modules/CMakeFiles/modWall.dir/rule
-.PHONY : src/modules/CMakeFiles/modWall.dir/rule
-
-# Convenience name for target.
-modWall: src/modules/CMakeFiles/modWall.dir/rule
-.PHONY : modWall
-
-# fast build rule for target.
-modWall/fast:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/build
-.PHONY : modWall/fast
-
-__/base/index.o: __/base/index.c.o
-.PHONY : __/base/index.o
-
-# target to build an object file
-__/base/index.c.o:
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/__/base/index.c.o
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/__/base/index.c.o
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/__/base/index.c.o
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/__/base/index.c.o
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.o
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/__/base/index.c.o
-.PHONY : __/base/index.c.o
-
-__/base/index.i: __/base/index.c.i
-.PHONY : __/base/index.i
-
-# target to preprocess a source file
-__/base/index.c.i:
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/__/base/index.c.i
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/__/base/index.c.i
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/__/base/index.c.i
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/__/base/index.c.i
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.i
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/__/base/index.c.i
-.PHONY : __/base/index.c.i
-
-__/base/index.s: __/base/index.c.s
-.PHONY : __/base/index.s
-
-# target to generate assembly for a file
-__/base/index.c.s:
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/__/base/index.c.s
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/__/base/index.c.s
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/__/base/index.c.s
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/__/base/index.c.s
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/__/base/index.c.s
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/__/base/index.c.s
-.PHONY : __/base/index.c.s
-
-__/base/list.o: __/base/list.c.o
-.PHONY : __/base/list.o
-
-# target to build an object file
-__/base/list.c.o:
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/__/base/list.c.o
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/__/base/list.c.o
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/__/base/list.c.o
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/__/base/list.c.o
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.o
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/__/base/list.c.o
-.PHONY : __/base/list.c.o
-
-__/base/list.i: __/base/list.c.i
-.PHONY : __/base/list.i
-
-# target to preprocess a source file
-__/base/list.c.i:
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/__/base/list.c.i
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/__/base/list.c.i
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/__/base/list.c.i
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/__/base/list.c.i
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.i
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/__/base/list.c.i
-.PHONY : __/base/list.c.i
-
-__/base/list.s: __/base/list.c.s
-.PHONY : __/base/list.s
-
-# target to generate assembly for a file
-__/base/list.c.s:
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/__/base/list.c.s
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/__/base/list.c.s
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/__/base/list.c.s
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/__/base/list.c.s
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/__/base/list.c.s
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/__/base/list.c.s
-.PHONY : __/base/list.c.s
-
-__/base/space.o: __/base/space.c.o
-.PHONY : __/base/space.o
-
-# target to build an object file
-__/base/space.c.o:
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/__/base/space.c.o
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/__/base/space.c.o
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/__/base/space.c.o
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/__/base/space.c.o
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.o
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/__/base/space.c.o
-.PHONY : __/base/space.c.o
-
-__/base/space.i: __/base/space.c.i
-.PHONY : __/base/space.i
-
-# target to preprocess a source file
-__/base/space.c.i:
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/__/base/space.c.i
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/__/base/space.c.i
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/__/base/space.c.i
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/__/base/space.c.i
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.i
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/__/base/space.c.i
-.PHONY : __/base/space.c.i
-
-__/base/space.s: __/base/space.c.s
-.PHONY : __/base/space.s
-
-# target to generate assembly for a file
-__/base/space.c.s:
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/__/base/space.c.s
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/__/base/space.c.s
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/__/base/space.c.s
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/__/base/space.c.s
- cd /home/scarab/tuxanci/build && cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/__/base/space.c.s
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/__/base/space.c.s
-.PHONY : __/base/space.c.s
-
-modAI.o: modAI.c.o
-.PHONY : modAI.o
-
-# target to build an object file
-modAI.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/modAI.c.o
-.PHONY : modAI.c.o
-
-modAI.i: modAI.c.i
-.PHONY : modAI.i
-
-# target to preprocess a source file
-modAI.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/modAI.c.i
-.PHONY : modAI.c.i
-
-modAI.s: modAI.c.s
-.PHONY : modAI.s
-
-# target to generate assembly for a file
-modAI.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modAI.dir/build.make src/modules/CMakeFiles/modAI.dir/modAI.c.s
-.PHONY : modAI.c.s
-
-modBasic.o: modBasic.c.o
-.PHONY : modBasic.o
-
-# target to build an object file
-modBasic.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/modBasic.c.o
-.PHONY : modBasic.c.o
-
-modBasic.i: modBasic.c.i
-.PHONY : modBasic.i
-
-# target to preprocess a source file
-modBasic.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/modBasic.c.i
-.PHONY : modBasic.c.i
-
-modBasic.s: modBasic.c.s
-.PHONY : modBasic.s
-
-# target to generate assembly for a file
-modBasic.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modBasic.dir/build.make src/modules/CMakeFiles/modBasic.dir/modBasic.c.s
-.PHONY : modBasic.c.s
-
-modMove.o: modMove.c.o
-.PHONY : modMove.o
-
-# target to build an object file
-modMove.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/modMove.c.o
-.PHONY : modMove.c.o
-
-modMove.i: modMove.c.i
-.PHONY : modMove.i
-
-# target to preprocess a source file
-modMove.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/modMove.c.i
-.PHONY : modMove.c.i
-
-modMove.s: modMove.c.s
-.PHONY : modMove.s
-
-# target to generate assembly for a file
-modMove.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modMove.dir/build.make src/modules/CMakeFiles/modMove.dir/modMove.c.s
-.PHONY : modMove.c.s
-
-modPipe.o: modPipe.c.o
-.PHONY : modPipe.o
-
-# target to build an object file
-modPipe.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/modPipe.c.o
-.PHONY : modPipe.c.o
-
-modPipe.i: modPipe.c.i
-.PHONY : modPipe.i
-
-# target to preprocess a source file
-modPipe.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/modPipe.c.i
-.PHONY : modPipe.c.i
-
-modPipe.s: modPipe.c.s
-.PHONY : modPipe.s
-
-# target to generate assembly for a file
-modPipe.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modPipe.dir/build.make src/modules/CMakeFiles/modPipe.dir/modPipe.c.s
-.PHONY : modPipe.c.s
-
-modTeleport.o: modTeleport.c.o
-.PHONY : modTeleport.o
-
-# target to build an object file
-modTeleport.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.o
-.PHONY : modTeleport.c.o
-
-modTeleport.i: modTeleport.c.i
-.PHONY : modTeleport.i
-
-# target to preprocess a source file
-modTeleport.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.i
-.PHONY : modTeleport.c.i
-
-modTeleport.s: modTeleport.c.s
-.PHONY : modTeleport.s
-
-# target to generate assembly for a file
-modTeleport.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modTeleport.dir/build.make src/modules/CMakeFiles/modTeleport.dir/modTeleport.c.s
-.PHONY : modTeleport.c.s
-
-modWall.o: modWall.c.o
-.PHONY : modWall.o
-
-# target to build an object file
-modWall.c.o:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/modWall.c.o
-.PHONY : modWall.c.o
-
-modWall.i: modWall.c.i
-.PHONY : modWall.i
-
-# target to preprocess a source file
-modWall.c.i:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/modWall.c.i
-.PHONY : modWall.c.i
-
-modWall.s: modWall.c.s
-.PHONY : modWall.s
-
-# target to generate assembly for a file
-modWall.c.s:
- cd /home/scarab/tuxanci/build && $(MAKE) -f src/modules/CMakeFiles/modWall.dir/build.make src/modules/CMakeFiles/modWall.dir/modWall.c.s
-.PHONY : modWall.c.s
-
-# Help Target
-help:
- @echo "The following are some of the valid targets for this Makefile:"
- @echo "... all (the default if no target is provided)"
- @echo "... clean"
- @echo "... depend"
- @echo "... edit_cache"
- @echo "... install"
- @echo "... install/local"
- @echo "... install/strip"
- @echo "... list_install_components"
- @echo "... modAI"
- @echo "... modBasic"
- @echo "... modMove"
- @echo "... modPipe"
- @echo "... modTeleport"
- @echo "... modWall"
- @echo "... rebuild_cache"
- @echo "... __/base/index.o"
- @echo "... __/base/index.i"
- @echo "... __/base/index.s"
- @echo "... __/base/list.o"
- @echo "... __/base/list.i"
- @echo "... __/base/list.s"
- @echo "... __/base/space.o"
- @echo "... __/base/space.i"
- @echo "... __/base/space.s"
- @echo "... modAI.o"
- @echo "... modAI.i"
- @echo "... modAI.s"
- @echo "... modBasic.o"
- @echo "... modBasic.i"
- @echo "... modBasic.s"
- @echo "... modMove.o"
- @echo "... modMove.i"
- @echo "... modMove.s"
- @echo "... modPipe.o"
- @echo "... modPipe.i"
- @echo "... modPipe.s"
- @echo "... modTeleport.o"
- @echo "... modTeleport.i"
- @echo "... modTeleport.s"
- @echo "... modWall.o"
- @echo "... modWall.i"
- @echo "... modWall.s"
-.PHONY : help
-
-
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
- cd /home/scarab/tuxanci/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-.PHONY : cmake_check_build_system
-
diff --git a/build/src/modules/cmake_install.cmake b/build/src/modules/cmake_install.cmake
deleted file mode 100644
index 3c7278a..0000000
--- a/build/src/modules/cmake_install.cmake
+++ /dev/null
@@ -1,118 +0,0 @@
-# Install script for directory: /home/scarab/tuxanci/src/modules
-
-# Set the install prefix
-IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
- SET(CMAKE_INSTALL_PREFIX "/usr/local")
-ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
-STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
-
-# Set the install configuration name.
-IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
- IF(BUILD_TYPE)
- STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
- CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
- ELSE(BUILD_TYPE)
- SET(CMAKE_INSTALL_CONFIG_NAME "")
- ENDIF(BUILD_TYPE)
- MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
-ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
-
-# Set the component getting installed.
-IF(NOT CMAKE_INSTALL_COMPONENT)
- IF(COMPONENT)
- MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
- SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
- ELSE(COMPONENT)
- SET(CMAKE_INSTALL_COMPONENT)
- ENDIF(COMPONENT)
-ENDIF(NOT CMAKE_INSTALL_COMPONENT)
-
-# Install shared libraries without execute permission?
-IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
- SET(CMAKE_INSTALL_SO_NO_EXE "0")
-ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
-
-IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
- IF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodBasic.so")
- FILE(RPATH_CHECK
- FILE "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodBasic.so"
- RPATH "")
- ENDIF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodBasic.so")
- FILE(INSTALL DESTINATION "/usr/local/lib/tuxanci-dev" TYPE SHARED_LIBRARY FILES "/home/scarab/tuxanci/build/src/modules/libmodBasic.so")
- IF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodBasic.so")
- IF(CMAKE_INSTALL_DO_STRIP)
- EXECUTE_PROCESS(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodBasic.so")
- ENDIF(CMAKE_INSTALL_DO_STRIP)
- ENDIF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodBasic.so")
-ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
-
-IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
- IF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodWall.so")
- FILE(RPATH_CHECK
- FILE "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodWall.so"
- RPATH "")
- ENDIF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodWall.so")
- FILE(INSTALL DESTINATION "/usr/local/lib/tuxanci-dev" TYPE SHARED_LIBRARY FILES "/home/scarab/tuxanci/build/src/modules/libmodWall.so")
- IF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodWall.so")
- IF(CMAKE_INSTALL_DO_STRIP)
- EXECUTE_PROCESS(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodWall.so")
- ENDIF(CMAKE_INSTALL_DO_STRIP)
- ENDIF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodWall.so")
-ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
-
-IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
- IF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodPipe.so")
- FILE(RPATH_CHECK
- FILE "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodPipe.so"
- RPATH "")
- ENDIF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodPipe.so")
- FILE(INSTALL DESTINATION "/usr/local/lib/tuxanci-dev" TYPE SHARED_LIBRARY FILES "/home/scarab/tuxanci/build/src/modules/libmodPipe.so")
- IF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodPipe.so")
- IF(CMAKE_INSTALL_DO_STRIP)
- EXECUTE_PROCESS(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodPipe.so")
- ENDIF(CMAKE_INSTALL_DO_STRIP)
- ENDIF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodPipe.so")
-ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
-
-IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
- IF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodMove.so")
- FILE(RPATH_CHECK
- FILE "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodMove.so"
- RPATH "")
- ENDIF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodMove.so")
- FILE(INSTALL DESTINATION "/usr/local/lib/tuxanci-dev" TYPE SHARED_LIBRARY FILES "/home/scarab/tuxanci/build/src/modules/libmodMove.so")
- IF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodMove.so")
- IF(CMAKE_INSTALL_DO_STRIP)
- EXECUTE_PROCESS(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodMove.so")
- ENDIF(CMAKE_INSTALL_DO_STRIP)
- ENDIF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodMove.so")
-ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
-
-IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
- IF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodTeleport.so")
- FILE(RPATH_CHECK
- FILE "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodTeleport.so"
- RPATH "")
- ENDIF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodTeleport.so")
- FILE(INSTALL DESTINATION "/usr/local/lib/tuxanci-dev" TYPE SHARED_LIBRARY FILES "/home/scarab/tuxanci/build/src/modules/libmodTeleport.so")
- IF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodTeleport.so")
- IF(CMAKE_INSTALL_DO_STRIP)
- EXECUTE_PROCESS(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodTeleport.so")
- ENDIF(CMAKE_INSTALL_DO_STRIP)
- ENDIF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodTeleport.so")
-ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
-
-IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
- IF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodAI.so")
- FILE(RPATH_CHECK
- FILE "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodAI.so"
- RPATH "")
- ENDIF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodAI.so")
- FILE(INSTALL DESTINATION "/usr/local/lib/tuxanci-dev" TYPE SHARED_LIBRARY FILES "/home/scarab/tuxanci/build/src/modules/libmodAI.so")
- IF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodAI.so")
- IF(CMAKE_INSTALL_DO_STRIP)
- EXECUTE_PROCESS(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodAI.so")
- ENDIF(CMAKE_INSTALL_DO_STRIP)
- ENDIF(EXISTS "$ENV{DESTDIR}/usr/local/lib/tuxanci-dev/libmodAI.so")
-ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
-
diff --git a/build/src/modules/libmodAI.so b/build/src/modules/libmodAI.so
deleted file mode 100755
index 9bdcc4b..0000000
--- a/build/src/modules/libmodAI.so
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/libmodBasic.so b/build/src/modules/libmodBasic.so
deleted file mode 100755
index 240ca0e..0000000
--- a/build/src/modules/libmodBasic.so
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/libmodMove.so b/build/src/modules/libmodMove.so
deleted file mode 100755
index 97a4abf..0000000
--- a/build/src/modules/libmodMove.so
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/libmodPipe.so b/build/src/modules/libmodPipe.so
deleted file mode 100755
index 89811db..0000000
--- a/build/src/modules/libmodPipe.so
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/libmodTeleport.so b/build/src/modules/libmodTeleport.so
deleted file mode 100755
index 1eb1fc6..0000000
--- a/build/src/modules/libmodTeleport.so
+++ /dev/null
Binary files differ
diff --git a/build/src/modules/libmodWall.so b/build/src/modules/libmodWall.so
deleted file mode 100755
index 7f05c09..0000000
--- a/build/src/modules/libmodWall.so
+++ /dev/null
Binary files differ
diff --git a/build/src/tuxanci-dev b/build/src/tuxanci-dev
deleted file mode 100755
index 99dd0e1..0000000
--- a/build/src/tuxanci-dev
+++ /dev/null
Binary files differ
diff --git a/data/tuxanci.desktop b/data/tuxanci.desktop
deleted file mode 100644
index 1db0e09..0000000
--- a/data/tuxanci.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Name=tuxanci
-Comment=Tuxanci first cushion shooter
-Exec=tuxanci-dev
-Terminal=false
-Type=Application
-Icon=tuxanci.svg
-Encoding=UTF-8
-Terminal=false
-StartupNotify=true
-Categories=Game;ActionGame;
diff --git a/src/audio/audio.c b/src/audio/audio.c
index 6f8bfba..cc9d81e 100644
--- a/src/audio/audio.c
+++ b/src/audio/audio.c
@@ -11,49 +11,44 @@ static bool_t isAudioInit = FALSE;
/*
* Returns state of audio
*/
-bool_t
-isAudioInicialized()
+bool_t isAudioInicialized()
{
- return isAudioInit;
+ return isAudioInit;
}
-
/*
* Inicialize audio
*/
-void
-initAudio()
+void initAudio()
{
- if (isParamFlag("--noaudio")) {
- return;
- }
+ if( isParamFlag("--noaudio") )
+ {
+ return;
+ }
- if (SDL_Init(SDL_INIT_AUDIO) == -1) {
- fprintf(stderr, _("Unable to initialize audio: %s\n"), SDL_GetError());
- return;
- }
- if (Mix_OpenAudio(MIX_DEFAULT_FREQUENCY, MIX_DEFAULT_FORMAT, 2, 1024) ==
- -1) {
- fprintf(stderr, _("Unable to create proper audio settings: %s\n"),
- Mix_GetError());
- return;
- }
- Mix_AllocateChannels(16);
- Mix_Volume(-1, MIX_MAX_VOLUME);
+ if (SDL_Init(SDL_INIT_AUDIO) == -1) {
+ fprintf(stderr, _("Unable to initialize audio: %s\n"), SDL_GetError());
+ return;
+ }
+ if (Mix_OpenAudio(MIX_DEFAULT_FREQUENCY, MIX_DEFAULT_FORMAT, 2, 1024) == -1) {
+ fprintf(stderr, _("Unable to create proper audio settings: %s\n"), Mix_GetError());
+ return;
+ }
+ Mix_AllocateChannels(16);
+ Mix_Volume(-1, MIX_MAX_VOLUME);
#ifdef DEBUG
- printf(_("Initializing audio system...\n"));
+ printf(_("Initializing audio system...\n"));
#endif
- isAudioInit = TRUE;
+ isAudioInit = TRUE;
}
-
/*
* Quit audio
*/
-void
-quitAudio()
+void quitAudio()
{
- Mix_CloseAudio();
- isAudioInit = TRUE;
+ Mix_CloseAudio();
+ isAudioInit = TRUE;
#ifdef DEBUG
- printf(_("Quitting audio...\n"));
+ printf(_("Quitting audio...\n"));
#endif
}
+
diff --git a/src/audio/audio.c~ b/src/audio/audio.c~
deleted file mode 100644
index cc9d81e..0000000
--- a/src/audio/audio.c~
+++ /dev/null
@@ -1,54 +0,0 @@
-
-#include <stdio.h>
-#include <assert.h>
-#include <SDL_mixer.h>
-
-#include "main.h"
-#include "audio.h"
-#include "interface.h"
-
-static bool_t isAudioInit = FALSE;
-/*
- * Returns state of audio
- */
-bool_t isAudioInicialized()
-{
- return isAudioInit;
-}
-/*
- * Inicialize audio
- */
-void initAudio()
-{
- if( isParamFlag("--noaudio") )
- {
- return;
- }
-
- if (SDL_Init(SDL_INIT_AUDIO) == -1) {
- fprintf(stderr, _("Unable to initialize audio: %s\n"), SDL_GetError());
- return;
- }
- if (Mix_OpenAudio(MIX_DEFAULT_FREQUENCY, MIX_DEFAULT_FORMAT, 2, 1024) == -1) {
- fprintf(stderr, _("Unable to create proper audio settings: %s\n"), Mix_GetError());
- return;
- }
- Mix_AllocateChannels(16);
- Mix_Volume(-1, MIX_MAX_VOLUME);
-#ifdef DEBUG
- printf(_("Initializing audio system...\n"));
-#endif
- isAudioInit = TRUE;
-}
-/*
- * Quit audio
- */
-void quitAudio()
-{
- Mix_CloseAudio();
- isAudioInit = TRUE;
-#ifdef DEBUG
- printf(_("Quitting audio...\n"));
-#endif
-}
-
diff --git a/src/audio/music.c b/src/audio/music.c
index 6be8157..f1c5cd8 100644
--- a/src/audio/music.c
+++ b/src/audio/music.c
@@ -18,224 +18,204 @@ static Mix_Music *currentMusic;
/*
* Return state of music initialization
*/
-bool_t
-isMusicInicialized()
+bool_t isMusicInicialized()
{
- return isMusicInit;
+ return isMusicInit;
}
-
/*
* Initialize music
*/
-void
-initMusic()
+void initMusic()
{
- if (isAudioInicialized() == FALSE) {
- isMusicInit = FALSE;
- return;
- }
- listStorage = newStorage();
- currentMusic = NULL;
- isMusicInit = TRUE;
- var_isMusicActive = TRUE;
- if (isParamFlag("--nomusic"))
- setMusicActive(FALSE);
- if (isParamFlag("--music"))
- setMusicActive(TRUE);
+ if (isAudioInicialized() == FALSE) {
+ isMusicInit = FALSE;
+ return;
+ }
+ listStorage = newStorage();
+ currentMusic = NULL;
+ isMusicInit = TRUE;
+ var_isMusicActive = TRUE;
+ if (isParamFlag("--nomusic"))
+ setMusicActive(FALSE);
+ if (isParamFlag("--music"))
+ setMusicActive(TRUE);
#ifdef DEBUG
- printf(_("Initializing music...\n"));
+ printf(_("Initializing music...\n"));
#endif
}
-
/*
* Load music file and returns it
*/
-static Mix_Music *
-loadMixMusic(char *file)
+static Mix_Music* loadMixMusic(char *file)
{
- Mix_Music *mixer;
- char str[STR_PATH_SIZE];
+ Mix_Music *mixer;
+ char str[STR_PATH_SIZE];
#ifdef DEBUG
- printf(_("Loading music file: %s\n"), file);
+ printf(_("Loading music file: %s\n"), file);
#endif
- if (isFillPath(file)) {
- strcpy(str, file);
- }
- else {
- sprintf(str, PATH_MUSIC "%s", file);
- }
+ if( isFillPath(file) )
+ {
+ strcpy(str, file);
+ }
+ else
+ {
+ sprintf(str, PATH_MUSIC "%s", file);
+ }
- accessExistFile(str);
+ accessExistFile(str);
- mixer = Mix_LoadMUS(str);
+ mixer = Mix_LoadMUS(str);
- if (mixer == NULL) {
- fprintf(stderr, _("Unable to load music from file: %s\n"), file);
- return NULL;
- }
+ if( mixer == NULL )
+ {
+ fprintf(stderr, _("Unable to load music from file: %s\n"), file);
+ return NULL;
+ }
- return mixer;
+ return mixer;
}
-
/*
* Prepare music mixer
*/
-static void
-playMixMusic()
+static void playMixMusic()
{
- if (currentMusic != NULL)
- Mix_PlayMusic(currentMusic, 1000);
+ if (currentMusic != NULL)
+ Mix_PlayMusic(currentMusic, 1000);
}
-
/*
* Free memory of music
*/
-static void
-destroyMusic(void *p)
+static void destroyMusic(void *p)
{
- Mix_FreeMusic((Mix_Music *) p);
+ Mix_FreeMusic((Mix_Music *)p);
}
-
/*
* Add file to list with music
*/
-void
-addMusic(char *file, char *name, char *group)
+void addMusic(char *file, char *name, char *group)
{
- Mix_Music *new;
- if (isMusicInit == FALSE)
- return;
+ Mix_Music *new;
+ if (isMusicInit == FALSE)
+ return;
- assert(file != NULL);
- assert(name != NULL);
- assert(group != NULL);
+ assert( file != NULL );
+ assert( name != NULL );
+ assert( group != NULL );
- new = loadMixMusic(file);
- addItemToStorage(listStorage, group, name, new);
+ new = loadMixMusic(file);
+ addItemToStorage(listStorage, group, name, new );
}
-
/*
* Disable music and stop playback
*/
-void
-stopMusic()
+void stopMusic()
{
- if (isMusicInit == FALSE || var_isMusicActive == FALSE)
- return;
+ if (isMusicInit == FALSE ||
+ var_isMusicActive == FALSE)
+ return;
- if (currentMusic != NULL) {
+ if (currentMusic != NULL) {
#ifdef DEBUG
- printf(_("Stopping music...\n"));
+ printf(_("Stopping music...\n"));
#endif
- Mix_HaltMusic();
- currentMusic = NULL;
- }
+ Mix_HaltMusic();
+ currentMusic = NULL;
+ }
}
-
/*
* start music playback
*/
-void
-playMusic(char *name, char *group)
+void playMusic(char *name, char *group)
{
- static char currentMusic_group[STR_SIZE];
- static char currentMusic_name[STR_SIZE];
- static int isStrInit = 0;
-
- if (isStrInit == 0) {
- strcpy(currentMusic_group, "none");
- strcpy(currentMusic_name, "none");
- isStrInit = 1;
- }
-
- if (isMusicInit == FALSE || var_isMusicActive == FALSE)
- return;
-
- if (currentMusic != NULL &&
- strcmp(currentMusic_group, group) == 0 &&
- strcmp(currentMusic_name, name) == 0) {
- return;
- }
-
- if (currentMusic != NULL)
- stopMusic();
-
- currentMusic = getItemFromStorage(listStorage, group, name);
- strcpy(currentMusic_group, group);
- strcpy(currentMusic_name, name);
-
- if (currentMusic != NULL) {
+ static char currentMusic_group[STR_SIZE];
+ static char currentMusic_name[STR_SIZE];
+ static int isStrInit = 0;
+
+ if (isStrInit == 0) {
+ strcpy(currentMusic_group, "none");
+ strcpy(currentMusic_name, "none");
+ isStrInit = 1;
+ }
+
+ if (isMusicInit == FALSE ||
+ var_isMusicActive == FALSE)
+ return;
+
+ if (currentMusic != NULL &&
+ strcmp(currentMusic_group, group) == 0 &&
+ strcmp(currentMusic_name, name) == 0) {
+ return;
+ }
+
+ if (currentMusic != NULL)
+ stopMusic();
+
+ currentMusic = getItemFromStorage(listStorage, group, name);
+ strcpy(currentMusic_group, group);
+ strcpy(currentMusic_name, name);
+
+ if( currentMusic != NULL ) {
#ifdef DEBUG
- printf(_("Playing music file %s\n"), name);
+ printf(_("Playing music file %s\n"), name);
#endif
- playMixMusic();
- }
+ playMixMusic();
+ }
}
-
/*
* Set music active/deactivated
*/
-void
-setMusicActive(bool_t n)
+void setMusicActive(bool_t n)
{
- static Mix_Music *music = NULL;
-
- if (n == FALSE) {
- music = currentMusic;
- stopMusic();
- }
- if (n == TRUE) {
- currentMusic = music;
- playMixMusic();
- }
-
- var_isMusicActive = n;
+ static Mix_Music *music = NULL;
+
+ if (n == FALSE) {
+ music = currentMusic;
+ stopMusic();
+ }
+ if (n == TRUE) {
+ currentMusic = music;
+ playMixMusic();
+ }
+
+ var_isMusicActive = n;
}
-
/*
* Return status of music
*/
-bool_t
-isMusicActive()
+bool_t isMusicActive()
{
- return var_isMusicActive;
+ return var_isMusicActive;
}
-
/*
* TOCOMMENT
*/
-char *
-getCurrentMusic()
+char* getCurrentMusic()
{
- return "unknown";
+ return "unknown";
}
-
/*
* TOCOMMENT
*/
-void
-delAllMusicInGroup(char *group)
+void delAllMusicInGroup(char *group)
{
- if (isMusicInit == FALSE)
- return;
- delAllItemFromStorage(listStorage, group, destroyMusic);
+ if (isMusicInit == FALSE)
+ return;
+ delAllItemFromStorage(listStorage, group, destroyMusic);
}
-
/*
* Deactivate all what is ment for music
*/
-void
-quitMusic()
+void quitMusic()
{
- if (isMusicInit == FALSE)
- return;
+ if (isMusicInit == FALSE)
+ return;
- stopMusic();
- destroyStorage(listStorage, destroyMusic);
- isMusicInit = FALSE;
+ stopMusic();
+ destroyStorage(listStorage, destroyMusic);
+ isMusicInit = FALSE;
#ifdef DEBUG
- printf(_("Quitting music...\n"));
+ printf(_("Quitting music...\n"));
#endif
}
diff --git a/src/audio/music.c~ b/src/audio/music.c~
deleted file mode 100644
index f1c5cd8..0000000
--- a/src/audio/music.c~
+++ /dev/null
@@ -1,221 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "storage.h"
-#include "interface.h"
-#include "audio.h"
-#include "music.h"
-
-static list_t *listStorage;
-
-static bool_t isMusicInit = FALSE;
-static bool_t var_isMusicActive = TRUE;
-static Mix_Music *currentMusic;
-/*
- * Return state of music initialization
- */
-bool_t isMusicInicialized()
-{
- return isMusicInit;
-}
-/*
- * Initialize music
- */
-void initMusic()
-{
- if (isAudioInicialized() == FALSE) {
- isMusicInit = FALSE;
- return;
- }
- listStorage = newStorage();
- currentMusic = NULL;
- isMusicInit = TRUE;
- var_isMusicActive = TRUE;
- if (isParamFlag("--nomusic"))
- setMusicActive(FALSE);
- if (isParamFlag("--music"))
- setMusicActive(TRUE);
-#ifdef DEBUG
- printf(_("Initializing music...\n"));
-#endif
-}
-/*
- * Load music file and returns it
- */
-static Mix_Music* loadMixMusic(char *file)
-{
- Mix_Music *mixer;
- char str[STR_PATH_SIZE];
-
-#ifdef DEBUG
- printf(_("Loading music file: %s\n"), file);
-#endif
-
- if( isFillPath(file) )
- {
- strcpy(str, file);
- }
- else
- {
- sprintf(str, PATH_MUSIC "%s", file);
- }
-
- accessExistFile(str);
-
- mixer = Mix_LoadMUS(str);
-
- if( mixer == NULL )
- {
- fprintf(stderr, _("Unable to load music from file: %s\n"), file);
- return NULL;
- }
-
- return mixer;
-}
-/*
- * Prepare music mixer
- */
-static void playMixMusic()
-{
- if (currentMusic != NULL)
- Mix_PlayMusic(currentMusic, 1000);
-}
-/*
- * Free memory of music
- */
-static void destroyMusic(void *p)
-{
- Mix_FreeMusic((Mix_Music *)p);
-}
-/*
- * Add file to list with music
- */
-void addMusic(char *file, char *name, char *group)
-{
- Mix_Music *new;
- if (isMusicInit == FALSE)
- return;
-
- assert( file != NULL );
- assert( name != NULL );
- assert( group != NULL );
-
- new = loadMixMusic(file);
- addItemToStorage(listStorage, group, name, new );
-}
-/*
- * Disable music and stop playback
- */
-void stopMusic()
-{
- if (isMusicInit == FALSE ||
- var_isMusicActive == FALSE)
- return;
-
- if (currentMusic != NULL) {
-#ifdef DEBUG
- printf(_("Stopping music...\n"));
-#endif
- Mix_HaltMusic();
- currentMusic = NULL;
- }
-}
-/*
- * start music playback
- */
-void playMusic(char *name, char *group)
-{
- static char currentMusic_group[STR_SIZE];
- static char currentMusic_name[STR_SIZE];
- static int isStrInit = 0;
-
- if (isStrInit == 0) {
- strcpy(currentMusic_group, "none");
- strcpy(currentMusic_name, "none");
- isStrInit = 1;
- }
-
- if (isMusicInit == FALSE ||
- var_isMusicActive == FALSE)
- return;
-
- if (currentMusic != NULL &&
- strcmp(currentMusic_group, group) == 0 &&
- strcmp(currentMusic_name, name) == 0) {
- return;
- }
-
- if (currentMusic != NULL)
- stopMusic();
-
- currentMusic = getItemFromStorage(listStorage, group, name);
- strcpy(currentMusic_group, group);
- strcpy(currentMusic_name, name);
-
- if( currentMusic != NULL ) {
-#ifdef DEBUG
- printf(_("Playing music file %s\n"), name);
-#endif
- playMixMusic();
- }
-}
-/*
- * Set music active/deactivated
- */
-void setMusicActive(bool_t n)
-{
- static Mix_Music *music = NULL;
-
- if (n == FALSE) {
- music = currentMusic;
- stopMusic();
- }
- if (n == TRUE) {
- currentMusic = music;
- playMixMusic();
- }
-
- var_isMusicActive = n;
-}
-/*
- * Return status of music
- */
-bool_t isMusicActive()
-{
- return var_isMusicActive;
-}
-/*
- * TOCOMMENT
- */
-char* getCurrentMusic()
-{
- return "unknown";
-}
-/*
- * TOCOMMENT
- */
-void delAllMusicInGroup(char *group)
-{
- if (isMusicInit == FALSE)
- return;
- delAllItemFromStorage(listStorage, group, destroyMusic);
-}
-/*
- * Deactivate all what is ment for music
- */
-void quitMusic()
-{
- if (isMusicInit == FALSE)
- return;
-
- stopMusic();
- destroyStorage(listStorage, destroyMusic);
- isMusicInit = FALSE;
-#ifdef DEBUG
- printf(_("Quitting music...\n"));
-#endif
-}
diff --git a/src/audio/sound.c b/src/audio/sound.c
index 7a0bfc2..0c6b342 100644
--- a/src/audio/sound.c
+++ b/src/audio/sound.c
@@ -16,137 +16,119 @@ static bool_t var_isSoundActive = TRUE;
/*
* Return state of sound
*/
-bool_t
-isSoundInicialized()
+bool_t isSoundInicialized()
{
- return isSoundInit;
+ return isSoundInit;
}
-
/*
* Audio initialization
*/
-void
-initSound()
+void initSound()
{
- if (isAudioInicialized() == FALSE) {
- isSoundInit = FALSE;
- return;
- }
+ if( isAudioInicialized() == FALSE ) {
+ isSoundInit = FALSE;
+ return;
+ }
- listStorage = newStorage();
- isSoundInit = TRUE;
- var_isSoundActive = TRUE;
- if (isParamFlag("--nosound"))
- setSoundActive(FALSE);
- if (isParamFlag("--sound"))
- setSoundActive(TRUE);
+ listStorage = newStorage();
+ isSoundInit = TRUE;
+ var_isSoundActive = TRUE;
+ if (isParamFlag("--nosound"))
+ setSoundActive(FALSE);
+ if (isParamFlag("--sound"))
+ setSoundActive(TRUE);
#ifdef DEBUG
- printf(_("Initializing sound...\n"));
+ printf(_("Initializing sound...\n"));
#endif
}
-
/*
* Load sound file (Null/mixer)
*/
-static Mix_Chunk *
-loadMixSound(char *file)
+static Mix_Chunk* loadMixSound(char *file)
{
- Mix_Chunk *new;
- char str[STR_PATH_SIZE];
+ Mix_Chunk *new;
+ char str[STR_PATH_SIZE];
#ifdef DEBUG
- printf(_("Loading sound file: %s\n"), file);
+ printf(_("Loading sound file: %s\n"), file);
#endif
- sprintf(str, PATH_SOUND "%s", file);
- accessExistFile(str);
- new = Mix_LoadWAV(str);
- if (new == NULL) {
- fprintf(stderr, _("Unable to load sound file: %s with error: %s\n"),
- str, Mix_GetError());
- return NULL;
- }
- return new;
+ sprintf(str, PATH_SOUND "%s", file);
+ accessExistFile(str);
+ new = Mix_LoadWAV(str);
+ if (new == NULL) {
+ fprintf(stderr, _("Unable to load sound file: %s with error: %s\n"), str, Mix_GetError());
+ return NULL;
+ }
+ return new;
}
/*
* Play sound with mixer
*/
-static void
-playMixSound(Mix_Chunk * p)
+static void playMixSound(Mix_Chunk *p)
{
- if (Mix_PlayChannel(-1, p, 0) == -1) {
- fprintf(stderr, _("Unable to playback sound with error: %s\n"),
- Mix_GetError());
- return;
- }
+ if (Mix_PlayChannel(-1, p, 0) == -1) {
+ fprintf(stderr, _("Unable to playback sound with error: %s\n"), Mix_GetError());
+ return;
+ }
}
-
/*
* Destroy mixer chunk
*/
-static void
-destroySound(void *p)
+static void destroySound(void *p)
{
- Mix_FreeChunk((Mix_Chunk *) p);
+ Mix_FreeChunk((Mix_Chunk *)p);
}
-
/*
* Add sound to list
*/
-void
-addSound(char *file, char *name, char *group)
+void addSound(char *file, char *name, char *group)
{
- Mix_Chunk *new;
+ Mix_Chunk *new;
- if (isSoundInit == FALSE)
- return;
- assert(file != NULL);
- assert(name != NULL);
- assert(group != NULL);
- new = loadMixSound(file);
- addItemToStorage(listStorage, group, name, new);
+ if (isSoundInit == FALSE)
+ return;
+ assert( file != NULL );
+ assert( name != NULL );
+ assert( group != NULL );
+ new = loadMixSound(file);
+ addItemToStorage(listStorage, group, name, new );
}
-
/*
* Start playback file from list
*/
-void
-playSound(char *name, char *group)
+void playSound(char *name, char *group)
{
- if (isSoundInit == FALSE || var_isSoundActive == FALSE)
- return;
- playMixSound(getItemFromStorage(listStorage, group, name));
+ if (isSoundInit == FALSE ||
+ var_isSoundActive == FALSE)
+ return;
+ playMixSound(getItemFromStorage(listStorage, group, name));
}
-
/*
* Set if sound is active True/False
*/
-void
-setSoundActive(bool_t n)
+void setSoundActive(bool_t n)
{
- var_isSoundActive = n;
+ var_isSoundActive = n;
}
-
/*
* Return state of sound
*/
-bool_t
-isSoundActive()
+bool_t isSoundActive()
{
- return var_isSoundActive;
+ return var_isSoundActive;
}
-
/*
* Quit all sound stuff
*/
-void
-quitSound()
+void quitSound()
{
- if (isSoundInit == FALSE)
- return;
- destroyStorage(listStorage, destroySound);
- isSoundInit = FALSE;
+ if( isSoundInit == FALSE )
+ return;
+ destroyStorage(listStorage, destroySound);
+ isSoundInit = FALSE;
#ifdef DEBUG
- printf(_("Quitting sound...\n"));
+ printf(_("Quitting sound...\n"));
#endif
}
+
diff --git a/src/audio/sound.c~ b/src/audio/sound.c~
deleted file mode 100644
index 0c6b342..0000000
--- a/src/audio/sound.c~
+++ /dev/null
@@ -1,134 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "storage.h"
-#include "interface.h"
-#include "audio.h"
-#include "sound.h"
-
-static list_t *listStorage;
-static bool_t isSoundInit = FALSE;
-static bool_t var_isSoundActive = TRUE;
-/*
- * Return state of sound
- */
-bool_t isSoundInicialized()
-{
- return isSoundInit;
-}
-/*
- * Audio initialization
- */
-void initSound()
-{
- if( isAudioInicialized() == FALSE ) {
- isSoundInit = FALSE;
- return;
- }
-
- listStorage = newStorage();
- isSoundInit = TRUE;
- var_isSoundActive = TRUE;
- if (isParamFlag("--nosound"))
- setSoundActive(FALSE);
- if (isParamFlag("--sound"))
- setSoundActive(TRUE);
-#ifdef DEBUG
- printf(_("Initializing sound...\n"));
-#endif
-}
-/*
- * Load sound file (Null/mixer)
- */
-static Mix_Chunk* loadMixSound(char *file)
-{
- Mix_Chunk *new;
- char str[STR_PATH_SIZE];
-
-#ifdef DEBUG
- printf(_("Loading sound file: %s\n"), file);
-#endif
- sprintf(str, PATH_SOUND "%s", file);
- accessExistFile(str);
- new = Mix_LoadWAV(str);
- if (new == NULL) {
- fprintf(stderr, _("Unable to load sound file: %s with error: %s\n"), str, Mix_GetError());
- return NULL;
- }
- return new;
-}
-
-/*
- * Play sound with mixer
- */
-static void playMixSound(Mix_Chunk *p)
-{
- if (Mix_PlayChannel(-1, p, 0) == -1) {
- fprintf(stderr, _("Unable to playback sound with error: %s\n"), Mix_GetError());
- return;
- }
-}
-/*
- * Destroy mixer chunk
- */
-static void destroySound(void *p)
-{
- Mix_FreeChunk((Mix_Chunk *)p);
-}
-/*
- * Add sound to list
- */
-void addSound(char *file, char *name, char *group)
-{
- Mix_Chunk *new;
-
- if (isSoundInit == FALSE)
- return;
- assert( file != NULL );
- assert( name != NULL );
- assert( group != NULL );
- new = loadMixSound(file);
- addItemToStorage(listStorage, group, name, new );
-}
-/*
- * Start playback file from list
- */
-void playSound(char *name, char *group)
-{
- if (isSoundInit == FALSE ||
- var_isSoundActive == FALSE)
- return;
- playMixSound(getItemFromStorage(listStorage, group, name));
-}
-/*
- * Set if sound is active True/False
- */
-void setSoundActive(bool_t n)
-{
- var_isSoundActive = n;
-}
-/*
- * Return state of sound
- */
-bool_t isSoundActive()
-{
- return var_isSoundActive;
-}
-/*
- * Quit all sound stuff
- */
-void quitSound()
-{
- if( isSoundInit == FALSE )
- return;
- destroyStorage(listStorage, destroySound);
- isSoundInit = FALSE;
-#ifdef DEBUG
- printf(_("Quitting sound...\n"));
-#endif
-}
-
diff --git a/src/base/archive.c b/src/base/archive.c
index 52118f8..ac57721 100644
--- a/src/base/archive.c
+++ b/src/base/archive.c
@@ -10,63 +10,64 @@
#define ARCHIVE_BUFFER_SIZE 1024
#define STR_TMP_FILE_NAME 4096
-char *
-extractFileFromArchive(char *archive, char *filename)
+char *extractFileFromArchive(char *archive, char *filename)
{
- char buf[ARCHIVE_BUFFER_SIZE];
- char archive_name[STR_TMP_FILE_NAME];
- char name[STR_TMP_FILE_NAME];
+ char buf[ARCHIVE_BUFFER_SIZE];
+ char archive_name[STR_TMP_FILE_NAME];
+ char name[STR_TMP_FILE_NAME];
- ZZIP_FILE *zip_file;
- FILE *file;
- zzip_ssize_t len;
+ ZZIP_FILE *zip_file;
+ FILE *file;
+ zzip_ssize_t len;
- strcpy(archive_name, archive);
- sprintf(strrchr(archive_name, '.'), "/%s", filename);
+ strcpy(archive_name, archive);
+ sprintf(strrchr(archive_name, '.'), "/%s", filename);
- sprintf(name, "/tmp/tuxanci%d-%s", getpid(), filename);
+ sprintf(name,"/tmp/tuxanci%d-%s", getpid(), filename);
- if ((zip_file = zzip_open(archive_name, O_RDONLY)) == NULL) {
- fprintf(stderr, "No do not open %s archive\n", archive_name);
- return NULL;
- }
+ if( (zip_file = zzip_open(archive_name, O_RDONLY)) == NULL )
+ {
+ fprintf(stderr, "No do not open %s archive\n", archive_name);
+ return NULL;
+ }
- if ((file = fopen(name, "wb")) == NULL) {
- fprintf(stderr, "No do not create temp file %s\n", name);
- return NULL;
- }
+ if( (file = fopen(name, "wb")) == NULL )
+ {
+ fprintf(stderr, "No do not create temp file %s\n", name);
+ return NULL;
+ }
- do {
- len = zzip_read(zip_file, buf, ARCHIVE_BUFFER_SIZE);
- //printf("len = %d\n", len);
+ do{
+ len = zzip_read(zip_file, buf, ARCHIVE_BUFFER_SIZE);
+ //printf("len = %d\n", len);
- if (len > 0) {
- fwrite(buf, len, 1, file);
- }
- } while (len > 0);
+ if( len > 0 )
+ {
+ fwrite(buf, len, 1, file);
+ }
+ }while( len > 0 );
- zzip_close(zip_file);
- fclose(file);
+ zzip_close(zip_file);
+ fclose(file);
- return strdup(name);
+ return strdup(name);
}
-void
-deleteExtractFile(char *s)
+void deleteExtractFile(char *s)
{
- unlink(s);
- free(s);
+ unlink(s);
+ free(s);
}
#if ARCHIVE_TEST
-int
-main()
+int main()
{
- char *name;
+ char *name;
- name = extractFileFromArchive("hello/a/b/hello");
- printf("name = %s\n", name);
- deleteExtractFile(name);
- return 0;
+ name = extractFileFromArchive("hello/a/b/hello");
+ printf("name = %s\n", name);
+ deleteExtractFile(name);
+ return 0;
}
#endif
+
diff --git a/src/base/archive.c~ b/src/base/archive.c~
deleted file mode 100644
index ac57721..0000000
--- a/src/base/archive.c~
+++ /dev/null
@@ -1,73 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include <zzip/zzip.h>
-
-#include "archive.h"
-
-#define ARCHIVE_BUFFER_SIZE 1024
-#define STR_TMP_FILE_NAME 4096
-
-char *extractFileFromArchive(char *archive, char *filename)
-{
- char buf[ARCHIVE_BUFFER_SIZE];
- char archive_name[STR_TMP_FILE_NAME];
- char name[STR_TMP_FILE_NAME];
-
- ZZIP_FILE *zip_file;
- FILE *file;
- zzip_ssize_t len;
-
- strcpy(archive_name, archive);
- sprintf(strrchr(archive_name, '.'), "/%s", filename);
-
- sprintf(name,"/tmp/tuxanci%d-%s", getpid(), filename);
-
- if( (zip_file = zzip_open(archive_name, O_RDONLY)) == NULL )
- {
- fprintf(stderr, "No do not open %s archive\n", archive_name);
- return NULL;
- }
-
- if( (file = fopen(name, "wb")) == NULL )
- {
- fprintf(stderr, "No do not create temp file %s\n", name);
- return NULL;
- }
-
- do{
- len = zzip_read(zip_file, buf, ARCHIVE_BUFFER_SIZE);
- //printf("len = %d\n", len);
-
- if( len > 0 )
- {
- fwrite(buf, len, 1, file);
- }
- }while( len > 0 );
-
- zzip_close(zip_file);
- fclose(file);
-
- return strdup(name);
-}
-
-void deleteExtractFile(char *s)
-{
- unlink(s);
- free(s);
-}
-
-#if ARCHIVE_TEST
-int main()
-{
- char *name;
-
- name = extractFileFromArchive("hello/a/b/hello");
- printf("name = %s\n", name);
- deleteExtractFile(name);
- return 0;
-}
-#endif
-
diff --git a/src/base/arena.c b/src/base/arena.c
index 946aa77..d8715e6 100644
--- a/src/base/arena.c
+++ b/src/base/arena.c
@@ -22,426 +22,417 @@
static arena_t *currentArena;
static int splitType;
-static int
-isBigArena(arena_t * arena)
+static int isBigArena(arena_t *arena)
{
- if (arena->w > WINDOW_SIZE_X || arena->h > WINDOW_SIZE_Y) {
- return 1;
- }
- else {
- return 0;
- }
+ if( arena->w > WINDOW_SIZE_X || arena->h > WINDOW_SIZE_Y )
+ {
+ return 1;
+ }
+ else
+ {
+ return 0;
+ }
}
-static int
-isTuxNear(tux_t * tux1, tux_t * tux2)
+static int isTuxNear(tux_t *tux1, tux_t *tux2)
{
- if (abs(tux1->x - tux2->x) < WINDOW_SIZE_X &&
- abs(tux1->y - tux2->y) < WINDOW_SIZE_Y) {
- return 1;
- }
+ if( abs(tux1->x - tux2->x) < WINDOW_SIZE_X &&
+ abs(tux1->y - tux2->y) < WINDOW_SIZE_Y )
+ {
+ return 1;
+ }
- return 0;
+ return 0;
}
-void
-setCurrentArena(arena_t * p)
+void setCurrentArena(arena_t *p)
{
- currentArena = p;
+ currentArena = p;
}
-arena_t *
-getCurrentArena()
+arena_t* getCurrentArena()
{
- return currentArena;
+ return currentArena;
}
-void
-hotkey_splitArena()
+void hotkey_splitArena()
{
- if (splitType == SCREEN_SPLIT_VERTICAL) {
- splitType = SCREEN_SPLIT_HORIZONTAL;
- }
- else {
- splitType = SCREEN_SPLIT_VERTICAL;
- }
+ if( splitType == SCREEN_SPLIT_VERTICAL )
+ {
+ splitType = SCREEN_SPLIT_HORIZONTAL;
+ }
+ else
+ {
+ splitType = SCREEN_SPLIT_VERTICAL;
+ }
}
#ifndef PUBLIC_SERVER
-void
-initArena()
+void initArena()
{
- splitType = SCREEN_SPLIT_VERTICAL;
+ splitType = SCREEN_SPLIT_VERTICAL;
- if (getParam("--split-vertical")) {
- splitType = SCREEN_SPLIT_VERTICAL;
- printf("SCREEN_SPLIT_VERTICAL\n");
- }
+ if( getParam("--split-vertical") )
+ {
+ splitType = SCREEN_SPLIT_VERTICAL;
+ printf("SCREEN_SPLIT_VERTICAL\n");
+ }
- if (getParam("--split-horizontal")) {
- splitType = SCREEN_SPLIT_HORIZONTAL;
- printf("SCREEN_SPLIT_HORIZONTAL\n");
- }
+ if( getParam("--split-horizontal") )
+ {
+ splitType = SCREEN_SPLIT_HORIZONTAL;
+ printf("SCREEN_SPLIT_HORIZONTAL\n");
+ }
- registerHotKey(SDLK_F3, hotkey_splitArena);
+ registerHotKey(SDLK_F3, hotkey_splitArena);
}
-void
-quitArena()
+void quitArena()
{
- unregisterHotKey(SDLK_F3);
+ unregisterHotKey(SDLK_F3);
}
#endif
-arena_t *
-newArena(int w, int h)
+arena_t* newArena(int w, int h)
{
- arena_t *new;
- int zone_w, zone_h;
-
- new = malloc(sizeof(arena_t));
+ arena_t *new;
+ int zone_w, zone_h;
+ new = malloc( sizeof(arena_t) );
+
#ifndef PUBLIC_SERVER
- new->background = NULL;
- strcpy(new->music, "");
+ new->background = NULL;
+ strcpy(new->music, "");
#endif
- new->w = w;
- new->h = h;
+ new->w = w;
+ new->h = h;
- new->listTimer = newList();
+ new->listTimer = newList();
- if (w > 800 || h > 600) {
- zone_w = 320;
- zone_h = 240;
- }
- else {
- zone_w = 80;
- zone_h = 60;
- }
+ if( w > 800 || h > 600 )
+ {
+ zone_w = 320;
+ zone_h = 240;
+ }
+ else
+ {
+ zone_w = 80;
+ zone_h = 60;
+ }
- new->spaceTux = newSpace(w, h, zone_w, zone_h, getStatusTux, setStatusTux);
- new->spaceItem =
- newSpace(w, h, zone_w, zone_h, getStatusItem, setStatusItem);
- new->spaceShot =
- newSpace(w, h, zone_w, zone_h, getStatusShot, setStatusShot);
+ new->spaceTux = newSpace(w, h, zone_w, zone_h, getStatusTux, setStatusTux);
+ new->spaceItem = newSpace(w, h, zone_w, zone_h, getStatusItem, setStatusItem);
+ new->spaceShot = newSpace(w, h, zone_w, zone_h, getStatusShot, setStatusShot);
- new->countRound = 0;
- new->max_countRound = 0;
+ new->countRound = 0;
+ new->max_countRound = 0;
- return new;
+ return new;
}
-int
-conflictSpace(int x1, int y1, int w1, int h1, int x2, int y2, int w2, int h2)
+int conflictSpace(int x1,int y1,int w1,int h1,int x2,int y2,int w2,int h2)
{
- return (x1 < x2 + w2 && x2 < x1 + w1 && y1 < y2 + h2 && y2 < y1 + h1);
+ return (x1<x2+w2 && x2<x1+w1 && y1<y2+h2 && y2<y1+h1);
}
-int
-isFreeSpace(arena_t * arena, int x, int y, int w, int h)
+int isFreeSpace(arena_t *arena, int x, int y, int w, int h)
{
- if (x < 0 || y < 0 || x + w > arena->w || y + h > arena->h) {
- return 0;
- }
-
- if (isConflictWithObjectFromSpace(arena->spaceTux, x, y, w, h))
- return 0;
- if (isConflictWithObjectFromSpace(arena->spaceShot, x, y, w, h))
- return 0;
- if (isConflictWithObjectFromSpace(arena->spaceItem, x, y, w, h))
- return 0;
- if (isConflictWithObjectFromSpace(arena->spaceShot, x, y, w, h))
- return 0;
-
- if (isConflictModule(x, y, w, h))
- return 0;
-
- return 1;
+ if( x < 0 || y < 0 || x+w > arena->w || y+h > arena->h )
+ {
+ return 0;
+ }
+
+ if( isConflictWithObjectFromSpace(arena->spaceTux, x, y, w, h) )return 0;
+ if( isConflictWithObjectFromSpace(arena->spaceShot, x, y, w, h) )return 0;
+ if( isConflictWithObjectFromSpace(arena->spaceItem, x, y, w, h) )return 0;
+ if( isConflictWithObjectFromSpace(arena->spaceShot, x, y, w, h) )return 0;
+
+ if( isConflictModule(x, y, w, h) )return 0;
+
+ return 1;
}
-void
-findFreeSpace(arena_t * arena, int *x, int *y, int w, int h)
+void findFreeSpace(arena_t *arena, int *x, int *y, int w, int h)
{
- int z_x;
- int z_y;
+ int z_x;
+ int z_y;
- assert(x != NULL);
- assert(y != NULL);
+ assert( x != NULL );
+ assert( y != NULL );
- do {
- z_x = random() % (arena->w - w);
- z_y = random() % (arena->h - h);
- } while (isFreeSpace(arena, z_x, z_y, w, h) == 0);
+ do{
+ z_x = random() % (arena->w-w);
+ z_y = random() % (arena->h-h);
+ }while( isFreeSpace(arena, z_x, z_y ,w ,h) == 0 );
- *x = z_x;
- *y = z_y;
+ *x = z_x;
+ *y = z_y;
}
-void
-getCenterScreen(int *screen_x, int *screen_y, int x, int y, int screen_size_x,
- int screen_size_y)
+void getCenterScreen(int *screen_x, int *screen_y, int x, int y, int screen_size_x, int screen_size_y)
{
- arena_t *arena;
+ arena_t *arena;
- arena = getCurrentArena();
+ arena = getCurrentArena();
- *screen_x = x - screen_size_x / 2;
- *screen_y = y - screen_size_y / 2;
+ *screen_x = x - screen_size_x/2;
+ *screen_y = y - screen_size_y/2;
- if (*screen_x < 0) {
- *screen_x = 0;
- }
+ if( *screen_x < 0 )
+ {
+ *screen_x = 0;
+ }
- if (*screen_y < 0) {
- *screen_y = 0;
- }
+ if( *screen_y < 0 )
+ {
+ *screen_y = 0;
+ }
- if (*screen_x + screen_size_x >= arena->w) {
- *screen_x = arena->w - screen_size_x;
- }
+ if( *screen_x + screen_size_x >= arena->w )
+ {
+ *screen_x = arena->w - screen_size_x;
+ }
- if (*screen_y + screen_size_y >= arena->h) {
- *screen_y = arena->h - screen_size_y;
- }
+ if( *screen_y + screen_size_y >= arena->h )
+ {
+ *screen_y = arena->h - screen_size_y;
+ }
}
#ifndef PUBLIC_SERVER
-static void
-drawBackground(arena_t * arena, int screen_x, int screen_y)
+static void drawBackground(arena_t *arena, int screen_x, int screen_y)
{
- if (isBigArena(arena)) {
- int i, j;
-
- for (i = screen_y / arena->background->h;
- i <=
- screen_y / arena->background->h +
- WINDOW_SIZE_Y / arena->background->h + 1; i++) {
- for (j = screen_x / arena->background->w;
- j <=
- screen_x / arena->background->w +
- WINDOW_SIZE_X / arena->background->w + 1; j++) {
- addLayer(arena->background, j * arena->background->w,
- i * arena->background->h, 0, 0, arena->background->w,
- arena->background->h, -100);
-
- //count++;
- }
- }
- }
- else {
- addLayer(arena->background,
- 0, 0, 0, 0, arena->background->w, arena->background->h, -100);
- }
+ if( isBigArena(arena) )
+ {
+ int i, j;
+
+ for( i = screen_y/arena->background->h ;
+ i <= screen_y/arena->background->h + WINDOW_SIZE_Y/arena->background->h+1 ; i++ )
+ {
+ for( j = screen_x/arena->background->w ;
+ j <= screen_x/arena->background->w + WINDOW_SIZE_X/arena->background->w+1 ; j++ )
+ {
+ addLayer(arena->background,
+ j * arena->background->w,
+ i * arena->background->h,
+ 0, 0, arena->background->w, arena->background->h, -100);
+
+ //count++;
+ }
+ }
+ }
+ else
+ {
+ addLayer(arena->background,
+ 0, 0,
+ 0, 0,
+ arena->background->w, arena->background->h, -100);
+ }
}
-static void
-action_drawTux(space_t * space, tux_t * tux, void *p)
+static void action_drawTux(space_t *space, tux_t *tux, void *p)
{
- drawTux(tux);
+ drawTux(tux);
}
-static void
-action_drawItem(space_t * space, item_t * item, void *p)
+static void action_drawItem(space_t *space, item_t *item, void *p)
{
- drawItem(item);
+ drawItem(item);
}
-static void
-action_drawShot(space_t * space, shot_t * shot, void *p)
+static void action_drawShot(space_t *space, shot_t *shot, void *p)
{
- drawShot(shot);
+ drawShot(shot);
}
-static void
-drawObjects(arena_t * arena, int screen_x, int screen_y)
+static void drawObjects(arena_t *arena, int screen_x, int screen_y)
{
- actionSpaceFromLocation(arena->spaceTux, action_drawTux, NULL,
- screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
+ actionSpaceFromLocation(arena->spaceTux, action_drawTux, NULL,
+ screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
- actionSpaceFromLocation(arena->spaceItem, action_drawItem, NULL,
- screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
+ actionSpaceFromLocation(arena->spaceItem, action_drawItem, NULL,
+ screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
- actionSpaceFromLocation(arena->spaceShot, action_drawShot, NULL,
- screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
+ actionSpaceFromLocation(arena->spaceShot, action_drawShot, NULL,
+ screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
- drawModule(screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
+ drawModule(screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
}
-static void
-drawSplitArenaForTux(arena_t * arena, tux_t * tux, int location_x,
- int location_y)
+static void drawSplitArenaForTux(arena_t *arena, tux_t *tux, int location_x, int location_y)
{
- int screen_x, screen_y;
-
- switch (splitType) {
- case SCREEN_SPLIT_HORIZONTAL:
- getCenterScreen(&screen_x, &screen_y, tux->x, tux->y, WINDOW_SIZE_X,
- WINDOW_SIZE_Y / 2);
- break;
- case SCREEN_SPLIT_VERTICAL:
- getCenterScreen(&screen_x, &screen_y, tux->x, tux->y, WINDOW_SIZE_X / 2,
- WINDOW_SIZE_Y);
- break;
- default:
- screen_x = -1;
- screen_y = -1;
- assert(!"stupd error ");
- break;
- }
-
- drawBackground(arena, screen_x, screen_y);
- drawObjects(arena, screen_x, screen_y);
-
- switch (splitType) {
- case SCREEN_SPLIT_HORIZONTAL:
- drawLayerSplit(location_x, location_y, screen_x, screen_y,
- WINDOW_SIZE_X, WINDOW_SIZE_Y / 2);
- break;
- case SCREEN_SPLIT_VERTICAL:
- drawLayerSplit(location_x, location_y, screen_x, screen_y,
- WINDOW_SIZE_X / 2, WINDOW_SIZE_Y);
- break;
- default:
- screen_x = -1;
- screen_y = -1;
- assert(!"stupd error ");
- break;
- }
+ int screen_x, screen_y;
+
+ switch( splitType )
+ {
+ case SCREEN_SPLIT_HORIZONTAL :
+ getCenterScreen(&screen_x, &screen_y, tux->x, tux->y, WINDOW_SIZE_X, WINDOW_SIZE_Y/2);
+ break;
+ case SCREEN_SPLIT_VERTICAL :
+ getCenterScreen(&screen_x, &screen_y, tux->x, tux->y, WINDOW_SIZE_X/2, WINDOW_SIZE_Y);
+ break;
+ default :
+ screen_x = -1;
+ screen_y = -1;
+ assert( ! "stupd error ");
+ break;
+ }
+
+ drawBackground(arena, screen_x, screen_y);
+ drawObjects(arena, screen_x, screen_y);
+
+ switch( splitType )
+ {
+ case SCREEN_SPLIT_HORIZONTAL :
+ drawLayerSplit(location_x, location_y, screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y/2);
+ break;
+ case SCREEN_SPLIT_VERTICAL :
+ drawLayerSplit(location_x, location_y, screen_x, screen_y, WINDOW_SIZE_X/2, WINDOW_SIZE_Y);
+ break;
+ default :
+ screen_x = -1;
+ screen_y = -1;
+ assert( ! "stupd error ");
+ break;
+ }
}
-void
-drawSplitArena(arena_t * arena)
+void drawSplitArena(arena_t *arena)
{
- tux_t *tux = NULL;
-
- tux = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
-
- if (tux != NULL) {
- switch (splitType) {
- case SCREEN_SPLIT_HORIZONTAL:
- drawSplitArenaForTux(arena, tux, 0, WINDOW_SIZE_Y / 2);
- break;
- case SCREEN_SPLIT_VERTICAL:
- drawSplitArenaForTux(arena, tux, WINDOW_SIZE_X / 2, 0);
- break;
- }
- }
-
- tux = getControlTux(TUX_CONTROL_KEYBOARD_LEFT);
-
- if (tux != NULL) {
- drawSplitArenaForTux(arena, tux, 0, 0);
- }
+ tux_t *tux = NULL;
+
+ tux = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
+
+ if( tux != NULL )
+ {
+ switch( splitType )
+ {
+ case SCREEN_SPLIT_HORIZONTAL :
+ drawSplitArenaForTux(arena, tux, 0, WINDOW_SIZE_Y/2);
+ break;
+ case SCREEN_SPLIT_VERTICAL :
+ drawSplitArenaForTux(arena, tux, WINDOW_SIZE_X/2, 0);
+ break;
+ }
+ }
+
+ tux = getControlTux(TUX_CONTROL_KEYBOARD_LEFT);
+
+ if( tux != NULL )
+ {
+ drawSplitArenaForTux(arena, tux, 0, 0);
+ }
}
-void
-drawCenterArena(arena_t * arena, int x, int y)
+void drawCenterArena(arena_t *arena, int x, int y)
{
- int screen_x, screen_y;
+ int screen_x, screen_y;
- getCenterScreen(&screen_x, &screen_y, x, y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
- drawBackground(arena, screen_x, screen_y);
- drawObjects(arena, screen_x, screen_y);
- drawLayerCenter(x, y);
+ getCenterScreen(&screen_x, &screen_y, x, y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
+ drawBackground(arena, screen_x, screen_y);
+ drawObjects(arena, screen_x, screen_y);
+ drawLayerCenter(x, y);
}
-void
-drawSimpleArena(arena_t * arena)
+void drawSimpleArena(arena_t *arena)
{
- int screen_x, screen_y;
- tux_t *tux = NULL;
+ int screen_x, screen_y;
+ tux_t *tux = NULL;
- tux = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
+ tux = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
- if (tux == NULL) {
- return;
- }
+ if( tux == NULL )
+ {
+ return;
+ }
- screen_x = 0;
- screen_y = 0;
+ screen_x = 0;
+ screen_y = 0;
- drawBackground(arena, screen_x, screen_y);
- drawObjects(arena, screen_x, screen_y);
- drawLayer(tux->x, tux->y);
+ drawBackground(arena, screen_x, screen_y);
+ drawObjects(arena, screen_x, screen_y);
+ drawLayer(tux->x, tux->y);
}
-void
-drawArena(arena_t * arena)
+void drawArena(arena_t *arena)
{
- if (isBigArena(arena) &&
- getNetTypeGame() == NET_GAME_TYPE_NONE && !isSettingAI()) {
- tux_t *tux1;
- tux_t *tux2;
-
- tux1 = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
- tux2 = getControlTux(TUX_CONTROL_KEYBOARD_LEFT);
-
- if (isTuxNear(tux1, tux2)) {
- drawCenterArena(arena, (tux1->x + tux2->x) / 2,
- (tux1->y + tux2->y) / 2);
- }
- else {
- drawSplitArena(arena);
- }
-
- return;
- }
-
- if (isBigArena(arena)) {
- tux_t *tux = NULL;
-
- tux = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
-
- if (tux == NULL) {
- return;
- }
-
- drawCenterArena(arena, tux->x, tux->y);
- return;
- }
-
- drawSimpleArena(arena);
+ if( isBigArena(arena) &&
+ getNetTypeGame() == NET_GAME_TYPE_NONE &&
+ ! isSettingAI() )
+ {
+ tux_t *tux1;
+ tux_t *tux2;
+
+ tux1 = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
+ tux2 = getControlTux(TUX_CONTROL_KEYBOARD_LEFT);
+
+ if( isTuxNear(tux1, tux2) )
+ {
+ drawCenterArena(arena, (tux1->x + tux2->x)/2, (tux1->y + tux2->y)/2);
+ }
+ else
+ {
+ drawSplitArena(arena);
+ }
+
+ return;
+ }
+
+ if( isBigArena(arena) )
+ {
+ tux_t *tux = NULL;
+
+ tux = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
+
+ if( tux == NULL )
+ {
+ return;
+ }
+
+ drawCenterArena(arena, tux->x, tux->y);
+ return;
+ }
+
+ drawSimpleArena(arena);
}
#endif
-static void
-action_tux(space_t * space, tux_t * tux, void *p)
+static void action_tux(space_t *space, tux_t *tux, void *p)
{
- eventTux(tux);
+ eventTux(tux);
}
-void
-eventArena(arena_t * arena)
+void eventArena(arena_t *arena)
{
- int i;
-
- for (i = 0; i < 8; i++) {
- checkShotIsInTuxScreen(arena);
+ int i;
- eventConflictShotWithItem(arena);
- eventConflictTuxWithShot(arena);
- eventModule();
+ for( i = 0 ; i < 8 ; i++)
+ {
+ checkShotIsInTuxScreen(arena);
- eventMoveListShot(arena);
- }
+ eventConflictShotWithItem(arena);
+ eventConflictTuxWithShot(arena);
+ eventModule();
- eventListItem(arena->spaceItem);
+ eventMoveListShot(arena);
+ }
- actionSpace(arena->spaceTux, action_tux, NULL);
+ eventListItem(arena->spaceItem);
+
+ actionSpace(arena->spaceTux, action_tux, NULL);
- eventTimer(arena->listTimer);
+ eventTimer(arena->listTimer);
}
-void
-destroyArena(arena_t * p)
+void destroyArena(arena_t *p)
{
- destroySpaceWithObject(p->spaceTux, destroyTux);
- destroySpaceWithObject(p->spaceItem, destroyItem);
- destroySpaceWithObject(p->spaceShot, destroyShot);
- destroyTimer(p->listTimer);
- free(p);
+ destroySpaceWithObject(p->spaceTux, destroyTux);
+ destroySpaceWithObject(p->spaceItem, destroyItem);
+ destroySpaceWithObject(p->spaceShot, destroyShot);
+ destroyTimer(p->listTimer);
+ free(p);
}
diff --git a/src/base/arena.c~ b/src/base/arena.c~
deleted file mode 100644
index d8715e6..0000000
--- a/src/base/arena.c~
+++ /dev/null
@@ -1,438 +0,0 @@
-
-#include <stdlib.h>
-#include <assert.h>
-#include <string.h>
-
-#include "main.h"
-#include "arena.h"
-#include "list.h"
-#include "tux.h"
-#include "shot.h"
-#include "item.h"
-#include "myTimer.h"
-#include "modules.h"
-
-#ifndef PUBLIC_SERVER
-#include "hotKey.h"
-#include "screen_world.h"
-#include "screen_setting.h"
-#include "layer.h"
-#endif
-
-static arena_t *currentArena;
-static int splitType;
-
-static int isBigArena(arena_t *arena)
-{
- if( arena->w > WINDOW_SIZE_X || arena->h > WINDOW_SIZE_Y )
- {
- return 1;
- }
- else
- {
- return 0;
- }
-}
-
-static int isTuxNear(tux_t *tux1, tux_t *tux2)
-{
- if( abs(tux1->x - tux2->x) < WINDOW_SIZE_X &&
- abs(tux1->y - tux2->y) < WINDOW_SIZE_Y )
- {
- return 1;
- }
-
- return 0;
-}
-
-void setCurrentArena(arena_t *p)
-{
- currentArena = p;
-}
-
-arena_t* getCurrentArena()
-{
- return currentArena;
-}
-
-void hotkey_splitArena()
-{
- if( splitType == SCREEN_SPLIT_VERTICAL )
- {
- splitType = SCREEN_SPLIT_HORIZONTAL;
- }
- else
- {
- splitType = SCREEN_SPLIT_VERTICAL;
- }
-}
-
-#ifndef PUBLIC_SERVER
-void initArena()
-{
- splitType = SCREEN_SPLIT_VERTICAL;
-
- if( getParam("--split-vertical") )
- {
- splitType = SCREEN_SPLIT_VERTICAL;
- printf("SCREEN_SPLIT_VERTICAL\n");
- }
-
- if( getParam("--split-horizontal") )
- {
- splitType = SCREEN_SPLIT_HORIZONTAL;
- printf("SCREEN_SPLIT_HORIZONTAL\n");
- }
-
- registerHotKey(SDLK_F3, hotkey_splitArena);
-}
-
-void quitArena()
-{
- unregisterHotKey(SDLK_F3);
-}
-#endif
-
-arena_t* newArena(int w, int h)
-{
- arena_t *new;
- int zone_w, zone_h;
-
- new = malloc( sizeof(arena_t) );
-
-#ifndef PUBLIC_SERVER
- new->background = NULL;
- strcpy(new->music, "");
-#endif
-
- new->w = w;
- new->h = h;
-
- new->listTimer = newList();
-
- if( w > 800 || h > 600 )
- {
- zone_w = 320;
- zone_h = 240;
- }
- else
- {
- zone_w = 80;
- zone_h = 60;
- }
-
- new->spaceTux = newSpace(w, h, zone_w, zone_h, getStatusTux, setStatusTux);
- new->spaceItem = newSpace(w, h, zone_w, zone_h, getStatusItem, setStatusItem);
- new->spaceShot = newSpace(w, h, zone_w, zone_h, getStatusShot, setStatusShot);
-
- new->countRound = 0;
- new->max_countRound = 0;
-
- return new;
-}
-
-int conflictSpace(int x1,int y1,int w1,int h1,int x2,int y2,int w2,int h2)
-{
- return (x1<x2+w2 && x2<x1+w1 && y1<y2+h2 && y2<y1+h1);
-}
-
-int isFreeSpace(arena_t *arena, int x, int y, int w, int h)
-{
- if( x < 0 || y < 0 || x+w > arena->w || y+h > arena->h )
- {
- return 0;
- }
-
- if( isConflictWithObjectFromSpace(arena->spaceTux, x, y, w, h) )return 0;
- if( isConflictWithObjectFromSpace(arena->spaceShot, x, y, w, h) )return 0;
- if( isConflictWithObjectFromSpace(arena->spaceItem, x, y, w, h) )return 0;
- if( isConflictWithObjectFromSpace(arena->spaceShot, x, y, w, h) )return 0;
-
- if( isConflictModule(x, y, w, h) )return 0;
-
- return 1;
-}
-
-void findFreeSpace(arena_t *arena, int *x, int *y, int w, int h)
-{
- int z_x;
- int z_y;
-
- assert( x != NULL );
- assert( y != NULL );
-
- do{
- z_x = random() % (arena->w-w);
- z_y = random() % (arena->h-h);
- }while( isFreeSpace(arena, z_x, z_y ,w ,h) == 0 );
-
- *x = z_x;
- *y = z_y;
-}
-
-void getCenterScreen(int *screen_x, int *screen_y, int x, int y, int screen_size_x, int screen_size_y)
-{
- arena_t *arena;
-
- arena = getCurrentArena();
-
- *screen_x = x - screen_size_x/2;
- *screen_y = y - screen_size_y/2;
-
- if( *screen_x < 0 )
- {
- *screen_x = 0;
- }
-
- if( *screen_y < 0 )
- {
- *screen_y = 0;
- }
-
- if( *screen_x + screen_size_x >= arena->w )
- {
- *screen_x = arena->w - screen_size_x;
- }
-
- if( *screen_y + screen_size_y >= arena->h )
- {
- *screen_y = arena->h - screen_size_y;
- }
-}
-
-#ifndef PUBLIC_SERVER
-
-static void drawBackground(arena_t *arena, int screen_x, int screen_y)
-{
-
- if( isBigArena(arena) )
- {
- int i, j;
-
- for( i = screen_y/arena->background->h ;
- i <= screen_y/arena->background->h + WINDOW_SIZE_Y/arena->background->h+1 ; i++ )
- {
- for( j = screen_x/arena->background->w ;
- j <= screen_x/arena->background->w + WINDOW_SIZE_X/arena->background->w+1 ; j++ )
- {
- addLayer(arena->background,
- j * arena->background->w,
- i * arena->background->h,
- 0, 0, arena->background->w, arena->background->h, -100);
-
- //count++;
- }
- }
- }
- else
- {
- addLayer(arena->background,
- 0, 0,
- 0, 0,
- arena->background->w, arena->background->h, -100);
- }
-}
-
-static void action_drawTux(space_t *space, tux_t *tux, void *p)
-{
- drawTux(tux);
-}
-
-static void action_drawItem(space_t *space, item_t *item, void *p)
-{
- drawItem(item);
-}
-
-static void action_drawShot(space_t *space, shot_t *shot, void *p)
-{
- drawShot(shot);
-}
-
-static void drawObjects(arena_t *arena, int screen_x, int screen_y)
-{
- actionSpaceFromLocation(arena->spaceTux, action_drawTux, NULL,
- screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
-
- actionSpaceFromLocation(arena->spaceItem, action_drawItem, NULL,
- screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
-
- actionSpaceFromLocation(arena->spaceShot, action_drawShot, NULL,
- screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
-
- drawModule(screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
-}
-
-static void drawSplitArenaForTux(arena_t *arena, tux_t *tux, int location_x, int location_y)
-{
- int screen_x, screen_y;
-
- switch( splitType )
- {
- case SCREEN_SPLIT_HORIZONTAL :
- getCenterScreen(&screen_x, &screen_y, tux->x, tux->y, WINDOW_SIZE_X, WINDOW_SIZE_Y/2);
- break;
- case SCREEN_SPLIT_VERTICAL :
- getCenterScreen(&screen_x, &screen_y, tux->x, tux->y, WINDOW_SIZE_X/2, WINDOW_SIZE_Y);
- break;
- default :
- screen_x = -1;
- screen_y = -1;
- assert( ! "stupd error ");
- break;
- }
-
- drawBackground(arena, screen_x, screen_y);
- drawObjects(arena, screen_x, screen_y);
-
- switch( splitType )
- {
- case SCREEN_SPLIT_HORIZONTAL :
- drawLayerSplit(location_x, location_y, screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y/2);
- break;
- case SCREEN_SPLIT_VERTICAL :
- drawLayerSplit(location_x, location_y, screen_x, screen_y, WINDOW_SIZE_X/2, WINDOW_SIZE_Y);
- break;
- default :
- screen_x = -1;
- screen_y = -1;
- assert( ! "stupd error ");
- break;
- }
-}
-
-void drawSplitArena(arena_t *arena)
-{
- tux_t *tux = NULL;
-
- tux = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
-
- if( tux != NULL )
- {
- switch( splitType )
- {
- case SCREEN_SPLIT_HORIZONTAL :
- drawSplitArenaForTux(arena, tux, 0, WINDOW_SIZE_Y/2);
- break;
- case SCREEN_SPLIT_VERTICAL :
- drawSplitArenaForTux(arena, tux, WINDOW_SIZE_X/2, 0);
- break;
- }
- }
-
- tux = getControlTux(TUX_CONTROL_KEYBOARD_LEFT);
-
- if( tux != NULL )
- {
- drawSplitArenaForTux(arena, tux, 0, 0);
- }
-}
-
-void drawCenterArena(arena_t *arena, int x, int y)
-{
- int screen_x, screen_y;
-
- getCenterScreen(&screen_x, &screen_y, x, y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
- drawBackground(arena, screen_x, screen_y);
- drawObjects(arena, screen_x, screen_y);
- drawLayerCenter(x, y);
-}
-
-void drawSimpleArena(arena_t *arena)
-{
- int screen_x, screen_y;
- tux_t *tux = NULL;
-
- tux = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
-
- if( tux == NULL )
- {
- return;
- }
-
- screen_x = 0;
- screen_y = 0;
-
- drawBackground(arena, screen_x, screen_y);
- drawObjects(arena, screen_x, screen_y);
- drawLayer(tux->x, tux->y);
-}
-
-void drawArena(arena_t *arena)
-{
- if( isBigArena(arena) &&
- getNetTypeGame() == NET_GAME_TYPE_NONE &&
- ! isSettingAI() )
- {
- tux_t *tux1;
- tux_t *tux2;
-
- tux1 = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
- tux2 = getControlTux(TUX_CONTROL_KEYBOARD_LEFT);
-
- if( isTuxNear(tux1, tux2) )
- {
- drawCenterArena(arena, (tux1->x + tux2->x)/2, (tux1->y + tux2->y)/2);
- }
- else
- {
- drawSplitArena(arena);
- }
-
- return;
- }
-
- if( isBigArena(arena) )
- {
- tux_t *tux = NULL;
-
- tux = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
-
- if( tux == NULL )
- {
- return;
- }
-
- drawCenterArena(arena, tux->x, tux->y);
- return;
- }
-
- drawSimpleArena(arena);
-}
-
-#endif
-
-static void action_tux(space_t *space, tux_t *tux, void *p)
-{
- eventTux(tux);
-}
-
-void eventArena(arena_t *arena)
-{
- int i;
-
- for( i = 0 ; i < 8 ; i++)
- {
- checkShotIsInTuxScreen(arena);
-
- eventConflictShotWithItem(arena);
- eventConflictTuxWithShot(arena);
- eventModule();
-
- eventMoveListShot(arena);
- }
-
- eventListItem(arena->spaceItem);
-
- actionSpace(arena->spaceTux, action_tux, NULL);
-
- eventTimer(arena->listTimer);
-}
-
-void destroyArena(arena_t *p)
-{
- destroySpaceWithObject(p->spaceTux, destroyTux);
- destroySpaceWithObject(p->spaceItem, destroyItem);
- destroySpaceWithObject(p->spaceShot, destroyShot);
- destroyTimer(p->listTimer);
- free(p);
-}
diff --git a/src/base/arenaFile.c b/src/base/arenaFile.c
index a8e2e54..10b4449 100644
--- a/src/base/arenaFile.c
+++ b/src/base/arenaFile.c
@@ -29,343 +29,321 @@
static list_t *listArenaFile;
static bool_t isArenaFileInit = FALSE;
-bool_t
-isAreaFileInicialized()
+bool_t isAreaFileInicialized()
{
- return isArenaFileInit;
+ return isArenaFileInit;
}
-int
-getArenaValue(char *line, char *env, char *val, int len)
+int getArenaValue(char *line, char *env, char *val, int len)
{
- char *offset_env;
- char *offset_val_begin;
- char *offset_val_end;
- char clone_env[STR_SIZE];
- int val_len;
-
- strcpy(clone_env, " ");
- strcat(clone_env, env);
- offset_env = strstr(line, clone_env);
- if (offset_env == NULL)
- return -1;
- offset_val_begin = strchr(offset_env, '"');
- if (offset_val_begin == NULL)
- return -1;
- offset_val_end = strchr(offset_val_begin + 1, '"');
- if (offset_val_end == NULL)
- return -1;
- val_len = (int) (offset_val_end - (offset_val_begin + 1));
- if (val_len > len - 1)
- val_len = len - 1;
- memset(val, 0, len);
- memcpy(val, offset_val_begin + 1, val_len);
- return 0;
+ char *offset_env;
+ char *offset_val_begin;
+ char *offset_val_end;
+ char clone_env[STR_SIZE];
+ int val_len;
+
+ strcpy(clone_env, " ");
+ strcat(clone_env, env);
+ offset_env = strstr(line, clone_env);
+ if (offset_env == NULL)
+ return -1;
+ offset_val_begin = strchr(offset_env, '"');
+ if (offset_val_begin == NULL)
+ return -1;
+ offset_val_end = strchr(offset_val_begin+1, '"');
+ if (offset_val_end == NULL)
+ return -1;
+ val_len = (int)(offset_val_end - (offset_val_begin + 1));
+ if (val_len > len - 1)
+ val_len = len - 1;
+ memset(val, 0, len);
+ memcpy(val, offset_val_begin+1, val_len);
+ return 0;
}
#ifndef PUBLIC_SERVER
-image_t *
-loadImageFromArena(arenaFile_t * arenaFile, char *filename, char *group,
- char *name, int alpha)
+image_t* loadImageFromArena(arenaFile_t *arenaFile, char *filename, char *group, char *name, int alpha)
{
- char *extractFile;
- image_t *image;
+ char *extractFile;
+ image_t *image;
- extractFile = extractFileFromArchive(arenaFile->path, filename);
- image = addImageData(extractFile, alpha, name, group);
- deleteExtractFile(extractFile);
+ extractFile = extractFileFromArchive(arenaFile->path, filename);
+ image = addImageData(extractFile, alpha, name, group);
+ deleteExtractFile(extractFile);
- return image;
+ return image;
}
#ifndef NO_SOUND
-void
-loadMusicFromArena(arenaFile_t * arenaFile, char *filename, char *group,
- char *name)
+void loadMusicFromArena(arenaFile_t *arenaFile, char *filename, char *group, char *name)
{
- char *extractFile;
+ char *extractFile;
- extractFile = extractFileFromArchive(arenaFile->path, filename);
- addMusic(extractFile, name, group);
- deleteExtractFile(extractFile);
+ extractFile = extractFileFromArchive(arenaFile->path, filename);
+ addMusic(extractFile, name, group);
+ deleteExtractFile(extractFile);
}
#endif
#endif
-static void
-cmd_arena(arena_t ** arena, char *line)
+static void cmd_arena(arena_t **arena, char *line)
{
- char str_image[STR_SIZE];
- char str_w[STR_SIZE];
- char str_h[STR_SIZE];
-
- if (getArenaValue(line, "background", str_image, STR_SIZE) != 0)
- return;
- if (getArenaValue(line, "w", str_w, STR_SIZE) != 0)
- return;
- if (getArenaValue(line, "h", str_h, STR_SIZE) != 0)
- return;
- (*arena) = newArena(atoi(str_w), atoi(str_h));
+ char str_image[STR_SIZE];
+ char str_w[STR_SIZE];
+ char str_h[STR_SIZE];
+
+ if (getArenaValue(line, "background", str_image, STR_SIZE) != 0)
+ return;
+ if (getArenaValue(line, "w", str_w, STR_SIZE) != 0)
+ return;
+ if (getArenaValue(line, "h", str_h, STR_SIZE) != 0)
+ return;
+ (*arena) = newArena(atoi(str_w), atoi(str_h));
#ifndef PUBLIC_SERVER
- (*arena)->background = getImage(IMAGE_GROUP_USER, str_image);
+ (*arena)->background = getImage(IMAGE_GROUP_USER, str_image);
#endif
- //(*arena)->w = atoi(str_w);
- //(*arena)->h = atoi(str_h);
- setCurrentArena(*arena);
+ //(*arena)->w = atoi(str_w);
+ //(*arena)->h = atoi(str_h);
+ setCurrentArena(*arena);
#ifdef DEBUG
- printf(_("Loaded new arena...\n"));
+ printf(_("Loaded new arena...\n"));
#endif
}
-static void
-cmd_loadModule(char *line)
+static void cmd_loadModule(char *line)
{
- char str_file[STR_SIZE];
+ char str_file[STR_SIZE];
- if (getArenaValue(line, "file", str_file, STR_SIZE) != 0)
- return;
- loadModule(str_file);
+ if (getArenaValue(line, "file", str_file, STR_SIZE) != 0)
+ return;
+ loadModule(str_file);
}
#ifndef PUBLIC_SERVER
-static void
-cmd_loadImage(arenaFile_t * arenaFile, char *line)
+static void cmd_loadImage(arenaFile_t *arenaFile, char *line)
{
- char str_file[STR_SIZE];
- char str_name[STR_SIZE];
- char str_alpha[STR_SIZE];
-
- if (getArenaValue(line, "file", str_file, STR_SIZE) != 0)
- return;
- if (getArenaValue(line, "name", str_name, STR_SIZE) != 0)
- return;
- if (getArenaValue(line, "alpha", str_alpha, STR_SIZE) != 0)
- return;
-
- //printf("str_file=%s str_name=%s str_alpha=%s\n", str_file, str_name, str_alpha);
- loadImageFromArena(arenaFile, str_file, IMAGE_GROUP_USER, str_name,
- isYesOrNO(str_alpha));
-
- //addImageData(str_file, isYesOrNO(str_alpha), str_name, IMAGE_GROUP_USER);
+ char str_file[STR_SIZE];
+ char str_name[STR_SIZE];
+ char str_alpha[STR_SIZE];
+
+ if (getArenaValue(line, "file", str_file, STR_SIZE) != 0)
+ return;
+ if (getArenaValue(line, "name", str_name, STR_SIZE) != 0)
+ return;
+ if (getArenaValue(line, "alpha", str_alpha, STR_SIZE) != 0)
+ return;
+
+ //printf("str_file=%s str_name=%s str_alpha=%s\n", str_file, str_name, str_alpha);
+ loadImageFromArena(arenaFile, str_file, IMAGE_GROUP_USER, str_name, isYesOrNO(str_alpha));
+
+ //addImageData(str_file, isYesOrNO(str_alpha), str_name, IMAGE_GROUP_USER);
}
-static void
-cmd_loadMusic(arenaFile_t * arenaFile, char *line)
+static void cmd_loadMusic(arenaFile_t *arenaFile, char *line)
{
- char str_file[STR_SIZE];
- char str_name[STR_SIZE];
+ char str_file[STR_SIZE];
+ char str_name[STR_SIZE];
- if (getArenaValue(line, "file", str_file, STR_SIZE) != 0)
- return;
- if (getArenaValue(line, "name", str_name, STR_SIZE) != 0)
- return;
+ if (getArenaValue(line, "file", str_file, STR_SIZE) != 0)
+ return;
+ if (getArenaValue(line, "name", str_name, STR_SIZE) != 0)
+ return;
#ifndef NO_SOUND
- //addMusic(str_file, str_name, MUSIC_GROUP_USER);
- loadMusicFromArena(arenaFile, str_file, MUSIC_GROUP_USER, str_name);
+ //addMusic(str_file, str_name, MUSIC_GROUP_USER);
+ loadMusicFromArena(arenaFile, str_file, MUSIC_GROUP_USER, str_name);
#endif
}
-static void
-cmd_playMusic(arena_t * arena, char *line)
+static void cmd_playMusic(arena_t *arena, char *line)
{
- char str_music[STR_SIZE];
+ char str_music[STR_SIZE];
- if (getArenaValue(line, "music", str_music, STR_SIZE) != 0)
- return;
- strcpy(arena->music, str_music);
+ if (getArenaValue(line, "music", str_music, STR_SIZE) != 0)
+ return;
+ strcpy(arena->music, str_music);
}
#endif
-int
-getArenaCount()
+int getArenaCount()
{
- return listArenaFile->count;
+ return listArenaFile->count;
}
-static char *
-getArenaStatus(textFile_t * ts, char *s)
+static char *getArenaStatus(textFile_t *ts, char *s)
{
- int len;
- int i;
-
- len = strlen(s);
- for (i = 0; i < ts->text->count; i++) {
- char *line;
- line = (char *) (ts->text->list[i]);
- if (strncmp(line, s, len) == 0)
- return line + len + 1;
- }
- return NULL;
+ int len;
+ int i;
+
+ len = strlen(s);
+ for( i = 0; i < ts->text->count; i++ ) {
+ char *line;
+ line = (char *) (ts->text->list[i]);
+ if( strncmp(line, s, len) == 0 )
+ return line+len+1;
+ }
+ return NULL;
}
-char *
-getArenaName(arenaFile_t * arenaFile)
+char *getArenaName(arenaFile_t *arenaFile)
{
- char *ret;
+ char *ret;
- ret = getArenaStatus(arenaFile->map, "name");
- return (ret != NULL ? ret : "arena_no_name");
+ ret = getArenaStatus(arenaFile->map, "name");
+ return ( ret != NULL ? ret : "arena_no_name" );
}
-char *
-getArenaNetName(arenaFile_t * arenaFile)
+char *getArenaNetName(arenaFile_t *arenaFile)
{
- char *ret;
+ char *ret;
- ret = getArenaStatus(arenaFile->map, "netName");
- return (ret != NULL ? ret : "arena_no_net_name");
+ ret = getArenaStatus(arenaFile->map, "netName");
+ return ( ret != NULL ? ret : "arena_no_net_name" );
}
-arenaFile_t *
-getArenaFileFormNetName(char *s)
+arenaFile_t* getArenaFileFormNetName(char *s)
{
- int i;
+ int i;
//
- for (i = 0; i < listArenaFile->count; i++) {
- arenaFile_t *arenaFile;
+ for (i = 0; i < listArenaFile->count; i++)
+ {
+ arenaFile_t *arenaFile;
- arenaFile = (arenaFile_t *) listArenaFile->list[i];
- if (strcmp(getArenaNetName(arenaFile), s) == 0)
- return arenaFile;
- }
+ arenaFile = (arenaFile_t *)listArenaFile->list[i];
+ if (strcmp(getArenaNetName(arenaFile), s) == 0)
+ return arenaFile;
+ }
- return NULL;
+ return NULL;
}
-char *
-getArenaImage(arenaFile_t * arenaFile)
+char *getArenaImage(arenaFile_t *arenaFile)
{
- return getArenaStatus(arenaFile->map, "screen");
+ return getArenaStatus(arenaFile->map, "screen");
}
-arenaFile_t *
-getArenaFile(int n)
+arenaFile_t* getArenaFile(int n)
{
- return (arenaFile_t *) listArenaFile->list[n];
+ return (arenaFile_t *)listArenaFile->list[n];
}
-int
-getArenaFileID(arenaFile_t * arenaFile)
+int getArenaFileID(arenaFile_t *arenaFile)
{
- int i;
+ int i;
- for (i = 0; i < listArenaFile->count; i++) {
- arenaFile_t *this;
+ for (i = 0; i < listArenaFile->count; i++)
+ {
+ arenaFile_t *this;
- this = (arenaFile_t *) listArenaFile->list[i];
+ this = (arenaFile_t *)listArenaFile->list[i];
+
+ if( this == arenaFile)
+ {
+ return i;
+ }
+ }
- if (this == arenaFile) {
- return i;
- }
- }
-
- return -1;
+ return -1;
}
-arena_t *
-getArena(arenaFile_t * arenaFile)
+arena_t* getArena(arenaFile_t *arenaFile)
{
- textFile_t *ts;
- arena_t *arena = NULL; // no warninng
- int i;
+ textFile_t *ts;
+ arena_t *arena = NULL; // no warninng
+ int i;
- ts = (textFile_t *) arenaFile->map;
+ ts = (textFile_t *) arenaFile->map;
- for (i = 0; i < ts->text->count; i++) {
- char *line;
+ for( i = 0 ; i < ts->text->count ; i++ ) {
+ char *line;
- line = (char *) (ts->text->list[i]);
- cmdModule(line);
+ line = (char *) (ts->text->list[i]);
+ cmdModule(line);
#ifndef PUBLIC_SERVER
- if (strncmp(line, "loadImage", 9) == 0)
- cmd_loadImage(arenaFile, line);
- if (strncmp(line, "loadMusic", 9) == 0)
- cmd_loadMusic(arenaFile, line);
- if (strncmp(line, "playMusic", 9) == 0)
- cmd_playMusic(arena, line);
+ if (strncmp(line, "loadImage", 9) == 0)
+ cmd_loadImage(arenaFile, line);
+ if (strncmp(line, "loadMusic", 9) == 0)
+ cmd_loadMusic(arenaFile, line);
+ if (strncmp(line, "playMusic", 9) == 0)
+ cmd_playMusic(arena, line);
#endif
- if (strncmp(line, "arena", 5) == 0)
- cmd_arena(&arena, line);
- if (strncmp(line, "loadModule", 10) == 0)
- cmd_loadModule(line);
- //if( strncmp(line, "wall", 4) == 0 )cmd_wall(arena, line);
- //if( strncmp(line, "teleport", 8) == 0 )cmd_teleport(arena, line);
- //if( strncmp(line, "pipe", 4) == 0 )cmd_pipe(arena, line);
- }
-
- return arena;
+ if (strncmp(line, "arena", 5) == 0 )
+ cmd_arena(&arena, line);
+ if (strncmp(line, "loadModule", 10) == 0 )
+ cmd_loadModule(line);
+ //if( strncmp(line, "wall", 4) == 0 )cmd_wall(arena, line);
+ //if( strncmp(line, "teleport", 8) == 0 )cmd_teleport(arena, line);
+ //if( strncmp(line, "pipe", 4) == 0 )cmd_pipe(arena, line);
+ }
+
+ return arena;
}
-arenaFile_t *
-newArenaFile(char *path)
+arenaFile_t* newArenaFile(char *path)
{
- arenaFile_t *new;
- char *extractFile;
+ arenaFile_t *new;
+ char *extractFile;
- new = malloc(sizeof(arenaFile_t));
- new->path = strdup(path);
+ new = malloc( sizeof(arenaFile_t) );
+ new->path = strdup(path);
- extractFile = extractFileFromArchive(path, "arena.map");
- new->map = loadTextFile(extractFile);
- deleteExtractFile(extractFile);
+ extractFile = extractFileFromArchive(path, "arena.map");
+ new->map = loadTextFile(extractFile);
+ deleteExtractFile(extractFile);
- return new;
+ return new;
}
-void
-destroyArenaFile(arenaFile_t * p)
+void destroyArenaFile(arenaFile_t *p)
{
- destroyTextFile(p->map);
- free(p->path);
- free(p);
+ destroyTextFile(p->map);
+ free(p->path);
+ free(p);
}
-void
-loadArenaFile(char *path)
+void loadArenaFile(char *path)
{
- addList(listArenaFile, newArenaFile(path));
+ addList(listArenaFile, newArenaFile(path) );
}
-void
-initArenaFile()
+void initArenaFile()
{
- director_t *p;
- int i;
+ director_t *p;
+ int i;
#ifndef PUBLIC_SERVER
- assert(isImageInicialized() == TRUE);
+ assert( isImageInicialized() == TRUE );
#endif
- isArenaFileInit = TRUE;
- listArenaFile = newList();
-
- p = loadDirector(PATH_ARENA);
- //p = loadDirector( getHomeDirector() );
+ isArenaFileInit = TRUE;
+ listArenaFile = newList();
- for (i = 0; i < p->list->count; i++) {
- char *line;
+ p = loadDirector(PATH_ARENA);
+ //p = loadDirector( getHomeDirector() );
- line = (char *) (p->list->list[i]);
+ for (i = 0; i < p->list->count; i++) {
+ char *line;
+
+ line = (char *)( p->list->list[i] );
- if (strstr(line, ".zip") != NULL && strstr(line, "~") == NULL) {
- char path[STR_PATH_SIZE];
+ if (strstr(line, ".zip") != NULL &&
+ strstr(line, "~") == NULL) {
+ char path[STR_PATH_SIZE];
- sprintf(path, PATH_ARENA "%s", line);
+ sprintf(path, PATH_ARENA "%s", line);
#ifdef DEBUG
- printf(_("Loading arena: %s\n"), line);
+ printf(_("Loading arena: %s\n"), line);
#endif
- accessExistFile(path);
- loadArenaFile(path);
- }
- }
- //printf("No. of Arens: %d\n", listArenaFile->count);
- destroyDirector(p);
+ accessExistFile(path);
+ loadArenaFile(path);
+ }
+ }
+ //printf("No. of Arens: %d\n", listArenaFile->count);
+ destroyDirector(p);
}
-void
-quitArenaFile()
+void quitArenaFile()
{
- isArenaFileInit = FALSE;
- destroyListItem(listArenaFile, destroyArenaFile);
+ isArenaFileInit = FALSE;
+ destroyListItem(listArenaFile, destroyArenaFile);
}
diff --git a/src/base/arenaFile.c~ b/src/base/arenaFile.c~
deleted file mode 100644
index 10b4449..0000000
--- a/src/base/arenaFile.c~
+++ /dev/null
@@ -1,349 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "textFile.h"
-#include "arenaFile.h"
-#include "arena.h"
-#include "tux.h"
-#include "shot.h"
-#include "item.h"
-#include "director.h"
-#include "modules.h"
-#include "archive.h"
-#include "homeDirector.h"
-
-#ifndef PUBLIC_SERVER
-#include "configFile.h"
-#include "image.h"
-#endif
-
-#ifndef NO_SOUND
-#include "music.h"
-#endif
-
-static list_t *listArenaFile;
-static bool_t isArenaFileInit = FALSE;
-
-bool_t isAreaFileInicialized()
-{
- return isArenaFileInit;
-}
-
-int getArenaValue(char *line, char *env, char *val, int len)
-{
- char *offset_env;
- char *offset_val_begin;
- char *offset_val_end;
- char clone_env[STR_SIZE];
- int val_len;
-
- strcpy(clone_env, " ");
- strcat(clone_env, env);
- offset_env = strstr(line, clone_env);
- if (offset_env == NULL)
- return -1;
- offset_val_begin = strchr(offset_env, '"');
- if (offset_val_begin == NULL)
- return -1;
- offset_val_end = strchr(offset_val_begin+1, '"');
- if (offset_val_end == NULL)
- return -1;
- val_len = (int)(offset_val_end - (offset_val_begin + 1));
- if (val_len > len - 1)
- val_len = len - 1;
- memset(val, 0, len);
- memcpy(val, offset_val_begin+1, val_len);
- return 0;
-}
-
-
-#ifndef PUBLIC_SERVER
-image_t* loadImageFromArena(arenaFile_t *arenaFile, char *filename, char *group, char *name, int alpha)
-{
- char *extractFile;
- image_t *image;
-
- extractFile = extractFileFromArchive(arenaFile->path, filename);
- image = addImageData(extractFile, alpha, name, group);
- deleteExtractFile(extractFile);
-
- return image;
-}
-
-#ifndef NO_SOUND
-void loadMusicFromArena(arenaFile_t *arenaFile, char *filename, char *group, char *name)
-{
- char *extractFile;
-
- extractFile = extractFileFromArchive(arenaFile->path, filename);
- addMusic(extractFile, name, group);
- deleteExtractFile(extractFile);
-}
-#endif
-#endif
-
-static void cmd_arena(arena_t **arena, char *line)
-{
- char str_image[STR_SIZE];
- char str_w[STR_SIZE];
- char str_h[STR_SIZE];
-
- if (getArenaValue(line, "background", str_image, STR_SIZE) != 0)
- return;
- if (getArenaValue(line, "w", str_w, STR_SIZE) != 0)
- return;
- if (getArenaValue(line, "h", str_h, STR_SIZE) != 0)
- return;
- (*arena) = newArena(atoi(str_w), atoi(str_h));
-#ifndef PUBLIC_SERVER
- (*arena)->background = getImage(IMAGE_GROUP_USER, str_image);
-#endif
- //(*arena)->w = atoi(str_w);
- //(*arena)->h = atoi(str_h);
- setCurrentArena(*arena);
-#ifdef DEBUG
- printf(_("Loaded new arena...\n"));
-#endif
-}
-
-static void cmd_loadModule(char *line)
-{
- char str_file[STR_SIZE];
-
- if (getArenaValue(line, "file", str_file, STR_SIZE) != 0)
- return;
- loadModule(str_file);
-}
-
-#ifndef PUBLIC_SERVER
-
-static void cmd_loadImage(arenaFile_t *arenaFile, char *line)
-{
- char str_file[STR_SIZE];
- char str_name[STR_SIZE];
- char str_alpha[STR_SIZE];
-
- if (getArenaValue(line, "file", str_file, STR_SIZE) != 0)
- return;
- if (getArenaValue(line, "name", str_name, STR_SIZE) != 0)
- return;
- if (getArenaValue(line, "alpha", str_alpha, STR_SIZE) != 0)
- return;
-
- //printf("str_file=%s str_name=%s str_alpha=%s\n", str_file, str_name, str_alpha);
- loadImageFromArena(arenaFile, str_file, IMAGE_GROUP_USER, str_name, isYesOrNO(str_alpha));
-
- //addImageData(str_file, isYesOrNO(str_alpha), str_name, IMAGE_GROUP_USER);
-}
-
-static void cmd_loadMusic(arenaFile_t *arenaFile, char *line)
-{
- char str_file[STR_SIZE];
- char str_name[STR_SIZE];
-
- if (getArenaValue(line, "file", str_file, STR_SIZE) != 0)
- return;
- if (getArenaValue(line, "name", str_name, STR_SIZE) != 0)
- return;
-#ifndef NO_SOUND
- //addMusic(str_file, str_name, MUSIC_GROUP_USER);
- loadMusicFromArena(arenaFile, str_file, MUSIC_GROUP_USER, str_name);
-#endif
-}
-
-static void cmd_playMusic(arena_t *arena, char *line)
-{
- char str_music[STR_SIZE];
-
- if (getArenaValue(line, "music", str_music, STR_SIZE) != 0)
- return;
- strcpy(arena->music, str_music);
-}
-#endif
-
-int getArenaCount()
-{
- return listArenaFile->count;
-}
-
-static char *getArenaStatus(textFile_t *ts, char *s)
-{
- int len;
- int i;
-
- len = strlen(s);
- for( i = 0; i < ts->text->count; i++ ) {
- char *line;
- line = (char *) (ts->text->list[i]);
- if( strncmp(line, s, len) == 0 )
- return line+len+1;
- }
- return NULL;
-}
-
-char *getArenaName(arenaFile_t *arenaFile)
-{
- char *ret;
-
- ret = getArenaStatus(arenaFile->map, "name");
- return ( ret != NULL ? ret : "arena_no_name" );
-}
-
-char *getArenaNetName(arenaFile_t *arenaFile)
-{
- char *ret;
-
- ret = getArenaStatus(arenaFile->map, "netName");
- return ( ret != NULL ? ret : "arena_no_net_name" );
-}
-
-arenaFile_t* getArenaFileFormNetName(char *s)
-{
- int i;
-//
- for (i = 0; i < listArenaFile->count; i++)
- {
- arenaFile_t *arenaFile;
-
- arenaFile = (arenaFile_t *)listArenaFile->list[i];
- if (strcmp(getArenaNetName(arenaFile), s) == 0)
- return arenaFile;
- }
-
- return NULL;
-}
-
-char *getArenaImage(arenaFile_t *arenaFile)
-{
- return getArenaStatus(arenaFile->map, "screen");
-}
-
-arenaFile_t* getArenaFile(int n)
-{
- return (arenaFile_t *)listArenaFile->list[n];
-}
-
-int getArenaFileID(arenaFile_t *arenaFile)
-{
- int i;
-
- for (i = 0; i < listArenaFile->count; i++)
- {
- arenaFile_t *this;
-
- this = (arenaFile_t *)listArenaFile->list[i];
-
- if( this == arenaFile)
- {
- return i;
- }
- }
-
- return -1;
-}
-
-arena_t* getArena(arenaFile_t *arenaFile)
-{
- textFile_t *ts;
- arena_t *arena = NULL; // no warninng
- int i;
-
- ts = (textFile_t *) arenaFile->map;
-
- for( i = 0 ; i < ts->text->count ; i++ ) {
- char *line;
-
- line = (char *) (ts->text->list[i]);
- cmdModule(line);
-#ifndef PUBLIC_SERVER
- if (strncmp(line, "loadImage", 9) == 0)
- cmd_loadImage(arenaFile, line);
- if (strncmp(line, "loadMusic", 9) == 0)
- cmd_loadMusic(arenaFile, line);
- if (strncmp(line, "playMusic", 9) == 0)
- cmd_playMusic(arena, line);
-#endif
- if (strncmp(line, "arena", 5) == 0 )
- cmd_arena(&arena, line);
- if (strncmp(line, "loadModule", 10) == 0 )
- cmd_loadModule(line);
- //if( strncmp(line, "wall", 4) == 0 )cmd_wall(arena, line);
- //if( strncmp(line, "teleport", 8) == 0 )cmd_teleport(arena, line);
- //if( strncmp(line, "pipe", 4) == 0 )cmd_pipe(arena, line);
- }
-
- return arena;
-}
-
-arenaFile_t* newArenaFile(char *path)
-{
- arenaFile_t *new;
- char *extractFile;
-
- new = malloc( sizeof(arenaFile_t) );
- new->path = strdup(path);
-
- extractFile = extractFileFromArchive(path, "arena.map");
- new->map = loadTextFile(extractFile);
- deleteExtractFile(extractFile);
-
- return new;
-}
-
-void destroyArenaFile(arenaFile_t *p)
-{
- destroyTextFile(p->map);
- free(p->path);
- free(p);
-}
-
-void loadArenaFile(char *path)
-{
- addList(listArenaFile, newArenaFile(path) );
-}
-
-void initArenaFile()
-{
- director_t *p;
- int i;
-
-#ifndef PUBLIC_SERVER
- assert( isImageInicialized() == TRUE );
-#endif
- isArenaFileInit = TRUE;
- listArenaFile = newList();
-
- p = loadDirector(PATH_ARENA);
- //p = loadDirector( getHomeDirector() );
-
- for (i = 0; i < p->list->count; i++) {
- char *line;
-
- line = (char *)( p->list->list[i] );
-
- if (strstr(line, ".zip") != NULL &&
- strstr(line, "~") == NULL) {
- char path[STR_PATH_SIZE];
-
- sprintf(path, PATH_ARENA "%s", line);
-#ifdef DEBUG
- printf(_("Loading arena: %s\n"), line);
-#endif
- accessExistFile(path);
- loadArenaFile(path);
- }
- }
- //printf("No. of Arens: %d\n", listArenaFile->count);
- destroyDirector(p);
-}
-
-void quitArenaFile()
-{
- isArenaFileInit = FALSE;
- destroyListItem(listArenaFile, destroyArenaFile);
-}
diff --git a/src/base/buffer.c b/src/base/buffer.c
index a2596b8..263037b 100755
--- a/src/base/buffer.c
+++ b/src/base/buffer.c
@@ -6,140 +6,132 @@
#include "buffer.h"
-buffer_t *
-newBuffer(int n)
+buffer_t * newBuffer(int n)
{
- buffer_t *new;
+ buffer_t *new;
- new = malloc(sizeof(buffer_t));
- memset(new, 0, sizeof(buffer_t));
- new->alloc = n;
- new->data = malloc(n);
- memset(new->data, 0, n);
+ new = malloc(sizeof(buffer_t));
+ memset(new, 0, sizeof(buffer_t));
+ new->alloc = n;
+ new->data = malloc(n);
+ memset(new->data , 0, n);
- return new;
+ return new;
}
-void *
-getBufferData(buffer_t * p)
+void* getBufferData(buffer_t *p)
{
- return p->data;
+ return p->data;
}
-int
-getBufferSize(buffer_t * p)
+int getBufferSize(buffer_t *p)
{
- return p->size;
+ return p->size;
}
-int
-addBuffer(buffer_t * p, char *data, int len)
+int addBuffer(buffer_t *p, char *data, int len)
{
- assert(p != NULL);
- assert(data != NULL);
- assert(len >= 0);
-
- if (p->size + len <= p->alloc) {
- memcpy(p->data + p->size, data, len);
- p->size += len;
- return len;
- }
-
- return -1;
+ assert( p != NULL );
+ assert( data != NULL );
+ assert( len >= 0 );
+
+ if( p->size + len <= p->alloc )
+ {
+ memcpy(p->data + p->size, data, len);
+ p->size += len;
+ return len;
+ }
+
+ return -1;
}
-int
-cutBuffer(buffer_t * p, int len)
+int cutBuffer(buffer_t *p, int len)
{
- assert(p != NULL);
- assert(len >= 0);
+ assert( p != NULL );
+ assert( len >= 0 );
- if (p->size - len >= 0) {
- memmove(p->data, p->data + len, p->size - len);
- p->size -= len;
- return 0;
- }
+ if( p->size - len >= 0 )
+ {
+ memmove(p->data, p->data + len, p->size - len);
+ p->size -= len;
+ return 0;
+ }
- return -1;
+ return -1;
}
-int
-getBufferCount(buffer_t * p)
+int getBufferCount(buffer_t *p)
{
- char *begin;
- char *end;
- int count;
- int size;
-
- assert(p != NULL);
-
- count = 0;
- begin = p->data;
- size = p->size;
-
- while ((end = memchr(begin, '\n', size)) != NULL) {
- count++;
- size -= ((end + 1) - begin);
- begin = end + 1;
- }
-
- //printf("count = %d\n", count);
- //printf("data = %s\n", p->data);
- return count;
+ char *begin;
+ char *end;
+ int count;
+ int size;
+
+ assert( p != NULL );
+
+ count = 0;
+ begin = p->data;
+ size = p->size;
+
+ while( ( end = memchr(begin, '\n', size) ) != NULL )
+ {
+ count++;
+ size -= ( (end+1) - begin);
+ begin = end+1;
+ }
+
+ //printf("count = %d\n", count);
+ //printf("data = %s\n", p->data);
+ return count;
}
-int
-getBufferLine(buffer_t * p, char *line, int len)
+int getBufferLine(buffer_t *p, char *line, int len)
{
- char *end;
- int ret_len;
-
- assert(p != NULL);
- assert(line != NULL);
- assert(len >= 0);
+ char *end;
+ int ret_len;
- end = NULL;
+ assert( p != NULL );
+ assert( line != NULL );
+ assert( len >= 0 );
- end = memchr(p->data, '\n', p->size);
+ end = NULL;
- if (end == NULL)
- return -1;
+ end = memchr(p->data, '\n', p->size);
- ret_len = (int) (end - p->data) + 1;
- if (ret_len > len - 1)
- ret_len = len - 1;
+ if( end == NULL ) return -1;
- memset(line, 0, len);
- memcpy(line, p->data, ret_len);
+ ret_len = (int) (end - p->data)+1;
+ if( ret_len > len-1 ) ret_len = len-1;
+
+ memset(line, 0, len);
+ memcpy(line, p->data, ret_len);
- cutBuffer(p, ret_len);
+ cutBuffer(p, ret_len);
- return ret_len;
+ return ret_len;
}
-int
-getBufferDataLen(buffer_t * p, char *line, int len)
+int getBufferDataLen(buffer_t *p, char *line, int len)
{
- assert(p != NULL);
- assert(line != NULL);
- assert(len >= 0);
+ assert( p != NULL );
+ assert( line != NULL );
+ assert( len >= 0 );
- if (p->size < len) {
- len = p->size;
- }
+ if( p->size < len )
+ {
+ len = p->size;
+ }
- memcpy(line, p->data, len);
- cutBuffer(p, len);
+ memcpy(line, p->data, len);
+ cutBuffer(p, len);
- return len;
+ return len;
}
-void
-destroyBuffer(buffer_t * p)
+void destroyBuffer(buffer_t *p)
{
- assert(p != NULL);
+ assert( p != NULL );
- if (p->data != NULL)
- free(p->data);
- free(p);
+ if( p->data != NULL )free(p->data);
+ free(p);
}
diff --git a/src/base/buffer.c~ b/src/base/buffer.c~
deleted file mode 100644
index 263037b..0000000
--- a/src/base/buffer.c~
+++ /dev/null
@@ -1,137 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "buffer.h"
-
-buffer_t * newBuffer(int n)
-{
- buffer_t *new;
-
- new = malloc(sizeof(buffer_t));
- memset(new, 0, sizeof(buffer_t));
- new->alloc = n;
- new->data = malloc(n);
- memset(new->data , 0, n);
-
- return new;
-}
-
-void* getBufferData(buffer_t *p)
-{
- return p->data;
-}
-
-int getBufferSize(buffer_t *p)
-{
- return p->size;
-}
-
-int addBuffer(buffer_t *p, char *data, int len)
-{
- assert( p != NULL );
- assert( data != NULL );
- assert( len >= 0 );
-
- if( p->size + len <= p->alloc )
- {
- memcpy(p->data + p->size, data, len);
- p->size += len;
- return len;
- }
-
- return -1;
-}
-
-int cutBuffer(buffer_t *p, int len)
-{
- assert( p != NULL );
- assert( len >= 0 );
-
- if( p->size - len >= 0 )
- {
- memmove(p->data, p->data + len, p->size - len);
- p->size -= len;
- return 0;
- }
-
- return -1;
-}
-
-int getBufferCount(buffer_t *p)
-{
- char *begin;
- char *end;
- int count;
- int size;
-
- assert( p != NULL );
-
- count = 0;
- begin = p->data;
- size = p->size;
-
- while( ( end = memchr(begin, '\n', size) ) != NULL )
- {
- count++;
- size -= ( (end+1) - begin);
- begin = end+1;
- }
-
- //printf("count = %d\n", count);
- //printf("data = %s\n", p->data);
- return count;
-}
-
-int getBufferLine(buffer_t *p, char *line, int len)
-{
- char *end;
- int ret_len;
-
- assert( p != NULL );
- assert( line != NULL );
- assert( len >= 0 );
-
- end = NULL;
-
- end = memchr(p->data, '\n', p->size);
-
- if( end == NULL ) return -1;
-
- ret_len = (int) (end - p->data)+1;
- if( ret_len > len-1 ) ret_len = len-1;
-
- memset(line, 0, len);
- memcpy(line, p->data, ret_len);
-
- cutBuffer(p, ret_len);
-
- return ret_len;
-}
-
-int getBufferDataLen(buffer_t *p, char *line, int len)
-{
- assert( p != NULL );
- assert( line != NULL );
- assert( len >= 0 );
-
- if( p->size < len )
- {
- len = p->size;
- }
-
- memcpy(line, p->data, len);
- cutBuffer(p, len);
-
- return len;
-}
-
-void destroyBuffer(buffer_t *p)
-{
- assert( p != NULL );
-
- if( p->data != NULL )free(p->data);
- free(p);
-}
diff --git a/src/base/checkFront.c b/src/base/checkFront.c
index 27dfd93..536de1b 100644
--- a/src/base/checkFront.c
+++ b/src/base/checkFront.c
@@ -13,108 +13,101 @@
typedef struct struct_checkfront_t
{
- char *msg;
- my_time_t time;
- int id;
- int count;
- int type;
+ char *msg;
+ my_time_t time;
+ int id;
+ int count;
+ int type;
} checkfront_t;
-static checkfront_t *
-newCheck(char *s, int type, int id)
+static checkfront_t* newCheck(char *s, int type, int id)
{
- checkfront_t *new;
-
- assert(s != NULL);
- new = malloc(sizeof(checkfront_t));
- memset(new, 0, sizeof(checkfront_t));
- new->msg = strdup(s);
- new->time = getMyTime();
- new->id = id;
- new->type = type;
- new->count = 0;
- return new;
+ checkfront_t *new;
+
+ assert( s != NULL );
+ new = malloc( sizeof(checkfront_t) );
+ memset(new, 0, sizeof(checkfront_t));
+ new->msg = strdup(s);
+ new->time = getMyTime();
+ new->id = id;
+ new->type = type;
+ new->count = 0;
+ return new;
}
-static void
-destroyCheck(checkfront_t * p)
+static void destroyCheck(checkfront_t *p)
{
- assert(p != NULL);
- free(p->msg);
- free(p);
+ assert( p != NULL );
+ free(p->msg);
+ free(p);
}
-list_t *
-newCheckFront()
+list_t* newCheckFront()
{
- return newList();
+ return newList();
}
-void
-addMsgInCheckFront(list_t * list, char *msg, int type, int id)
+void addMsgInCheckFront(list_t *list, char *msg, int type, int id)
{
- if (type == CHECK_FRONT_TYPE_CHECK)
- incID(id);
- addList(list, newCheck(msg, type, id));
+ if (type == CHECK_FRONT_TYPE_CHECK)
+ incID(id);
+ addList(list, newCheck(msg, type, id) );
}
-void
-eventMsgInCheckFront(client_t * client)
+void eventMsgInCheckFront(client_t *client)
{
- my_time_t currentTime;
- int i;
-
- currentTime = getMyTime();
- for (i = 0; i < client->listSendMsg->count; i++) {
- checkfront_t *this;
-
- this = (checkfront_t *) client->listSendMsg->list[i];
- switch (this->type) {
- case CHECK_FRONT_TYPE_SIMPLE:
- sendClient(client, this->msg);
- delListItem(client->listSendMsg, i, destroyCheck);
- i--;
- break;
- case CHECK_FRONT_TYPE_CHECK:
- if (this->count == 0
- || currentTime - this->time > CHECK_FRONT_SEND_TIME_INTERVAL) {
- sendClient(client, this->msg);
- this->time = currentTime;
- this->count++;
- }
- if (this->count > CHECK_FRONT_MAX_COUNT_SEND) {
- delID(this->id);
- delListItem(client->listSendMsg, i, destroyCheck);
- i--;
- }
- break;
- default:
- assert(!_("Bad type of front!"));
- break;
- }
- }
+ my_time_t currentTime;
+ int i;
+
+ currentTime = getMyTime();
+ for (i = 0; i < client->listSendMsg->count; i++) {
+ checkfront_t *this;
+
+ this = (checkfront_t *)client->listSendMsg->list[i];
+ switch (this->type) {
+ case CHECK_FRONT_TYPE_SIMPLE :
+ sendClient(client, this->msg);
+ delListItem(client->listSendMsg, i, destroyCheck);
+ i--;
+ break;
+ case CHECK_FRONT_TYPE_CHECK :
+ if (this->count == 0 || currentTime - this->time > CHECK_FRONT_SEND_TIME_INTERVAL) {
+ sendClient(client, this->msg);
+ this->time = currentTime;
+ this->count++;
+ }
+ if (this->count > CHECK_FRONT_MAX_COUNT_SEND) {
+ delID(this->id);
+ delListItem(client->listSendMsg, i, destroyCheck);
+ i--;
+ }
+ break;
+ default :
+ assert(! _("Bad type of front!"));
+ break;
+ }
+ }
}
-void
-delMsgInCheckFront(list_t * listCheckFront, int id)
+void delMsgInCheckFront(list_t *listCheckFront, int id)
{
- int i;
-
- for (i = 0; i < listCheckFront->count; i++) {
- checkfront_t *this;
-
- this = (checkfront_t *) listCheckFront->list[i];
- if (this->id == id) {
- delID(this->id);
- delListItem(listCheckFront, i, destroyCheck);
- return;
- }
- }
+ int i;
+
+ for (i = 0 ; i < listCheckFront->count ; i++ ) {
+ checkfront_t *this;
+
+ this = (checkfront_t *)listCheckFront->list[i];
+ if (this->id == id) {
+ delID(this->id);
+ delListItem(listCheckFront, i, destroyCheck);
+ return;
+ }
+ }
}
-void
-destroyCheckFront(list_t * p)
+void destroyCheckFront(list_t *p)
{
- assert(p != NULL);
- destroyListItem(p, destroyCheck);
+ assert( p != NULL );
+ destroyListItem(p, destroyCheck);
}
+
diff --git a/src/base/checkFront.c~ b/src/base/checkFront.c~
deleted file mode 100644
index 536de1b..0000000
--- a/src/base/checkFront.c~
+++ /dev/null
@@ -1,113 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "myTimer.h"
-#include "checkFront.h"
-#include "idManager.h"
-#include "server.h"
-
-typedef struct struct_checkfront_t
-{
- char *msg;
- my_time_t time;
- int id;
- int count;
- int type;
-} checkfront_t;
-
-static checkfront_t* newCheck(char *s, int type, int id)
-{
- checkfront_t *new;
-
- assert( s != NULL );
- new = malloc( sizeof(checkfront_t) );
- memset(new, 0, sizeof(checkfront_t));
- new->msg = strdup(s);
- new->time = getMyTime();
- new->id = id;
- new->type = type;
- new->count = 0;
- return new;
-}
-
-static void destroyCheck(checkfront_t *p)
-{
- assert( p != NULL );
- free(p->msg);
- free(p);
-}
-
-list_t* newCheckFront()
-{
- return newList();
-}
-
-void addMsgInCheckFront(list_t *list, char *msg, int type, int id)
-{
- if (type == CHECK_FRONT_TYPE_CHECK)
- incID(id);
- addList(list, newCheck(msg, type, id) );
-}
-
-void eventMsgInCheckFront(client_t *client)
-{
- my_time_t currentTime;
- int i;
-
- currentTime = getMyTime();
- for (i = 0; i < client->listSendMsg->count; i++) {
- checkfront_t *this;
-
- this = (checkfront_t *)client->listSendMsg->list[i];
- switch (this->type) {
- case CHECK_FRONT_TYPE_SIMPLE :
- sendClient(client, this->msg);
- delListItem(client->listSendMsg, i, destroyCheck);
- i--;
- break;
- case CHECK_FRONT_TYPE_CHECK :
- if (this->count == 0 || currentTime - this->time > CHECK_FRONT_SEND_TIME_INTERVAL) {
- sendClient(client, this->msg);
- this->time = currentTime;
- this->count++;
- }
- if (this->count > CHECK_FRONT_MAX_COUNT_SEND) {
- delID(this->id);
- delListItem(client->listSendMsg, i, destroyCheck);
- i--;
- }
- break;
- default :
- assert(! _("Bad type of front!"));
- break;
- }
- }
-}
-
-void delMsgInCheckFront(list_t *listCheckFront, int id)
-{
- int i;
-
- for (i = 0 ; i < listCheckFront->count ; i++ ) {
- checkfront_t *this;
-
- this = (checkfront_t *)listCheckFront->list[i];
- if (this->id == id) {
- delID(this->id);
- delListItem(listCheckFront, i, destroyCheck);
- return;
- }
- }
-}
-
-void destroyCheckFront(list_t *p)
-{
- assert( p != NULL );
- destroyListItem(p, destroyCheck);
-}
-
diff --git a/src/base/director.c b/src/base/director.c
index 4a3492b..a4c8496 100755
--- a/src/base/director.c
+++ b/src/base/director.c
@@ -12,52 +12,50 @@
typedef struct director_struct
{
- char *path;
- list_t *list;
+ char *path;
+ list_t *list;
} director_t;
-director_t *
-loadDirector(char *s)
+director_t* loadDirector(char *s)
{
- director_t *new;
- DIR *dir;
- struct dirent *item;
- char path[STR_PATH_SIZE];
- assert(s != 0);
- new = malloc(sizeof(director_t));
- memset(new, 0, sizeof(director_t));
- new->list = newList();
+ director_t *new;
+ DIR *dir;
+ struct dirent *item;
+ char path[STR_PATH_SIZE];
+ assert( s != 0 );
+ new = malloc( sizeof(director_t) );
+ memset(new, 0, sizeof(director_t) );
+ new->list = newList();
#ifndef __WIN32__
- if (s[0] == '/')
+ if( s[0] == '/' )
#else
- if (s[1] == ':')
+ if( s[1] == ':' )
#endif
- strcpy(path, s);
- else {
- // this is really correct aproach
- getcwd(path, STR_PATH_SIZE);
- strcat(path, "/");
- strcat(path, s);
- }
- new->path = strdup(path);
- dir = opendir(new->path);
- if (dir == NULL) {
- free(new->path);
- free(new);
- return NULL;
- }
+ strcpy(path, s);
+ else {
+ // this is really correct aproach
+ getcwd(path, STR_PATH_SIZE);
+ strcat(path, "/");
+ strcat(path, s);
+ }
+ new->path = strdup(path);
+ dir = opendir(new->path);
+ if( dir == NULL ) {
+ free(new->path);
+ free(new);
+ return NULL;
+ }
- while ((item = readdir(dir)) != NULL)
- addList(new->list, strdup(item->d_name));
- closedir(dir);
- return new;
+ while((item = readdir(dir)) != NULL)
+ addList(new->list, strdup(item->d_name) );
+ closedir(dir);
+ return new;
}
-void
-destroyDirector(director_t * p)
+void destroyDirector(director_t *p)
{
- assert(p != NULL);
- destroyListItem(p->list, free);
- free(p->path);
- free(p);
+ assert( p != NULL );
+ destroyListItem(p->list, free);
+ free(p->path);
+ free(p);
}
diff --git a/src/base/director.c~ b/src/base/director.c~
deleted file mode 100644
index a4c8496..0000000
--- a/src/base/director.c~
+++ /dev/null
@@ -1,61 +0,0 @@
-
-#include <dirent.h>
-#include <sys/types.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-
-typedef struct director_struct
-{
- char *path;
- list_t *list;
-} director_t;
-
-director_t* loadDirector(char *s)
-{
- director_t *new;
- DIR *dir;
- struct dirent *item;
- char path[STR_PATH_SIZE];
- assert( s != 0 );
- new = malloc( sizeof(director_t) );
- memset(new, 0, sizeof(director_t) );
- new->list = newList();
-#ifndef __WIN32__
- if( s[0] == '/' )
-#else
- if( s[1] == ':' )
-#endif
- strcpy(path, s);
- else {
- // this is really correct aproach
- getcwd(path, STR_PATH_SIZE);
- strcat(path, "/");
- strcat(path, s);
- }
- new->path = strdup(path);
- dir = opendir(new->path);
- if( dir == NULL ) {
- free(new->path);
- free(new);
- return NULL;
- }
-
- while((item = readdir(dir)) != NULL)
- addList(new->list, strdup(item->d_name) );
- closedir(dir);
- return new;
-}
-
-void destroyDirector(director_t *p)
-{
- assert( p != NULL );
- destroyListItem(p->list, free);
- free(p->path);
- free(p);
-}
diff --git a/src/base/gun.c b/src/base/gun.c
index 5db82d8..7198a1e 100644
--- a/src/base/gun.c
+++ b/src/base/gun.c
@@ -25,277 +25,258 @@
#include "publicServer.h"
#endif
-static void
-modificiationCopuse(int courser, int right_x, int right_y, int *dest_x,
- int *dest_y)
+static void modificiationCopuse(int courser, int right_x, int right_y, int *dest_x, int *dest_y)
{
- assert(dest_x != NULL);
- assert(dest_y != NULL);
- switch (courser) {
- case TUX_UP:
- *dest_x = right_y;
- *dest_y = -right_x;
- break;
- case TUX_RIGHT:
- *dest_x = right_x;
- *dest_y = right_y;
- break;
- case TUX_LEFT:
- *dest_x = -right_x;
- *dest_y = right_y;
- break;
- case TUX_DOWN:
- *dest_x = right_y;
- *dest_y = right_x;
- break;
- default:
- assert(!_("There is wrong value in course variable!"));
- break;
- }
+ assert(dest_x != NULL);
+ assert(dest_y != NULL);
+ switch (courser) {
+ case TUX_UP :
+ *dest_x = right_y;
+ *dest_y = -right_x;
+ break;
+ case TUX_RIGHT :
+ *dest_x = right_x;
+ *dest_y = right_y;
+ break;
+ case TUX_LEFT :
+ *dest_x = -right_x;
+ *dest_y = right_y;
+ break;
+ case TUX_DOWN :
+ *dest_x = right_y;
+ *dest_y = right_x;
+ break;
+ default :
+ assert(! _("There is wrong value in course variable!"));
+ break;
+ }
}
-static void
-addShotTrivial(tux_t * tux, int x, int y, int px, int py, int gun)
+static void addShotTrivial(tux_t *tux, int x, int y, int px, int py, int gun)
{
- int dest_x = 0, dest_y = 0;
- int dest_px = 0, dest_py = 0;
- shot_t *shot;
+ int dest_x = 0, dest_y = 0;
+ int dest_px = 0, dest_py = 0;
+ shot_t *shot;
- modificiationCopuse(tux->position, px, py, &dest_px, &dest_py);
- modificiationCopuse(tux->position, x, y, &dest_x, &dest_y);
- if (gun == GUN_LASSER)
- switch (tux->position) {
- case TUX_UP:
- dest_y -= GUN_LASSER_HORIZONTAL;
- break;
- case TUX_RIGHT:
- break;
- case TUX_LEFT:
- dest_x -= GUN_LASSER_HORIZONTAL;
- break;
- case TUX_DOWN:
- break;
- }
- shot =
- newShot(tux->x + dest_x, tux->y + dest_y, dest_px, dest_py, gun,
- tux->id);
- addObjectToSpace(getCurrentArena()->spaceShot, shot);
+ modificiationCopuse(tux->position, px, py, &dest_px, &dest_py);
+ modificiationCopuse(tux->position, x, y, &dest_x, &dest_y);
+ if (gun == GUN_LASSER)
+ switch (tux->position) {
+ case TUX_UP :
+ dest_y -= GUN_LASSER_HORIZONTAL;
+ break;
+ case TUX_RIGHT :
+ break;
+ case TUX_LEFT :
+ dest_x -= GUN_LASSER_HORIZONTAL;
+ break;
+ case TUX_DOWN :
+ break;
+ }
+ shot = newShot(tux->x + dest_x, tux->y + dest_y, dest_px, dest_py, gun, tux->id);
+ addObjectToSpace(getCurrentArena()->spaceShot, shot);
}
-static void
-addShot(tux_t * tux, int x, int y, int px, int py)
+static void addShot(tux_t *tux,int x, int y, int px, int py)
{
- int gun;
+ int gun;
- if (getNetTypeGame() == NET_GAME_TYPE_CLIENT)
- return;
- if (tux->gun == GUN_BOMBBALL)
- gun = GUN_BOMBBALL;
- else if (tux->gun == GUN_LASSER)
- gun = GUN_LASSER;
- else
- gun = GUN_SIMPLE;
+ if (getNetTypeGame() == NET_GAME_TYPE_CLIENT)
+ return;
+ if (tux->gun == GUN_BOMBBALL)
+ gun = GUN_BOMBBALL;
+ else if (tux->gun == GUN_LASSER)
+ gun = GUN_LASSER;
+ else
+ gun = GUN_SIMPLE;
- if (tux->bonus == BONUS_4X) {
- int zal;
- int i;
+ if (tux->bonus == BONUS_4X) {
+ int zal;
+ int i;
- zal = tux->position;
- for (i = 0; i < 4; i++) {
- switch (i) {
- case 0:
- tux->position = TUX_UP;
- break;
- case 1:
- tux->position = TUX_RIGHT;
- break;
- case 2:
- tux->position = TUX_LEFT;
- break;
- case 3:
- tux->position = TUX_DOWN;
- break;
- }
- addShotTrivial(tux, x, y, px, py, gun);
- }
- tux->position = zal;
- }
- else {
- addShotTrivial(tux, x, y, px, py, gun);
- }
+ zal = tux->position;
+ for (i = 0; i < 4; i++) {
+ switch (i) {
+ case 0 :
+ tux->position = TUX_UP;
+ break;
+ case 1 :
+ tux->position = TUX_RIGHT;
+ break;
+ case 2 :
+ tux->position = TUX_LEFT;
+ break;
+ case 3 :
+ tux->position = TUX_DOWN;
+ break;
+ }
+ addShotTrivial(tux, x, y, px, py, gun);
+ }
+ tux->position = zal;
+ }else{
+ addShotTrivial(tux, x, y, px, py, gun);
+ }
}
-static void
-shotInGunSimpe(tux_t * tux)
+static void shotInGunSimpe(tux_t *tux)
{
- addShot(tux, 0, 0, +5, 0);
+ addShot(tux, 0, 0, +5, 0);
}
-static void
-shotInGunDualSimpe(tux_t * tux)
+static void shotInGunDualSimpe(tux_t *tux)
{
- addShot(tux, 0, -10, +6, 0);
- addShot(tux, 0, +10, +6, 0);
+ addShot(tux, 0, -10, +6, 0);
+ addShot(tux, 0, +10, +6, 0);
}
-static void
-shotInGunScatter(tux_t * tux)
+static void shotInGunScatter(tux_t *tux)
{
- int i;
+ int i;
- for (i = -2; i <= +2; i++)
- addShot(tux, 0, 0, +8, i);
+ for (i = -2 ; i <= +2 ; i++)
+ addShot(tux, 0, 0, +8, i);
}
-static void
-timer_addShotTimer(void *p)
+static void timer_addShotTimer(void *p)
{
- tux_t *tux;
- int id;
- int gun;
+ tux_t *tux;
+ int id;
+ int gun;
- id = *((int *) p);
- free(p);
- tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
- if (tux == NULL)
- return;
- if (tux->status != TUX_STATUS_ALIVE)
- return;
- gun = tux->gun;
- tux->gun = GUN_SIMPLE;
- addShot(tux, 0, 0, +6, 0);
- tux->gun = gun;
+ id = * ((int *)p);
+ free(p);
+ tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
+ if (tux == NULL)
+ return;
+ if (tux->status != TUX_STATUS_ALIVE)
+ return;
+ gun = tux->gun;
+ tux->gun = GUN_SIMPLE;
+ addShot(tux, 0, 0, +6, 0);
+ tux->gun = gun;
}
-static void
-shotInGunTommy(tux_t * tux)
+static void shotInGunTommy(tux_t *tux)
{
- int i;
+ int i;
- for (i = 0; i < 10; i++)
- addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE,
- timer_addShotTimer, newInt(tux->id), i * 100);
+ for (i = 0; i < 10; i++)
+ addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_addShotTimer, newInt(tux->id), i * 100);
}
-static void
-timer_addLaserTimer(void *p)
+static void timer_addLaserTimer(void *p)
{
- tux_t *tux;
- int id;
- int gun;
+ tux_t *tux;
+ int id;
+ int gun;
- id = *((int *) p);
- free(p);
- tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
- if (tux == NULL)
- return;
- if (tux->status != TUX_STATUS_ALIVE)
- return;
- gun = tux->gun;
- tux->gun = GUN_LASSER;
- addShot(tux, 0, 0, +10, 0);
- addShot(tux, +40, 0, +10, 0);
- //addShot(tux, +40, 0, +10, 0);
- tux->gun = gun;
+ id = * ((int *)p);
+ free(p);
+ tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
+ if (tux == NULL)
+ return;
+ if (tux->status != TUX_STATUS_ALIVE)
+ return;
+ gun = tux->gun;
+ tux->gun = GUN_LASSER;
+ addShot(tux, 0, 0, +10, 0);
+ addShot(tux, +40, 0, +10, 0);
+ //addShot(tux, +40, 0, +10, 0);
+ tux->gun = gun;
}
-static void
-shotInGunLasser(tux_t * tux)
+static void shotInGunLasser(tux_t *tux)
{
- int i;
+ int i;
- for (i = 0; i < 50; i++)
- addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE,
- timer_addLaserTimer, newInt(tux->id), i * 10);
+ for (i = 0; i < 50; i++)
+ addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_addLaserTimer, newInt(tux->id), i * 10 );
}
-static void
-putInGunMine(tux_t * tux)
+static void putInGunMine(tux_t *tux)
{
- int x, y;
- arena_t *arena;
+ int x, y;
+ arena_t *arena;
- x = tux->x;
- y = tux->y;
- switch (tux->position) {
- case TUX_UP:
- y += TUX_HEIGHT;
- break;
- case TUX_RIGHT:
- x -= TUX_WIDTH;
- break;
- case TUX_LEFT:
- x += TUX_WIDTH;
- break;
- case TUX_DOWN:
- y -= TUX_HEIGHT;
- break;
- }
- arena = getCurrentArena();
- if (isFreeSpace
- (getCurrentArena(), x, y, ITEM_MINE_WIDTH, ITEM_MINE_HEIGHT)) {
- item_t *item;
+ x = tux->x;
+ y = tux->y;
+ switch (tux->position) {
+ case TUX_UP :
+ y += TUX_HEIGHT;
+ break;
+ case TUX_RIGHT :
+ x -= TUX_WIDTH;
+ break;
+ case TUX_LEFT :
+ x += TUX_WIDTH;
+ break;
+ case TUX_DOWN :
+ y -= TUX_HEIGHT;
+ break;
+ }
+ arena = getCurrentArena();
+ if (isFreeSpace(getCurrentArena(), x, y, ITEM_MINE_WIDTH, ITEM_MINE_HEIGHT)) {
+ item_t *item;
#ifndef NO_SOUND
- playSound("put_mine", SOUND_GROUP_BASE);
+ playSound("put_mine", SOUND_GROUP_BASE);
#endif
- tux->shot[tux->gun]--;
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT) {
- item = newItem(x, y, ITEM_MINE, tux->id);
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_additem_server(PROTO_SEND_ALL, NULL, item);
- addObjectToSpace(arena->spaceItem, item);
- }
- }
+ tux->shot[tux->gun]--;
+ if (getNetTypeGame() != NET_GAME_TYPE_CLIENT) {
+ item = newItem(x, y, ITEM_MINE, tux->id);
+ if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
+ proto_send_additem_server(PROTO_SEND_ALL, NULL, item);
+ addObjectToSpace(arena->spaceItem, item );
+ }
+ }
}
-static void
-shotInGunBombball(tux_t * tux)
+static void shotInGunBombball(tux_t *tux)
{
- addShot(tux, 0, 0, +10, 0);
+ addShot(tux, 0, 0, +10, 0);
}
-void
-shotInGun(tux_t * tux)
+void shotInGun(tux_t *tux)
{
- if (tux->bonus != BONUS_SHOT && tux->gun != GUN_MINE)
- tux->shot[tux->gun]--;
+ if (tux->bonus != BONUS_SHOT && tux->gun != GUN_MINE)
+ tux->shot[tux->gun]--;
- switch (tux->gun) {
- case GUN_SIMPLE:
+ switch( tux->gun )
+ {
+ case GUN_SIMPLE :
#ifndef NO_SOUND
- playSound("gun_revolver", SOUND_GROUP_BASE);
+ playSound("gun_revolver", SOUND_GROUP_BASE);
#endif
- shotInGunSimpe(tux);
- break;
- case GUN_DUAL_SIMPLE:
+ shotInGunSimpe(tux);
+ break;
+ case GUN_DUAL_SIMPLE :
#ifndef NO_SOUND
- playSound("gun_revolver", SOUND_GROUP_BASE);
+ playSound("gun_revolver", SOUND_GROUP_BASE);
#endif
- shotInGunDualSimpe(tux);
- break;
- case GUN_SCATTER:
+ shotInGunDualSimpe(tux);
+ break;
+ case GUN_SCATTER :
#ifndef NO_SOUND
- playSound("gun_scatter", SOUND_GROUP_BASE);
+ playSound("gun_scatter", SOUND_GROUP_BASE);
#endif
- shotInGunScatter(tux);
- break;
- case GUN_TOMMY:
+ shotInGunScatter(tux);
+ break;
+ case GUN_TOMMY :
#ifndef NO_SOUND
- playSound("gun_tommy", SOUND_GROUP_BASE);
+ playSound("gun_tommy", SOUND_GROUP_BASE);
#endif
- shotInGunTommy(tux);
- break;
- case GUN_LASSER:
+ shotInGunTommy(tux);
+ break;
+ case GUN_LASSER :
#ifndef NO_SOUND
- playSound("gun_lasser", SOUND_GROUP_BASE);
+ playSound("gun_lasser", SOUND_GROUP_BASE);
#endif
- shotInGunLasser(tux);
- break;
- case GUN_BOMBBALL:
- shotInGunBombball(tux);
- break;
- case GUN_MINE:
- putInGunMine(tux);
- break;
- }
+ shotInGunLasser(tux);
+ break;
+ case GUN_BOMBBALL :
+ shotInGunBombball(tux);
+ break;
+ case GUN_MINE :
+ putInGunMine(tux);
+ break;
+ }
}
diff --git a/src/base/gun.c~ b/src/base/gun.c~
deleted file mode 100644
index 7198a1e..0000000
--- a/src/base/gun.c~
+++ /dev/null
@@ -1,282 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "arena.h"
-#include "tux.h"
-#include "shot.h"
-#include "myTimer.h"
-#include "item.h"
-#include "gun.h"
-#include "proto.h"
-#include "net_multiplayer.h"
-#include "serverSendMsg.h"
-
-#ifndef NO_SOUND
-#include "sound.h"
-#endif
-#ifndef PUBLIC_SERVER
-#include "interface.h"
-#include "screen_world.h"
-#endif
-#ifdef PUBLIC_SERVER
-#include "publicServer.h"
-#endif
-
-static void modificiationCopuse(int courser, int right_x, int right_y, int *dest_x, int *dest_y)
-{
- assert(dest_x != NULL);
- assert(dest_y != NULL);
- switch (courser) {
- case TUX_UP :
- *dest_x = right_y;
- *dest_y = -right_x;
- break;
- case TUX_RIGHT :
- *dest_x = right_x;
- *dest_y = right_y;
- break;
- case TUX_LEFT :
- *dest_x = -right_x;
- *dest_y = right_y;
- break;
- case TUX_DOWN :
- *dest_x = right_y;
- *dest_y = right_x;
- break;
- default :
- assert(! _("There is wrong value in course variable!"));
- break;
- }
-}
-
-static void addShotTrivial(tux_t *tux, int x, int y, int px, int py, int gun)
-{
- int dest_x = 0, dest_y = 0;
- int dest_px = 0, dest_py = 0;
- shot_t *shot;
-
- modificiationCopuse(tux->position, px, py, &dest_px, &dest_py);
- modificiationCopuse(tux->position, x, y, &dest_x, &dest_y);
- if (gun == GUN_LASSER)
- switch (tux->position) {
- case TUX_UP :
- dest_y -= GUN_LASSER_HORIZONTAL;
- break;
- case TUX_RIGHT :
- break;
- case TUX_LEFT :
- dest_x -= GUN_LASSER_HORIZONTAL;
- break;
- case TUX_DOWN :
- break;
- }
- shot = newShot(tux->x + dest_x, tux->y + dest_y, dest_px, dest_py, gun, tux->id);
- addObjectToSpace(getCurrentArena()->spaceShot, shot);
-}
-
-static void addShot(tux_t *tux,int x, int y, int px, int py)
-{
- int gun;
-
- if (getNetTypeGame() == NET_GAME_TYPE_CLIENT)
- return;
- if (tux->gun == GUN_BOMBBALL)
- gun = GUN_BOMBBALL;
- else if (tux->gun == GUN_LASSER)
- gun = GUN_LASSER;
- else
- gun = GUN_SIMPLE;
-
- if (tux->bonus == BONUS_4X) {
- int zal;
- int i;
-
- zal = tux->position;
- for (i = 0; i < 4; i++) {
- switch (i) {
- case 0 :
- tux->position = TUX_UP;
- break;
- case 1 :
- tux->position = TUX_RIGHT;
- break;
- case 2 :
- tux->position = TUX_LEFT;
- break;
- case 3 :
- tux->position = TUX_DOWN;
- break;
- }
- addShotTrivial(tux, x, y, px, py, gun);
- }
- tux->position = zal;
- }else{
- addShotTrivial(tux, x, y, px, py, gun);
- }
-}
-
-static void shotInGunSimpe(tux_t *tux)
-{
- addShot(tux, 0, 0, +5, 0);
-}
-
-static void shotInGunDualSimpe(tux_t *tux)
-{
- addShot(tux, 0, -10, +6, 0);
- addShot(tux, 0, +10, +6, 0);
-}
-
-static void shotInGunScatter(tux_t *tux)
-{
- int i;
-
- for (i = -2 ; i <= +2 ; i++)
- addShot(tux, 0, 0, +8, i);
-}
-
-static void timer_addShotTimer(void *p)
-{
- tux_t *tux;
- int id;
- int gun;
-
- id = * ((int *)p);
- free(p);
- tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
- if (tux == NULL)
- return;
- if (tux->status != TUX_STATUS_ALIVE)
- return;
- gun = tux->gun;
- tux->gun = GUN_SIMPLE;
- addShot(tux, 0, 0, +6, 0);
- tux->gun = gun;
-}
-
-static void shotInGunTommy(tux_t *tux)
-{
- int i;
-
- for (i = 0; i < 10; i++)
- addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_addShotTimer, newInt(tux->id), i * 100);
-}
-
-static void timer_addLaserTimer(void *p)
-{
- tux_t *tux;
- int id;
- int gun;
-
- id = * ((int *)p);
- free(p);
- tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
- if (tux == NULL)
- return;
- if (tux->status != TUX_STATUS_ALIVE)
- return;
- gun = tux->gun;
- tux->gun = GUN_LASSER;
- addShot(tux, 0, 0, +10, 0);
- addShot(tux, +40, 0, +10, 0);
- //addShot(tux, +40, 0, +10, 0);
- tux->gun = gun;
-}
-
-static void shotInGunLasser(tux_t *tux)
-{
- int i;
-
- for (i = 0; i < 50; i++)
- addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_addLaserTimer, newInt(tux->id), i * 10 );
-}
-
-static void putInGunMine(tux_t *tux)
-{
- int x, y;
- arena_t *arena;
-
- x = tux->x;
- y = tux->y;
- switch (tux->position) {
- case TUX_UP :
- y += TUX_HEIGHT;
- break;
- case TUX_RIGHT :
- x -= TUX_WIDTH;
- break;
- case TUX_LEFT :
- x += TUX_WIDTH;
- break;
- case TUX_DOWN :
- y -= TUX_HEIGHT;
- break;
- }
- arena = getCurrentArena();
- if (isFreeSpace(getCurrentArena(), x, y, ITEM_MINE_WIDTH, ITEM_MINE_HEIGHT)) {
- item_t *item;
-#ifndef NO_SOUND
- playSound("put_mine", SOUND_GROUP_BASE);
-#endif
- tux->shot[tux->gun]--;
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT) {
- item = newItem(x, y, ITEM_MINE, tux->id);
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_additem_server(PROTO_SEND_ALL, NULL, item);
- addObjectToSpace(arena->spaceItem, item );
- }
- }
-}
-
-static void shotInGunBombball(tux_t *tux)
-{
- addShot(tux, 0, 0, +10, 0);
-}
-
-void shotInGun(tux_t *tux)
-{
- if (tux->bonus != BONUS_SHOT && tux->gun != GUN_MINE)
- tux->shot[tux->gun]--;
-
- switch( tux->gun )
- {
- case GUN_SIMPLE :
-#ifndef NO_SOUND
- playSound("gun_revolver", SOUND_GROUP_BASE);
-#endif
- shotInGunSimpe(tux);
- break;
- case GUN_DUAL_SIMPLE :
-#ifndef NO_SOUND
- playSound("gun_revolver", SOUND_GROUP_BASE);
-#endif
- shotInGunDualSimpe(tux);
- break;
- case GUN_SCATTER :
-#ifndef NO_SOUND
- playSound("gun_scatter", SOUND_GROUP_BASE);
-#endif
- shotInGunScatter(tux);
- break;
- case GUN_TOMMY :
-#ifndef NO_SOUND
- playSound("gun_tommy", SOUND_GROUP_BASE);
-#endif
- shotInGunTommy(tux);
- break;
- case GUN_LASSER :
-#ifndef NO_SOUND
- playSound("gun_lasser", SOUND_GROUP_BASE);
-#endif
- shotInGunLasser(tux);
- break;
- case GUN_BOMBBALL :
- shotInGunBombball(tux);
- break;
- case GUN_MINE :
- putInGunMine(tux);
- break;
- }
-}
diff --git a/src/base/homeDirector.c b/src/base/homeDirector.c
index ddb9fa6..1f10920 100755
--- a/src/base/homeDirector.c
+++ b/src/base/homeDirector.c
@@ -10,39 +10,37 @@
static char homeDirector[STR_PATH_SIZE];
-void
-createHomeDirector()
+void createHomeDirector()
{
- char *envHome;
+ char *envHome;
#ifndef __WIN32__
- envHome = getenv("HOME");
+ envHome = getenv("HOME");
#else
- envHome = getenv("USERPROFILE");
+ envHome = getenv("USERPROFILE");
#endif
- if (envHome == NULL) {
- fprintf(stderr, _("Environment variable HOME not found!\n"));
- exit(0);
- }
+ if (envHome == NULL) {
+ fprintf(stderr, _("Environment variable HOME not found!\n"));
+ exit(0);
+ }
- sprintf(homeDirector, "%s/%s", envHome, HOMEDIRECTOR_NAME);
+ sprintf(homeDirector, "%s/%s", envHome, HOMEDIRECTOR_NAME);
- if (access(homeDirector, F_OK) != 0) {
+ if (access(homeDirector, F_OK) != 0) {
#ifdef DEBUG
- printf(_("Creating home directory %s.\n"), homeDirector);
+ printf(_("Creating home directory %s.\n"), homeDirector);
#endif
#ifndef __WIN32__
- if (mkdir(homeDirector, 0755) != 0) {
+ if (mkdir(homeDirector, 0755) != 0) {
#else
- if (mkdir(homeDirector) != 0) {
+ if (mkdir(homeDirector) != 0) {
#endif
- fprintf(stderr, _("Unable to create home directory!\n"));
- exit(0);
- }
- }
+ fprintf(stderr, _("Unable to create home directory!\n"));
+ exit(0);
+ }
+ }
}
-char *
-getHomeDirector()
+char *getHomeDirector()
{
- return homeDirector;
+ return homeDirector;
}
diff --git a/src/base/homeDirector.c~ b/src/base/homeDirector.c~
deleted file mode 100644
index 1f10920..0000000
--- a/src/base/homeDirector.c~
+++ /dev/null
@@ -1,46 +0,0 @@
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <assert.h>
-#include <sys/stat.h>
-
-#include "main.h"
-#include "homeDirector.h"
-
-static char homeDirector[STR_PATH_SIZE];
-
-void createHomeDirector()
-{
- char *envHome;
-#ifndef __WIN32__
- envHome = getenv("HOME");
-#else
- envHome = getenv("USERPROFILE");
-#endif
- if (envHome == NULL) {
- fprintf(stderr, _("Environment variable HOME not found!\n"));
- exit(0);
- }
-
- sprintf(homeDirector, "%s/%s", envHome, HOMEDIRECTOR_NAME);
-
- if (access(homeDirector, F_OK) != 0) {
-#ifdef DEBUG
- printf(_("Creating home directory %s.\n"), homeDirector);
-#endif
-#ifndef __WIN32__
- if (mkdir(homeDirector, 0755) != 0) {
-#else
- if (mkdir(homeDirector) != 0) {
-#endif
- fprintf(stderr, _("Unable to create home directory!\n"));
- exit(0);
- }
- }
-}
-
-char *getHomeDirector()
-{
- return homeDirector;
-}
diff --git a/src/base/idManager.c b/src/base/idManager.c
index c461a79..fd4cac9 100644
--- a/src/base/idManager.c
+++ b/src/base/idManager.c
@@ -12,201 +12,198 @@ static int lastID;
typedef struct id_item_struct
{
- int id;
- int count;
+ int id;
+ int count;
} id_item_t;
-static id_item_t *
-newIdItem(int id, int count)
+static id_item_t* newIdItem(int id, int count)
{
- id_item_t *new;
+ id_item_t *new;
- new = malloc(sizeof(id_item_t));
- new->id = id;
- new->count = count;
+ new = malloc( sizeof(id_item_t) );
+ new->id = id;
+ new->count = count;
- return new;
+ return new;
}
-static void
-destroyIdItem(id_item_t * p)
+static void destroyIdItem(id_item_t *p)
{
- assert(p != NULL);
+ assert( p != NULL );
- free(p);
+ free(p);
}
-void
-initListID()
+void initListID()
{
- listID = newList();
- lastID = 0;
+ listID = newList();
+ lastID = 0;
#ifdef DEBUG
- printf(_("Starting ID manger\n"));
+ printf(_("Starting ID manger\n"));
#endif
}
-int
-isRegisterID(int id)
+int isRegisterID(int id)
{
- int i;
+ int i;
- assert(listID != NULL);
+ assert( listID != NULL );
- for (i = 0; i < listID->count; i++) {
- id_item_t *this;
+ for( i = 0 ; i < listID->count ; i++ )
+ {
+ id_item_t *this;
- this = listID->list[i];
+ this = listID->list[i];
- if (this->id == id) {
- return i;
- }
- }
+ if( this->id == id )
+ {
+ return i;
+ }
+ }
- return -1;
+ return -1;
}
-static int
-findNewID()
+static int findNewID()
{
- int ret;
+ int ret;
- assert(listID != NULL);
+ assert( listID != NULL );
- if (listID->count >= MAX_ID - 1) {
- assert(!_("No free ID left!"));
- }
+ if( listID->count >= MAX_ID-1 )
+ {
+ assert( ! _("No free ID left!") );
+ }
- do {
- //ret = ( random() % (listID->count + 8 ) ) + 1;
- ret = random() % MAX_ID + 1;
- } while (isRegisterID(ret) != -1);
+ do{
+ //ret = ( random() % (listID->count + 8 ) ) + 1;
+ ret = random() % MAX_ID + 1;
+ }while( isRegisterID(ret) != -1 );
- //printf("new ID %d\n", ret);
+ //printf("new ID %d\n", ret);
- return ret;
+ return ret;
}
-int
-getNewIDcount(int count)
+int getNewIDcount(int count)
{
- int id;
+ int id;
- id = findNewID();
+ id = findNewID();
- addList(listID, newIdItem(id, count));
+ addList(listID, newIdItem(id, count) );
- return id;
+ return id;
}
-int
-getNewID()
+int getNewID()
{
- return getNewIDcount(1);
+ return getNewIDcount(1);
}
-void
-incID(int id)
+void incID(int id)
{
- id_item_t *this;
- int index;
+ id_item_t *this;
+ int index;
+
+ assert( listID != NULL );
- assert(listID != NULL);
+ index = isRegisterID(id);
- index = isRegisterID(id);
+ if( index == -1 )
+ {
+ assert( ! _("This kind of ID was never registered!") );
+ return; // ha ha ha
+ }
- if (index == -1) {
- assert(!_("This kind of ID was never registered!"));
- return; // ha ha ha
- }
+ this = listID->list[index];
- this = listID->list[index];
+ this->count++;
- this->count++;
-
- //printf("inc ID %d %d\n", this->id, this->count);
- return;
+ //printf("inc ID %d %d\n", this->id, this->count);
+ return;
}
-void
-delID(int id)
+void delID(int id)
{
- id_item_t *this;
- int index;
-
- assert(listID != NULL);
-
- index = isRegisterID(id);
-
- if (index == -1) {
- assert(!_("This kind of ID was never registered!"));
- return; // ha ha ha
- }
-
- this = listID->list[index];
-
- this->count--;
- //printf("dec ID %d %d\n", this->id, this->count);
-
- if (this->count <= 0) {
- delListItem(listID, index, free);
- //printf("listID->count = %d\n", listID->count);
- }
-
- return;
+ id_item_t *this;
+ int index;
+
+ assert( listID != NULL );
+
+ index = isRegisterID(id);
+
+ if( index == -1 )
+ {
+ assert( ! _("This kind of ID was never registered!") );
+ return; // ha ha ha
+ }
+
+ this = listID->list[index];
+
+ this->count--;
+ //printf("dec ID %d %d\n", this->id, this->count);
+
+ if( this->count <= 0 )
+ {
+ delListItem(listID, index, free);
+ //printf("listID->count = %d\n", listID->count);
+ }
+
+ return;
}
-void
-replaceID(int old_id, int new_id)
+void replaceID(int old_id, int new_id)
{
- int index_old_id;
- int index_new_id;
- id_item_t *this;
+ int index_old_id;
+ int index_new_id;
+ id_item_t *this;
- if (old_id == new_id) {
- return;
- }
+ if( old_id == new_id )
+ {
+ return;
+ }
- index_old_id = isRegisterID(old_id);
- assert(index_old_id != -1);
+ index_old_id = isRegisterID(old_id);
+ assert( index_old_id != -1 );
- index_new_id = isRegisterID(new_id);
- assert(index_new_id == -1);
+ index_new_id = isRegisterID(new_id);
+ assert( index_new_id == -1 );
- this = listID->list[index_old_id];
- this->id = new_id;
+ this = listID->list[index_old_id];
+ this->id = new_id;
}
-void
-infoID(int id)
+void infoID(int id)
{
- id_item_t *this;
- int index;
+ id_item_t *this;
+ int index;
+
+ assert( listID != NULL );
- assert(listID != NULL);
+ index = isRegisterID(id);
- index = isRegisterID(id);
-
- if (index == -1) {
+ if( index == -1 )
+ {
#ifdef DEBUG
- printf(_("ID %d does not exist\n"), id);
+ printf(_("ID %d does not exist\n"), id);
#endif
- return;
- }
+ return;
+ }
- this = listID->list[index];
+ this = listID->list[index];
#ifdef DEBUG
- printf(_("ID %d (count %d)\n"), this->id, this->count);
+ printf(_("ID %d (count %d)\n"), this->id, this->count);
#endif
- return;
+ return;
}
-void
-quitListID()
+void quitListID()
{
#ifdef DEBUG
- printf(_("Quitting ID manger\n"));
+ printf(_("Quitting ID manger\n"));
#endif
- assert(listID != NULL);
- destroyListItem(listID, destroyIdItem);
+ assert( listID != NULL );
+ destroyListItem(listID, destroyIdItem);
}
+
diff --git a/src/base/idManager.c~ b/src/base/idManager.c~
deleted file mode 100644
index fd4cac9..0000000
--- a/src/base/idManager.c~
+++ /dev/null
@@ -1,209 +0,0 @@
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "idManager.h"
-
-static list_t *listID;
-static int lastID;
-
-typedef struct id_item_struct
-{
- int id;
- int count;
-} id_item_t;
-
-static id_item_t* newIdItem(int id, int count)
-{
- id_item_t *new;
-
- new = malloc( sizeof(id_item_t) );
- new->id = id;
- new->count = count;
-
- return new;
-}
-
-static void destroyIdItem(id_item_t *p)
-{
- assert( p != NULL );
-
- free(p);
-}
-
-void initListID()
-{
- listID = newList();
- lastID = 0;
-#ifdef DEBUG
- printf(_("Starting ID manger\n"));
-#endif
-}
-
-int isRegisterID(int id)
-{
- int i;
-
- assert( listID != NULL );
-
- for( i = 0 ; i < listID->count ; i++ )
- {
- id_item_t *this;
-
- this = listID->list[i];
-
- if( this->id == id )
- {
- return i;
- }
- }
-
- return -1;
-}
-
-static int findNewID()
-{
- int ret;
-
- assert( listID != NULL );
-
- if( listID->count >= MAX_ID-1 )
- {
- assert( ! _("No free ID left!") );
- }
-
- do{
- //ret = ( random() % (listID->count + 8 ) ) + 1;
- ret = random() % MAX_ID + 1;
- }while( isRegisterID(ret) != -1 );
-
- //printf("new ID %d\n", ret);
-
- return ret;
-}
-
-int getNewIDcount(int count)
-{
- int id;
-
- id = findNewID();
-
- addList(listID, newIdItem(id, count) );
-
- return id;
-}
-
-int getNewID()
-{
- return getNewIDcount(1);
-}
-
-void incID(int id)
-{
- id_item_t *this;
- int index;
-
- assert( listID != NULL );
-
- index = isRegisterID(id);
-
- if( index == -1 )
- {
- assert( ! _("This kind of ID was never registered!") );
- return; // ha ha ha
- }
-
- this = listID->list[index];
-
- this->count++;
-
- //printf("inc ID %d %d\n", this->id, this->count);
- return;
-}
-
-void delID(int id)
-{
- id_item_t *this;
- int index;
-
- assert( listID != NULL );
-
- index = isRegisterID(id);
-
- if( index == -1 )
- {
- assert( ! _("This kind of ID was never registered!") );
- return; // ha ha ha
- }
-
- this = listID->list[index];
-
- this->count--;
- //printf("dec ID %d %d\n", this->id, this->count);
-
- if( this->count <= 0 )
- {
- delListItem(listID, index, free);
- //printf("listID->count = %d\n", listID->count);
- }
-
- return;
-}
-
-void replaceID(int old_id, int new_id)
-{
- int index_old_id;
- int index_new_id;
- id_item_t *this;
-
- if( old_id == new_id )
- {
- return;
- }
-
- index_old_id = isRegisterID(old_id);
- assert( index_old_id != -1 );
-
- index_new_id = isRegisterID(new_id);
- assert( index_new_id == -1 );
-
- this = listID->list[index_old_id];
- this->id = new_id;
-}
-
-void infoID(int id)
-{
- id_item_t *this;
- int index;
-
- assert( listID != NULL );
-
- index = isRegisterID(id);
-
- if( index == -1 )
- {
-#ifdef DEBUG
- printf(_("ID %d does not exist\n"), id);
-#endif
- return;
- }
-
- this = listID->list[index];
-#ifdef DEBUG
- printf(_("ID %d (count %d)\n"), this->id, this->count);
-#endif
- return;
-}
-
-void quitListID()
-{
-#ifdef DEBUG
- printf(_("Quitting ID manger\n"));
-#endif
- assert( listID != NULL );
- destroyListItem(listID, destroyIdItem);
-}
-
diff --git a/src/base/index.c b/src/base/index.c
index 427aad1..77b0eac 100644
--- a/src/base/index.c
+++ b/src/base/index.c
@@ -10,273 +10,280 @@
#define DEBUG_INDEX
-static index_item_t *
-newIndexItem(int key, void *data)
+static index_item_t* newIndexItem(int key, void *data)
{
- index_item_t *new;
+ index_item_t *new;
- new = malloc(sizeof(index_item_t));
- new->key = key;
- new->data = data;
+ new = malloc( sizeof(index_item_t) );
+ new->key = key;
+ new->data = data;
- return new;
+ return new;
}
#ifdef DEBUG_INDEX
-static void
-printIndexItem(index_item_t * p)
+static void printIndexItem(index_item_t *p)
{
- printf("key = %d data = %p\n", p->key, p->data);
+ printf("key = %d data = %p\n", p->key, p->data);
}
-static void
-printListIndexItem(list_t * list)
+static void printListIndexItem(list_t *list)
{
- int i;
+ int i;
- printf("list :\n");
- printf("------------------\n");
+ printf("list :\n");
+ printf("------------------\n");
- for (i = 0; i < list->count; i++) {
- index_item_t *this;
+ for( i = 0 ; i < list->count ; i++ )
+ {
+ index_item_t *this;
- this = (index_item_t *) list->list[i];
- printIndexItem(this);
- }
+ this = (index_item_t *)list->list[i];
+ printIndexItem(this);
+ }
}
-static void
-checkList(list_t * list)
+static void checkList(list_t *list)
{
- int i;
- int prev;
- int this;
+ int i;
+ int prev;
+ int this;
- //return;
+ //return;
- if (list->count == 0) {
- printf("nothing\n");
- return;
- }
+ if( list->count == 0 )
+ {
+ printf("nothing\n");
+ return;
+ }
- prev = ((index_item_t *) list->list[0])->key;
+ prev = ( (index_item_t *) list->list[0] )->key;
- for (i = 1; i < list->count; i++) {
- this = ((index_item_t *) list->list[i])->key;
+ for( i = 1 ; i < list->count ; i++ )
+ {
+ this = ( (index_item_t *) list->list[i] )->key;
- if (prev >= this) {
- printListIndexItem(list);
- assert(!"error");
- }
+ if( prev >= this )
+ {
+ printListIndexItem(list);
+ assert( ! "error" );
+ }
- prev = this;
- }
+ prev = this;
+ }
}
#endif
-static void
-destroyIndexItem(index_item_t * p)
+static void destroyIndexItem(index_item_t *p)
{
- free(p);
+ free(p);
}
-list_t *
-newIndex()
+list_t* newIndex()
{
- return newList();
+ return newList();
}
-void
-addToIndex(list_t * list, int key, void *data)
+void addToIndex(list_t *list, int key, void *data)
{
#ifdef DEBUG_INDEX
- int count = 0;
+ int count = 0;
#endif
- index_item_t *item;
- index_item_t *this;
- int min, max, point;
- int len;
+ index_item_t *item;
+ index_item_t *this;
+ int min, max, point;
+ int len;
- item = newIndexItem(key, data);
- len = list->count;
+ item = newIndexItem(key, data);
+ len = list->count;
- min = 0;
- max = len - 1;
+ min = 0;
+ max = len-1;
- for (;;) {
- point = min + (max - min) / 2;
+ for(;;)
+ {
+ point = min + ( max - min ) / 2;
#ifdef DEBUG_INDEX
- if (++count == len * 5) {
- printf("CICLIC ERROR\n");
- printIndexItem(item);
- printf("-------------------\n");
- printListIndexItem(list);
- assert(0);
- }
+ if( ++count == len*5 )
+ {
+ printf("CICLIC ERROR\n");
+ printIndexItem(item);
+ printf("-------------------\n");
+ printListIndexItem(list);
+ assert( 0 );
+ }
#endif
- if (max < 0) {
- insList(list, 0, item);
+ if( max < 0 )
+ {
+ insList(list, 0, item);
#ifdef DEBUG_INDEX
- checkList(list);
+ checkList(list);
#endif
- return;
- }
+ return;
+ }
- if (min >= len) {
- addList(list, item);
+ if( min >= len )
+ {
+ addList(list, item);
#ifdef DEBUG_INDEX
- checkList(list);
+ checkList(list);
#endif
- return;
- }
-
- this = (index_item_t *) list->list[point];
+ return;
+ }
+
+ this = (index_item_t *)list->list[point];
/*
printf("min = %d max = %d point = %d len = %d offset = %d\n",
min, max, point, len, offset);
*/
- if (min > max) {
- insList(list, point, item);
+ if( min > max )
+ {
+ insList(list, point, item);
#ifdef DEBUG_INDEX
- checkList(list);
+ checkList(list);
#endif
- return;
- }
-
- if (item->key > this->key) {
- min = point + 1;
- continue;
- }
-
- if (item->key < this->key) {
- max = point - 1;
- continue;
- }
- }
+ return;
+ }
+
+ if( item->key > this->key )
+ {
+ min = point + 1;
+ continue;
+ }
+
+ if( item->key < this->key )
+ {
+ max = point - 1;
+ continue;
+ }
+ }
}
-static int
-getOffsetFromIndex(list_t * list, int key)
+static int getOffsetFromIndex(list_t *list, int key)
{
- index_item_t *this;
- int min, max, point, len;
-
- len = list->count;
+ index_item_t *this;
+ int min, max, point, len;
- if (len == 0) {
- return -1;
- }
+ len = list->count;
- min = 0;
- max = len - 1;
+ if( len == 0 )
+ {
+ return -1;
+ }
- for (;;) {
- point = min + (max - min) / 2;
+ min = 0;
+ max = len-1;
- if (max < 0 || point >= len || max < min) {
- return -1;
- }
+ for(;;)
+ {
+ point = min + ( max - min ) / 2;
- this = (index_item_t *) list->list[point];
+ if( max < 0 || point >= len || max < min )
+ {
+ return -1;
+ }
+
+ this = (index_item_t *)list->list[point];
/*
printf("min = %d max = %d point = %d len = %d offset = %d\n",
min, max, point, len, offset);
*/
- if (key == this->key) {
- return point;
- }
-
- if (key > this->key) {
- min = point + 1;
- continue;
- }
-
- if (key < this->key) {
- max = point - 1;
- continue;
- }
- }
+ if( key == this->key )
+ {
+ return point;
+ }
+
+ if( key > this->key )
+ {
+ min = point + 1;
+ continue;
+ }
+
+ if( key < this->key )
+ {
+ max = point - 1;
+ continue;
+ }
+ }
}
-void *
-getFromIndex(list_t * list, int key)
+void* getFromIndex(list_t *list, int key)
{
- int offset;
+ int offset;
- offset = getOffsetFromIndex(list, key);
+ offset = getOffsetFromIndex(list, key);
- if (offset != -1) {
- index_item_t *this;
+ if( offset != -1 )
+ {
+ index_item_t *this;
- this = list->list[offset];
- return this->data;
- }
+ this = list->list[offset];
+ return this->data;
+ }
- return NULL;
+ return NULL;
}
-void
-delFromIndex(list_t * list, int key)
+void delFromIndex(list_t *list, int key)
{
- int offset;
+ int offset;
- offset = getOffsetFromIndex(list, key);
+ offset = getOffsetFromIndex(list, key);
- if (offset != -1) {
- delListItem(list, offset, destroyIndexItem);
- }
+ if( offset != -1 )
+ {
+ delListItem(list, offset, destroyIndexItem);
+ }
}
-void
-delFromIndexWithObject(list_t * list, int key, void *f)
+void delFromIndexWithObject(list_t *list, int key, void *f)
{
- int offset;
+ int offset;
- offset = getOffsetFromIndex(list, key);
+ offset = getOffsetFromIndex(list, key);
- if (offset != -1) {
- index_item_t *this;
- void (*fce) (void *p);
+ if( offset != -1 )
+ {
+ index_item_t *this;
+ void (*fce)(void *p);
- this = list->list[offset];
+ this = list->list[offset];
- fce = f;
- fce(this);
+ fce = f;
+ fce(this);
- delListItem(list, offset, destroyIndexItem);
- }
+ delListItem(list, offset, destroyIndexItem);
+ }
}
-void
-actionIndexWithObject(list_t * list, void *f)
+void actionIndexWithObject(list_t *list, void *f)
{
- int i;
+ int i;
- for (i = 0; i < list->count; i++) {
- index_item_t *this;
- void (*fce) (void *p);
+ for( i = 0 ; i < list->count ; i++)
+ {
+ index_item_t *this;
+ void (*fce)(void *p);
- this = list->list[i];
+ this = list->list[i];
- fce = f;
- fce(this);
- }
+ fce = f;
+ fce(this);
+ }
}
-void
-destroyIndex(list_t * list)
+void destroyIndex(list_t *list)
{
- destroyListItem(list, destroyIndexItem);
+ destroyListItem(list, destroyIndexItem);
}
-void
-destroyIndexWithObject(list_t * list, void *f)
+void destroyIndexWithObject(list_t *list, void *f)
{
- actionIndexWithObject(list, f);
- destroyListItem(list, destroyIndexItem);
+ actionIndexWithObject(list, f);
+ destroyListItem(list, destroyIndexItem);
}
diff --git a/src/base/index.c~ b/src/base/index.c~
deleted file mode 100644
index 77b0eac..0000000
--- a/src/base/index.c~
+++ /dev/null
@@ -1,289 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "index.h"
-
-#define DEBUG_INDEX
-
-static index_item_t* newIndexItem(int key, void *data)
-{
- index_item_t *new;
-
- new = malloc( sizeof(index_item_t) );
- new->key = key;
- new->data = data;
-
- return new;
-}
-
-#ifdef DEBUG_INDEX
-static void printIndexItem(index_item_t *p)
-{
- printf("key = %d data = %p\n", p->key, p->data);
-}
-
-static void printListIndexItem(list_t *list)
-{
- int i;
-
- printf("list :\n");
- printf("------------------\n");
-
- for( i = 0 ; i < list->count ; i++ )
- {
- index_item_t *this;
-
- this = (index_item_t *)list->list[i];
- printIndexItem(this);
- }
-}
-
-static void checkList(list_t *list)
-{
- int i;
- int prev;
- int this;
-
- //return;
-
- if( list->count == 0 )
- {
- printf("nothing\n");
- return;
- }
-
- prev = ( (index_item_t *) list->list[0] )->key;
-
- for( i = 1 ; i < list->count ; i++ )
- {
- this = ( (index_item_t *) list->list[i] )->key;
-
- if( prev >= this )
- {
- printListIndexItem(list);
- assert( ! "error" );
- }
-
- prev = this;
- }
-}
-#endif
-
-static void destroyIndexItem(index_item_t *p)
-{
- free(p);
-}
-
-list_t* newIndex()
-{
- return newList();
-}
-
-void addToIndex(list_t *list, int key, void *data)
-{
-#ifdef DEBUG_INDEX
- int count = 0;
-#endif
-
- index_item_t *item;
- index_item_t *this;
- int min, max, point;
- int len;
-
- item = newIndexItem(key, data);
- len = list->count;
-
- min = 0;
- max = len-1;
-
- for(;;)
- {
- point = min + ( max - min ) / 2;
-
-#ifdef DEBUG_INDEX
- if( ++count == len*5 )
- {
- printf("CICLIC ERROR\n");
- printIndexItem(item);
- printf("-------------------\n");
- printListIndexItem(list);
- assert( 0 );
- }
-#endif
-
- if( max < 0 )
- {
- insList(list, 0, item);
-#ifdef DEBUG_INDEX
- checkList(list);
-#endif
- return;
- }
-
- if( min >= len )
- {
- addList(list, item);
-#ifdef DEBUG_INDEX
- checkList(list);
-#endif
- return;
- }
-
- this = (index_item_t *)list->list[point];
-
-/*
- printf("min = %d max = %d point = %d len = %d offset = %d\n",
- min, max, point, len, offset);
-
-*/
- if( min > max )
- {
- insList(list, point, item);
-#ifdef DEBUG_INDEX
- checkList(list);
-#endif
- return;
- }
-
- if( item->key > this->key )
- {
- min = point + 1;
- continue;
- }
-
- if( item->key < this->key )
- {
- max = point - 1;
- continue;
- }
- }
-}
-
-static int getOffsetFromIndex(list_t *list, int key)
-{
- index_item_t *this;
- int min, max, point, len;
-
- len = list->count;
-
- if( len == 0 )
- {
- return -1;
- }
-
- min = 0;
- max = len-1;
-
- for(;;)
- {
- point = min + ( max - min ) / 2;
-
- if( max < 0 || point >= len || max < min )
- {
- return -1;
- }
-
- this = (index_item_t *)list->list[point];
-/*
- printf("min = %d max = %d point = %d len = %d offset = %d\n",
- min, max, point, len, offset);
-*/
- if( key == this->key )
- {
- return point;
- }
-
- if( key > this->key )
- {
- min = point + 1;
- continue;
- }
-
- if( key < this->key )
- {
- max = point - 1;
- continue;
- }
- }
-}
-
-void* getFromIndex(list_t *list, int key)
-{
- int offset;
-
- offset = getOffsetFromIndex(list, key);
-
- if( offset != -1 )
- {
- index_item_t *this;
-
- this = list->list[offset];
- return this->data;
- }
-
- return NULL;
-}
-
-void delFromIndex(list_t *list, int key)
-{
- int offset;
-
- offset = getOffsetFromIndex(list, key);
-
- if( offset != -1 )
- {
- delListItem(list, offset, destroyIndexItem);
- }
-}
-
-void delFromIndexWithObject(list_t *list, int key, void *f)
-{
- int offset;
-
- offset = getOffsetFromIndex(list, key);
-
- if( offset != -1 )
- {
- index_item_t *this;
- void (*fce)(void *p);
-
- this = list->list[offset];
-
- fce = f;
- fce(this);
-
- delListItem(list, offset, destroyIndexItem);
- }
-}
-
-void actionIndexWithObject(list_t *list, void *f)
-{
- int i;
-
- for( i = 0 ; i < list->count ; i++)
- {
- index_item_t *this;
- void (*fce)(void *p);
-
- this = list->list[i];
-
- fce = f;
- fce(this);
- }
-}
-
-void destroyIndex(list_t *list)
-{
- destroyListItem(list, destroyIndexItem);
-}
-
-void destroyIndexWithObject(list_t *list, void *f)
-{
- actionIndexWithObject(list, f);
- destroyListItem(list, destroyIndexItem);
-}
diff --git a/src/base/item.c b/src/base/item.c
index 3cfebfa..07929ed 100644
--- a/src/base/item.c
+++ b/src/base/item.c
@@ -32,540 +32,485 @@
#include "publicServer.h"
#endif
-#ifndef PUBLIC_SERVER
+#ifndef PUBLIC_SERVER
static image_t *g_item[ITEM_COUNT];
#endif
static bool_t isItemInit = FALSE;
-bool_t
-isItemInicialized()
+bool_t isItemInicialized()
{
- return isItemInit;
+ return isItemInit;
}
-void
-initItem()
+void initItem()
{
-#ifndef PUBLIC_SERVER
- g_item[GUN_DUAL_SIMPLE] =
- addImageData("item.dual.png", IMAGE_ALPHA, "item_dual_simple",
- IMAGE_GROUP_BASE);
- g_item[GUN_TOMMY] =
- addImageData("item.tommy.png", IMAGE_ALPHA, "item_tommy_simple",
- IMAGE_GROUP_BASE);
- g_item[GUN_SCATTER] =
- addImageData("item.scatter.png", IMAGE_ALPHA, "item_scatter_simple",
- IMAGE_GROUP_BASE);
- g_item[GUN_LASSER] =
- addImageData("item.lasser.png", IMAGE_ALPHA, "item_lasser_simple",
- IMAGE_GROUP_BASE);
- g_item[GUN_MINE] =
- addImageData("item.mine.png", IMAGE_ALPHA, "item_mines_simple",
- IMAGE_GROUP_BASE);
- g_item[GUN_BOMBBALL] =
- addImageData("item.bombball.png", IMAGE_ALPHA, "item_bombball_simple",
- IMAGE_GROUP_BASE);
-
- g_item[ITEM_MINE] =
- addImageData("mine.png", IMAGE_ALPHA, "item_mine_simple",
- IMAGE_GROUP_BASE);
- g_item[ITEM_EXPLOSION] =
- addImageData("explosion.png", IMAGE_ALPHA, "item_explosion_simple",
- IMAGE_GROUP_BASE);
- g_item[ITEM_BIG_EXPLOSION] =
- addImageData("big-explosion.png", IMAGE_ALPHA,
- "item_big-explosion_simple", IMAGE_GROUP_BASE);
-
- g_item[BONUS_SPEED] =
- addImageData("item.bonus.speed.png", IMAGE_ALPHA, "item_bonus_speed",
- IMAGE_GROUP_BASE);
- g_item[BONUS_SHOT] =
- addImageData("item.bonus.shot.png", IMAGE_ALPHA, "item_shot_speed",
- IMAGE_GROUP_BASE);
- g_item[BONUS_TELEPORT] =
- addImageData("item.bonus.teleport.png", IMAGE_ALPHA,
- "item_teleport_speed", IMAGE_GROUP_BASE);
- g_item[BONUS_GHOST] =
- addImageData("item.bonus.ghost.png", IMAGE_ALPHA, "item_ghost_speed",
- IMAGE_GROUP_BASE);
- g_item[BONUS_4X] =
- addImageData("item.bonus.4x.png", IMAGE_ALPHA, "item_4x_speed",
- IMAGE_GROUP_BASE);
- g_item[BONUS_HIDDEN] =
- addImageData("item.bonus.hidden.png", IMAGE_ALPHA, "item_hidden_speed",
- IMAGE_GROUP_BASE);
+#ifndef PUBLIC_SERVER
+ g_item[GUN_DUAL_SIMPLE] = addImageData("item.dual.png", IMAGE_ALPHA, "item_dual_simple", IMAGE_GROUP_BASE);
+ g_item[GUN_TOMMY] = addImageData("item.tommy.png", IMAGE_ALPHA, "item_tommy_simple", IMAGE_GROUP_BASE);
+ g_item[GUN_SCATTER] = addImageData("item.scatter.png", IMAGE_ALPHA, "item_scatter_simple", IMAGE_GROUP_BASE);
+ g_item[GUN_LASSER] = addImageData("item.lasser.png", IMAGE_ALPHA, "item_lasser_simple", IMAGE_GROUP_BASE);
+ g_item[GUN_MINE] = addImageData("item.mine.png", IMAGE_ALPHA, "item_mines_simple", IMAGE_GROUP_BASE);
+ g_item[GUN_BOMBBALL] = addImageData("item.bombball.png", IMAGE_ALPHA, "item_bombball_simple", IMAGE_GROUP_BASE);
+
+ g_item[ITEM_MINE] = addImageData("mine.png", IMAGE_ALPHA, "item_mine_simple", IMAGE_GROUP_BASE);
+ g_item[ITEM_EXPLOSION] = addImageData("explosion.png", IMAGE_ALPHA, "item_explosion_simple", IMAGE_GROUP_BASE);
+ g_item[ITEM_BIG_EXPLOSION] = addImageData("big-explosion.png", IMAGE_ALPHA, "item_big-explosion_simple", IMAGE_GROUP_BASE);
+
+ g_item[BONUS_SPEED] = addImageData("item.bonus.speed.png", IMAGE_ALPHA, "item_bonus_speed", IMAGE_GROUP_BASE);
+ g_item[BONUS_SHOT] = addImageData("item.bonus.shot.png", IMAGE_ALPHA, "item_shot_speed", IMAGE_GROUP_BASE);
+ g_item[BONUS_TELEPORT] = addImageData("item.bonus.teleport.png", IMAGE_ALPHA, "item_teleport_speed", IMAGE_GROUP_BASE);
+ g_item[BONUS_GHOST] = addImageData("item.bonus.ghost.png", IMAGE_ALPHA, "item_ghost_speed", IMAGE_GROUP_BASE);
+ g_item[BONUS_4X] = addImageData("item.bonus.4x.png", IMAGE_ALPHA, "item_4x_speed", IMAGE_GROUP_BASE);
+ g_item[BONUS_HIDDEN] = addImageData("item.bonus.hidden.png", IMAGE_ALPHA, "item_hidden_speed", IMAGE_GROUP_BASE);
#endif
- isItemInit = TRUE;
+ isItemInit = TRUE;
}
-item_t *
-newItem(int x, int y, int type, int author_id)
+item_t* newItem(int x, int y, int type, int author_id)
{
- item_t *new;
-
- new = malloc(sizeof(item_t));
- assert(new != NULL);
- new->type = type;
- new->id = getNewID();
- new->x = x;
- new->y = y;
- new->frame = 0;
- new->count = 0;
-#ifndef PUBLIC_SERVER
- new->img = g_item[type];
-#endif
- new->author_id = author_id;
- switch (type) {
- case GUN_DUAL_SIMPLE:
- case GUN_SCATTER:
- case GUN_TOMMY:
- case GUN_LASSER:
- case GUN_MINE:
- case GUN_BOMBBALL:
- new->w = ITEM_GUN_WIDTH;
- new->h = ITEM_GUN_HEIGHT;
- break;
- case ITEM_MINE:
- new->w = ITEM_MINE_WIDTH;
- new->h = ITEM_MINE_HEIGHT;
- break;
- case ITEM_EXPLOSION:
+ item_t *new;
+
+ new = malloc( sizeof(item_t) );
+ assert( new != NULL );
+ new->type = type;
+ new->id = getNewID();
+ new->x = x;
+ new->y = y;
+ new->frame = 0;
+ new->count = 0;
+#ifndef PUBLIC_SERVER
+ new->img = g_item[type];
+#endif
+ new->author_id = author_id;
+ switch (type) {
+ case GUN_DUAL_SIMPLE :
+ case GUN_SCATTER :
+ case GUN_TOMMY :
+ case GUN_LASSER :
+ case GUN_MINE :
+ case GUN_BOMBBALL :
+ new->w = ITEM_GUN_WIDTH;
+ new->h = ITEM_GUN_HEIGHT;
+ break;
+ case ITEM_MINE :
+ new->w = ITEM_MINE_WIDTH;
+ new->h = ITEM_MINE_HEIGHT;
+ break;
+ case ITEM_EXPLOSION :
#ifndef NO_SOUND
- playSound("explozion", SOUND_GROUP_BASE);
-#endif
- new->w = ITEM_EXPLOSION_WIDTH;
- new->h = ITEM_EXPLOSION_HEIGHT;
- break;
- case ITEM_BIG_EXPLOSION:
+ playSound("explozion", SOUND_GROUP_BASE);
+#endif
+ new->w = ITEM_EXPLOSION_WIDTH;
+ new->h = ITEM_EXPLOSION_HEIGHT;
+ break;
+ case ITEM_BIG_EXPLOSION :
#ifndef NO_SOUND
- playSound("explozion", SOUND_GROUP_BASE);
-#endif
- new->w = ITEM_BIG_EXPLOSION_WIDTH;
- new->h = ITEM_BIG_EXPLOSION_HEIGHT;
- break;
- case BONUS_SPEED:
- case BONUS_SHOT:
- case BONUS_TELEPORT:
- case BONUS_GHOST:
- case BONUS_4X:
- case BONUS_HIDDEN:
- new->w = ITEM_BONUS_WIDTH;
- new->h = ITEM_BONUS_HEIGHT;
- break;
- }
- return new;
+ playSound("explozion", SOUND_GROUP_BASE);
+#endif
+ new->w = ITEM_BIG_EXPLOSION_WIDTH;
+ new->h = ITEM_BIG_EXPLOSION_HEIGHT;
+ break;
+ case BONUS_SPEED :
+ case BONUS_SHOT :
+ case BONUS_TELEPORT :
+ case BONUS_GHOST :
+ case BONUS_4X :
+ case BONUS_HIDDEN :
+ new->w = ITEM_BONUS_WIDTH;
+ new->h = ITEM_BONUS_HEIGHT;
+ break;
+ }
+ return new;
}
-void
-getStatusItem(void *p, int *id, int *x, int *y, int *w, int *h)
+void getStatusItem(void *p, int *id, int *x, int *y ,int *w, int *h)
{
- item_t *item;
-
- item = p;
- *id = item->id;
- *x = item->x;
- *y = item->y;
- *w = item->w;
- *h = item->h;
+ item_t *item;
+
+ item = p;
+ *id = item->id;
+ *x = item->x;
+ *y = item->y;
+ *w = item->w;
+ *h = item->h;
}
-void
-setStatusItem(void *p, int x, int y, int w, int h)
+void setStatusItem(void *p, int x, int y, int w, int h)
{
- item_t *item;
+ item_t *item;
- item = p;
- item->x = x;
- item->y = y;
- item->w = w;
- item->h = h;
+ item = p;
+ item->x = x;
+ item->y = y;
+ item->w = w;
+ item->h = h;
}
-void
-replaceItemID(item_t * item, int id)
+void replaceItemID(item_t *item, int id)
{
- replaceID(item->id, id);
- item->id = id;
+ replaceID(item->id, id);
+ item->id = id;
}
#ifdef PUBLIC_SERVER
-static void
-action_countitem(space_t * space, item_t * item, int *count)
+static void action_countitem(space_t *space, item_t *item, int *count)
{
- if ((item->type >= GUN_DUAL_SIMPLE && item->type <= GUN_BOMBBALL) ||
- (item->type >= BONUS_SPEED && item->type <= BONUS_HIDDEN)) {
- (*count)++;
- }
+ if( ( item->type >= GUN_DUAL_SIMPLE && item->type <= GUN_BOMBBALL ) ||
+ ( item->type >= BONUS_SPEED && item->type <= BONUS_HIDDEN ) )
+ {
+ (*count)++;
+ }
}
-static int
-getCountWeaponOrBonusItem(space_t * spaceItem)
+static int getCountWeaponOrBonusItem(space_t *spaceItem)
{
- int count = 0;
+ int count = 0;
- actionSpace(spaceItem, action_countitem, &count);
+ actionSpace(spaceItem, action_countitem, &count);
- return count;
+ return count;
}
#endif
-void
-addNewItem(space_t * spaceItem, int author_id)
+void addNewItem(space_t *spaceItem, int author_id)
{
- arena_t *arena;
- item_t *item;
- int new_x, new_y;
- int type;
-
-#ifdef PUBLIC_SERVER
- if (getCountWeaponOrBonusItem(spaceItem) >=
- atoi(getSetting("MAX_ITEM", "--max-item", "100"))) {
- return;
- }
+ arena_t *arena;
+ item_t *item;
+ int new_x, new_y;
+ int type;
+
+#ifdef PUBLIC_SERVER
+ if( getCountWeaponOrBonusItem(spaceItem) >= atoi( getSetting("MAX_ITEM", "--max-item", "100") ) )
+ {
+ return;
+ }
#endif
-#ifndef PUBLIC_SERVER
- if (isSettingAnyItem() == FALSE ||
- getNetTypeGame() == NET_GAME_TYPE_CLIENT) {
- return;
- }
+#ifndef PUBLIC_SERVER
+ if( isSettingAnyItem() == FALSE ||
+ getNetTypeGame() == NET_GAME_TYPE_CLIENT )
+ {
+ return;
+ }
#endif
- arena = getCurrentArena();
- findFreeSpace(getCurrentArena(), &new_x, &new_y, ITEM_GUN_WIDTH,
- ITEM_GUN_HEIGHT);
+ arena = getCurrentArena();
+ findFreeSpace(getCurrentArena(), &new_x, &new_y, ITEM_GUN_WIDTH, ITEM_GUN_HEIGHT);
- type = GUN_DUAL_SIMPLE;
+ type = GUN_DUAL_SIMPLE;
#ifndef PUBLIC_SERVER
- do {
+ do {
#endif
- switch (random() % 12) {
- case 0:
- type = GUN_DUAL_SIMPLE;
- break;
- case 1:
- type = GUN_SCATTER;
- break;
- case 2:
- type = GUN_TOMMY;
- break;
- case 3:
- type = GUN_MINE;
- break;
- case 4:
- type = GUN_LASSER;
- break;
- case 5:
- type = GUN_BOMBBALL;
- break;
- case 6:
- type = BONUS_SPEED;
- break;
- case 7:
- type = BONUS_SHOT;
- break;
- case 8:
- type = BONUS_TELEPORT;
- break;
- case 9:
- type = BONUS_GHOST;
- break;
- case 10:
- type = BONUS_4X;
- break;
- case 11:
- type = BONUS_HIDDEN;
- break;
- }
+ switch (random() % 12) {
+ case 0 :
+ type = GUN_DUAL_SIMPLE;
+ break;
+ case 1 :
+ type = GUN_SCATTER;
+ break;
+ case 2 :
+ type = GUN_TOMMY;
+ break;
+ case 3 :
+ type = GUN_MINE;
+ break;
+ case 4 :
+ type = GUN_LASSER;
+ break;
+ case 5 :
+ type = GUN_BOMBBALL;
+ break;
+ case 6 :
+ type = BONUS_SPEED;
+ break;
+ case 7 :
+ type = BONUS_SHOT;
+ break;
+ case 8 :
+ type = BONUS_TELEPORT;
+ break;
+ case 9 :
+ type = BONUS_GHOST;
+ break;
+ case 10 :
+ type = BONUS_4X;
+ break;
+ case 11 :
+ type = BONUS_HIDDEN;
+ break;
+ }
#ifndef PUBLIC_SERVER
- } while (isSettingItem(type) == FALSE ||
- (getNetTypeGame() == NET_GAME_TYPE_NONE && type == BONUS_HIDDEN));
+ } while (isSettingItem(type) == FALSE ||
+ (getNetTypeGame() == NET_GAME_TYPE_NONE
+ && type == BONUS_HIDDEN));
#endif
- item = newItem(new_x, new_y, type, author_id);
- addObjectToSpace(spaceItem, item);
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_additem_server(PROTO_SEND_ALL, NULL, item);
+ item = newItem(new_x, new_y, type, author_id);
+ addObjectToSpace(spaceItem, item);
+ if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
+ proto_send_additem_server(PROTO_SEND_ALL, NULL, item);
#ifndef PUBLIC_SERVER
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT)
- addToRadar(item->id, new_x, new_y, RADAR_TYPE_ITEM);
+ if (getNetTypeGame() != NET_GAME_TYPE_CLIENT)
+ addToRadar(item->id, new_x, new_y, RADAR_TYPE_ITEM);
#endif
}
#ifndef PUBLIC_SERVER
-void
-drawItem(item_t * p)
+void drawItem(item_t *p)
{
- assert(p != NULL);
- addLayer(p->img, p->x, p->y, p->frame * p->w, 0, p->w, p->h, TUX_LAYER);
+ assert(p != NULL);
+ addLayer(p->img, p->x, p->y, p->frame * p->w, 0, p->w, p->h, TUX_LAYER);
}
-void
-drawListItem(list_t * listItem)
+void drawListItem(list_t *listItem)
{
- item_t *thisItem;
- int i;
-
- assert(listItem != NULL);
- for (i = 0; i < listItem->count; i++) {
- thisItem = (item_t *) listItem->list[i];
- assert(thisItem != NULL);
- drawItem(thisItem);
- }
+ item_t *thisItem;
+ int i;
+
+ assert(listItem != NULL);
+ for (i = 0; i < listItem->count; i++) {
+ thisItem = (item_t *)listItem->list[i];
+ assert( thisItem != NULL );
+ drawItem(thisItem);
+ }
}
#endif
-static void
-action_itemevent(space_t * space, item_t * item, void *p)
+static void action_itemevent(space_t *space, item_t *item, void *p)
{
- my_time_t currentTime;
-
- currentTime = getMyTime();
- item->count++;
- if (item->count == ITEM_MAX_COUNT) {
- item->count = 0;
- item->frame++;
- }
- switch (item->type) {
- case GUN_TOMMY:
- case GUN_DUAL_SIMPLE:
- case GUN_SCATTER:
- case GUN_LASSER:
- case GUN_MINE:
- case GUN_BOMBBALL:
- if (item->frame == ITEM_GUN_MAX_FRAME)
- item->frame = 0;
- break;
- case ITEM_MINE:
- if (item->frame == ITEM_MINE_MAX_FRAME)
- item->frame = 0;
- break;
- case ITEM_EXPLOSION:
- case ITEM_BIG_EXPLOSION:
- if (item->frame == ITEM_EXPLOSION_MAX_FRAME)
- delObjectFromSpaceWithObject(space, item, destroyItem);
- break;
- case BONUS_SPEED:
- case BONUS_SHOT:
- case BONUS_TELEPORT:
- case BONUS_GHOST:
- case BONUS_4X:
- case BONUS_HIDDEN:
- if (item->frame == ITEM_GUN_MAX_FRAME)
- item->frame = 0;
- break;
- }
+ my_time_t currentTime;
+
+ currentTime = getMyTime();
+ item->count++;
+ if (item->count == ITEM_MAX_COUNT) {
+ item->count = 0;
+ item->frame++;
+ }
+ switch (item->type) {
+ case GUN_TOMMY :
+ case GUN_DUAL_SIMPLE :
+ case GUN_SCATTER :
+ case GUN_LASSER :
+ case GUN_MINE :
+ case GUN_BOMBBALL :
+ if (item->frame == ITEM_GUN_MAX_FRAME)
+ item->frame = 0;
+ break;
+ case ITEM_MINE :
+ if(item->frame == ITEM_MINE_MAX_FRAME)
+ item->frame = 0;
+ break;
+ case ITEM_EXPLOSION :
+ case ITEM_BIG_EXPLOSION :
+ if(item->frame == ITEM_EXPLOSION_MAX_FRAME)
+ delObjectFromSpaceWithObject(space, item, destroyItem);
+ break;
+ case BONUS_SPEED :
+ case BONUS_SHOT :
+ case BONUS_TELEPORT :
+ case BONUS_GHOST :
+ case BONUS_4X :
+ case BONUS_HIDDEN :
+ if( item->frame == ITEM_GUN_MAX_FRAME )
+ item->frame = 0;
+ break;
+ }
}
-void
-eventListItem(space_t * spaceItem)
+void eventListItem(space_t *spaceItem)
{
- actionSpace(spaceItem, action_itemevent, NULL);
+ actionSpace(spaceItem, action_itemevent, NULL);
}
-static void
-mineExplosion(space_t * spaceItem, item_t * item)
+static void mineExplosion(space_t *spaceItem, item_t *item)
{
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT) {
- int x, y;
- item_t *item_explosion;
-
- x = (item->x + item->w / 2) - ITEM_BIG_EXPLOSION_WIDTH / 2;
- y = (item->y + item->h / 2) - ITEM_BIG_EXPLOSION_HEIGHT / 2;
- item_explosion = newItem(x, y, ITEM_BIG_EXPLOSION, item->author_id);
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_additem_server(PROTO_SEND_ALL, NULL, item_explosion);
- addObjectToSpace(spaceItem, item_explosion);
- }
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_del_server(PROTO_SEND_ALL, NULL, item->id);
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT)
- delObjectFromSpaceWithObject(spaceItem, item, destroyItem);
+ if (getNetTypeGame() != NET_GAME_TYPE_CLIENT) {
+ int x, y;
+ item_t *item_explosion;
+
+ x = ( item->x + item->w/2 ) - ITEM_BIG_EXPLOSION_WIDTH/2;
+ y = ( item->y + item->h/2 ) - ITEM_BIG_EXPLOSION_HEIGHT/2;
+ item_explosion = newItem(x, y, ITEM_BIG_EXPLOSION, item->author_id);
+ if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
+ proto_send_additem_server(PROTO_SEND_ALL, NULL, item_explosion);
+ addObjectToSpace(spaceItem, item_explosion );
+ }
+ if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
+ proto_send_del_server(PROTO_SEND_ALL, NULL, item->id);
+ if (getNetTypeGame() != NET_GAME_TYPE_CLIENT)
+ delObjectFromSpaceWithObject(spaceItem, item, destroyItem);
}
-static void
-action_item(space_t * space, item_t * item, int *isDel)
+static void action_item(space_t *space, item_t *item, int *isDel)
{
- arena_t *arena;
-
- arena = getCurrentArena();
- switch (item->type) {
- case ITEM_MINE:
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT)
- mineExplosion(space, item);
- break;
- case ITEM_EXPLOSION:
- case ITEM_BIG_EXPLOSION:
- *isDel = 1;
- break;
- }
+ arena_t *arena;
+
+ arena = getCurrentArena();
+ switch(item->type) {
+ case ITEM_MINE :
+ if( getNetTypeGame() != NET_GAME_TYPE_CLIENT )
+ mineExplosion(space, item);
+ break;
+ case ITEM_EXPLOSION :
+ case ITEM_BIG_EXPLOSION :
+ *isDel = 1;
+ break;
+ }
}
-static void
-action_shot(space_t * space, shot_t * shot, space_t * spaceItem)
+static void action_shot(space_t *space, shot_t *shot, space_t *spaceItem)
{
- int isDel = 0;
-
- actionSpaceFromLocation(spaceItem, action_item, &isDel, shot->x, shot->y,
- shot->w, shot->h);
- if (isDel) {
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_del_server(PROTO_SEND_ALL, NULL, shot->id);
- delObjectFromSpaceWithObject(space, shot, destroyShot);
- }
+ int isDel = 0;
+
+ actionSpaceFromLocation(spaceItem, action_item, &isDel, shot->x, shot->y, shot->w, shot->h);
+ if (isDel) {
+ if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
+ proto_send_del_server(PROTO_SEND_ALL, NULL, shot->id);
+ delObjectFromSpaceWithObject(space, shot, destroyShot);
+ }
}
-void
-eventConflictShotWithItem(arena_t * arena)
+void eventConflictShotWithItem(arena_t *arena)
{
- if (getNetTypeGame() == NET_GAME_TYPE_CLIENT)
- return;
- actionSpace(arena->spaceShot, action_shot, arena->spaceItem);
+ if (getNetTypeGame() == NET_GAME_TYPE_CLIENT)
+ return;
+ actionSpace(arena->spaceShot, action_shot, arena->spaceItem);
}
-static void
-eventTuxIsDeadWithItem(tux_t * tux, item_t * item)
+static void eventTuxIsDeadWithItem(tux_t *tux, item_t *item)
{
- if (tux->bonus == BONUS_GHOST)
- return;
- if (tux->bonus == BONUS_TELEPORT) {
- tuxTeleport(tux);
- return;
- }
- if (item->author_id == tux->id) {
- tux->score--;
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
- }
- if (item->author_id != tux->id) {
- tux_t *author;
-
- author =
- getObjectFromSpaceWithID(getCurrentArena()->spaceTux,
- item->author_id);
- if (author != NULL) {
- author->score++;
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, author);
- }
- }
- countRoundInc();
- eventTuxIsDead(tux);
+ if (tux->bonus == BONUS_GHOST)
+ return;
+ if (tux->bonus == BONUS_TELEPORT) {
+ tuxTeleport(tux);
+ return;
+ }
+ if (item->author_id == tux->id) {
+ tux->score--;
+ if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
+ proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
+ }
+ if (item->author_id != tux->id) {
+ tux_t *author;
+
+ author = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, item->author_id);
+ if (author != NULL) {
+ author->score++;
+ if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
+ proto_send_newtux_server(PROTO_SEND_ALL, NULL, author);
+ }
+ }
+ countRoundInc();
+ eventTuxIsDead(tux);
}
-static void
-tuxGiveBonus(tux_t * tux, item_t * item)
+static void tuxGiveBonus(tux_t *tux, item_t *item)
{
#ifndef NO_SOUND
- playSound("item_bonus", SOUND_GROUP_BASE);
+ playSound("item_bonus", SOUND_GROUP_BASE);
#endif
- tux->bonus = item->type;
- tux->bonus_time = TUX_MAX_BONUS;
+ tux->bonus = item->type;
+ tux->bonus_time = TUX_MAX_BONUS;
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
+ if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
+ proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
#ifndef PUBLIC_SERVER
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT)
- delFromRadar(item->id);
+ if (getNetTypeGame() != NET_GAME_TYPE_CLIENT)
+ delFromRadar(item->id);
#endif
}
-static void
-tuxGiveGun(tux_t * tux, item_t * item)
+static void tuxGiveGun(tux_t *tux, item_t *item)
{
#ifndef NO_SOUND
- playSound("item_gun", SOUND_GROUP_BASE);
+ playSound("item_gun", SOUND_GROUP_BASE);
#endif
- tux->pickup_time = 0;
- tux->shot[item->type] += GUN_MAX_SHOT;
- tux->gun = item->type;
+ tux->pickup_time = 0;
+ tux->shot[ item->type ] += GUN_MAX_SHOT;
+ tux->gun = item->type;
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
+ if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
+ proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
#ifndef PUBLIC_SERVER
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT)
- delFromRadar(item->id);
+ if (getNetTypeGame() != NET_GAME_TYPE_CLIENT)
+ delFromRadar(item->id);
#endif
}
-static void
-action_giveitem(space_t * space, item_t * item, tux_t * tux)
+static void action_giveitem(space_t *space, item_t *item, tux_t *tux)
{
- switch (item->type) {
- case GUN_TOMMY:
- case GUN_DUAL_SIMPLE:
- case GUN_SCATTER:
- case GUN_LASSER:
- case GUN_MINE:
- case GUN_BOMBBALL:
- tuxGiveGun(tux, item);
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_del_server(PROTO_SEND_ALL, NULL, item->id);
- delObjectFromSpaceWithObject(space, item, destroyItem);
+ switch (item->type) {
+ case GUN_TOMMY :
+ case GUN_DUAL_SIMPLE :
+ case GUN_SCATTER :
+ case GUN_LASSER :
+ case GUN_MINE :
+ case GUN_BOMBBALL :
+ tuxGiveGun(tux, item);
+ if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
+ proto_send_del_server(PROTO_SEND_ALL, NULL, item->id);
+ delObjectFromSpaceWithObject(space, item, destroyItem);
#ifdef PUBLIC_SERVER
- addNewItem(space, ID_UNKNOWN);
+ addNewItem(space, ID_UNKNOWN);
#endif
- break;
-
- case ITEM_MINE:
- if (tux->bonus != BONUS_GHOST)
- mineExplosion(space, item);
- break;
- case ITEM_EXPLOSION:
- case ITEM_BIG_EXPLOSION:
- if (tux->bonus != BONUS_GHOST)
- eventTuxIsDeadWithItem(tux, item);
- break;
- case BONUS_SPEED:
- case BONUS_SHOT:
- case BONUS_TELEPORT:
- case BONUS_GHOST:
- case BONUS_4X:
- case BONUS_HIDDEN:
- tuxGiveBonus(tux, item);
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_del_server(PROTO_SEND_ALL, NULL, item->id);
- delObjectFromSpaceWithObject(space, item, destroyItem);
+ break;
+
+ case ITEM_MINE :
+ if (tux->bonus != BONUS_GHOST)
+ mineExplosion(space, item);
+ break;
+ case ITEM_EXPLOSION :
+ case ITEM_BIG_EXPLOSION :
+ if (tux->bonus != BONUS_GHOST)
+ eventTuxIsDeadWithItem(tux, item);
+ break;
+ case BONUS_SPEED :
+ case BONUS_SHOT :
+ case BONUS_TELEPORT :
+ case BONUS_GHOST :
+ case BONUS_4X :
+ case BONUS_HIDDEN :
+ tuxGiveBonus(tux, item);
+ if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
+ proto_send_del_server(PROTO_SEND_ALL, NULL, item->id);
+ delObjectFromSpaceWithObject(space, item, destroyItem);
#ifdef PUBLIC_SERVER
- addNewItem(space, ID_UNKNOWN);
+ addNewItem(space, ID_UNKNOWN);
#endif
- break;
- }
+ break;
+ }
}
-void
-eventGiveTuxListItem(tux_t * tux, space_t * spaceItem)
+void eventGiveTuxListItem(tux_t *tux, space_t *spaceItem)
{
- int x, y, w, h;
+ int x, y, w, h;
- assert(spaceItem != NULL);
- assert(tux != NULL);
+ assert(spaceItem != NULL);
+ assert(tux != NULL);
- if (getNetTypeGame() == NET_GAME_TYPE_CLIENT)
- return;
+ if (getNetTypeGame() == NET_GAME_TYPE_CLIENT)
+ return;
- if (tux->status == TUX_STATUS_DEAD)
- return;
+ if (tux->status == TUX_STATUS_DEAD)
+ return;
- getTuxProportion(tux, &x, &y, &w, &h);
- actionSpaceFromLocation(spaceItem, action_giveitem, tux, x, y, w, h);
+ getTuxProportion(tux, &x, &y, &w, &h);
+ actionSpaceFromLocation(spaceItem, action_giveitem, tux, x, y, w, h);
}
-void
-destroyItem(item_t * p)
+void destroyItem(item_t *p)
{
- assert(p != NULL);
- delID(p->id);
- free(p);
+ assert(p != NULL);
+ delID(p->id);
+ free(p);
}
-void
-quitItem()
+void quitItem()
{
- isItemInit = FALSE;
+ isItemInit = FALSE;
}
diff --git a/src/base/item.c~ b/src/base/item.c~
deleted file mode 100644
index 07929ed..0000000
--- a/src/base/item.c~
+++ /dev/null
@@ -1,516 +0,0 @@
-
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "arena.h"
-#include "tux.h"
-#include "item.h"
-#include "shot.h"
-#include "proto.h"
-#include "idManager.h"
-#include "net_multiplayer.h"
-#include "serverSendMsg.h"
-
-#ifndef PUBLIC_SERVER
-
-#include "interface.h"
-#include "image.h"
-#include "radar.h"
-#include "layer.h"
-
-#include "screen_world.h"
-#include "screen_setting.h"
-
-#ifndef NO_SOUND
-#include "sound.h"
-#endif
-
-#endif
-
-#ifdef PUBLIC_SERVER
-#include "publicServer.h"
-#endif
-
-#ifndef PUBLIC_SERVER
-static image_t *g_item[ITEM_COUNT];
-#endif
-
-static bool_t isItemInit = FALSE;
-
-bool_t isItemInicialized()
-{
- return isItemInit;
-}
-
-void initItem()
-{
-#ifndef PUBLIC_SERVER
- g_item[GUN_DUAL_SIMPLE] = addImageData("item.dual.png", IMAGE_ALPHA, "item_dual_simple", IMAGE_GROUP_BASE);
- g_item[GUN_TOMMY] = addImageData("item.tommy.png", IMAGE_ALPHA, "item_tommy_simple", IMAGE_GROUP_BASE);
- g_item[GUN_SCATTER] = addImageData("item.scatter.png", IMAGE_ALPHA, "item_scatter_simple", IMAGE_GROUP_BASE);
- g_item[GUN_LASSER] = addImageData("item.lasser.png", IMAGE_ALPHA, "item_lasser_simple", IMAGE_GROUP_BASE);
- g_item[GUN_MINE] = addImageData("item.mine.png", IMAGE_ALPHA, "item_mines_simple", IMAGE_GROUP_BASE);
- g_item[GUN_BOMBBALL] = addImageData("item.bombball.png", IMAGE_ALPHA, "item_bombball_simple", IMAGE_GROUP_BASE);
-
- g_item[ITEM_MINE] = addImageData("mine.png", IMAGE_ALPHA, "item_mine_simple", IMAGE_GROUP_BASE);
- g_item[ITEM_EXPLOSION] = addImageData("explosion.png", IMAGE_ALPHA, "item_explosion_simple", IMAGE_GROUP_BASE);
- g_item[ITEM_BIG_EXPLOSION] = addImageData("big-explosion.png", IMAGE_ALPHA, "item_big-explosion_simple", IMAGE_GROUP_BASE);
-
- g_item[BONUS_SPEED] = addImageData("item.bonus.speed.png", IMAGE_ALPHA, "item_bonus_speed", IMAGE_GROUP_BASE);
- g_item[BONUS_SHOT] = addImageData("item.bonus.shot.png", IMAGE_ALPHA, "item_shot_speed", IMAGE_GROUP_BASE);
- g_item[BONUS_TELEPORT] = addImageData("item.bonus.teleport.png", IMAGE_ALPHA, "item_teleport_speed", IMAGE_GROUP_BASE);
- g_item[BONUS_GHOST] = addImageData("item.bonus.ghost.png", IMAGE_ALPHA, "item_ghost_speed", IMAGE_GROUP_BASE);
- g_item[BONUS_4X] = addImageData("item.bonus.4x.png", IMAGE_ALPHA, "item_4x_speed", IMAGE_GROUP_BASE);
- g_item[BONUS_HIDDEN] = addImageData("item.bonus.hidden.png", IMAGE_ALPHA, "item_hidden_speed", IMAGE_GROUP_BASE);
-#endif
- isItemInit = TRUE;
-}
-
-item_t* newItem(int x, int y, int type, int author_id)
-{
- item_t *new;
-
- new = malloc( sizeof(item_t) );
- assert( new != NULL );
- new->type = type;
- new->id = getNewID();
- new->x = x;
- new->y = y;
- new->frame = 0;
- new->count = 0;
-#ifndef PUBLIC_SERVER
- new->img = g_item[type];
-#endif
- new->author_id = author_id;
- switch (type) {
- case GUN_DUAL_SIMPLE :
- case GUN_SCATTER :
- case GUN_TOMMY :
- case GUN_LASSER :
- case GUN_MINE :
- case GUN_BOMBBALL :
- new->w = ITEM_GUN_WIDTH;
- new->h = ITEM_GUN_HEIGHT;
- break;
- case ITEM_MINE :
- new->w = ITEM_MINE_WIDTH;
- new->h = ITEM_MINE_HEIGHT;
- break;
- case ITEM_EXPLOSION :
-#ifndef NO_SOUND
- playSound("explozion", SOUND_GROUP_BASE);
-#endif
- new->w = ITEM_EXPLOSION_WIDTH;
- new->h = ITEM_EXPLOSION_HEIGHT;
- break;
- case ITEM_BIG_EXPLOSION :
-#ifndef NO_SOUND
- playSound("explozion", SOUND_GROUP_BASE);
-#endif
- new->w = ITEM_BIG_EXPLOSION_WIDTH;
- new->h = ITEM_BIG_EXPLOSION_HEIGHT;
- break;
- case BONUS_SPEED :
- case BONUS_SHOT :
- case BONUS_TELEPORT :
- case BONUS_GHOST :
- case BONUS_4X :
- case BONUS_HIDDEN :
- new->w = ITEM_BONUS_WIDTH;
- new->h = ITEM_BONUS_HEIGHT;
- break;
- }
- return new;
-}
-
-void getStatusItem(void *p, int *id, int *x, int *y ,int *w, int *h)
-{
- item_t *item;
-
- item = p;
- *id = item->id;
- *x = item->x;
- *y = item->y;
- *w = item->w;
- *h = item->h;
-}
-
-void setStatusItem(void *p, int x, int y, int w, int h)
-{
- item_t *item;
-
- item = p;
- item->x = x;
- item->y = y;
- item->w = w;
- item->h = h;
-}
-
-void replaceItemID(item_t *item, int id)
-{
- replaceID(item->id, id);
- item->id = id;
-}
-
-#ifdef PUBLIC_SERVER
-static void action_countitem(space_t *space, item_t *item, int *count)
-{
- if( ( item->type >= GUN_DUAL_SIMPLE && item->type <= GUN_BOMBBALL ) ||
- ( item->type >= BONUS_SPEED && item->type <= BONUS_HIDDEN ) )
- {
- (*count)++;
- }
-}
-
-static int getCountWeaponOrBonusItem(space_t *spaceItem)
-{
- int count = 0;
-
- actionSpace(spaceItem, action_countitem, &count);
-
- return count;
-}
-#endif
-
-void addNewItem(space_t *spaceItem, int author_id)
-{
- arena_t *arena;
- item_t *item;
- int new_x, new_y;
- int type;
-
-#ifdef PUBLIC_SERVER
- if( getCountWeaponOrBonusItem(spaceItem) >= atoi( getSetting("MAX_ITEM", "--max-item", "100") ) )
- {
- return;
- }
-#endif
-
-#ifndef PUBLIC_SERVER
- if( isSettingAnyItem() == FALSE ||
- getNetTypeGame() == NET_GAME_TYPE_CLIENT )
- {
- return;
- }
-#endif
-
- arena = getCurrentArena();
- findFreeSpace(getCurrentArena(), &new_x, &new_y, ITEM_GUN_WIDTH, ITEM_GUN_HEIGHT);
-
- type = GUN_DUAL_SIMPLE;
-
-#ifndef PUBLIC_SERVER
- do {
-#endif
- switch (random() % 12) {
- case 0 :
- type = GUN_DUAL_SIMPLE;
- break;
- case 1 :
- type = GUN_SCATTER;
- break;
- case 2 :
- type = GUN_TOMMY;
- break;
- case 3 :
- type = GUN_MINE;
- break;
- case 4 :
- type = GUN_LASSER;
- break;
- case 5 :
- type = GUN_BOMBBALL;
- break;
- case 6 :
- type = BONUS_SPEED;
- break;
- case 7 :
- type = BONUS_SHOT;
- break;
- case 8 :
- type = BONUS_TELEPORT;
- break;
- case 9 :
- type = BONUS_GHOST;
- break;
- case 10 :
- type = BONUS_4X;
- break;
- case 11 :
- type = BONUS_HIDDEN;
- break;
- }
-#ifndef PUBLIC_SERVER
- } while (isSettingItem(type) == FALSE ||
- (getNetTypeGame() == NET_GAME_TYPE_NONE
- && type == BONUS_HIDDEN));
-#endif
- item = newItem(new_x, new_y, type, author_id);
- addObjectToSpace(spaceItem, item);
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_additem_server(PROTO_SEND_ALL, NULL, item);
-
-#ifndef PUBLIC_SERVER
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT)
- addToRadar(item->id, new_x, new_y, RADAR_TYPE_ITEM);
-#endif
-}
-
-#ifndef PUBLIC_SERVER
-void drawItem(item_t *p)
-{
- assert(p != NULL);
- addLayer(p->img, p->x, p->y, p->frame * p->w, 0, p->w, p->h, TUX_LAYER);
-}
-
-void drawListItem(list_t *listItem)
-{
- item_t *thisItem;
- int i;
-
- assert(listItem != NULL);
- for (i = 0; i < listItem->count; i++) {
- thisItem = (item_t *)listItem->list[i];
- assert( thisItem != NULL );
- drawItem(thisItem);
- }
-}
-
-#endif
-
-static void action_itemevent(space_t *space, item_t *item, void *p)
-{
- my_time_t currentTime;
-
- currentTime = getMyTime();
- item->count++;
- if (item->count == ITEM_MAX_COUNT) {
- item->count = 0;
- item->frame++;
- }
- switch (item->type) {
- case GUN_TOMMY :
- case GUN_DUAL_SIMPLE :
- case GUN_SCATTER :
- case GUN_LASSER :
- case GUN_MINE :
- case GUN_BOMBBALL :
- if (item->frame == ITEM_GUN_MAX_FRAME)
- item->frame = 0;
- break;
- case ITEM_MINE :
- if(item->frame == ITEM_MINE_MAX_FRAME)
- item->frame = 0;
- break;
- case ITEM_EXPLOSION :
- case ITEM_BIG_EXPLOSION :
- if(item->frame == ITEM_EXPLOSION_MAX_FRAME)
- delObjectFromSpaceWithObject(space, item, destroyItem);
- break;
- case BONUS_SPEED :
- case BONUS_SHOT :
- case BONUS_TELEPORT :
- case BONUS_GHOST :
- case BONUS_4X :
- case BONUS_HIDDEN :
- if( item->frame == ITEM_GUN_MAX_FRAME )
- item->frame = 0;
- break;
- }
-}
-
-void eventListItem(space_t *spaceItem)
-{
- actionSpace(spaceItem, action_itemevent, NULL);
-}
-
-static void mineExplosion(space_t *spaceItem, item_t *item)
-{
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT) {
- int x, y;
- item_t *item_explosion;
-
- x = ( item->x + item->w/2 ) - ITEM_BIG_EXPLOSION_WIDTH/2;
- y = ( item->y + item->h/2 ) - ITEM_BIG_EXPLOSION_HEIGHT/2;
- item_explosion = newItem(x, y, ITEM_BIG_EXPLOSION, item->author_id);
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_additem_server(PROTO_SEND_ALL, NULL, item_explosion);
- addObjectToSpace(spaceItem, item_explosion );
- }
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_del_server(PROTO_SEND_ALL, NULL, item->id);
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT)
- delObjectFromSpaceWithObject(spaceItem, item, destroyItem);
-}
-
-static void action_item(space_t *space, item_t *item, int *isDel)
-{
- arena_t *arena;
-
- arena = getCurrentArena();
- switch(item->type) {
- case ITEM_MINE :
- if( getNetTypeGame() != NET_GAME_TYPE_CLIENT )
- mineExplosion(space, item);
- break;
- case ITEM_EXPLOSION :
- case ITEM_BIG_EXPLOSION :
- *isDel = 1;
- break;
- }
-}
-
-static void action_shot(space_t *space, shot_t *shot, space_t *spaceItem)
-{
- int isDel = 0;
-
- actionSpaceFromLocation(spaceItem, action_item, &isDel, shot->x, shot->y, shot->w, shot->h);
- if (isDel) {
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_del_server(PROTO_SEND_ALL, NULL, shot->id);
- delObjectFromSpaceWithObject(space, shot, destroyShot);
- }
-}
-
-void eventConflictShotWithItem(arena_t *arena)
-{
- if (getNetTypeGame() == NET_GAME_TYPE_CLIENT)
- return;
- actionSpace(arena->spaceShot, action_shot, arena->spaceItem);
-}
-
-static void eventTuxIsDeadWithItem(tux_t *tux, item_t *item)
-{
- if (tux->bonus == BONUS_GHOST)
- return;
- if (tux->bonus == BONUS_TELEPORT) {
- tuxTeleport(tux);
- return;
- }
- if (item->author_id == tux->id) {
- tux->score--;
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
- }
- if (item->author_id != tux->id) {
- tux_t *author;
-
- author = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, item->author_id);
- if (author != NULL) {
- author->score++;
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, author);
- }
- }
- countRoundInc();
- eventTuxIsDead(tux);
-}
-
-static void tuxGiveBonus(tux_t *tux, item_t *item)
-{
-#ifndef NO_SOUND
- playSound("item_bonus", SOUND_GROUP_BASE);
-#endif
- tux->bonus = item->type;
- tux->bonus_time = TUX_MAX_BONUS;
-
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
-
-#ifndef PUBLIC_SERVER
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT)
- delFromRadar(item->id);
-#endif
-}
-
-static void tuxGiveGun(tux_t *tux, item_t *item)
-{
-#ifndef NO_SOUND
- playSound("item_gun", SOUND_GROUP_BASE);
-#endif
- tux->pickup_time = 0;
- tux->shot[ item->type ] += GUN_MAX_SHOT;
- tux->gun = item->type;
-
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
-
-#ifndef PUBLIC_SERVER
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT)
- delFromRadar(item->id);
-#endif
-}
-
-static void action_giveitem(space_t *space, item_t *item, tux_t *tux)
-{
- switch (item->type) {
- case GUN_TOMMY :
- case GUN_DUAL_SIMPLE :
- case GUN_SCATTER :
- case GUN_LASSER :
- case GUN_MINE :
- case GUN_BOMBBALL :
- tuxGiveGun(tux, item);
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_del_server(PROTO_SEND_ALL, NULL, item->id);
- delObjectFromSpaceWithObject(space, item, destroyItem);
-#ifdef PUBLIC_SERVER
- addNewItem(space, ID_UNKNOWN);
-#endif
- break;
-
- case ITEM_MINE :
- if (tux->bonus != BONUS_GHOST)
- mineExplosion(space, item);
- break;
- case ITEM_EXPLOSION :
- case ITEM_BIG_EXPLOSION :
- if (tux->bonus != BONUS_GHOST)
- eventTuxIsDeadWithItem(tux, item);
- break;
- case BONUS_SPEED :
- case BONUS_SHOT :
- case BONUS_TELEPORT :
- case BONUS_GHOST :
- case BONUS_4X :
- case BONUS_HIDDEN :
- tuxGiveBonus(tux, item);
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER)
- proto_send_del_server(PROTO_SEND_ALL, NULL, item->id);
- delObjectFromSpaceWithObject(space, item, destroyItem);
-#ifdef PUBLIC_SERVER
- addNewItem(space, ID_UNKNOWN);
-#endif
- break;
- }
-}
-
-void eventGiveTuxListItem(tux_t *tux, space_t *spaceItem)
-{
- int x, y, w, h;
-
- assert(spaceItem != NULL);
- assert(tux != NULL);
-
- if (getNetTypeGame() == NET_GAME_TYPE_CLIENT)
- return;
-
- if (tux->status == TUX_STATUS_DEAD)
- return;
-
- getTuxProportion(tux, &x, &y, &w, &h);
- actionSpaceFromLocation(spaceItem, action_giveitem, tux, x, y, w, h);
-}
-
-void destroyItem(item_t *p)
-{
- assert(p != NULL);
- delID(p->id);
- free(p);
-}
-
-void quitItem()
-{
- isItemInit = FALSE;
-}
diff --git a/src/base/list.c b/src/base/list.c
index 892a124..72ea95e 100755
--- a/src/base/list.c
+++ b/src/base/list.c
@@ -7,176 +7,161 @@
#include "main.h"
#include "list.h"
-list_t *
-newList()
+list_t* newList()
{
- list_t *new;
+ list_t *new;
- new = malloc(sizeof(list_t));
- memset(new, 0, sizeof(list_t));
- return new;
+ new = malloc(sizeof(list_t));
+ memset(new, 0, sizeof(list_t));
+ return new;
}
-list_t *
-cloneList(list_t * p)
+list_t* cloneList(list_t *p)
{
- list_t *new;
-
- assert(p != NULL);
- new = malloc(sizeof(list_t));
- memcpy(new, p, sizeof(list_t));
- if (p->list != NULL) {
- new->list = malloc(p->alloc * sizeof(void *));
- memcpy(new->list, p->list, p->alloc * sizeof(void *));
- }
- return new;
+ list_t *new;
+
+ assert(p != NULL);
+ new = malloc( sizeof(list_t) );
+ memcpy(new, p, sizeof(list_t) );
+ if(p->list != NULL) {
+ new->list = malloc( p->alloc * sizeof(void *) );
+ memcpy(new->list, p->list, p->alloc * sizeof(void *));
+ }
+ return new;
}
-list_t *
-cloneListItem(list_t * p, void *f)
+list_t* cloneListItem(list_t *p, void *f)
{
- list_t *new;
- void *(*fce) (void *);
- int i;
-
- assert(p != NULL);
- assert(f != NULL);
- new = cloneList(p);
- fce = f;
- for (i = 0; i < p->count; i++)
- new->list[i] = fce(p->list[i]);
- return new;
+ list_t *new;
+ void* (*fce)(void *);
+ int i;
+
+ assert(p != NULL);
+ assert(f != NULL);
+ new = cloneList(p);
+ fce = f;
+ for (i = 0; i < p->count; i++)
+ new->list[i] = fce(p->list[i]);
+ return new;
}
-void
-addList(list_t * p, void *item)
+void addList(list_t *p, void *item)
{
- assert(p != NULL);
-
- if (p->alloc == 0) {
- p->alloc = LIST_ALLOC_LIMIT;
- p->count = 1;
- p->list = malloc(p->alloc * sizeof(void *));
- p->list[0] = item;
- return;
- }
-
- if (p->count + 1 <= p->alloc) {
- p->list[p->count] = item;
- p->count += 1;
- return;
- }
-
- if (p->count + 1 > p->alloc) {
- void **new;
+ assert( p != NULL );
+
+ if (p->alloc == 0) {
+ p->alloc = LIST_ALLOC_LIMIT;
+ p->count = 1;
+ p->list = malloc(p->alloc * sizeof(void *));
+ p->list[0] = item;
+ return;
+ }
+
+ if (p->count + 1 <= p->alloc) {
+ p->list[p->count] = item;
+ p->count += 1;
+ return;
+ }
+
+ if (p->count + 1 > p->alloc) {
+ void **new;
#ifdef DEBUG_LIST
- printf("Realocating from %d to %d (count=%d)\n",
- p->alloc, p->alloc + LIST_ALLOC_LIMIT, p->count);
+ printf("Realocating from %d to %d (count=%d)\n",
+ p->alloc, p->alloc+LIST_ALLOC_LIMIT, p->count);
#endif
- p->alloc += LIST_ALLOC_LIMIT;
- new = malloc(p->alloc * sizeof(void *));
- memcpy(new, p->list, p->count * sizeof(void *));
- free(p->list);
- p->list = new;
- p->list[p->count] = item;
- p->count++;
- return;
- }
+ p->alloc += LIST_ALLOC_LIMIT;
+ new = malloc(p->alloc * sizeof(void *));
+ memcpy(new, p->list, p->count * sizeof(void *));
+ free(p->list);
+ p->list = new;
+ p->list[p->count] = item;
+ p->count++;
+ return;
+ }
}
-void
-insList(list_t * p, int n, void *item)
+void insList(list_t *p, int n, void *item)
{
- assert(p != NULL);
- addList(p, NULL); // :)
- assert(n >= 0 || n < p->count);
- memmove(p->list + n + 1, p->list + n,
- ((p->count - 1) - n) * sizeof(void *));
- p->list[n] = item;
+ assert( p != NULL );
+ addList(p, NULL); // :)
+ assert(n >= 0 || n < p->count);
+ memmove(p->list+n+1, p->list+n, ((p->count-1) - n) * sizeof(void *));
+ p->list[n] = item;
}
-void *
-getList(list_t * p, int n)
+void *getList(list_t *p, int n)
{
- assert(p != NULL);
- assert(n >= 0 || n < p->count);
- return p->list[n];
+ assert(p != NULL);
+ assert(n >= 0 || n < p->count);
+ return p->list[n];
}
-int
-searchListItem(list_t * p, void *n)
+int searchListItem(list_t *p, void *n)
{
- int i;
+ int i;
- assert(p != NULL);
- for (i = 0; i < p->count; i++)
- if (p->list[i] == n)
- return i;
- return -1;
+ assert( p != NULL );
+ for (i = 0; i < p->count; i++)
+ if (p->list[i] == n)
+ return i;
+ return -1;
}
-void
-delList(list_t * p, int n)
+void delList(list_t *p, int n)
{
- assert(p != NULL);
- assert(n >= 0 || n < p->count);
- memmove(p->list + n, p->list + n + 1,
- ((p->count - 1) - n) * sizeof(void *));
- p->count--;
- if (p->count + LIST_ALLOC_LIMIT < p->alloc) {
- void **new;
+ assert(p != NULL);
+ assert(n >= 0 || n < p->count);
+ memmove(p->list+n, p->list+n+1, ( (p->count-1) - n ) * sizeof(void *));
+ p->count--;
+ if(p->count + LIST_ALLOC_LIMIT < p->alloc) {
+ void **new;
#ifdef DEBUG_LIST
- printf("Realocating from %d to %d (count=%d)\n",
- p->alloc, p->alloc - LIST_ALLOC_LIMIT, p->count);
+ printf("Realocating from %d to %d (count=%d)\n",
+ p->alloc, p->alloc-LIST_ALLOC_LIMIT, p->count);
#endif
- p->alloc -= LIST_ALLOC_LIMIT;
- new = malloc(p->alloc * sizeof(void *));
- memcpy(new, p->list, p->count * sizeof(void *));
- free(p->list);
- p->list = new;
- }
+ p->alloc -= LIST_ALLOC_LIMIT;
+ new = malloc(p->alloc * sizeof(void *) );
+ memcpy(new, p->list, p->count * sizeof(void *) );
+ free(p->list);
+ p->list = new;
+ }
}
-void
-delListItem(list_t * p, int n, void *f)
+void delListItem(list_t *p, int n, void *f)
{
- int (*fce) (void *);
-
- assert(p != NULL);
- assert(n >= 0 || n < p->count);
- fce = f;
- if (fce != NULL)
- fce(p->list[n]);
- delList(p, n);
+ int (*fce)(void *);
+
+ assert(p != NULL);
+ assert(n >= 0 || n < p->count);
+ fce = f;
+ if(fce != NULL)
+ fce(p->list[n]);
+ delList(p, n);
}
-void
-listDoEmpty(list_t * p)
+void listDoEmpty(list_t *p)
{
- p->count = 0;
+ p->count = 0;
}
-void
-destroyList(list_t * p)
+void destroyList(list_t *p)
{
- assert(p != NULL);
+ assert( p != NULL );
- if (p->list != NULL)
- free(p->list);
- free(p);
+ if( p->list != NULL )free(p->list);
+ free(p);
}
-void
-destroyListItem(list_t * p, void *f)
+void destroyListItem(list_t *p, void *f)
{
- void (*fce) (void *);
- int i;
-
- assert(p != NULL);
- assert(f != NULL);
- fce = f;
- for (i = 0; i < p->count; i++)
- fce(p->list[i]);
- destroyList(p);
+ void (*fce)(void *);
+ int i;
+
+ assert( p != NULL );
+ assert( f != NULL );
+ fce = f;
+ for (i = 0; i < p->count; i++)
+ fce(p->list[i]);
+ destroyList(p);
}
diff --git a/src/base/list.c~ b/src/base/list.c~
deleted file mode 100644
index 72ea95e..0000000
--- a/src/base/list.c~
+++ /dev/null
@@ -1,167 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-
-list_t* newList()
-{
- list_t *new;
-
- new = malloc(sizeof(list_t));
- memset(new, 0, sizeof(list_t));
- return new;
-}
-
-list_t* cloneList(list_t *p)
-{
- list_t *new;
-
- assert(p != NULL);
- new = malloc( sizeof(list_t) );
- memcpy(new, p, sizeof(list_t) );
- if(p->list != NULL) {
- new->list = malloc( p->alloc * sizeof(void *) );
- memcpy(new->list, p->list, p->alloc * sizeof(void *));
- }
- return new;
-}
-
-list_t* cloneListItem(list_t *p, void *f)
-{
- list_t *new;
- void* (*fce)(void *);
- int i;
-
- assert(p != NULL);
- assert(f != NULL);
- new = cloneList(p);
- fce = f;
- for (i = 0; i < p->count; i++)
- new->list[i] = fce(p->list[i]);
- return new;
-}
-
-void addList(list_t *p, void *item)
-{
- assert( p != NULL );
-
- if (p->alloc == 0) {
- p->alloc = LIST_ALLOC_LIMIT;
- p->count = 1;
- p->list = malloc(p->alloc * sizeof(void *));
- p->list[0] = item;
- return;
- }
-
- if (p->count + 1 <= p->alloc) {
- p->list[p->count] = item;
- p->count += 1;
- return;
- }
-
- if (p->count + 1 > p->alloc) {
- void **new;
-#ifdef DEBUG_LIST
- printf("Realocating from %d to %d (count=%d)\n",
- p->alloc, p->alloc+LIST_ALLOC_LIMIT, p->count);
-#endif
- p->alloc += LIST_ALLOC_LIMIT;
- new = malloc(p->alloc * sizeof(void *));
- memcpy(new, p->list, p->count * sizeof(void *));
- free(p->list);
- p->list = new;
- p->list[p->count] = item;
- p->count++;
- return;
- }
-}
-
-void insList(list_t *p, int n, void *item)
-{
- assert( p != NULL );
- addList(p, NULL); // :)
- assert(n >= 0 || n < p->count);
- memmove(p->list+n+1, p->list+n, ((p->count-1) - n) * sizeof(void *));
- p->list[n] = item;
-}
-
-void *getList(list_t *p, int n)
-{
- assert(p != NULL);
- assert(n >= 0 || n < p->count);
- return p->list[n];
-}
-
-int searchListItem(list_t *p, void *n)
-{
- int i;
-
- assert( p != NULL );
- for (i = 0; i < p->count; i++)
- if (p->list[i] == n)
- return i;
- return -1;
-}
-
-void delList(list_t *p, int n)
-{
- assert(p != NULL);
- assert(n >= 0 || n < p->count);
- memmove(p->list+n, p->list+n+1, ( (p->count-1) - n ) * sizeof(void *));
- p->count--;
- if(p->count + LIST_ALLOC_LIMIT < p->alloc) {
- void **new;
-
-#ifdef DEBUG_LIST
- printf("Realocating from %d to %d (count=%d)\n",
- p->alloc, p->alloc-LIST_ALLOC_LIMIT, p->count);
-#endif
- p->alloc -= LIST_ALLOC_LIMIT;
- new = malloc(p->alloc * sizeof(void *) );
- memcpy(new, p->list, p->count * sizeof(void *) );
- free(p->list);
- p->list = new;
- }
-}
-
-void delListItem(list_t *p, int n, void *f)
-{
- int (*fce)(void *);
-
- assert(p != NULL);
- assert(n >= 0 || n < p->count);
- fce = f;
- if(fce != NULL)
- fce(p->list[n]);
- delList(p, n);
-}
-
-void listDoEmpty(list_t *p)
-{
- p->count = 0;
-}
-
-void destroyList(list_t *p)
-{
- assert( p != NULL );
-
- if( p->list != NULL )free(p->list);
- free(p);
-}
-
-void destroyListItem(list_t *p, void *f)
-{
- void (*fce)(void *);
- int i;
-
- assert( p != NULL );
- assert( f != NULL );
- fce = f;
- for (i = 0; i < p->count; i++)
- fce(p->list[i]);
- destroyList(p);
-}
diff --git a/src/base/main.c b/src/base/main.c
index de21be0..18ff5f3 100644
--- a/src/base/main.c
+++ b/src/base/main.c
@@ -27,133 +27,134 @@
static int my_argc;
static char **my_argv;
-char *
-getParam(char *s)
+char* getParam(char *s)
{
- int i;
- int len;
-
- len = strlen(s);
-
- for (i = 1; i < my_argc; i++) {
- //printf("%s %s\n", s, my_argv[i]);
-
- if (strlen(my_argv[i]) < len) {
- continue;
- }
-
- if (strncmp(s, my_argv[i], len) == 0) {
- return strchr(my_argv[i], '=') + 1;
- }
- }
-
- return NULL;
+ int i;
+ int len;
+
+ len = strlen(s);
+
+ for( i = 1 ; i < my_argc ; i++ )
+ {
+ //printf("%s %s\n", s, my_argv[i]);
+
+ if( strlen(my_argv[i]) < len )
+ {
+ continue;
+ }
+
+ if( strncmp(s, my_argv[i], len) == 0 )
+ {
+ return strchr(my_argv[i], '=')+1;
+ }
+ }
+
+ return NULL;
}
-char *
-getParamElse(char *s1, char *s2)
+char* getParamElse(char *s1, char *s2)
{
- char *ret;
- ret = getParam(s1);
+ char *ret;
+ ret = getParam(s1);
- if (ret == NULL) {
- return s2;
- }
+ if( ret == NULL)
+ {
+ return s2;
+ }
- return ret;
+ return ret;
}
-bool_t
-isParamFlag(char *s)
+bool_t isParamFlag(char *s)
{
- int i;
+ int i;
- for (i = 0; i < my_argc; i++) {
- if (strcmp(s, my_argv[i]) == 0) {
- return TRUE;
- }
- }
+ for( i = 0 ; i < my_argc ; i++ )
+ {
+ if( strcmp(s, my_argv[i]) == 0 )
+ {
+ return TRUE;
+ }
+ }
- return FALSE;
+ return FALSE;
}
-char *
-getString(int n)
+char *getString(int n)
{
- char str[STR_NUM_SIZE];
- sprintf(str, "%d", n);
- return strdup(str);
+ char str[STR_NUM_SIZE];
+ sprintf(str, "%d", n);
+ return strdup(str);
}
-int *
-newInt(int x)
+int* newInt(int x)
{
- int *new;
- new = malloc(sizeof(int));
- *new = x;
- return new;
+ int *new;
+ new = malloc( sizeof(int) );
+ *new = x;
+ return new;
}
-void
-accessExistFile(const char *s)
+void accessExistFile(const char *s)
{
- if (access(s, F_OK) != 0) {
- fprintf(stderr, _("File %s not found !\nProgram shutdown !\n"), s);
- exit(-1);
- }
+ if( access(s, F_OK) != 0 )
+ {
+ fprintf(stderr, _("File %s not found !\nProgram shutdown !\n"), s);
+ exit(-1);
+ }
}
-int
-tryExistFile(const char *s)
+int tryExistFile (const char *s)
{
- if (access(s, F_OK) != 0)
- return 1;
- else
- return 0;
+ if (access(s, F_OK) != 0)
+ return 1;
+ else
+ return 0;
}
-int
-isFillPath(const char *path)
+int isFillPath(const char *path)
{
- assert(path != NULL);
+ assert( path != NULL);
#ifndef __WIN32__
- if (path[0] == '/') // for Unix-like systems ;)
+ if( path[0] == '/' ) // for Unix-like systems ;)
#else
- if (path[1] == ':') // for Windows-like systems ;)
+ if( path[1] == ':' ) // for Windows-like systems ;)
#endif
- {
- return 1;
- }
-
- return 0;
+ {
+ return 1;
+ }
+
+ return 0;
}
#ifdef __WIN32__
-int WINAPI
-WinMain(HINSTANCE hInstance,
- HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
+int WINAPI WinMain(
+ HINSTANCE hInstance,
+ HINSTANCE hPrevInstance,
+ LPSTR lpCmdLine,
+ int nCmdShow
+)
#else
-int
-main(int argc, char *argv[])
+int main(int argc, char *argv[])
#endif
{
#ifndef __WIN32__
- signal(SIGPIPE, SIG_IGN);
+ signal(SIGPIPE, SIG_IGN);
#endif
- srand((unsigned) time(NULL));
+ srand( (unsigned) time(NULL) );
#ifdef NLS
- setlocale(LC_ALL, "");
- bindtextdomain(PACKAGE, PATH_LOCALE);
- bind_textdomain_codeset(PACKAGE, "UTF-8");
- textdomain(PACKAGE);
+ setlocale( LC_ALL, "" );
+ bindtextdomain( PACKAGE, PATH_LOCALE);
+ bind_textdomain_codeset (PACKAGE, "UTF-8");
+ textdomain( PACKAGE );
#endif
#ifndef __WIN32__
- my_argc = argc;
- my_argv = argv;
+ my_argc = argc;
+ my_argv = argv;
#endif
/*
test_space();
@@ -161,24 +162,24 @@ main(int argc, char *argv[])
*/
#ifdef __WIN32__
- WORD wVersionRequested = MAKEWORD(1, 1); // WinSock version
- WSADATA data; // WinSock information structure
-
- /* Let's initialize WinSock */
- if (WSAStartup(wVersionRequested, &data) != 0) {
- fprintf(stderr,
- _("WinSock initialization failed !\nProgram shutdown !\n"));
- exit(-1);
- }
+ WORD wVersionRequested = MAKEWORD(1,1); // WinSock version
+ WSADATA data; // WinSock information structure
+
+ /* Let's initialize WinSock */
+ if( WSAStartup(wVersionRequested, &data) != 0 )
+ {
+ fprintf(stderr, _("WinSock initialization failed !\nProgram shutdown !\n"));
+ exit(-1);
+ }
#endif
#ifndef PUBLIC_SERVER
- startGame();
+ startGame();
#endif
#ifdef PUBLIC_SERVER
- startPublicServer();
+ startPublicServer();
#endif
- return 0;
+ return 0;
}
diff --git a/src/base/main.c~ b/src/base/main.c~
deleted file mode 100644
index 18ff5f3..0000000
--- a/src/base/main.c~
+++ /dev/null
@@ -1,185 +0,0 @@
-
-#include <time.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <signal.h>
-#include <unistd.h>
-#include <assert.h>
-#include <sys/stat.h>
-
-#ifdef __WIN32__
-# include <windows.h>
-# include <wininet.h>
-#endif
-
-#include "main.h"
-#include "tux.h"
-
-#ifndef PUBLIC_SERVER
-#include "game.h"
-#endif
-
-#ifdef PUBLIC_SERVER
-#include "publicServer.h"
-#endif
-
-static int my_argc;
-static char **my_argv;
-
-char* getParam(char *s)
-{
- int i;
- int len;
-
- len = strlen(s);
-
- for( i = 1 ; i < my_argc ; i++ )
- {
- //printf("%s %s\n", s, my_argv[i]);
-
- if( strlen(my_argv[i]) < len )
- {
- continue;
- }
-
- if( strncmp(s, my_argv[i], len) == 0 )
- {
- return strchr(my_argv[i], '=')+1;
- }
- }
-
- return NULL;
-}
-
-char* getParamElse(char *s1, char *s2)
-{
- char *ret;
- ret = getParam(s1);
-
- if( ret == NULL)
- {
- return s2;
- }
-
- return ret;
-}
-
-bool_t isParamFlag(char *s)
-{
- int i;
-
- for( i = 0 ; i < my_argc ; i++ )
- {
- if( strcmp(s, my_argv[i]) == 0 )
- {
- return TRUE;
- }
- }
-
- return FALSE;
-}
-
-char *getString(int n)
-{
- char str[STR_NUM_SIZE];
- sprintf(str, "%d", n);
- return strdup(str);
-}
-
-int* newInt(int x)
-{
- int *new;
- new = malloc( sizeof(int) );
- *new = x;
- return new;
-}
-
-void accessExistFile(const char *s)
-{
- if( access(s, F_OK) != 0 )
- {
- fprintf(stderr, _("File %s not found !\nProgram shutdown !\n"), s);
- exit(-1);
- }
-}
-
-int tryExistFile (const char *s)
-{
- if (access(s, F_OK) != 0)
- return 1;
- else
- return 0;
-}
-
-int isFillPath(const char *path)
-{
- assert( path != NULL);
-
-#ifndef __WIN32__
- if( path[0] == '/' ) // for Unix-like systems ;)
-#else
- if( path[1] == ':' ) // for Windows-like systems ;)
-#endif
- {
- return 1;
- }
-
- return 0;
-}
-
-#ifdef __WIN32__
-int WINAPI WinMain(
- HINSTANCE hInstance,
- HINSTANCE hPrevInstance,
- LPSTR lpCmdLine,
- int nCmdShow
-)
-#else
-int main(int argc, char *argv[])
-#endif
-{
-#ifndef __WIN32__
- signal(SIGPIPE, SIG_IGN);
-#endif
-
- srand( (unsigned) time(NULL) );
-
-
-#ifdef NLS
- setlocale( LC_ALL, "" );
- bindtextdomain( PACKAGE, PATH_LOCALE);
- bind_textdomain_codeset (PACKAGE, "UTF-8");
- textdomain( PACKAGE );
-#endif
-#ifndef __WIN32__
- my_argc = argc;
- my_argv = argv;
-#endif
-/*
- test_space();
- exit(0);
-*/
-
-#ifdef __WIN32__
- WORD wVersionRequested = MAKEWORD(1,1); // WinSock version
- WSADATA data; // WinSock information structure
-
- /* Let's initialize WinSock */
- if( WSAStartup(wVersionRequested, &data) != 0 )
- {
- fprintf(stderr, _("WinSock initialization failed !\nProgram shutdown !\n"));
- exit(-1);
- }
-#endif
-
-#ifndef PUBLIC_SERVER
- startGame();
-#endif
-
-#ifdef PUBLIC_SERVER
- startPublicServer();
-#endif
-
- return 0;
-}
diff --git a/src/base/modules.c b/src/base/modules.c
index 2712661..fd9087f 100755
--- a/src/base/modules.c
+++ b/src/base/modules.c
@@ -23,291 +23,276 @@
#include "configFile.h"
#endif
-static export_fce_t export_fce = {
+static export_fce_t export_fce =
+ {
#ifndef PUBLIC_SERVER
- .fce_addLayer = addLayer,
- .fce_getImage = getImage,
+ .fce_addLayer = addLayer,
+ .fce_getImage = getImage,
#endif
- .fce_loadDepModule = loadDepModule,
- .fce_addToShareFce = addToShareFce,
- .fce_getShareFce = getShareFce,
+ .fce_loadDepModule = loadDepModule,
+ .fce_addToShareFce = addToShareFce,
+ .fce_getShareFce = getShareFce,
- .fce_getValue = getArenaValue,
- .fce_getNetTypeGame = getNetTypeGame,
- .fce_getTuxProportion = getTuxProportion,
- .fce_setTuxProportion = setTuxProportion,
- .fce_actionTux = actionTux,
+ .fce_getValue = getArenaValue,
+ .fce_getNetTypeGame = getNetTypeGame,
+ .fce_getTuxProportion = getTuxProportion,
+ .fce_setTuxProportion = setTuxProportion,
+ .fce_actionTux = actionTux,
- .fce_getMyTime = getMyTime,
+ .fce_getMyTime = getMyTime,
- .fce_getCurrentArena = getCurrentArena,
- .fce_conflictSpace = conflictSpace,
- .fce_isFreeSpace = isFreeSpace,
- .fce_findFreeSpace = findFreeSpace,
+ .fce_getCurrentArena = getCurrentArena,
+ .fce_conflictSpace = conflictSpace,
+ .fce_isFreeSpace = isFreeSpace,
+ .fce_findFreeSpace = findFreeSpace,
- .fce_proto_send_module_server = proto_send_module_server,
+ .fce_proto_send_module_server = proto_send_module_server,
#ifndef PUBLIC_SERVER
- .fce_proto_send_module_client = proto_send_module_client,
+ .fce_proto_send_module_client = proto_send_module_client,
#endif
- .fce_destroyShot = destroyShot,
- .fce_boundBombBall = boundBombBall,
- .fce_transformOnlyLasser = transformOnlyLasser
-};
+ .fce_destroyShot = destroyShot,
+ .fce_boundBombBall = boundBombBall,
+ .fce_transformOnlyLasser = transformOnlyLasser
+ };
static list_t *listModule;
-static void *
-getFce(module_t * p, char *s)
+static void* getFce(module_t *p, char *s)
{
#ifndef __WIN32__
- void *ret;
- char *error;
-
- assert(p != NULL);
- assert(s != NULL);
- ret = dlsym(p->image, s);
-
- if ((error = dlerror()) != NULL) {
- fprintf(stderr, _("Error %s occured when using getFce function!\n"),
- error);
- return NULL;
- }
+ void *ret;
+ char *error;
+
+ assert(p != NULL);
+ assert(s != NULL);
+ ret = dlsym(p->image, s);
+
+ if ((error = dlerror()) != NULL) {
+ fprintf (stderr, _("Error %s occured when using getFce function!\n"), error);
+ return NULL;
+ }
#else
- FARPROC ret = GetProcAddress((HMODULE) p->image, (LPCSTR) s);
- if (!ret)
- fprintf(stderr, _("Error %s occured when using getFce function!\n"), s);
+ FARPROC ret = GetProcAddress((HMODULE)p->image,(LPCSTR)s);
+ if (!ret)
+ fprintf(stderr, _("Error %s occured when using getFce function!\n"), s);
#endif
- return (void *) ret;
+ return (void *)ret;
}
-static void *
-mapImage(char *name)
+static void* mapImage(char *name)
{
#ifndef __WIN32__
- void *image;
- image = dlopen(name, RTLD_LAZY);
- if (image == NULL) {
- fputs(dlerror(), stderr);
- return NULL;
- }
+ void *image;
+ image = dlopen (name, RTLD_LAZY);
+ if( image == NULL ) {
+ fputs (dlerror(), stderr);
+ return NULL;
+ }
#else
- HINSTANCE image;
- image = LoadLibrary((LPCSTR) name);
-
- if (!image) {
- LPVOID msg;
- FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER |
- FORMAT_MESSAGE_FROM_SYSTEM |
- FORMAT_MESSAGE_IGNORE_INSERTS,
- NULL,
- GetLastError(),
- MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
- (LPTSTR) & msg, 0, NULL);
- fputs(msg, stderr);
- free(msg);
- FreeLibrary(image);
- return NULL;
- }
- //FreeLibrary(image); //never ever untag this
+ HINSTANCE image;
+ image = LoadLibrary((LPCSTR) name);
+
+ if (!image) {
+ LPVOID msg;
+ FormatMessage(
+ FORMAT_MESSAGE_ALLOCATE_BUFFER |
+ FORMAT_MESSAGE_FROM_SYSTEM |
+ FORMAT_MESSAGE_IGNORE_INSERTS,
+ NULL,
+ GetLastError(),
+ MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
+ (LPTSTR) &msg,
+ 0,
+ NULL
+ );
+ fputs(msg, stderr);
+ free(msg);
+ FreeLibrary(image);
+ return NULL;
+ }
+ //FreeLibrary(image); //never ever untag this
#endif
- return image;
+ return image;
}
-static void
-unmapImage(void *image)
+static void unmapImage(void *image)
{
#ifndef __WIN32__
- dlclose(image);
+ dlclose(image);
#else
- FreeLibrary(image);
+ FreeLibrary(image);
#endif
}
-static void
-setModulePath(char *name, char *path)
+static void setModulePath(char *name, char *path)
{
- sprintf(path, PATH_MODULES "%s" MODULE_TYPE_UNIX, name); // linux
+ sprintf(path, PATH_MODULES "%s" MODULE_TYPE_UNIX, name); // linux
#ifdef __WIN32__
- sprintf(path, PATH_MODULES "%s" MODULE_TYPE_WIN, name); // windows
+ sprintf(path, PATH_MODULES "%s" MODULE_TYPE_WIN, name); // windows
#endif
#ifdef APPLE
- sprintf(path, PATH_MODULES "%s" MODULE_TYPE_APPLE, name); // apple
+ sprintf(path, PATH_MODULES "%s" MODULE_TYPE_APPLE, name); // apple
#endif
}
-static module_t *
-newModule(char *name)
+static module_t* newModule(char *name)
{
- char path[STR_PATH_SIZE];
- void *image;
- module_t *ret;
-
- assert(name != NULL);
- setModulePath(name, path);
- image = mapImage(path);
- if (image == NULL) {
- fprintf(stderr, _("Unable to map file %s!\n"), name);
- return NULL;
- }
- ret = malloc(sizeof(module_t));
- ret->image = image;
- ret->name = strdup(name);
- ret->fce_init = getFce(ret, "init");
+ char path[STR_PATH_SIZE];
+ void *image;
+ module_t *ret;
+
+ assert(name != NULL);
+ setModulePath(name, path);
+ image = mapImage(path);
+ if (image == NULL) {
+ fprintf(stderr, _("Unable to map file %s!\n"), name);
+ return NULL;
+ }
+ ret = malloc(sizeof(module_t));
+ ret->image = image;
+ ret->name = strdup(name);
+ ret->fce_init = getFce(ret, "init");
#ifndef PUBLIC_SERVER
- ret->fce_draw = getFce(ret, "draw");
+ ret->fce_draw = getFce(ret, "draw");
#endif
- ret->fce_event = getFce(ret, "event");
- ret->fce_destroy = getFce(ret, "destroy");
- ret->fce_isConflict = getFce(ret, "isConflict");
- ret->fce_cmd = getFce(ret, "cmdArena");
- ret->fce_recvMsg = getFce(ret, "recvMsg");
+ ret->fce_event = getFce(ret, "event");
+ ret->fce_destroy = getFce(ret, "destroy");
+ ret->fce_isConflict = getFce(ret, "isConflict");
+ ret->fce_cmd = getFce(ret, "cmdArena");
+ ret->fce_recvMsg = getFce(ret, "recvMsg");
#ifdef DEBUG
- printf(_("Loading module: \"%s\"\n"), name);
+ printf(_("Loading module: \"%s\"\n"), name);
#endif
- if (ret->fce_init(&export_fce) != 0) {
- fprintf(stderr, _("Failed initialization of module \"%s\""), name);
- unmapImage(image);
- free(ret->name);
- free(ret);
- return NULL;
- }
- return ret;
+ if (ret->fce_init(&export_fce) != 0) {
+ fprintf(stderr, _("Failed initialization of module \"%s\""), name);
+ unmapImage(image);
+ free(ret->name);
+ free(ret);
+ return NULL;
+ }
+ return ret;
}
-static int
-destroyModule(module_t * p)
+static int destroyModule(module_t *p)
{
- assert(p != NULL);
- p->fce_destroy();
- unmapImage(p->image);
- free(p->name);
- free(p);
+ assert( p != NULL );
+ p->fce_destroy();
+ unmapImage(p->image);
+ free(p->name);
+ free(p);
#ifdef DEBUG
- printf(_("Destroing module...\n"));
+ printf(_("Destroing module...\n"));
#endif
- return 0;
+ return 0;
}
-void
-initModule()
+void initModule()
{
- listModule = newList();
- initShareFunction();
+ listModule = newList();
+ initShareFunction();
}
-int
-isModuleLoaded(char *name)
+int isModuleLoaded(char *name)
{
- int i;
+ int i;
- for (i = 0; i < listModule->count; i++) {
- module_t *this;
+ for (i = 0; i < listModule->count; i++) {
+ module_t *this;
- this = (module_t *) listModule->list[i];
- if (strcmp(this->name, name) == 0)
- return 1;
- }
- return 0;
+ this = (module_t *)listModule->list[i];
+ if (strcmp(this->name, name) == 0)
+ return 1;
+ }
+ return 0;
}
-int
-loadModule(char *name)
+int loadModule(char *name)
{
- module_t *module;
-
- if (isModuleLoaded(name)) {
- fprintf(stderr,
- _
- ("I've done this once, dont want to mess memory with module %s again!\n"),
- name);
- return -1;
- }
- module = newModule(name);
- if (module == NULL) {
- fprintf(stderr, _("Loading module %s failed!\n"), name);
- return -1;
- }
- addList(listModule, module);
- return 0;
+ module_t *module;
+
+ if (isModuleLoaded(name)) {
+ fprintf(stderr, _("I've done this once, dont want to mess memory with module %s again!\n"), name);
+ return -1;
+ }
+ module = newModule(name);
+ if (module == NULL) {
+ fprintf(stderr, _("Loading module %s failed!\n"), name);
+ return -1;
+ }
+ addList(listModule, module);
+ return 0;
}
-int
-loadDepModule(char *name)
+int loadDepModule(char *name)
{
- if (isModuleLoaded(name))
- return 0;
- return loadModule(name);
+ if (isModuleLoaded(name))
+ return 0;
+ return loadModule(name);
}
-void
-cmdModule(char *s)
+void cmdModule(char *s)
{
- int i;
+ int i;
- for (i = 0; i < listModule->count; i++) {
- module_t *this;
- this = (module_t *) listModule->list[i];
- this->fce_cmd(s);
- }
+ for (i = 0; i < listModule->count; i++) {
+ module_t *this;
+ this = (module_t *)listModule->list[i];
+ this->fce_cmd(s);
+ }
}
#ifndef PUBLIC_SERVER
-void
-drawModule(int x, int y, int w, int h)
+void drawModule(int x, int y, int w, int h)
{
- int i;
+ int i;
- for (i = 0; i < listModule->count; i++) {
- module_t *this;
- this = (module_t *) listModule->list[i];
- this->fce_draw(x, y, w, h);
- }
+ for (i = 0; i < listModule->count; i++ ) {
+ module_t *this;
+ this = (module_t *)listModule->list[i];
+ this->fce_draw(x, y, w, h);
+ }
}
#endif
-void
-eventModule()
+void eventModule()
{
- int i;
+ int i;
- for (i = 0; i < listModule->count; i++) {
- module_t *this;
- this = (module_t *) listModule->list[i];
- this->fce_event();
- }
+ for (i = 0; i < listModule->count; i++ ) {
+ module_t *this;
+ this = (module_t *)listModule->list[i];
+ this->fce_event();
+ }
}
-int
-isConflictModule(int x, int y, int w, int h)
+int isConflictModule(int x, int y, int w, int h)
{
- int i;
+ int i;
- for (i = 0; i < listModule->count; i++) {
- module_t *this;
+ for (i = 0; i < listModule->count; i++) {
+ module_t *this;
- this = (module_t *) listModule->list[i];
- if (this->fce_isConflict(x, y, w, h) == 1)
- return 1;
- }
- return 0;
+ this = (module_t *)listModule->list[i];
+ if (this->fce_isConflict(x, y, w, h) == 1)
+ return 1;
+ }
+ return 0;
}
-int
-recvMsgModule(char *msg)
+int recvMsgModule(char *msg)
{
- int i;
+ int i;
- for (i = 0; i < listModule->count; i++) {
- module_t *this;
+ for (i = 0; i < listModule->count; i++) {
+ module_t *this;
- this = (module_t *) listModule->list[i];
- this->fce_recvMsg(msg);
- }
- return 0;
+ this = (module_t *)listModule->list[i];
+ this->fce_recvMsg(msg);
+ }
+ return 0;
}
-void
-quitModule()
+void quitModule()
{
- destroyListItem(listModule, destroyModule);
- quitShareFunction();
+ destroyListItem(listModule, destroyModule);
+ quitShareFunction();
}
diff --git a/src/base/modules.c~ b/src/base/modules.c~
deleted file mode 100644
index fd9087f..0000000
--- a/src/base/modules.c~
+++ /dev/null
@@ -1,298 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#ifndef __WIN32__
-#include <dlfcn.h>
-#endif
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "tux.h"
-#include "shot.h"
-#include "modules.h"
-#include "arena.h"
-#include "arenaFile.h"
-#include "proto.h"
-#include "shareFunction.h"
-#ifndef PUBLIC_SERVER
-#include "interface.h"
-#include "image.h"
-#include "layer.h"
-#include "configFile.h"
-#endif
-
-static export_fce_t export_fce =
- {
-#ifndef PUBLIC_SERVER
- .fce_addLayer = addLayer,
- .fce_getImage = getImage,
-#endif
- .fce_loadDepModule = loadDepModule,
- .fce_addToShareFce = addToShareFce,
- .fce_getShareFce = getShareFce,
-
- .fce_getValue = getArenaValue,
- .fce_getNetTypeGame = getNetTypeGame,
- .fce_getTuxProportion = getTuxProportion,
- .fce_setTuxProportion = setTuxProportion,
- .fce_actionTux = actionTux,
-
- .fce_getMyTime = getMyTime,
-
- .fce_getCurrentArena = getCurrentArena,
- .fce_conflictSpace = conflictSpace,
- .fce_isFreeSpace = isFreeSpace,
- .fce_findFreeSpace = findFreeSpace,
-
- .fce_proto_send_module_server = proto_send_module_server,
-#ifndef PUBLIC_SERVER
- .fce_proto_send_module_client = proto_send_module_client,
-#endif
- .fce_destroyShot = destroyShot,
- .fce_boundBombBall = boundBombBall,
- .fce_transformOnlyLasser = transformOnlyLasser
- };
-static list_t *listModule;
-
-static void* getFce(module_t *p, char *s)
-{
-#ifndef __WIN32__
- void *ret;
- char *error;
-
- assert(p != NULL);
- assert(s != NULL);
- ret = dlsym(p->image, s);
-
- if ((error = dlerror()) != NULL) {
- fprintf (stderr, _("Error %s occured when using getFce function!\n"), error);
- return NULL;
- }
-#else
- FARPROC ret = GetProcAddress((HMODULE)p->image,(LPCSTR)s);
- if (!ret)
- fprintf(stderr, _("Error %s occured when using getFce function!\n"), s);
-#endif
- return (void *)ret;
-}
-
-static void* mapImage(char *name)
-{
-#ifndef __WIN32__
- void *image;
- image = dlopen (name, RTLD_LAZY);
- if( image == NULL ) {
- fputs (dlerror(), stderr);
- return NULL;
- }
-#else
- HINSTANCE image;
- image = LoadLibrary((LPCSTR) name);
-
- if (!image) {
- LPVOID msg;
- FormatMessage(
- FORMAT_MESSAGE_ALLOCATE_BUFFER |
- FORMAT_MESSAGE_FROM_SYSTEM |
- FORMAT_MESSAGE_IGNORE_INSERTS,
- NULL,
- GetLastError(),
- MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
- (LPTSTR) &msg,
- 0,
- NULL
- );
- fputs(msg, stderr);
- free(msg);
- FreeLibrary(image);
- return NULL;
- }
- //FreeLibrary(image); //never ever untag this
-#endif
- return image;
-}
-
-static void unmapImage(void *image)
-{
-#ifndef __WIN32__
- dlclose(image);
-#else
- FreeLibrary(image);
-#endif
-}
-
-static void setModulePath(char *name, char *path)
-{
- sprintf(path, PATH_MODULES "%s" MODULE_TYPE_UNIX, name); // linux
-#ifdef __WIN32__
- sprintf(path, PATH_MODULES "%s" MODULE_TYPE_WIN, name); // windows
-#endif
-#ifdef APPLE
- sprintf(path, PATH_MODULES "%s" MODULE_TYPE_APPLE, name); // apple
-#endif
-}
-
-static module_t* newModule(char *name)
-{
- char path[STR_PATH_SIZE];
- void *image;
- module_t *ret;
-
- assert(name != NULL);
- setModulePath(name, path);
- image = mapImage(path);
- if (image == NULL) {
- fprintf(stderr, _("Unable to map file %s!\n"), name);
- return NULL;
- }
- ret = malloc(sizeof(module_t));
- ret->image = image;
- ret->name = strdup(name);
- ret->fce_init = getFce(ret, "init");
-#ifndef PUBLIC_SERVER
- ret->fce_draw = getFce(ret, "draw");
-#endif
- ret->fce_event = getFce(ret, "event");
- ret->fce_destroy = getFce(ret, "destroy");
- ret->fce_isConflict = getFce(ret, "isConflict");
- ret->fce_cmd = getFce(ret, "cmdArena");
- ret->fce_recvMsg = getFce(ret, "recvMsg");
-#ifdef DEBUG
- printf(_("Loading module: \"%s\"\n"), name);
-#endif
- if (ret->fce_init(&export_fce) != 0) {
- fprintf(stderr, _("Failed initialization of module \"%s\""), name);
- unmapImage(image);
- free(ret->name);
- free(ret);
- return NULL;
- }
- return ret;
-}
-
-static int destroyModule(module_t *p)
-{
- assert( p != NULL );
- p->fce_destroy();
- unmapImage(p->image);
- free(p->name);
- free(p);
-#ifdef DEBUG
- printf(_("Destroing module...\n"));
-#endif
- return 0;
-}
-
-void initModule()
-{
- listModule = newList();
- initShareFunction();
-}
-
-int isModuleLoaded(char *name)
-{
- int i;
-
- for (i = 0; i < listModule->count; i++) {
- module_t *this;
-
- this = (module_t *)listModule->list[i];
- if (strcmp(this->name, name) == 0)
- return 1;
- }
- return 0;
-}
-
-int loadModule(char *name)
-{
- module_t *module;
-
- if (isModuleLoaded(name)) {
- fprintf(stderr, _("I've done this once, dont want to mess memory with module %s again!\n"), name);
- return -1;
- }
- module = newModule(name);
- if (module == NULL) {
- fprintf(stderr, _("Loading module %s failed!\n"), name);
- return -1;
- }
- addList(listModule, module);
- return 0;
-}
-
-int loadDepModule(char *name)
-{
- if (isModuleLoaded(name))
- return 0;
- return loadModule(name);
-}
-
-void cmdModule(char *s)
-{
- int i;
-
- for (i = 0; i < listModule->count; i++) {
- module_t *this;
- this = (module_t *)listModule->list[i];
- this->fce_cmd(s);
- }
-}
-
-#ifndef PUBLIC_SERVER
-void drawModule(int x, int y, int w, int h)
-{
- int i;
-
- for (i = 0; i < listModule->count; i++ ) {
- module_t *this;
- this = (module_t *)listModule->list[i];
- this->fce_draw(x, y, w, h);
- }
-}
-#endif
-
-void eventModule()
-{
- int i;
-
- for (i = 0; i < listModule->count; i++ ) {
- module_t *this;
- this = (module_t *)listModule->list[i];
- this->fce_event();
- }
-}
-
-int isConflictModule(int x, int y, int w, int h)
-{
- int i;
-
- for (i = 0; i < listModule->count; i++) {
- module_t *this;
-
- this = (module_t *)listModule->list[i];
- if (this->fce_isConflict(x, y, w, h) == 1)
- return 1;
- }
- return 0;
-}
-
-int recvMsgModule(char *msg)
-{
- int i;
-
- for (i = 0; i < listModule->count; i++) {
- module_t *this;
-
- this = (module_t *)listModule->list[i];
- this->fce_recvMsg(msg);
- }
- return 0;
-}
-
-void quitModule()
-{
- destroyListItem(listModule, destroyModule);
- quitShareFunction();
-}
diff --git a/src/base/myTimer.c b/src/base/myTimer.c
index 19bf11a..4de0fcc 100644
--- a/src/base/myTimer.c
+++ b/src/base/myTimer.c
@@ -16,139 +16,124 @@
#include "interface.h"
#endif
-static struct timeval start = {.tv_sec = 0,.tv_usec = 0 };
+static struct timeval start = { .tv_sec = 0, .tv_usec = 0 };
-list_t *
-newTimer()
+list_t* newTimer()
{
- return newList();
+ return newList();
}
-void
-restartTimer()
+void restartTimer()
{
- gettimeofday(&start, NULL);
+ gettimeofday(&start, NULL);
}
-my_time_t
-getMyTime()
+my_time_t getMyTime()
{
- struct timeval now;
- my_time_t ticks;
-
- if (start.tv_sec == 0 && start.tv_usec == 0)
- restartTimer();
- gettimeofday(&now, NULL);
- ticks =
- (now.tv_sec - start.tv_sec) * 1000 + (now.tv_usec -
- start.tv_usec) / 1000;
- //printf("-> %d\n", ticks);
- return ticks;
+ struct timeval now;
+ my_time_t ticks;
+
+ if (start.tv_sec == 0 && start.tv_usec == 0)
+ restartTimer();
+ gettimeofday(&now, NULL);
+ ticks = (now.tv_sec-start.tv_sec)*1000+(now.tv_usec-start.tv_usec)/1000;
+ //printf("-> %d\n", ticks);
+ return ticks;
}
-my_time_t
-getMyTimeMicro()
+my_time_t getMyTimeMicro()
{
- static struct timeval start = {.tv_sec = 0,.tv_usec = 0 };
- struct timeval now;
- my_time_t ticks;
- if (start.tv_sec == 0 && start.tv_usec == 0)
- gettimeofday(&start, NULL);
- gettimeofday(&now, NULL);
- ticks =
- (now.tv_sec - start.tv_sec) * 1000 * 1000 + (now.tv_usec -
- start.tv_usec);
- //printf("-> %d\n", ticks);
- return ticks;
+ static struct timeval start = { .tv_sec = 0, .tv_usec = 0 };
+ struct timeval now;
+ my_time_t ticks;
+ if (start.tv_sec == 0 && start.tv_usec == 0)
+ gettimeofday(&start, NULL);
+ gettimeofday(&now, NULL);
+ ticks = (now.tv_sec-start.tv_sec)*1000*1000+(now.tv_usec-start.tv_usec);
+ //printf("-> %d\n", ticks);
+ return ticks;
}
-my_timer_t *
-newTimerItem(int type, void (*fce) (void *p), void *arg, my_time_t my_time)
+my_timer_t* newTimerItem(int type, void (*fce)(void *p), void *arg, my_time_t my_time)
{
- static int new_id = 0;
- my_timer_t *new;
- assert(fce != NULL);
- new = malloc(sizeof(my_timer_t));
- memset(new, 0, sizeof(my_timer_t));
- new->id = new_id++;
- new->type = type;
- new->fce = fce;
- new->arg = arg;
- new->createTime = getMyTime();
- new->time = my_time;
- return new;
+ static int new_id = 0;
+ my_timer_t *new;
+ assert( fce != NULL );
+ new = malloc( sizeof(my_timer_t) );
+ memset(new, 0, sizeof(my_timer_t));
+ new->id = new_id++;
+ new->type = type;
+ new->fce = fce;
+ new->arg = arg;
+ new->createTime = getMyTime();
+ new->time = my_time;
+ return new;
}
-static void
-destroyTimerItem(my_timer_t * p)
+static void destroyTimerItem(my_timer_t *p)
{
- assert(p != NULL);
- free(p);
+ assert( p != NULL );
+ free(p);
}
-int
-addTaskToTimer(list_t * listTimer, int type, void (*fce) (void *p), void *arg,
- my_time_t my_time)
+int addTaskToTimer(list_t *listTimer, int type, void (*fce)(void *p), void *arg, my_time_t my_time)
{
- my_timer_t *new;
+ my_timer_t *new;
- new = newTimerItem(type, fce, arg, my_time);
- addList(listTimer, new);
- return new->id;
+ new = newTimerItem(type, fce, arg, my_time);
+ addList(listTimer, new);
+ return new->id;
}
-void
-eventTimer(list_t * listTimer)
+void eventTimer(list_t *listTimer)
{
- int i;
- my_timer_t *thisTimer;
- my_time_t currentTime;
- currentTime = getMyTime();
- for (i = 0; i < listTimer->count; i++) {
- thisTimer = (my_timer_t *) listTimer->list[i];
- assert(thisTimer != NULL);
- switch (thisTimer->type) {
- case TIMER_ONE:
- if (currentTime >= thisTimer->createTime + thisTimer->time) {
- thisTimer->fce(thisTimer->arg);
- delListItem(listTimer, i, free);
- i--;
- }
- break;
- case TIMER_PERIODIC:
- if (currentTime >= thisTimer->createTime + thisTimer->time) {
- thisTimer->fce(thisTimer->arg);
- thisTimer->createTime = getMyTime();
- }
- break;
- default:
- assert(!_("Timer is really wierdly set!"));
- break;
- }
- }
+ int i;
+ my_timer_t *thisTimer;
+ my_time_t currentTime;
+ currentTime = getMyTime();
+ for (i = 0; i < listTimer->count; i++) {
+ thisTimer = (my_timer_t *)listTimer->list[i];
+ assert(thisTimer != NULL);
+ switch (thisTimer->type) {
+ case TIMER_ONE:
+ if (currentTime >= thisTimer->createTime + thisTimer->time) {
+ thisTimer->fce(thisTimer->arg);
+ delListItem(listTimer, i, free);
+ i--;
+ }
+ break;
+ case TIMER_PERIODIC:
+ if (currentTime >= thisTimer->createTime + thisTimer->time) {
+ thisTimer->fce(thisTimer->arg);
+ thisTimer->createTime = getMyTime();
+ }
+ break;
+ default :
+ assert(! _("Timer is really wierdly set!"));
+ break;
+ }
+ }
}
-void
-delTimer(list_t * listTimer, int id)
+void delTimer(list_t *listTimer, int id)
{
- int i;
- my_timer_t *thisTimer;
-
- for (i = 0; i < listTimer->count; i++) {
- thisTimer = (my_timer_t *) listTimer->list[i];
- assert(thisTimer != NULL);
- if (thisTimer->id == id) {
- delListItem(listTimer, i, free);
- return;
- }
- }
- assert(!_("There is no such ID!"));
+ int i;
+ my_timer_t *thisTimer;
+
+ for (i = 0; i < listTimer->count; i++) {
+ thisTimer = (my_timer_t *)listTimer->list[i];
+ assert(thisTimer != NULL);
+ if (thisTimer->id == id ) {
+ delListItem(listTimer, i, free);
+ return;
+ }
+ }
+ assert(! _("There is no such ID!"));
}
-void
-destroyTimer(list_t * listTimer)
+void destroyTimer(list_t *listTimer)
{
- destroyListItem(listTimer, destroyTimerItem);
+ destroyListItem(listTimer, destroyTimerItem);
}
diff --git a/src/base/myTimer.c~ b/src/base/myTimer.c~
deleted file mode 100644
index 4de0fcc..0000000
--- a/src/base/myTimer.c~
+++ /dev/null
@@ -1,139 +0,0 @@
-
-#include <time.h>
-#include <assert.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/time.h>
-#include <signal.h>
-#ifdef __WIN32__
-#include <time.h>
-#endif
-
-#include "main.h"
-#include "list.h"
-#include "myTimer.h"
-#ifndef PUBLIC_SERVER
-#include "interface.h"
-#endif
-
-static struct timeval start = { .tv_sec = 0, .tv_usec = 0 };
-
-list_t* newTimer()
-{
- return newList();
-}
-
-void restartTimer()
-{
- gettimeofday(&start, NULL);
-}
-
-
-my_time_t getMyTime()
-{
- struct timeval now;
- my_time_t ticks;
-
- if (start.tv_sec == 0 && start.tv_usec == 0)
- restartTimer();
- gettimeofday(&now, NULL);
- ticks = (now.tv_sec-start.tv_sec)*1000+(now.tv_usec-start.tv_usec)/1000;
- //printf("-> %d\n", ticks);
- return ticks;
-}
-
-my_time_t getMyTimeMicro()
-{
- static struct timeval start = { .tv_sec = 0, .tv_usec = 0 };
- struct timeval now;
- my_time_t ticks;
- if (start.tv_sec == 0 && start.tv_usec == 0)
- gettimeofday(&start, NULL);
- gettimeofday(&now, NULL);
- ticks = (now.tv_sec-start.tv_sec)*1000*1000+(now.tv_usec-start.tv_usec);
- //printf("-> %d\n", ticks);
- return ticks;
-}
-
-my_timer_t* newTimerItem(int type, void (*fce)(void *p), void *arg, my_time_t my_time)
-{
- static int new_id = 0;
- my_timer_t *new;
- assert( fce != NULL );
- new = malloc( sizeof(my_timer_t) );
- memset(new, 0, sizeof(my_timer_t));
- new->id = new_id++;
- new->type = type;
- new->fce = fce;
- new->arg = arg;
- new->createTime = getMyTime();
- new->time = my_time;
- return new;
-}
-
-static void destroyTimerItem(my_timer_t *p)
-{
- assert( p != NULL );
- free(p);
-}
-
-int addTaskToTimer(list_t *listTimer, int type, void (*fce)(void *p), void *arg, my_time_t my_time)
-{
- my_timer_t *new;
-
- new = newTimerItem(type, fce, arg, my_time);
- addList(listTimer, new);
- return new->id;
-}
-
-void eventTimer(list_t *listTimer)
-{
- int i;
- my_timer_t *thisTimer;
- my_time_t currentTime;
- currentTime = getMyTime();
- for (i = 0; i < listTimer->count; i++) {
- thisTimer = (my_timer_t *)listTimer->list[i];
- assert(thisTimer != NULL);
- switch (thisTimer->type) {
- case TIMER_ONE:
- if (currentTime >= thisTimer->createTime + thisTimer->time) {
- thisTimer->fce(thisTimer->arg);
- delListItem(listTimer, i, free);
- i--;
- }
- break;
- case TIMER_PERIODIC:
- if (currentTime >= thisTimer->createTime + thisTimer->time) {
- thisTimer->fce(thisTimer->arg);
- thisTimer->createTime = getMyTime();
- }
- break;
- default :
- assert(! _("Timer is really wierdly set!"));
- break;
- }
- }
-}
-
-void delTimer(list_t *listTimer, int id)
-{
- int i;
- my_timer_t *thisTimer;
-
- for (i = 0; i < listTimer->count; i++) {
- thisTimer = (my_timer_t *)listTimer->list[i];
- assert(thisTimer != NULL);
- if (thisTimer->id == id ) {
- delListItem(listTimer, i, free);
- return;
- }
- }
- assert(! _("There is no such ID!"));
-}
-
-
-void destroyTimer(list_t *listTimer)
-{
- destroyListItem(listTimer, destroyTimerItem);
-}
diff --git a/src/base/net_multiplayer.c b/src/base/net_multiplayer.c
index 387fcad..f7d54eb 100644
--- a/src/base/net_multiplayer.c
+++ b/src/base/net_multiplayer.c
@@ -24,115 +24,116 @@
static int netGameType;
-int
-getNetTypeGame()
+int getNetTypeGame()
{
- return netGameType;
+ return netGameType;
}
-int
-initNetMuliplayerForGameServer(char *ip4, int port4, char *ip6, int port6)
+int initNetMuliplayerForGameServer(char *ip4, int port4, char *ip6, int port6)
{
- int ret;
+ int ret;
- ret = initServer(ip4, port4, ip6, port6);
+ ret = initServer(ip4, port4, ip6, port6);
- if (ret > 0) {
- netGameType = NET_GAME_TYPE_SERVER;
- }
+ if( ret > 0 )
+ {
+ netGameType = NET_GAME_TYPE_SERVER;
+ }
- return ret;
+ return ret;
}
-int
-initNetMuliplayer(int type, char *ip, int port, int proto)
+int initNetMuliplayer(int type, char *ip, int port, int proto)
{
- netGameType = type;
-
- switch (netGameType) {
- case NET_GAME_TYPE_NONE:
- break;
-
- case NET_GAME_TYPE_SERVER:
- switch (proto) {
- case PROTO_UDPv4:
- if (initServer(ip, port, NULL, 0) != 1) {
- fprintf(stderr,
- _("Unable to inicialize network game as server!\n"));
- netGameType = NET_GAME_TYPE_NONE;
- return -1;
- }
- break;
- case PROTO_UDPv6:
- if (initServer(NULL, 0, ip, port) != 1) {
- fprintf(stderr,
- _("Unable to inicialize network game as server!\n"));
- netGameType = NET_GAME_TYPE_NONE;
- return -1;
- }
- break;
- }
- break;
-
-#ifndef PUBLIC_SERVER
- case NET_GAME_TYPE_CLIENT:
- if (initClient(ip, port, proto) != 0) {
- fprintf(stderr, _("Unable to inicialize network game as client!\n"));
- netGameType = NET_GAME_TYPE_NONE;
- return -1;
- }
- break;
+ netGameType = type;
+
+ switch( netGameType )
+ {
+ case NET_GAME_TYPE_NONE :
+ break;
+
+ case NET_GAME_TYPE_SERVER :
+ switch( proto )
+ {
+ case PROTO_UDPv4 :
+ if( initServer(ip, port, NULL, 0) != 1 )
+ {
+ fprintf(stderr, _("Unable to inicialize network game as server!\n"));
+ netGameType = NET_GAME_TYPE_NONE;
+ return -1;
+ }
+ break;
+ case PROTO_UDPv6 :
+ if( initServer(NULL, 0, ip, port) != 1 )
+ {
+ fprintf(stderr, _("Unable to inicialize network game as server!\n"));
+ netGameType = NET_GAME_TYPE_NONE;
+ return -1;
+ }
+ break;
+ }
+ break;
+
+#ifndef PUBLIC_SERVER
+ case NET_GAME_TYPE_CLIENT :
+ if( initClient(ip, port, proto) != 0 )
+ {
+ fprintf(stderr, _("Unable to inicialize network game as client!\n"));
+ netGameType = NET_GAME_TYPE_NONE;
+ return -1;
+ }
+ break;
#endif
- default:
- assert(!_("Variable netGameType has a really wierd value!"));
- break;
- }
+ default :
+ assert( ! _("Variable netGameType has a really wierd value!") );
+ break;
+ }
- return 0;
+ return 0;
}
-void
-eventNetMultiplayer()
+void eventNetMultiplayer()
{
- switch (netGameType) {
- case NET_GAME_TYPE_NONE:
- break;
-
- case NET_GAME_TYPE_SERVER:
- eventServer();
- break;
-
-#ifndef PUBLIC_SERVER
- case NET_GAME_TYPE_CLIENT:
- eventClient();
- break;
+ switch( netGameType )
+ {
+ case NET_GAME_TYPE_NONE :
+ break;
+
+ case NET_GAME_TYPE_SERVER :
+ eventServer();
+ break;
+
+#ifndef PUBLIC_SERVER
+ case NET_GAME_TYPE_CLIENT :
+ eventClient();
+ break;
#endif
- default:
- assert(!_("Variable netGameType has a really wierd value!"));
- break;
- }
+ default :
+ assert( ! _("Variable netGameType has a really wierd value!") );
+ break;
+ }
}
-void
-quitNetMultiplayer()
+void quitNetMultiplayer()
{
- switch (netGameType) {
- case NET_GAME_TYPE_NONE:
- break;
-
- case NET_GAME_TYPE_SERVER:
- quitServer();
- break;
-
-#ifndef PUBLIC_SERVER
- case NET_GAME_TYPE_CLIENT:
- quitClient();
- break;
+ switch( netGameType )
+ {
+ case NET_GAME_TYPE_NONE :
+ break;
+
+ case NET_GAME_TYPE_SERVER :
+ quitServer();
+ break;
+
+#ifndef PUBLIC_SERVER
+ case NET_GAME_TYPE_CLIENT :
+ quitClient();
+ break;
#endif
- default:
- assert(!_("Variable netGameType has a really wierd value!"));
- break;
- }
+ default :
+ assert( ! _("Variable netGameType has a really wierd value!") );
+ break;
+ }
- netGameType = NET_GAME_TYPE_NONE;
+ netGameType = NET_GAME_TYPE_NONE;
}
diff --git a/src/base/net_multiplayer.c~ b/src/base/net_multiplayer.c~
deleted file mode 100644
index f7d54eb..0000000
--- a/src/base/net_multiplayer.c~
+++ /dev/null
@@ -1,139 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-#include <unistd.h>
-
-#include "main.h"
-#include "list.h"
-#include "tux.h"
-#include "item.h"
-#include "arenaFile.h"
-#include "net_multiplayer.h"
-#include "server.h"
-
-#include "udp.h"
-
-#ifndef PUBLIC_SERVER
-#include "screen_setting.h"
-#include "screen_choiceArena.h"
-
-#include "screen.h"
-#include "client.h"
-#endif
-
-static int netGameType;
-
-int getNetTypeGame()
-{
- return netGameType;
-}
-
-int initNetMuliplayerForGameServer(char *ip4, int port4, char *ip6, int port6)
-{
- int ret;
-
- ret = initServer(ip4, port4, ip6, port6);
-
- if( ret > 0 )
- {
- netGameType = NET_GAME_TYPE_SERVER;
- }
-
- return ret;
-}
-
-int initNetMuliplayer(int type, char *ip, int port, int proto)
-{
- netGameType = type;
-
- switch( netGameType )
- {
- case NET_GAME_TYPE_NONE :
- break;
-
- case NET_GAME_TYPE_SERVER :
- switch( proto )
- {
- case PROTO_UDPv4 :
- if( initServer(ip, port, NULL, 0) != 1 )
- {
- fprintf(stderr, _("Unable to inicialize network game as server!\n"));
- netGameType = NET_GAME_TYPE_NONE;
- return -1;
- }
- break;
- case PROTO_UDPv6 :
- if( initServer(NULL, 0, ip, port) != 1 )
- {
- fprintf(stderr, _("Unable to inicialize network game as server!\n"));
- netGameType = NET_GAME_TYPE_NONE;
- return -1;
- }
- break;
- }
- break;
-
-#ifndef PUBLIC_SERVER
- case NET_GAME_TYPE_CLIENT :
- if( initClient(ip, port, proto) != 0 )
- {
- fprintf(stderr, _("Unable to inicialize network game as client!\n"));
- netGameType = NET_GAME_TYPE_NONE;
- return -1;
- }
- break;
-#endif
- default :
- assert( ! _("Variable netGameType has a really wierd value!") );
- break;
- }
-
- return 0;
-}
-
-void eventNetMultiplayer()
-{
- switch( netGameType )
- {
- case NET_GAME_TYPE_NONE :
- break;
-
- case NET_GAME_TYPE_SERVER :
- eventServer();
- break;
-
-#ifndef PUBLIC_SERVER
- case NET_GAME_TYPE_CLIENT :
- eventClient();
- break;
-#endif
- default :
- assert( ! _("Variable netGameType has a really wierd value!") );
- break;
- }
-}
-
-void quitNetMultiplayer()
-{
- switch( netGameType )
- {
- case NET_GAME_TYPE_NONE :
- break;
-
- case NET_GAME_TYPE_SERVER :
- quitServer();
- break;
-
-#ifndef PUBLIC_SERVER
- case NET_GAME_TYPE_CLIENT :
- quitClient();
- break;
-#endif
- default :
- assert( ! _("Variable netGameType has a really wierd value!") );
- break;
- }
-
- netGameType = NET_GAME_TYPE_NONE;
-}
diff --git a/src/base/path.h b/src/base/path.h
deleted file mode 100644
index 47be3aa..0000000
--- a/src/base/path.h
+++ /dev/null
@@ -1,29 +0,0 @@
-
-#ifndef PATH_H
-/* #undef USE_MAGICK */
- #define TUXANCI_VERSION "dev"
- #define PATH_H
- #define PREFIX "/usr/local"
- #ifdef PUBLIC_SERVER
- #define APPNAME "tuxanci-server"
- #define SERVER_CONFIG "/etc" "/" APPNAME "/server.conf"
- #else
- #define APPNAME "tuxanci"
- #endif
- #define PATH_DIR "/usr/local/share" "/" APPNAME "-" "dev" "/"
- // windows bug
- #ifndef __WIN32__
- #define PATH_MODULES "/usr/local/lib" "/" APPNAME "-" "dev" "/"
- #else
- #define PATH_MODULES PREFIX
- #endif
- #define PATH_IMAGE PATH_DIR "images/"
- #define FONT_FILE "/usr/local/share/tuxanci-dev/font/DejaVuSans.ttf"
- #define PATH_ARENA PATH_DIR "arena/"
- #define PATH_SOUND PATH_DIR "sound/"
- #define PATH_MUSIC PATH_DIR "music/"
- #define PATH_LOCALE "/usr/local/share/locale" "/"
- #define PATH_DOC "/usr/local/share/doc" "/" APPNAME "-" "dev" "/"
- #define PACKAGE "tuxanci"
- #include "main.h"
-#endif
diff --git a/src/base/protect.c b/src/base/protect.c
index c9dab92..e83c1ec 100644
--- a/src/base/protect.c
+++ b/src/base/protect.c
@@ -8,72 +8,68 @@
#include "myTimer.h"
#include "protect.h"
-protect_t *
-newProtect()
+protect_t* newProtect()
{
- protect_t *new;
- new = malloc(sizeof(protect_t));
- new->lastMove = getMyTime();
- new->lastPing = getMyTime();
- new->avarage = 0;
- new->count = 0;
- new->isDown = FALSE;
- return new;
+ protect_t *new;
+ new = malloc( sizeof(protect_t) );
+ new->lastMove = getMyTime();
+ new->lastPing = getMyTime();
+ new->avarage = 0;
+ new->count = 0;
+ new->isDown = FALSE;
+ return new;
}
-void
-refreshLastMove(protect_t * p)
+void refreshLastMove(protect_t *p)
{
- my_time_t currentTime;
- my_time_t interval;
+ my_time_t currentTime;
+ my_time_t interval;
- currentTime = getMyTime();
- interval = currentTime - p->lastMove;
- p->lastMove = getMyTime();
- p->avarage += interval;
- p->count++;
- if (p->count == PROTECT_SPEED_AVARAGE) {
- int index;
+ currentTime = getMyTime();
+ interval = currentTime - p->lastMove;
+ p->lastMove = getMyTime();
+ p->avarage += interval;
+ p->count++;
+ if (p->count == PROTECT_SPEED_AVARAGE) {
+ int index;
- index = p->avarage / PROTECT_SPEED_AVARAGE;
- p->avarage = 0;
- p->count = 0;
+ index = p->avarage/PROTECT_SPEED_AVARAGE;
+ p->avarage = 0;
+ p->count = 0;
#if 0
- if (index < PROTECT_SPEED_INTERVAL_TIMEOUT) {
- p->isDown = TRUE;
- }
+ if( index < PROTECT_SPEED_INTERVAL_TIMEOUT )
+ {
+ p->isDown = TRUE;
+ }
#endif
- //printf("speed index = %d\n", index);
- }
+ //printf("speed index = %d\n", index);
+ }
}
-void
-rereshLastPing(protect_t * p)
+void rereshLastPing(protect_t *p)
{
- //my_time_t currentTime;
- //my_time_t interval;
- //currentTime = getMyTime();
- //interval = currentTime - p->lastPing;
- p->lastPing = getMyTime();
- //printf("interval = %d\n", interval);
+ //my_time_t currentTime;
+ //my_time_t interval;
+ //currentTime = getMyTime();
+ //interval = currentTime - p->lastPing;
+ p->lastPing = getMyTime();
+ //printf("interval = %d\n", interval);
}
-bool_t
-isDown(protect_t * p)
+bool_t isDown(protect_t *p)
{
- my_time_t currentTime;
- my_time_t interval;
+ my_time_t currentTime;
+ my_time_t interval;
- currentTime = getMyTime();
- interval = currentTime - p->lastPing;
- if (interval > PROTECT_PING_INTERVAL_TIMEOUT)
- p->isDown = TRUE;
- return p->isDown;
+ currentTime = getMyTime();
+ interval = currentTime - p->lastPing;
+ if (interval > PROTECT_PING_INTERVAL_TIMEOUT)
+ p->isDown = TRUE;
+ return p->isDown;
}
-void
-destroyProtect(protect_t * p)
+void destroyProtect(protect_t *p)
{
- assert(p != NULL);
- free(p);
+ assert( p != NULL );
+ free(p);
}
diff --git a/src/base/protect.c~ b/src/base/protect.c~
deleted file mode 100644
index e83c1ec..0000000
--- a/src/base/protect.c~
+++ /dev/null
@@ -1,75 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "myTimer.h"
-#include "protect.h"
-
-protect_t* newProtect()
-{
- protect_t *new;
- new = malloc( sizeof(protect_t) );
- new->lastMove = getMyTime();
- new->lastPing = getMyTime();
- new->avarage = 0;
- new->count = 0;
- new->isDown = FALSE;
- return new;
-}
-
-void refreshLastMove(protect_t *p)
-{
- my_time_t currentTime;
- my_time_t interval;
-
- currentTime = getMyTime();
- interval = currentTime - p->lastMove;
- p->lastMove = getMyTime();
- p->avarage += interval;
- p->count++;
- if (p->count == PROTECT_SPEED_AVARAGE) {
- int index;
-
- index = p->avarage/PROTECT_SPEED_AVARAGE;
- p->avarage = 0;
- p->count = 0;
-#if 0
- if( index < PROTECT_SPEED_INTERVAL_TIMEOUT )
- {
- p->isDown = TRUE;
- }
-#endif
- //printf("speed index = %d\n", index);
- }
-}
-
-void rereshLastPing(protect_t *p)
-{
- //my_time_t currentTime;
- //my_time_t interval;
- //currentTime = getMyTime();
- //interval = currentTime - p->lastPing;
- p->lastPing = getMyTime();
- //printf("interval = %d\n", interval);
-}
-
-bool_t isDown(protect_t *p)
-{
- my_time_t currentTime;
- my_time_t interval;
-
- currentTime = getMyTime();
- interval = currentTime - p->lastPing;
- if (interval > PROTECT_PING_INTERVAL_TIMEOUT)
- p->isDown = TRUE;
- return p->isDown;
-}
-
-void destroyProtect(protect_t *p)
-{
- assert( p != NULL );
- free(p);
-}
diff --git a/src/base/proto.c b/src/base/proto.c
index 7fedb24..304eff8 100644
--- a/src/base/proto.c
+++ b/src/base/proto.c
@@ -38,106 +38,101 @@
#include "serverConfigFile.h"
#endif
-void
-proto_send_error_server(int type, client_t * client, int errorcode)
+void proto_send_error_server(int type, client_t *client, int errorcode)
{
- char msg[STR_PROTO_SIZE];
+ char msg[STR_PROTO_SIZE];
+
+ snprintf(msg, STR_PROTO_SIZE, "error %d\n", errorcode);
- snprintf(msg, STR_PROTO_SIZE, "error %d\n", errorcode);
-
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE,
- CHECK_FRONT_ID_NONE);
+ protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
}
#ifndef PUBLIC_SERVER
-void
-proto_recv_error_client(char *msg)
+void proto_recv_error_client(char *msg)
{
- char cmd[STR_PROTO_SIZE];
- int errorcode;
- int recv_count;
+ char cmd[STR_PROTO_SIZE];
+ int errorcode;
+ int recv_count;
- assert(msg != NULL);
+ assert( msg != NULL );
- recv_count = sscanf(msg, "%s %d", cmd, &errorcode);
+ recv_count = sscanf(msg, "%s %d",
+ cmd, &errorcode);
- if (recv_count != 2) {
- return;
- }
+ if( recv_count != 2 )
+ {
+ return;
+ }
#ifdef DEBUG
- printf(_("Proto error code: \"%d\"\n"), errorcode);
+ printf(_("Proto error code: \"%d\"\n"), errorcode);
#endif
- switch (errorcode) {
- case PROTO_ERROR_CODE_BAD_VERSION:
- setMsgToAnalyze(_
- ("Version of your client isn't supported by the server."));
- setWorldEnd();
- break;
- case PROTO_ERROR_CODE_TIMEOUT:
- setMsgToAnalyze(_("The timeout of ping from server is out"));
- setWorldEnd();
- break;
- case PROTO_ERROR_LIMIT_MAX_CLIENT:
- setMsgToAnalyze(_
- ("The maximum amount of connected players has been exceeded!"));
- setWorldEnd();
- break;
- }
+ switch(errorcode)
+ {
+ case PROTO_ERROR_CODE_BAD_VERSION :
+ setMsgToAnalyze(_("Version of your client isn't supported by the server."));
+ setWorldEnd();
+ break;
+ case PROTO_ERROR_CODE_TIMEOUT :
+ setMsgToAnalyze(_("The timeout of ping from server is out"));
+ setWorldEnd();
+ break;
+ case PROTO_ERROR_LIMIT_MAX_CLIENT :
+ setMsgToAnalyze(_("The maximum amount of connected players has been exceeded!"));
+ setWorldEnd();
+ break;
+ }
}
#endif
#ifndef PUBLIC_SERVER
-void
-proto_send_hello_client(char *name)
+void proto_send_hello_client(char *name)
{
- char msg[STR_PROTO_SIZE];
-
- snprintf(msg, STR_PROTO_SIZE, "hello %s %s\n",
- getParamElse("--version", TUXANCI_VERSION), name);
- sendServer(msg);
+ char msg[STR_PROTO_SIZE];
+
+ snprintf(msg, STR_PROTO_SIZE, "hello %s %s\n", getParamElse("--version", TUXANCI_VERSION), name);
+ sendServer(msg);
}
#endif
-static void
-action_sendItem(space_t * space, item_t * item, client_t * client)
+static void action_sendItem(space_t *space, item_t *item, client_t *client)
{
- proto_send_additem_server(PROTO_SEND_ONE, client, item);
+ proto_send_additem_server(PROTO_SEND_ONE, client, item);
}
-static void
-sendInfoCreateClient(client_t * client)
+static void sendInfoCreateClient(client_t *client)
{
- list_t *listClient;
- client_t *thisClient;
- tux_t *thisTux;
- int i;
+ list_t *listClient;
+ client_t *thisClient;
+ tux_t *thisTux;
+ int i;
- assert(client != NULL);
+ assert( client != NULL );
- listClient = getListServerClient();
+ listClient = getListServerClient();
- proto_send_init_server(PROTO_SEND_ONE, client, client);
+ proto_send_init_server(PROTO_SEND_ONE, client, client);
#ifndef PUBLIC_SERVER
- proto_send_newtux_server(PROTO_SEND_ONE, client,
- getControlTux(TUX_CONTROL_KEYBOARD_RIGHT));
+ proto_send_newtux_server(PROTO_SEND_ONE, client, getControlTux(TUX_CONTROL_KEYBOARD_RIGHT) );
#endif
- for (i = 0; i < listClient->count; i++) {
- thisClient = (client_t *) listClient->list[i];
- thisTux = thisClient->tux;
-
- if (thisTux != NULL && thisTux != client->tux) {
- proto_send_newtux_server(PROTO_SEND_ONE, thisClient, client->tux);
- proto_send_newtux_server(PROTO_SEND_ONE, client, thisTux);
- }
- }
+ for( i = 0 ; i < listClient->count; i++)
+ {
+ thisClient = (client_t *) listClient->list[i];
+ thisTux = thisClient->tux;
+
+ if( thisTux != NULL && thisTux != client->tux )
+ {
+ proto_send_newtux_server(PROTO_SEND_ONE, thisClient, client->tux);
+ proto_send_newtux_server(PROTO_SEND_ONE, client, thisTux);
+ }
+ }
- actionSpace(getCurrentArena()->spaceItem, action_sendItem, client);
+ actionSpace(getCurrentArena()->spaceItem, action_sendItem, client);
/*
for( i = 0 ; i < getCurrentArena()->spaceItem->listIndex->count; i++)
{
@@ -147,891 +142,866 @@ sendInfoCreateClient(client_t * client)
*/
}
-void
-proto_recv_hello_server(client_t * client, char *msg)
+void proto_recv_hello_server(client_t *client, char *msg)
{
- static char *supportVersion = NULL;
- char cmd[STR_PROTO_SIZE];
- char version[STR_NAME_SIZE];
- char name[STR_NAME_SIZE];
- int recv_count;
-
- assert(client != NULL);
+ static char *supportVersion = NULL;
+ char cmd[STR_PROTO_SIZE];
+ char version[STR_NAME_SIZE];
+ char name[STR_NAME_SIZE];
+ int recv_count;
- if (getSpaceCount(getCurrentArena()->spaceTux) + 1 > getServerMaxClients()) {
- proto_send_error_server(PROTO_SEND_ONE, client,
- PROTO_ERROR_LIMIT_MAX_CLIENT);
- eventMsgInCheckFront(client);
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
-
- strcpy(version, "");
- strcpy(name, "");
+ assert( client != NULL );
+
+ if( getSpaceCount(getCurrentArena()->spaceTux)+1 > getServerMaxClients() )
+ {
+ proto_send_error_server(PROTO_SEND_ONE, client, PROTO_ERROR_LIMIT_MAX_CLIENT);
+ eventMsgInCheckFront(client);
+ client->status = NET_STATUS_ZOMBIE;
+ return;
+ }
+ strcpy(version, "");
+ strcpy(name, "");
+
#ifdef PUBLIC_SERVER
- if (supportVersion == NULL) {
- supportVersion =
- getSetting("SUPPORT_CLIENTS", "--support-clients", TUXANCI_VERSION);
- }
+ if( supportVersion == NULL )
+ {
+ supportVersion = getSetting("SUPPORT_CLIENTS", "--support-clients", TUXANCI_VERSION);
+ }
#endif
#ifndef PUBLIC_SERVER
- if (supportVersion == NULL) {
- supportVersion = TUXANCI_VERSION;
- }
+ if( supportVersion == NULL )
+ {
+ supportVersion = TUXANCI_VERSION;
+ }
#endif
- recv_count = sscanf(msg, "%s %s %s", cmd, version, name);
+ recv_count = sscanf(msg, "%s %s %s", cmd, version, name);
- if (recv_count != 3) {
- return;
- }
+ if( recv_count != 3 )
+ {
+ return;
+ }
- if (strstr(supportVersion, version) == NULL) {
- proto_send_error_server(PROTO_SEND_ONE, client,
- PROTO_ERROR_CODE_BAD_VERSION);
- eventMsgInCheckFront(client);
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
+ if( strstr(supportVersion, version ) == NULL )
+ {
+ proto_send_error_server(PROTO_SEND_ONE, client, PROTO_ERROR_CODE_BAD_VERSION);
+ eventMsgInCheckFront(client);
+ client->status = NET_STATUS_ZOMBIE;
+ return;
+ }
- client->tux = newTux();
- client->tux->control = TUX_CONTROL_NET;
- client->tux->client = client;
+ client->tux = newTux();
+ client->tux->control = TUX_CONTROL_NET;
+ client->tux->client = client;
- addObjectToSpace(getCurrentArena()->spaceTux, client->tux);
+ addObjectToSpace(getCurrentArena()->spaceTux, client->tux);
- if (strlen(name) > STR_NAME_SIZE - 1) {
- name[STR_NAME_SIZE - 1] = '\0';
- }
+ if( strlen(name) > STR_NAME_SIZE-1 )
+ {
+ name[STR_NAME_SIZE-1] = '\0';
+ }
- tuxSetName(client->tux, name);
- sendInfoCreateClient(client);
+ tuxSetName(client->tux, name);
+ sendInfoCreateClient(client);
}
-void
-proto_send_status_server(int type, client_t * client)
+void proto_send_status_server(int type, client_t *client)
{
- char msg[STR_PROTO_SIZE];
- char *name;
- char *version;
- int clients;
- int maxclients;
- unsigned int uptime;
- char *arena;
+ char msg[STR_PROTO_SIZE];
+ char *name;
+ char *version;
+ int clients;
+ int maxclients;
+ unsigned int uptime;
+ char *arena;
#ifndef PUBLIC_SERVER
- name = "noname";
+ name = "noname";
#endif
#ifdef PUBLIC_SERVER
- name = getSetting("NAME", "--name", "noname");
+ name = getSetting("NAME", "--name", "noname");
#endif
- version = TUXANCI_VERSION;
- clients = getCurrentArena()->spaceTux->listIndex->count;
- maxclients = getServerMaxClients();
- uptime = (unsigned int) getUpdateServer();
- arena = getArenaNetName(getChoiceArena());
-
- snprintf(msg, STR_PROTO_SIZE,
- "name: %s\n"
- "version: %s\n"
- "clients: %d\n"
- "maxclients: %d\n"
- "uptime: %d\n"
- "arena: %s\n", name, version, clients, maxclients, uptime, arena);
-
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE,
- CHECK_FRONT_ID_NONE);
- //proto_send(type, client, msg);
+ version = TUXANCI_VERSION;
+ clients = getCurrentArena()->spaceTux->listIndex->count;
+ maxclients = getServerMaxClients();
+ uptime = (unsigned int)getUpdateServer();
+ arena = getArenaNetName( getChoiceArena() );
+
+ snprintf(msg, STR_PROTO_SIZE,
+ "name: %s\n"
+ "version: %s\n"
+ "clients: %d\n"
+ "maxclients: %d\n"
+ "uptime: %d\n"
+ "arena: %s\n",
+
+ name, version, clients,
+ maxclients, uptime, arena);
+
+ protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
+ //proto_send(type, client, msg);
}
-void
-proto_recv_status_server(client_t * client, char *msg)
+void proto_recv_status_server(client_t *client, char *msg)
{
- proto_send_status_server(PROTO_SEND_ONE, client);
+ proto_send_status_server(PROTO_SEND_ONE, client);
}
#ifdef PUBLIC_SERVER
-void
-proto_send_listscore_server(int type, client_t * client, int max)
+void proto_send_listscore_server(int type, client_t *client, int max)
{
- char *str;
- char *msg;
- int i;
+ char *str;
+ char *msg;
+ int i;
- msg = malloc((max * 48) * sizeof(char));
- strcpy(msg, "");
+ msg = malloc( (max * 48) * sizeof(char) );
+ strcpy(msg, "");
- for (i = 0; i < max; i++) {
- str = getTableItem(i);
+ for( i = 0 ; i < max ; i++ )
+ {
+ str = getTableItem(i);
- if (str == NULL) {
- break;
- }
+ if( str == NULL )
+ {
+ break;
+ }
- strcat(msg, str);
- strcat(msg, "\n");
- }
+ strcat(msg, str);
+ strcat(msg, "\n");
+ }
- //proto_send(type, client, msg);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE,
- CHECK_FRONT_ID_NONE);
- free(msg);
+ //proto_send(type, client, msg);
+ protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
+ free(msg);
}
-void
-proto_recv_listscore_server(client_t * client, char *msg)
+void proto_recv_listscore_server(client_t *client, char *msg)
{
- char cmd[STR_PROTO_SIZE];
- int recv_count;
- int max;
+ char cmd[STR_PROTO_SIZE];
+ int recv_count;
+ int max;
- assert(msg != NULL);
+ assert( msg != NULL );
- recv_count = sscanf(msg, "%s %d", cmd, &max);
+ recv_count = sscanf(msg, "%s %d",
+ cmd, &max);
- if (recv_count != 2) {
- max = HEIGHTSCORE_MAX_PLAYERS;
- }
+ if( recv_count != 2 )
+ {
+ max = HEIGHTSCORE_MAX_PLAYERS;
+ }
- proto_send_listscore_server(PROTO_SEND_ONE, client, max);
+ proto_send_listscore_server(PROTO_SEND_ONE, client, max);
}
#endif
#ifndef PUBLIC_SERVER
-void
-proto_send_check_client(int id)
+void proto_send_check_client(int id)
{
- char msg[STR_PROTO_SIZE];
-
- snprintf(msg, STR_PROTO_SIZE, "check %d\n", id);
- sendServer(msg);
+ char msg[STR_PROTO_SIZE];
+
+ snprintf(msg, STR_PROTO_SIZE, "check %d\n", id);
+ sendServer(msg);
}
#endif
-void
-proto_recv_check_server(client_t * client, char *msg)
+void proto_recv_check_server(client_t *client, char *msg)
{
- char cmd[STR_PROTO_SIZE];
- int recv_count;
- int id;
+ char cmd[STR_PROTO_SIZE];
+ int recv_count;
+ int id;
- assert(msg != NULL);
+ assert( msg != NULL );
- recv_count = sscanf(msg, "%s %d", cmd, &id);
+ recv_count = sscanf(msg, "%s %d",
+ cmd, &id);
- if (recv_count != 2) {
- return;
- }
+ if( recv_count != 2 )
+ {
+ return;
+ }
- delMsgInCheckFront(client->listSendMsg, id);
+ delMsgInCheckFront(client->listSendMsg, id);
}
-void
-proto_send_init_server(int type, client_t * client, client_t * client2)
+void proto_send_init_server(int type, client_t *client, client_t *client2)
{
- char msg[STR_PROTO_SIZE];
- int count;
- int check_id;
+ char msg[STR_PROTO_SIZE];
+ int count;
+ int check_id;
- assert(client2 != NULL);
+ assert( client2 != NULL );
- count = WORLD_COUNT_ROUND_UNLIMITED;
+ count = WORLD_COUNT_ROUND_UNLIMITED;
#ifndef PUBLIC_SERVER
- getSettingCountRound(&count);
+ getSettingCountRound(&count);
#endif
- check_id = getNewIDcount(0);
-
- snprintf(msg, STR_PROTO_SIZE, "init %d %d %d %d %s %d\n",
- client2->tux->id, client2->tux->x, client2->tux->y,
- count, getArenaNetName(getChoiceArena()), check_id);
-
- //proto_send(type, client, msg);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_CHECK, check_id);
+ check_id = getNewIDcount(0);
+
+ snprintf(msg, STR_PROTO_SIZE, "init %d %d %d %d %s %d\n",
+ client2->tux->id, client2->tux->x, client2->tux->y,
+ count, getArenaNetName( getChoiceArena() ), check_id);
+
+ //proto_send(type, client, msg);
+ protoSendClient(type, client, msg, CHECK_FRONT_TYPE_CHECK, check_id);
}
#ifndef PUBLIC_SERVER
-void
-proto_recv_init_client(char *msg)
+void proto_recv_init_client(char *msg)
{
- char cmd[STR_PROTO_SIZE];
- char arena_name[STR_PROTO_SIZE];
- tux_t *tux;
- int id;
- int x, y, n;
- int check_id;
- int recv_count;
- arena_t *arena;
+ char cmd[STR_PROTO_SIZE];
+ char arena_name[STR_PROTO_SIZE];
+ tux_t *tux;
+ int id;
+ int x, y, n;
+ int check_id;
+ int recv_count;
+ arena_t *arena;
- assert(msg != NULL);
+ assert( msg != NULL );
- recv_count = sscanf(msg, "%s %d %d %d %d %s %d",
- cmd, &id, &x, &y, &n, arena_name, &check_id);
+ recv_count = sscanf(msg, "%s %d %d %d %d %s %d",
+ cmd, &id, &x, &y, &n, arena_name, &check_id);
- if (recv_count != 7) {
- return;
- }
+ if( recv_count != 7 )
+ {
+ return;
+ }
- proto_send_check_client(check_id);
+ proto_send_check_client(check_id);
- if (getCurrentArena() != NULL) {
- return;
- }
+ if( getCurrentArena() != NULL )
+ {
+ return;
+ }
- setWorldArena(getArenaFileFormNetName(arena_name));
+ setWorldArena( getArenaFileFormNetName(arena_name) );
- arena = getCurrentArena();
- arena->max_countRound = n;
+ arena = getCurrentArena();
+ arena->max_countRound = n;
- tux = newTux();
- replaceTuxID(tux, id);
- tux->x = x;
- tux->y = y;
- tux->control = TUX_CONTROL_KEYBOARD_RIGHT;
- setControlTux(tux, TUX_CONTROL_KEYBOARD_RIGHT);
+ tux = newTux();
+ replaceTuxID(tux, id);
+ tux->x = x;
+ tux->y = y;
+ tux->control = TUX_CONTROL_KEYBOARD_RIGHT;
+ setControlTux(tux, TUX_CONTROL_KEYBOARD_RIGHT);
- getSettingNameRight(tux->name);
+ getSettingNameRight(tux->name);
- addObjectToSpace(arena->spaceTux, tux);
+ addObjectToSpace(arena->spaceTux, tux);
}
#endif
-void
-proto_send_event_server(int type, client_t * client, tux_t * tux, int action)
+void proto_send_event_server(int type, client_t *client, tux_t *tux, int action)
{
- char msg[STR_PROTO_SIZE];
-
- snprintf(msg, STR_PROTO_SIZE, "event %d %d\n", tux->id, action);
-
- //proto_send(type, client, msg);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE,
- CHECK_FRONT_ID_NONE);
+ char msg[STR_PROTO_SIZE];
+
+ snprintf(msg, STR_PROTO_SIZE, "event %d %d\n", tux->id, action);
+
+ //proto_send(type, client, msg);
+ protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
}
#ifndef PUBLIC_SERVER
-void
-proto_recv_event_client(char *msg)
+void proto_recv_event_client(char *msg)
{
- char cmd[STR_PROTO_SIZE];
- int id, action;
- tux_t *tux;
- int recv_count;
+ char cmd[STR_PROTO_SIZE];
+ int id, action;
+ tux_t *tux;
+ int recv_count;
- assert(msg != NULL);
+ assert( msg != NULL );
- recv_count = sscanf(msg, "%s %d %d", cmd, &id, &action);
+ recv_count = sscanf(msg, "%s %d %d", cmd, &id, &action);
- if (recv_count != 3) {
- return;
- }
+ if( recv_count != 3 )
+ {
+ return;
+ }
- tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
+ tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
- if (tux != NULL) {
- actionTux(tux, action);
- addToRadar(tux->id, tux->x, tux->y, RADAR_TYPE_TUX);
- }
+ if( tux != NULL )
+ {
+ actionTux(tux, action);
+ addToRadar(tux->id, tux->x, tux->y, RADAR_TYPE_TUX);
+ }
}
#endif
#ifndef PUBLIC_SERVER
-void
-proto_send_event_client(int action)
+void proto_send_event_client(int action)
{
- char msg[STR_PROTO_SIZE];
-
- snprintf(msg, STR_PROTO_SIZE, "event %d\n", action);
-
- sendServer(msg);
+ char msg[STR_PROTO_SIZE];
+
+ snprintf(msg, STR_PROTO_SIZE, "event %d\n", action);
+
+ sendServer(msg);
}
#endif
-void
-proto_recv_event_server(client_t * client, char *msg)
+void proto_recv_event_server(client_t *client, char *msg)
{
- char cmd[STR_PROTO_SIZE];
- int action;
- int recv_count;
+ char cmd[STR_PROTO_SIZE];
+ int action;
+ int recv_count;
- assert(client != NULL);
- assert(msg != NULL);
+ assert( client != NULL );
+ assert( msg != NULL );
- //debug_interval();
+ //debug_interval();
- recv_count = sscanf(msg, "%s %d", cmd, &action);
+ recv_count = sscanf(msg, "%s %d", cmd, &action);
- if (recv_count != 2) {
- return;
- }
+ if( recv_count != 2 )
+ {
+ return;
+ }
- if (client->tux->bonus != BONUS_HIDDEN) {
- proto_send_event_server(PROTO_SEND_ALL_SEES_TUX, client, client->tux,
- action);
- }
+ if( client->tux->bonus != BONUS_HIDDEN )
+ {
+ proto_send_event_server(PROTO_SEND_ALL_SEES_TUX, client, client->tux, action);
+ }
- refreshLastMove(client->protect);
+ refreshLastMove(client->protect);
- actionTux(client->tux, action);
+ actionTux(client->tux, action);
}
-void
-proto_send_newtux_server(int type, client_t * client, tux_t * tux)
+void proto_send_newtux_server(int type, client_t *client, tux_t *tux)
{
- char msg[STR_PROTO_SIZE];
- int x, y;
-
- assert(tux != NULL);
-
- if (tux->bonus == BONUS_HIDDEN) {
- x = TUX_LOCATE_UNKNOWN;
- y = TUX_LOCATE_UNKNOWN;
- }
- else {
- getTuxProportion(tux, &x, &y, NULL, NULL);
- }
-
- snprintf(msg, STR_PROTO_SIZE,
- "newtux %d %d %d %d %d %d %d %s %d %d %d %d %d %d %d %d %d %d %d\n",
- tux->id, x, y, tux->status, tux->position, tux->frame, tux->score,
- tux->name, tux->gun, tux->bonus, tux->shot[GUN_SIMPLE],
- tux->shot[GUN_DUAL_SIMPLE], tux->shot[GUN_SCATTER],
- tux->shot[GUN_TOMMY], tux->shot[GUN_LASSER], tux->shot[GUN_MINE],
- tux->shot[GUN_BOMBBALL], tux->bonus_time, tux->pickup_time);
-
- //proto_send(type, client, msg);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE,
- CHECK_FRONT_ID_NONE);
+ char msg[STR_PROTO_SIZE];
+ int x, y;
+
+ assert( tux != NULL );
+
+ if( tux->bonus == BONUS_HIDDEN )
+ {
+ x = TUX_LOCATE_UNKNOWN;
+ y = TUX_LOCATE_UNKNOWN;
+ }
+ else
+ {
+ getTuxProportion(tux, &x, &y, NULL, NULL);
+ }
+
+ snprintf(msg, STR_PROTO_SIZE,
+ "newtux %d %d %d %d %d %d %d %s %d %d %d %d %d %d %d %d %d %d %d\n",
+ tux->id ,x, y, tux->status, tux->position ,tux->frame, tux->score, tux->name,
+ tux->gun, tux->bonus, tux->shot[GUN_SIMPLE], tux->shot[GUN_DUAL_SIMPLE],
+ tux->shot[GUN_SCATTER], tux->shot[GUN_TOMMY], tux->shot[GUN_LASSER],
+ tux->shot[GUN_MINE], tux->shot[GUN_BOMBBALL],
+ tux->bonus_time, tux->pickup_time);
+
+ //proto_send(type, client, msg);
+ protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
}
#ifndef PUBLIC_SERVER
-void
-proto_recv_newtux_client(char *msg)
+void proto_recv_newtux_client(char *msg)
{
- char cmd[STR_PROTO_SIZE];
- char name[STR_NAME_SIZE];
- int id, x, y, status, position, frame, score;
- int myGun, myBonus;
- int gun1, gun2, gun3, gun4, gun5, gun6, gun7;
- int time1, time2;
- tux_t *tux;
- int recv_count;
-
- assert(msg != NULL);
-
- if (getCurrentArena() == NULL) {
- return;
- }
-
- recv_count =
- sscanf(msg,
- "%s %d %d %d %d %d %d %d %s %d %d %d %d %d %d %d %d %d %d %d",
- cmd, &id, &x, &y, &status, &position, &frame, &score, name,
- &myGun, &myBonus, &gun1, &gun2, &gun3, &gun4, &gun5, &gun6,
- &gun7, &time1, &time2);
-
- if (recv_count != 20) {
- return;
- }
-
- tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
-
- if (tux != NULL) {
- assert(tux->id == id);
- }
-
- if (tux == NULL) {
- tux = newTux();
- replaceTuxID(tux, id);
- tux->control = TUX_CONTROL_NET;
- addObjectToSpace(getCurrentArena()->spaceTux, tux);
- }
-
- if (tux->control == TUX_CONTROL_KEYBOARD_RIGHT &&
- x == TUX_LOCATE_UNKNOWN && y == TUX_LOCATE_UNKNOWN) {
- getTuxProportion(tux, &x, &y, NULL, NULL);
- }
-
- addToRadar(id, x, y, RADAR_TYPE_TUX);
-
- if (tux->bonus == BONUS_HIDDEN) {
- delFromRadar(id);
- }
-
- moveObjectInSpace(getCurrentArena()->spaceTux, tux, x, y);
- tux->status = status;
- tux->position = position;
- tux->frame = frame;
- tux->score = score;
- strcpy(tux->name, name);
- tux->gun = myGun;
- tux->bonus = myBonus;
- tux->shot[GUN_SIMPLE] = gun1;
- tux->shot[GUN_DUAL_SIMPLE] = gun2;
- tux->shot[GUN_SCATTER] = gun3;
- tux->shot[GUN_TOMMY] = gun4;
- tux->shot[GUN_LASSER] = gun5;
- tux->shot[GUN_MINE] = gun6;
- tux->shot[GUN_BOMBBALL] = gun7;
- tux->bonus_time = time1;
- tux->pickup_time = time2;
+ char cmd[STR_PROTO_SIZE];
+ char name[STR_NAME_SIZE];
+ int id, x, y, status, position, frame, score;
+ int myGun, myBonus;
+ int gun1, gun2, gun3, gun4, gun5, gun6, gun7;
+ int time1, time2;
+ tux_t *tux;
+ int recv_count;
+
+ assert( msg != NULL );
+
+ if( getCurrentArena() == NULL )
+ {
+ return;
+ }
+
+ recv_count = sscanf(msg, "%s %d %d %d %d %d %d %d %s %d %d %d %d %d %d %d %d %d %d %d",
+ cmd, &id, &x, &y, &status, &position, &frame, &score, name,
+ &myGun, &myBonus, &gun1, &gun2, &gun3, &gun4, &gun5, &gun6, &gun7, &time1, &time2);
+
+ if( recv_count != 20 )
+ {
+ return;
+ }
+
+ tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
+
+ if( tux != NULL )
+ {
+ assert( tux->id == id );
+ }
+
+ if( tux == NULL )
+ {
+ tux = newTux();
+ replaceTuxID(tux, id);
+ tux->control = TUX_CONTROL_NET;
+ addObjectToSpace(getCurrentArena()->spaceTux, tux);
+ }
+
+ if( tux->control == TUX_CONTROL_KEYBOARD_RIGHT &&
+ x == TUX_LOCATE_UNKNOWN && y == TUX_LOCATE_UNKNOWN )
+ {
+ getTuxProportion(tux, &x, &y, NULL, NULL);
+ }
+
+ addToRadar(id, x, y, RADAR_TYPE_TUX);
+
+ if( tux->bonus == BONUS_HIDDEN )
+ {
+ delFromRadar(id);
+ }
+
+ moveObjectInSpace(getCurrentArena()->spaceTux, tux, x, y);
+ tux->status = status;
+ tux->position = position;
+ tux->frame = frame;
+ tux->score = score;
+ strcpy(tux->name, name);
+ tux->gun = myGun;
+ tux->bonus = myBonus;
+ tux->shot[GUN_SIMPLE] = gun1;
+ tux->shot[GUN_DUAL_SIMPLE] = gun2;
+ tux->shot[GUN_SCATTER] = gun3;
+ tux->shot[GUN_TOMMY] = gun4;
+ tux->shot[GUN_LASSER] = gun5;
+ tux->shot[GUN_MINE] = gun6;
+ tux->shot[GUN_BOMBBALL] = gun7;
+ tux->bonus_time = time1;
+ tux->pickup_time = time2;
}
#endif
-void
-proto_send_kill_server(int type, client_t * client, tux_t * tux)
+void proto_send_kill_server(int type, client_t *client, tux_t *tux)
{
- char msg[STR_PROTO_SIZE];
-
- assert(tux != NULL);
+ char msg[STR_PROTO_SIZE];
+
+ assert( tux != NULL );
- snprintf(msg, STR_PROTO_SIZE, "kill %d\n", tux->id);
-
- //proto_send(type, client, msg);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE,
- CHECK_FRONT_ID_NONE);
+ snprintf(msg, STR_PROTO_SIZE, "kill %d\n", tux->id);
+
+ //proto_send(type, client, msg);
+ protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
}
#ifndef PUBLIC_SERVER
-void
-proto_recv_kill_client(char *msg)
+void proto_recv_kill_client(char *msg)
{
- char cmd[STR_PROTO_SIZE];
- int id;
- tux_t *tux;
- int recv_count;
+ char cmd[STR_PROTO_SIZE];
+ int id;
+ tux_t *tux;
+ int recv_count;
- assert(msg != NULL);
+ assert( msg != NULL );
- recv_count = sscanf(msg, "%s %d", cmd, &id);
+ recv_count = sscanf(msg, "%s %d", cmd, &id);
- if (recv_count != 2) {
- return;
- }
+ if( recv_count != 2 )
+ {
+ return;
+ }
- tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
+ tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
- if (tux != NULL) {
- eventTuxIsDead(tux);
- }
+ if( tux != NULL )
+ {
+ eventTuxIsDead(tux);
+ }
}
#endif
-void
-proto_send_del_server(int type, client_t * client, int id)
+void proto_send_del_server(int type, client_t *client, int id)
{
- char msg[STR_PROTO_SIZE];
- int check_id;
+ char msg[STR_PROTO_SIZE];
+ int check_id;
- check_id = getNewIDcount(0);
+ check_id = getNewIDcount(0);
- snprintf(msg, STR_PROTO_SIZE, "del %d %d\n", id, check_id);
+ snprintf(msg, STR_PROTO_SIZE, "del %d %d\n",
+ id, check_id);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_CHECK, check_id);
- //proto_check(type, client, msg, check_id);
+ protoSendClient(type, client, msg, CHECK_FRONT_TYPE_CHECK, check_id);
+ //proto_check(type, client, msg, check_id);
}
#ifndef PUBLIC_SERVER
-void
-proto_recv_del_client(char *msg)
+void proto_recv_del_client(char *msg)
{
- char cmd[STR_PROTO_SIZE];
- int id, check_id;
- tux_t *tux;
- shot_t *shot;
- item_t *item;
- int recv_count;
-
- assert(msg != NULL);
-
- recv_count = sscanf(msg, "%s %d %d", cmd, &id, &check_id);
-
- if (recv_count != 3) {
- return;
- }
-
- proto_send_check_client(check_id);
-
- tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
-
- if (tux != NULL) {
- delFromRadar(id);
- delObjectFromSpaceWithObject(getCurrentArena()->spaceTux, tux,
- destroyTux);
- return;
- }
-
- shot = getObjectFromSpaceWithID(getCurrentArena()->spaceShot, id);
-
- if (shot != NULL) {
- //printf("delete shot..\n");
- delFromRadar(id);
- delObjectFromSpaceWithObject(getCurrentArena()->spaceShot, shot,
- destroyShot);
- return;
- }
-
- item = getObjectFromSpaceWithID(getCurrentArena()->spaceItem, id);
-
- if (item != NULL) {
- //printf("delete item..\n");
- delFromRadar(id);
- delObjectFromSpaceWithObject(getCurrentArena()->spaceItem, item,
- destroyItem);
- return;
- }
+ char cmd[STR_PROTO_SIZE];
+ int id, check_id;
+ tux_t *tux;
+ shot_t *shot;
+ item_t *item;
+ int recv_count;
+
+ assert( msg != NULL );
+
+ recv_count = sscanf(msg, "%s %d %d",
+ cmd, &id, &check_id);
+
+ if( recv_count != 3 )
+ {
+ return;
+ }
+
+ proto_send_check_client(check_id);
+
+ tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
+
+ if( tux != NULL )
+ {
+ delFromRadar(id);
+ delObjectFromSpaceWithObject(getCurrentArena()->spaceTux, tux, destroyTux);
+ return;
+ }
+
+ shot = getObjectFromSpaceWithID(getCurrentArena()->spaceShot, id);
+
+ if( shot != NULL )
+ {
+ //printf("delete shot..\n");
+ delFromRadar(id);
+ delObjectFromSpaceWithObject(getCurrentArena()->spaceShot, shot, destroyShot);
+ return;
+ }
+
+ item = getObjectFromSpaceWithID(getCurrentArena()->spaceItem, id);
+
+ if( item != NULL )
+ {
+ //printf("delete item..\n");
+ delFromRadar(id);
+ delObjectFromSpaceWithObject(getCurrentArena()->spaceItem, item, destroyItem);
+ return;
+ }
}
#endif
-void
-proto_send_additem_server(int type, client_t * client, item_t * p)
+void proto_send_additem_server(int type, client_t *client, item_t *p)
{
- char msg[STR_PROTO_SIZE];
- int check_id;
+ char msg[STR_PROTO_SIZE];
+ int check_id;
- assert(p != NULL);
+ assert( p != NULL );
- check_id = getNewIDcount(0);
+ check_id = getNewIDcount(0);
- snprintf(msg, STR_PROTO_SIZE, "additem %d %d %d %d %d %d %d %d\n",
- p->id, p->type, p->x, p->y, p->count, p->frame, p->author_id,
- check_id);
+ snprintf(msg, STR_PROTO_SIZE, "additem %d %d %d %d %d %d %d %d\n",
+ p->id, p->type, p->x, p->y, p->count, p->frame, p->author_id, check_id);
- //proto_send(type, client, msg);
- //proto_check(type, client, msg, check_id);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_CHECK, check_id);
+ //proto_send(type, client, msg);
+ //proto_check(type, client, msg, check_id);
+ protoSendClient(type, client, msg, CHECK_FRONT_TYPE_CHECK, check_id);
}
#ifndef PUBLIC_SERVER
-void
-proto_recv_additem_client(char *msg)
+void proto_recv_additem_client(char *msg)
{
- char cmd[STR_PROTO_SIZE];
- int id, type, x, y, count, frame, author_id, check_id;
- item_t *item;
- int recv_count;
+ char cmd[STR_PROTO_SIZE];
+ int id, type, x, y, count, frame, author_id, check_id;
+ item_t *item;
+ int recv_count;
- assert(msg != NULL);
+ assert( msg != NULL );
- if (getCurrentArena() == NULL) {
- return;
- }
+ if( getCurrentArena() == NULL )
+ {
+ return;
+ }
- recv_count = sscanf(msg, "%s %d %d %d %d %d %d %d %d",
- cmd, &id, &type, &x, &y, &count, &frame, &author_id,
- &check_id);
+ recv_count = sscanf(msg, "%s %d %d %d %d %d %d %d %d",
+ cmd, &id, &type, &x, &y, &count, &frame, &author_id, &check_id);
- if (recv_count != 9) {
- return;
- }
+ if( recv_count != 9 )
+ {
+ return;
+ }
- proto_send_check_client(check_id);
+ proto_send_check_client(check_id);
- if ((item =
- getObjectFromSpaceWithID(getCurrentArena()->spaceItem, id)) != NULL) {
- return;
- }
+ if( ( item = getObjectFromSpaceWithID(getCurrentArena()->spaceItem, id) ) != NULL )
+ {
+ return;
+ }
- if (type != ITEM_MINE && type != ITEM_EXPLOSION
- && type != ITEM_BIG_EXPLOSION) {
- addToRadar(id, x, y, RADAR_TYPE_ITEM);
- }
+ if( type != ITEM_MINE && type != ITEM_EXPLOSION && type != ITEM_BIG_EXPLOSION )
+ {
+ addToRadar(id, x, y, RADAR_TYPE_ITEM);
+ }
- item = newItem(x, y, type, author_id);
+ item = newItem(x, y, type, author_id);
- replaceItemID(item, id);
- item->count = count;
- item->frame = frame;
+ replaceItemID(item, id);
+ item->count = count;
+ item->frame = frame;
- addObjectToSpace(getCurrentArena()->spaceItem, item);
+ addObjectToSpace(getCurrentArena()->spaceItem, item);
}
#endif
-void
-proto_send_shot_server(int type, client_t * client, shot_t * p)
+void proto_send_shot_server(int type, client_t *client, shot_t *p)
{
- char msg[STR_PROTO_SIZE];
+ char msg[STR_PROTO_SIZE];
- assert(p != NULL);
+ assert( p != NULL );
- snprintf(msg, STR_PROTO_SIZE, "shot %d %d %d %d %d %d %d %d %d\n",
- p->id, p->x, p->y, p->px, p->py, p->position, p->gun,
- p->author_id, p->isCanKillAuthor);
+ snprintf(msg, STR_PROTO_SIZE, "shot %d %d %d %d %d %d %d %d %d\n",
+ p->id, p->x, p->y, p->px, p->py, p->position, p->gun, p->author_id, p->isCanKillAuthor);
- //proto_send(type, client, msg);
- //proto_check(type, client, msg, check_id);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE,
- CHECK_FRONT_ID_NONE);
+ //proto_send(type, client, msg);
+ //proto_check(type, client, msg, check_id);
+ protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
}
#ifndef PUBLIC_SERVER
-void
-proto_recv_shot_client(char *msg)
+void proto_recv_shot_client(char *msg)
{
- char cmd[STR_PROTO_SIZE];
- int x, y, px, py, position, gun, shot_id, author_id, isCanKillAuthor;
- shot_t *shot;
- int recv_count;
+ char cmd[STR_PROTO_SIZE];
+ int x, y, px, py, position, gun, shot_id, author_id, isCanKillAuthor;
+ shot_t *shot;
+ int recv_count;
- assert(msg != NULL);
+ assert( msg != NULL );
- recv_count = sscanf(msg, "%s %d %d %d %d %d %d %d %d %d",
- cmd, &shot_id, &x, &y, &px, &py, &position, &gun,
- &author_id, &isCanKillAuthor);
+ recv_count = sscanf(msg, "%s %d %d %d %d %d %d %d %d %d",
+ cmd, &shot_id, &x, &y, &px, &py, &position, &gun, &author_id, &isCanKillAuthor);
- if (recv_count != 10) {
- return;
- }
+ if( recv_count != 10 )
+ {
+ return;
+ }
- if ((shot =
- getObjectFromSpaceWithID(getCurrentArena()->spaceShot,
- shot_id)) != NULL) {
- delObjectFromSpaceWithObject(getCurrentArena()->spaceShot, shot,
- destroyShot);
+ if( ( shot = getObjectFromSpaceWithID(getCurrentArena()->spaceShot, shot_id) ) != NULL )
+ {
+ delObjectFromSpaceWithObject(getCurrentArena()->spaceShot, shot, destroyShot);
- //return;
- }
+ //return;
+ }
- shot = newShot(x, y, px, py, gun, author_id);
+ shot = newShot(x, y, px, py, gun, author_id);
- replaceShotID(shot, shot_id);
- shot->isCanKillAuthor = isCanKillAuthor;
- shot->position = position;
+ replaceShotID(shot, shot_id);
+ shot->isCanKillAuthor = isCanKillAuthor;
+ shot->position = position;
- if (shot->gun == GUN_LASSER) {
- transformOnlyLasser(shot);
- }
+ if( shot->gun == GUN_LASSER )
+ {
+ transformOnlyLasser(shot);
+ }
- addObjectToSpace(getCurrentArena()->spaceShot, shot);
+ addObjectToSpace(getCurrentArena()->spaceShot, shot);
}
#endif
#ifndef PUBLIC_SERVER
-void
-proto_send_chat_client(char *s)
+void proto_send_chat_client(char *s)
{
- char msg[STR_PROTO_SIZE];
- snprintf(msg, STR_PROTO_SIZE, "chat %s\n", s);
- sendServer(msg);
+ char msg[STR_PROTO_SIZE];
+ snprintf(msg, STR_PROTO_SIZE, "chat %s\n", s);
+ sendServer(msg);
}
#endif
-void
-proto_recv_chat_server(client_t * client, char *msg)
+void proto_recv_chat_server(client_t *client, char *msg)
{
- char out[STR_PROTO_SIZE];
- int len;
-
- if (client->tux == NULL) {
- return;
- }
+ char out[STR_PROTO_SIZE];
+ int len;
+
+ if( client->tux == NULL )
+ {
+ return;
+ }
- len = strlen(msg);
- msg[len - 1] = '\0';
+ len = strlen(msg);
+ msg[len-1] = '\0';
- snprintf(out, STR_PROTO_SIZE, "chat %s:%s\n", client->tux->name, msg + 5);
+ snprintf(out, STR_PROTO_SIZE, "chat %s:%s\n", client->tux->name, msg+5);
- proto_send_chat_server(PROTO_SEND_ALL, NULL, out);
+ proto_send_chat_server(PROTO_SEND_ALL, NULL, out);
}
-void
-proto_send_chat_server(int type, client_t * client, char *msg)
+void proto_send_chat_server(int type, client_t *client, char *msg)
{
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE,
- CHECK_FRONT_ID_NONE);
+ protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
#ifndef PUBLIC_SERVER
- proto_recv_chat_client(msg);
+ proto_recv_chat_client(msg);
#endif
}
#ifndef PUBLIC_SERVER
-void
-proto_recv_chat_client(char *msg)
+void proto_recv_chat_client(char *msg)
{
- int len;
+ int len;
- assert(msg != NULL);
+ assert( msg != NULL );
- len = strlen(msg);
- msg[len - 1] = '\0';
+ len = strlen(msg);
+ msg[len-1] = '\0';
- addToChat(msg + 5);
+ addToChat(msg+5);
}
#endif
#ifndef PUBLIC_SERVER
-void
-proto_send_module_client(char *msg)
+void proto_send_module_client(char *msg)
{
- char out[STR_PROTO_SIZE];
+ char out[STR_PROTO_SIZE];
- snprintf(out, STR_PROTO_SIZE, "module %s\n", msg);
+ snprintf(out, STR_PROTO_SIZE, "module %s\n", msg);
/*
strcpy(out, "modules ");
strcat(out, msg);
strcat(out, "\n");
*/
- sendServer(out);
+ sendServer(out);
}
#endif
-void
-proto_recv_module_server(client_t * client, char *msg)
+void proto_recv_module_server(client_t *client, char *msg)
{
- recvMsgModule(msg + 7);
+ recvMsgModule(msg+7);
}
-void
-proto_send_module_server(int type, client_t * client, char *msg)
+void proto_send_module_server(int type, client_t *client, char *msg)
{
- char out[STR_PROTO_SIZE];
+ char out[STR_PROTO_SIZE];
- snprintf(out, STR_PROTO_SIZE, "module %s\n", msg);
+ snprintf(out, STR_PROTO_SIZE, "module %s\n", msg);
/*
strcpy(out, "modules ");
strcat(out, msg);
strcat(out, "\n");
*/
- protoSendClient(type, client, out, CHECK_FRONT_TYPE_SIMPLE,
- CHECK_FRONT_ID_NONE);
+ protoSendClient(type, client, out, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
}
#ifndef PUBLIC_SERVER
-void
-proto_recv_module_client(char *msg)
+void proto_recv_module_client(char *msg)
{
- recvMsgModule(msg + 7);
+ recvMsgModule(msg+7);
}
#endif
#ifndef PUBLIC_SERVER
-void
-proto_send_ping_client()
+void proto_send_ping_client()
{
- char msg[STR_PROTO_SIZE];
- snprintf(msg, STR_PROTO_SIZE, "ping\n");
- sendServer(msg);
+ char msg[STR_PROTO_SIZE];
+ snprintf(msg, STR_PROTO_SIZE, "ping\n");
+ sendServer(msg);
}
#endif
-void
-proto_recv_ping_server(client_t * client, char *msg)
+void proto_recv_ping_server(client_t *client, char *msg)
{
}
-void
-proto_send_ping_server(int type, client_t * client)
+void proto_send_ping_server(int type, client_t *client)
{
- char msg[STR_PROTO_SIZE];
- snprintf(msg, STR_PROTO_SIZE, "ping\n");
- //proto_send(type, client, msg);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE,
- CHECK_FRONT_ID_NONE);
+ char msg[STR_PROTO_SIZE];
+ snprintf(msg, STR_PROTO_SIZE, "ping\n");
+ //proto_send(type, client, msg);
+ protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
}
#ifndef PUBLIC_SERVER
-void
-proto_recv_ping_client(char *msg)
+void proto_recv_ping_client(char *msg)
{
}
#endif
-void
-proto_recv_echo_server(client_t * client, char *msg)
+void proto_recv_echo_server(client_t *client, char *msg)
{
- proto_send_echo_server(PROTO_SEND_ONE, client, msg + 4); // msg + strlen("echo");
+ proto_send_echo_server(PROTO_SEND_ONE, client, msg+4); // msg + strlen("echo");
}
-void
-proto_send_echo_server(int type, client_t * client, char *s)
+void proto_send_echo_server(int type, client_t *client, char *s)
{
- char msg[STR_PROTO_SIZE];
+ char msg[STR_PROTO_SIZE];
- snprintf(msg, STR_PROTO_SIZE, "echo%s", s);
- //proto_send(type, client, msg);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE,
- CHECK_FRONT_ID_NONE);
+ snprintf(msg, STR_PROTO_SIZE, "echo%s", s);
+ //proto_send(type, client, msg);
+ protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
}
-void
-proto_send_end_server(int type, client_t * client)
+void proto_send_end_server(int type, client_t *client)
{
- char msg[STR_PROTO_SIZE];
+ char msg[STR_PROTO_SIZE];
- snprintf(msg, STR_PROTO_SIZE, "end\n");
- //proto_send(type, client, msg);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE,
- CHECK_FRONT_ID_NONE);
+ snprintf(msg, STR_PROTO_SIZE, "end\n");
+ //proto_send(type, client, msg);
+ protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
}
#ifndef PUBLIC_SERVER
-void
-proto_recv_end_client(char *msg)
+void proto_recv_end_client(char *msg)
{
- assert(msg != NULL);
+ assert( msg != NULL );
- setWorldEnd();
+ setWorldEnd();
}
#endif
#ifndef PUBLIC_SERVER
-void
-proto_send_end_client()
+void proto_send_end_client()
{
- char msg[STR_PROTO_SIZE];
+ char msg[STR_PROTO_SIZE];
- snprintf(msg, STR_PROTO_SIZE, "end\n");
- sendServer(msg);
+ snprintf(msg, STR_PROTO_SIZE, "end\n");
+ sendServer(msg);
}
#endif
-void
-proto_recv_end_server(client_t * client, char *msg)
+void proto_recv_end_server(client_t *client, char *msg)
{
- assert(msg != NULL);
- assert(client != NULL);
+ assert( msg != NULL );
+ assert( client != NULL );
- client->status = NET_STATUS_ZOMBIE;
+ client->status = NET_STATUS_ZOMBIE;
}
+
diff --git a/src/base/proto.c~ b/src/base/proto.c~
deleted file mode 100644
index 304eff8..0000000
--- a/src/base/proto.c~
+++ /dev/null
@@ -1,1007 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "tux.h"
-#include "item.h"
-#include "shot.h"
-#include "arenaFile.h"
-#include "myTimer.h"
-#include "server.h"
-#include "proto.h"
-#include "net_multiplayer.h"
-#include "checkFront.h"
-#include "idManager.h"
-#include "modules.h"
-#include "protect.h"
-#include "serverSendMsg.h"
-
-#ifndef PUBLIC_SERVER
-#include "screen_world.h"
-#include "screen_setting.h"
-#include "screen_choiceArena.h"
-#include "screen_analyze.h"
-#include "screen_downArena.h"
-#include "client.h"
-#include "term.h"
-#include "radar.h"
-#include "chat.h"
-#endif
-
-#ifdef PUBLIC_SERVER
-#include "heightScore.h"
-#include "publicServer.h"
-#include "serverConfigFile.h"
-#endif
-
-void proto_send_error_server(int type, client_t *client, int errorcode)
-{
- char msg[STR_PROTO_SIZE];
-
- snprintf(msg, STR_PROTO_SIZE, "error %d\n", errorcode);
-
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
-}
-
-#ifndef PUBLIC_SERVER
-
-void proto_recv_error_client(char *msg)
-{
- char cmd[STR_PROTO_SIZE];
- int errorcode;
- int recv_count;
-
- assert( msg != NULL );
-
- recv_count = sscanf(msg, "%s %d",
- cmd, &errorcode);
-
- if( recv_count != 2 )
- {
- return;
- }
-#ifdef DEBUG
- printf(_("Proto error code: \"%d\"\n"), errorcode);
-#endif
- switch(errorcode)
- {
- case PROTO_ERROR_CODE_BAD_VERSION :
- setMsgToAnalyze(_("Version of your client isn't supported by the server."));
- setWorldEnd();
- break;
- case PROTO_ERROR_CODE_TIMEOUT :
- setMsgToAnalyze(_("The timeout of ping from server is out"));
- setWorldEnd();
- break;
- case PROTO_ERROR_LIMIT_MAX_CLIENT :
- setMsgToAnalyze(_("The maximum amount of connected players has been exceeded!"));
- setWorldEnd();
- break;
- }
-}
-
-#endif
-
-#ifndef PUBLIC_SERVER
-
-void proto_send_hello_client(char *name)
-{
- char msg[STR_PROTO_SIZE];
-
- snprintf(msg, STR_PROTO_SIZE, "hello %s %s\n", getParamElse("--version", TUXANCI_VERSION), name);
- sendServer(msg);
-}
-
-#endif
-
-static void action_sendItem(space_t *space, item_t *item, client_t *client)
-{
- proto_send_additem_server(PROTO_SEND_ONE, client, item);
-}
-
-static void sendInfoCreateClient(client_t *client)
-{
- list_t *listClient;
- client_t *thisClient;
- tux_t *thisTux;
- int i;
-
- assert( client != NULL );
-
- listClient = getListServerClient();
-
- proto_send_init_server(PROTO_SEND_ONE, client, client);
-
-#ifndef PUBLIC_SERVER
- proto_send_newtux_server(PROTO_SEND_ONE, client, getControlTux(TUX_CONTROL_KEYBOARD_RIGHT) );
-#endif
-
- for( i = 0 ; i < listClient->count; i++)
- {
- thisClient = (client_t *) listClient->list[i];
- thisTux = thisClient->tux;
-
- if( thisTux != NULL && thisTux != client->tux )
- {
- proto_send_newtux_server(PROTO_SEND_ONE, thisClient, client->tux);
- proto_send_newtux_server(PROTO_SEND_ONE, client, thisTux);
- }
- }
-
- actionSpace(getCurrentArena()->spaceItem, action_sendItem, client);
-/*
- for( i = 0 ; i < getCurrentArena()->spaceItem->listIndex->count; i++)
- {
- thisItem = (item_t *) getCurrentArena()->spaceItem->list->list[i];
- proto_send_additem_server(PROTO_SEND_ONE, client, thisItem);
- }
-*/
-}
-
-void proto_recv_hello_server(client_t *client, char *msg)
-{
- static char *supportVersion = NULL;
- char cmd[STR_PROTO_SIZE];
- char version[STR_NAME_SIZE];
- char name[STR_NAME_SIZE];
- int recv_count;
-
- assert( client != NULL );
-
- if( getSpaceCount(getCurrentArena()->spaceTux)+1 > getServerMaxClients() )
- {
- proto_send_error_server(PROTO_SEND_ONE, client, PROTO_ERROR_LIMIT_MAX_CLIENT);
- eventMsgInCheckFront(client);
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
-
- strcpy(version, "");
- strcpy(name, "");
-
-#ifdef PUBLIC_SERVER
- if( supportVersion == NULL )
- {
- supportVersion = getSetting("SUPPORT_CLIENTS", "--support-clients", TUXANCI_VERSION);
- }
-#endif
-
-#ifndef PUBLIC_SERVER
- if( supportVersion == NULL )
- {
- supportVersion = TUXANCI_VERSION;
- }
-#endif
-
- recv_count = sscanf(msg, "%s %s %s", cmd, version, name);
-
- if( recv_count != 3 )
- {
- return;
- }
-
- if( strstr(supportVersion, version ) == NULL )
- {
- proto_send_error_server(PROTO_SEND_ONE, client, PROTO_ERROR_CODE_BAD_VERSION);
- eventMsgInCheckFront(client);
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
-
- client->tux = newTux();
- client->tux->control = TUX_CONTROL_NET;
- client->tux->client = client;
-
- addObjectToSpace(getCurrentArena()->spaceTux, client->tux);
-
- if( strlen(name) > STR_NAME_SIZE-1 )
- {
- name[STR_NAME_SIZE-1] = '\0';
- }
-
- tuxSetName(client->tux, name);
- sendInfoCreateClient(client);
-}
-
-void proto_send_status_server(int type, client_t *client)
-{
- char msg[STR_PROTO_SIZE];
- char *name;
- char *version;
- int clients;
- int maxclients;
- unsigned int uptime;
- char *arena;
-
-#ifndef PUBLIC_SERVER
- name = "noname";
-#endif
-
-#ifdef PUBLIC_SERVER
- name = getSetting("NAME", "--name", "noname");
-#endif
-
- version = TUXANCI_VERSION;
- clients = getCurrentArena()->spaceTux->listIndex->count;
- maxclients = getServerMaxClients();
- uptime = (unsigned int)getUpdateServer();
- arena = getArenaNetName( getChoiceArena() );
-
- snprintf(msg, STR_PROTO_SIZE,
- "name: %s\n"
- "version: %s\n"
- "clients: %d\n"
- "maxclients: %d\n"
- "uptime: %d\n"
- "arena: %s\n",
-
- name, version, clients,
- maxclients, uptime, arena);
-
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
- //proto_send(type, client, msg);
-}
-
-void proto_recv_status_server(client_t *client, char *msg)
-{
- proto_send_status_server(PROTO_SEND_ONE, client);
-}
-
-#ifdef PUBLIC_SERVER
-
-void proto_send_listscore_server(int type, client_t *client, int max)
-{
- char *str;
- char *msg;
- int i;
-
- msg = malloc( (max * 48) * sizeof(char) );
- strcpy(msg, "");
-
- for( i = 0 ; i < max ; i++ )
- {
- str = getTableItem(i);
-
- if( str == NULL )
- {
- break;
- }
-
- strcat(msg, str);
- strcat(msg, "\n");
- }
-
- //proto_send(type, client, msg);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
- free(msg);
-}
-
-void proto_recv_listscore_server(client_t *client, char *msg)
-{
- char cmd[STR_PROTO_SIZE];
- int recv_count;
- int max;
-
- assert( msg != NULL );
-
- recv_count = sscanf(msg, "%s %d",
- cmd, &max);
-
- if( recv_count != 2 )
- {
- max = HEIGHTSCORE_MAX_PLAYERS;
- }
-
- proto_send_listscore_server(PROTO_SEND_ONE, client, max);
-}
-
-#endif
-
-#ifndef PUBLIC_SERVER
-
-void proto_send_check_client(int id)
-{
- char msg[STR_PROTO_SIZE];
-
- snprintf(msg, STR_PROTO_SIZE, "check %d\n", id);
- sendServer(msg);
-}
-
-#endif
-
-void proto_recv_check_server(client_t *client, char *msg)
-{
- char cmd[STR_PROTO_SIZE];
- int recv_count;
- int id;
-
- assert( msg != NULL );
-
- recv_count = sscanf(msg, "%s %d",
- cmd, &id);
-
- if( recv_count != 2 )
- {
- return;
- }
-
- delMsgInCheckFront(client->listSendMsg, id);
-}
-
-void proto_send_init_server(int type, client_t *client, client_t *client2)
-{
- char msg[STR_PROTO_SIZE];
- int count;
- int check_id;
-
- assert( client2 != NULL );
-
- count = WORLD_COUNT_ROUND_UNLIMITED;
-
-#ifndef PUBLIC_SERVER
- getSettingCountRound(&count);
-#endif
-
- check_id = getNewIDcount(0);
-
- snprintf(msg, STR_PROTO_SIZE, "init %d %d %d %d %s %d\n",
- client2->tux->id, client2->tux->x, client2->tux->y,
- count, getArenaNetName( getChoiceArena() ), check_id);
-
- //proto_send(type, client, msg);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_CHECK, check_id);
-}
-
-#ifndef PUBLIC_SERVER
-
-void proto_recv_init_client(char *msg)
-{
- char cmd[STR_PROTO_SIZE];
- char arena_name[STR_PROTO_SIZE];
- tux_t *tux;
- int id;
- int x, y, n;
- int check_id;
- int recv_count;
- arena_t *arena;
-
- assert( msg != NULL );
-
- recv_count = sscanf(msg, "%s %d %d %d %d %s %d",
- cmd, &id, &x, &y, &n, arena_name, &check_id);
-
- if( recv_count != 7 )
- {
- return;
- }
-
- proto_send_check_client(check_id);
-
- if( getCurrentArena() != NULL )
- {
- return;
- }
-
- setWorldArena( getArenaFileFormNetName(arena_name) );
-
- arena = getCurrentArena();
- arena->max_countRound = n;
-
- tux = newTux();
- replaceTuxID(tux, id);
- tux->x = x;
- tux->y = y;
- tux->control = TUX_CONTROL_KEYBOARD_RIGHT;
- setControlTux(tux, TUX_CONTROL_KEYBOARD_RIGHT);
-
- getSettingNameRight(tux->name);
-
- addObjectToSpace(arena->spaceTux, tux);
-}
-
-#endif
-
-void proto_send_event_server(int type, client_t *client, tux_t *tux, int action)
-{
- char msg[STR_PROTO_SIZE];
-
- snprintf(msg, STR_PROTO_SIZE, "event %d %d\n", tux->id, action);
-
- //proto_send(type, client, msg);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
-}
-
-#ifndef PUBLIC_SERVER
-
-void proto_recv_event_client(char *msg)
-{
- char cmd[STR_PROTO_SIZE];
- int id, action;
- tux_t *tux;
- int recv_count;
-
- assert( msg != NULL );
-
- recv_count = sscanf(msg, "%s %d %d", cmd, &id, &action);
-
- if( recv_count != 3 )
- {
- return;
- }
-
- tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
-
- if( tux != NULL )
- {
- actionTux(tux, action);
- addToRadar(tux->id, tux->x, tux->y, RADAR_TYPE_TUX);
- }
-}
-
-#endif
-
-#ifndef PUBLIC_SERVER
-
-void proto_send_event_client(int action)
-{
- char msg[STR_PROTO_SIZE];
-
- snprintf(msg, STR_PROTO_SIZE, "event %d\n", action);
-
- sendServer(msg);
-}
-
-#endif
-
-void proto_recv_event_server(client_t *client, char *msg)
-{
- char cmd[STR_PROTO_SIZE];
- int action;
- int recv_count;
-
- assert( client != NULL );
- assert( msg != NULL );
-
- //debug_interval();
-
- recv_count = sscanf(msg, "%s %d", cmd, &action);
-
- if( recv_count != 2 )
- {
- return;
- }
-
- if( client->tux->bonus != BONUS_HIDDEN )
- {
- proto_send_event_server(PROTO_SEND_ALL_SEES_TUX, client, client->tux, action);
- }
-
- refreshLastMove(client->protect);
-
- actionTux(client->tux, action);
-}
-
-void proto_send_newtux_server(int type, client_t *client, tux_t *tux)
-{
- char msg[STR_PROTO_SIZE];
- int x, y;
-
- assert( tux != NULL );
-
- if( tux->bonus == BONUS_HIDDEN )
- {
- x = TUX_LOCATE_UNKNOWN;
- y = TUX_LOCATE_UNKNOWN;
- }
- else
- {
- getTuxProportion(tux, &x, &y, NULL, NULL);
- }
-
- snprintf(msg, STR_PROTO_SIZE,
- "newtux %d %d %d %d %d %d %d %s %d %d %d %d %d %d %d %d %d %d %d\n",
- tux->id ,x, y, tux->status, tux->position ,tux->frame, tux->score, tux->name,
- tux->gun, tux->bonus, tux->shot[GUN_SIMPLE], tux->shot[GUN_DUAL_SIMPLE],
- tux->shot[GUN_SCATTER], tux->shot[GUN_TOMMY], tux->shot[GUN_LASSER],
- tux->shot[GUN_MINE], tux->shot[GUN_BOMBBALL],
- tux->bonus_time, tux->pickup_time);
-
- //proto_send(type, client, msg);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
-}
-
-#ifndef PUBLIC_SERVER
-
-void proto_recv_newtux_client(char *msg)
-{
- char cmd[STR_PROTO_SIZE];
- char name[STR_NAME_SIZE];
- int id, x, y, status, position, frame, score;
- int myGun, myBonus;
- int gun1, gun2, gun3, gun4, gun5, gun6, gun7;
- int time1, time2;
- tux_t *tux;
- int recv_count;
-
- assert( msg != NULL );
-
- if( getCurrentArena() == NULL )
- {
- return;
- }
-
- recv_count = sscanf(msg, "%s %d %d %d %d %d %d %d %s %d %d %d %d %d %d %d %d %d %d %d",
- cmd, &id, &x, &y, &status, &position, &frame, &score, name,
- &myGun, &myBonus, &gun1, &gun2, &gun3, &gun4, &gun5, &gun6, &gun7, &time1, &time2);
-
- if( recv_count != 20 )
- {
- return;
- }
-
- tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
-
- if( tux != NULL )
- {
- assert( tux->id == id );
- }
-
- if( tux == NULL )
- {
- tux = newTux();
- replaceTuxID(tux, id);
- tux->control = TUX_CONTROL_NET;
- addObjectToSpace(getCurrentArena()->spaceTux, tux);
- }
-
- if( tux->control == TUX_CONTROL_KEYBOARD_RIGHT &&
- x == TUX_LOCATE_UNKNOWN && y == TUX_LOCATE_UNKNOWN )
- {
- getTuxProportion(tux, &x, &y, NULL, NULL);
- }
-
- addToRadar(id, x, y, RADAR_TYPE_TUX);
-
- if( tux->bonus == BONUS_HIDDEN )
- {
- delFromRadar(id);
- }
-
- moveObjectInSpace(getCurrentArena()->spaceTux, tux, x, y);
- tux->status = status;
- tux->position = position;
- tux->frame = frame;
- tux->score = score;
- strcpy(tux->name, name);
- tux->gun = myGun;
- tux->bonus = myBonus;
- tux->shot[GUN_SIMPLE] = gun1;
- tux->shot[GUN_DUAL_SIMPLE] = gun2;
- tux->shot[GUN_SCATTER] = gun3;
- tux->shot[GUN_TOMMY] = gun4;
- tux->shot[GUN_LASSER] = gun5;
- tux->shot[GUN_MINE] = gun6;
- tux->shot[GUN_BOMBBALL] = gun7;
- tux->bonus_time = time1;
- tux->pickup_time = time2;
-}
-
-#endif
-
-void proto_send_kill_server(int type, client_t *client, tux_t *tux)
-{
- char msg[STR_PROTO_SIZE];
-
- assert( tux != NULL );
-
- snprintf(msg, STR_PROTO_SIZE, "kill %d\n", tux->id);
-
- //proto_send(type, client, msg);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
-}
-
-#ifndef PUBLIC_SERVER
-
-void proto_recv_kill_client(char *msg)
-{
- char cmd[STR_PROTO_SIZE];
- int id;
- tux_t *tux;
- int recv_count;
-
- assert( msg != NULL );
-
- recv_count = sscanf(msg, "%s %d", cmd, &id);
-
- if( recv_count != 2 )
- {
- return;
- }
-
- tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
-
- if( tux != NULL )
- {
- eventTuxIsDead(tux);
- }
-}
-
-#endif
-
-void proto_send_del_server(int type, client_t *client, int id)
-{
- char msg[STR_PROTO_SIZE];
- int check_id;
-
- check_id = getNewIDcount(0);
-
- snprintf(msg, STR_PROTO_SIZE, "del %d %d\n",
- id, check_id);
-
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_CHECK, check_id);
- //proto_check(type, client, msg, check_id);
-}
-
-#ifndef PUBLIC_SERVER
-
-void proto_recv_del_client(char *msg)
-{
- char cmd[STR_PROTO_SIZE];
- int id, check_id;
- tux_t *tux;
- shot_t *shot;
- item_t *item;
- int recv_count;
-
- assert( msg != NULL );
-
- recv_count = sscanf(msg, "%s %d %d",
- cmd, &id, &check_id);
-
- if( recv_count != 3 )
- {
- return;
- }
-
- proto_send_check_client(check_id);
-
- tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
-
- if( tux != NULL )
- {
- delFromRadar(id);
- delObjectFromSpaceWithObject(getCurrentArena()->spaceTux, tux, destroyTux);
- return;
- }
-
- shot = getObjectFromSpaceWithID(getCurrentArena()->spaceShot, id);
-
- if( shot != NULL )
- {
- //printf("delete shot..\n");
- delFromRadar(id);
- delObjectFromSpaceWithObject(getCurrentArena()->spaceShot, shot, destroyShot);
- return;
- }
-
- item = getObjectFromSpaceWithID(getCurrentArena()->spaceItem, id);
-
- if( item != NULL )
- {
- //printf("delete item..\n");
- delFromRadar(id);
- delObjectFromSpaceWithObject(getCurrentArena()->spaceItem, item, destroyItem);
- return;
- }
-}
-
-#endif
-
-void proto_send_additem_server(int type, client_t *client, item_t *p)
-{
- char msg[STR_PROTO_SIZE];
- int check_id;
-
- assert( p != NULL );
-
- check_id = getNewIDcount(0);
-
- snprintf(msg, STR_PROTO_SIZE, "additem %d %d %d %d %d %d %d %d\n",
- p->id, p->type, p->x, p->y, p->count, p->frame, p->author_id, check_id);
-
- //proto_send(type, client, msg);
- //proto_check(type, client, msg, check_id);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_CHECK, check_id);
-}
-
-#ifndef PUBLIC_SERVER
-
-void proto_recv_additem_client(char *msg)
-{
- char cmd[STR_PROTO_SIZE];
- int id, type, x, y, count, frame, author_id, check_id;
- item_t *item;
- int recv_count;
-
- assert( msg != NULL );
-
- if( getCurrentArena() == NULL )
- {
- return;
- }
-
- recv_count = sscanf(msg, "%s %d %d %d %d %d %d %d %d",
- cmd, &id, &type, &x, &y, &count, &frame, &author_id, &check_id);
-
- if( recv_count != 9 )
- {
- return;
- }
-
- proto_send_check_client(check_id);
-
- if( ( item = getObjectFromSpaceWithID(getCurrentArena()->spaceItem, id) ) != NULL )
- {
- return;
- }
-
- if( type != ITEM_MINE && type != ITEM_EXPLOSION && type != ITEM_BIG_EXPLOSION )
- {
- addToRadar(id, x, y, RADAR_TYPE_ITEM);
- }
-
- item = newItem(x, y, type, author_id);
-
- replaceItemID(item, id);
- item->count = count;
- item->frame = frame;
-
- addObjectToSpace(getCurrentArena()->spaceItem, item);
-}
-
-#endif
-
-void proto_send_shot_server(int type, client_t *client, shot_t *p)
-{
- char msg[STR_PROTO_SIZE];
-
- assert( p != NULL );
-
- snprintf(msg, STR_PROTO_SIZE, "shot %d %d %d %d %d %d %d %d %d\n",
- p->id, p->x, p->y, p->px, p->py, p->position, p->gun, p->author_id, p->isCanKillAuthor);
-
- //proto_send(type, client, msg);
- //proto_check(type, client, msg, check_id);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
-}
-
-#ifndef PUBLIC_SERVER
-
-void proto_recv_shot_client(char *msg)
-{
- char cmd[STR_PROTO_SIZE];
- int x, y, px, py, position, gun, shot_id, author_id, isCanKillAuthor;
- shot_t *shot;
- int recv_count;
-
- assert( msg != NULL );
-
- recv_count = sscanf(msg, "%s %d %d %d %d %d %d %d %d %d",
- cmd, &shot_id, &x, &y, &px, &py, &position, &gun, &author_id, &isCanKillAuthor);
-
- if( recv_count != 10 )
- {
- return;
- }
-
- if( ( shot = getObjectFromSpaceWithID(getCurrentArena()->spaceShot, shot_id) ) != NULL )
- {
- delObjectFromSpaceWithObject(getCurrentArena()->spaceShot, shot, destroyShot);
-
- //return;
- }
-
- shot = newShot(x, y, px, py, gun, author_id);
-
- replaceShotID(shot, shot_id);
- shot->isCanKillAuthor = isCanKillAuthor;
- shot->position = position;
-
- if( shot->gun == GUN_LASSER )
- {
- transformOnlyLasser(shot);
- }
-
- addObjectToSpace(getCurrentArena()->spaceShot, shot);
-}
-
-#endif
-
-#ifndef PUBLIC_SERVER
-
-void proto_send_chat_client(char *s)
-{
- char msg[STR_PROTO_SIZE];
- snprintf(msg, STR_PROTO_SIZE, "chat %s\n", s);
- sendServer(msg);
-}
-
-#endif
-
-void proto_recv_chat_server(client_t *client, char *msg)
-{
- char out[STR_PROTO_SIZE];
- int len;
-
- if( client->tux == NULL )
- {
- return;
- }
-
- len = strlen(msg);
- msg[len-1] = '\0';
-
- snprintf(out, STR_PROTO_SIZE, "chat %s:%s\n", client->tux->name, msg+5);
-
- proto_send_chat_server(PROTO_SEND_ALL, NULL, out);
-}
-
-void proto_send_chat_server(int type, client_t *client, char *msg)
-{
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
-
-#ifndef PUBLIC_SERVER
- proto_recv_chat_client(msg);
-#endif
-}
-
-#ifndef PUBLIC_SERVER
-
-void proto_recv_chat_client(char *msg)
-{
- int len;
-
- assert( msg != NULL );
-
- len = strlen(msg);
- msg[len-1] = '\0';
-
- addToChat(msg+5);
-}
-
-#endif
-
-#ifndef PUBLIC_SERVER
-
-void proto_send_module_client(char *msg)
-{
- char out[STR_PROTO_SIZE];
-
- snprintf(out, STR_PROTO_SIZE, "module %s\n", msg);
-/*
- strcpy(out, "modules ");
- strcat(out, msg);
- strcat(out, "\n");
-*/
- sendServer(out);
-}
-
-#endif
-
-void proto_recv_module_server(client_t *client, char *msg)
-{
- recvMsgModule(msg+7);
-}
-
-void proto_send_module_server(int type, client_t *client, char *msg)
-{
- char out[STR_PROTO_SIZE];
-
- snprintf(out, STR_PROTO_SIZE, "module %s\n", msg);
-/*
- strcpy(out, "modules ");
- strcat(out, msg);
- strcat(out, "\n");
-*/
-
- protoSendClient(type, client, out, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
-}
-
-#ifndef PUBLIC_SERVER
-
-void proto_recv_module_client(char *msg)
-{
- recvMsgModule(msg+7);
-}
-
-#endif
-
-#ifndef PUBLIC_SERVER
-
-void proto_send_ping_client()
-{
- char msg[STR_PROTO_SIZE];
- snprintf(msg, STR_PROTO_SIZE, "ping\n");
- sendServer(msg);
-}
-
-#endif
-
-void proto_recv_ping_server(client_t *client, char *msg)
-{
-}
-
-void proto_send_ping_server(int type, client_t *client)
-{
- char msg[STR_PROTO_SIZE];
- snprintf(msg, STR_PROTO_SIZE, "ping\n");
- //proto_send(type, client, msg);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
-}
-
-#ifndef PUBLIC_SERVER
-
-void proto_recv_ping_client(char *msg)
-{
-}
-
-#endif
-
-void proto_recv_echo_server(client_t *client, char *msg)
-{
- proto_send_echo_server(PROTO_SEND_ONE, client, msg+4); // msg + strlen("echo");
-}
-
-void proto_send_echo_server(int type, client_t *client, char *s)
-{
- char msg[STR_PROTO_SIZE];
-
- snprintf(msg, STR_PROTO_SIZE, "echo%s", s);
- //proto_send(type, client, msg);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
-}
-
-void proto_send_end_server(int type, client_t *client)
-{
- char msg[STR_PROTO_SIZE];
-
- snprintf(msg, STR_PROTO_SIZE, "end\n");
- //proto_send(type, client, msg);
- protoSendClient(type, client, msg, CHECK_FRONT_TYPE_SIMPLE, CHECK_FRONT_ID_NONE);
-}
-
-#ifndef PUBLIC_SERVER
-
-void proto_recv_end_client(char *msg)
-{
- assert( msg != NULL );
-
- setWorldEnd();
-}
-
-#endif
-
-#ifndef PUBLIC_SERVER
-
-void proto_send_end_client()
-{
- char msg[STR_PROTO_SIZE];
-
- snprintf(msg, STR_PROTO_SIZE, "end\n");
- sendServer(msg);
-}
-
-#endif
-
-void proto_recv_end_server(client_t *client, char *msg)
-{
- assert( msg != NULL );
- assert( client != NULL );
-
- client->status = NET_STATUS_ZOMBIE;
-}
-
diff --git a/src/base/server.c b/src/base/server.c
index 2142db2..836b9d2 100644
--- a/src/base/server.c
+++ b/src/base/server.c
@@ -51,353 +51,348 @@ static int maxClients;
typedef struct proto_cmd_server_struct
{
- char *name;
- int len;
- int tux;
- void (*fce_proto) (client_t *, char *msg);
+ char *name;
+ int len;
+ int tux;
+ void (*fce_proto)(client_t *,char *msg);
} proto_cmd_server_t;
-static proto_cmd_server_t proto_cmd_list[] = {
- {.name = "hello",.len = 5,.tux = 0,.fce_proto = proto_recv_hello_server},
- {.name = "status",.len = 6,.tux = 0,.fce_proto = proto_recv_status_server},
+static proto_cmd_server_t proto_cmd_list[] =
+{
+ { .name = "hello", .len = 5, .tux = 0, .fce_proto = proto_recv_hello_server },
+ { .name = "status", .len = 6, .tux = 0, .fce_proto = proto_recv_status_server },
#ifdef PUBLIC_SERVER
- {.name = "list",.len = 4,.tux = 0,.fce_proto =
- proto_recv_listscore_server},
+ { .name = "list", .len = 4, .tux = 0, .fce_proto = proto_recv_listscore_server },
#endif
- {.name = "event",.len = 5,.tux = 1,.fce_proto = proto_recv_event_server},
- {.name = "check",.len = 5,.tux = 1,.fce_proto = proto_recv_check_server},
- {.name = "module",.len = 6,.tux = 1,.fce_proto = proto_recv_module_server},
- {.name = "chat",.len = 4,.tux = 1,.fce_proto = proto_recv_chat_server},
- {.name = "ping",.len = 4,.tux = 1,.fce_proto = proto_recv_ping_server},
- {.name = "echo",.len = 4,.tux = 0,.fce_proto = proto_recv_echo_server},
- {.name = "end",.len = 3,.tux = 1,.fce_proto = proto_recv_end_server},
- {.name = "",.len = 0,.tux = 0,.fce_proto = NULL},
+ { .name = "event", .len = 5, .tux = 1, .fce_proto = proto_recv_event_server },
+ { .name = "check", .len = 5, .tux = 1, .fce_proto = proto_recv_check_server },
+ { .name = "module", .len = 6, .tux = 1, .fce_proto = proto_recv_module_server },
+ { .name = "chat", .len = 4, .tux = 1, .fce_proto = proto_recv_chat_server },
+ { .name = "ping", .len = 4, .tux = 1, .fce_proto = proto_recv_ping_server },
+ { .name = "echo", .len = 4, .tux = 0, .fce_proto = proto_recv_echo_server },
+ { .name = "end", .len = 3, .tux = 1, .fce_proto = proto_recv_end_server },
+ { .name = "", .len = 0, .tux = 0, .fce_proto = NULL },
};
-static proto_cmd_server_t *
-findCmdProto(client_t * client, char *msg)
+static proto_cmd_server_t* findCmdProto(client_t *client, char *msg)
{
- int len;
- int i;
-
- len = strlen(msg);
+ int len;
+ int i;
- for (i = 0; proto_cmd_list[i].len != 0; i++) {
- proto_cmd_server_t *thisCmd;
+ len = strlen(msg);
- thisCmd = &proto_cmd_list[i];
+ for( i = 0 ; proto_cmd_list[i].len != 0 ; i++ )
+ {
+ proto_cmd_server_t *thisCmd;
+
+ thisCmd = &proto_cmd_list[i];
- if (len >= thisCmd->len
- && strncmp(msg, thisCmd->name, thisCmd->len) == 0) {
- if (thisCmd->tux && client->tux == NULL) {
- return NULL;
- }
+ if( len >= thisCmd->len && strncmp(msg, thisCmd->name, thisCmd->len) == 0 )
+ {
+ if( thisCmd->tux && client->tux == NULL )
+ {
+ return NULL;
+ }
- return thisCmd;
- }
- }
+ return thisCmd;
+ }
+ }
- return NULL;
+ return NULL;
}
-static void
-startUpdateServer()
+static void startUpdateServer()
{
- timeUpdate = time(NULL);
+ timeUpdate = time(NULL);
}
-time_t
-getUpdateServer()
+time_t getUpdateServer()
{
- return time(NULL) - timeUpdate;
+ return time(NULL) - timeUpdate;
}
-client_t *
-newAnyClient()
+client_t* newAnyClient()
{
- client_t *new;
+ client_t *new;
- new = malloc(sizeof(client_t));
- memset(new, 0, sizeof(client_t));
+ new = malloc( sizeof(client_t) );
+ memset(new, 0, sizeof(client_t));
- new->status = NET_STATUS_OK;
- new->listRecvMsg = newList();
- new->listSendMsg = newCheckFront();
- new->listSeesShot = newList();
- new->protect = newProtect();
+ new->status = NET_STATUS_OK;
+ new->listRecvMsg = newList();
+ new->listSendMsg = newCheckFront();
+ new->listSeesShot = newList();
+ new->protect = newProtect();
- return new;
+ return new;
}
-void
-destroyAnyClient(client_t * p)
+void destroyAnyClient(client_t *p)
{
- assert(p != NULL);
+ assert( p != NULL );
- //eventMsgInCheckFront(p);
- destroyListItem(p->listRecvMsg, free);
- destroyListItem(p->listSeesShot, free);
- destroyCheckFront(p->listSendMsg);
+ //eventMsgInCheckFront(p);
+ destroyListItem(p->listRecvMsg, free);
+ destroyListItem(p->listSeesShot, free);
+ destroyCheckFront(p->listSendMsg);
- destroyProtect(p->protect);
+ destroyProtect(p->protect);
- if (p->tux != NULL) {
+ if( p->tux != NULL )
+ {
#ifdef PUBLIC_SERVER
- addPlayerInHighScore(p->tux->name, p->tux->score);
+ addPlayerInHighScore(p->tux->name, p->tux->score);
#endif
- delObjectFromSpaceWithObject(getCurrentArena()->spaceTux, p->tux,
- destroyTux);
- }
+ delObjectFromSpaceWithObject(getCurrentArena()->spaceTux, p->tux, destroyTux);
+ }
- free(p);
+ free(p);
}
-static void
-eventDelClientFromListClient(client_t * client)
+static void eventDelClientFromListClient(client_t *client)
{
- int offset;
+ int offset;
- offset = searchListItem(listClient, client);
+ offset = searchListItem(listClient, client);
- assert(offset != -1);
+ assert( offset != -1 );
- delListItem(listClient, offset, destroyUdpClient);
+ delListItem(listClient, offset, destroyUdpClient);
}
-static void
-delZombieCLient(void *p_nothink)
+static void delZombieCLient(void *p_nothink)
{
- client_t *thisClient;
- my_time_t currentTime;
- int i;
-
- currentTime = getMyTime();
-
- for (i = 0; i < listClient->count; i++) {
- thisClient = (client_t *) listClient->list[i];
-
- if (isDown(thisClient->protect) == TRUE) {
- proto_send_end_server(PROTO_SEND_ONE, thisClient);
- eventMsgInCheckFront(thisClient);
- thisClient->status = NET_STATUS_ZOMBIE;
- }
-
- if (thisClient->status == NET_STATUS_ZOMBIE) {
- if (thisClient->tux != NULL) {
- proto_send_del_server(PROTO_SEND_ALL, NULL, thisClient->tux->id);
- }
-
- eventDelClientFromListClient(thisClient);
- i--;
- }
- }
+ client_t *thisClient;
+ my_time_t currentTime;
+ int i;
+
+ currentTime = getMyTime();
+
+ for( i = 0 ; i < listClient->count; i++)
+ {
+ thisClient = (client_t *) listClient->list[i];
+
+ if( isDown(thisClient->protect) == TRUE )
+ {
+ proto_send_end_server(PROTO_SEND_ONE, thisClient);
+ eventMsgInCheckFront(thisClient);
+ thisClient->status = NET_STATUS_ZOMBIE;
+ }
+
+ if( thisClient->status == NET_STATUS_ZOMBIE )
+ {
+ if( thisClient->tux != NULL )
+ {
+ proto_send_del_server(PROTO_SEND_ALL, NULL, thisClient->tux->id);
+ }
+
+ eventDelClientFromListClient(thisClient);
+ i--;
+ }
+ }
}
-static void
-eventPeriodicSyncClient(void *p_nothink)
+static void eventPeriodicSyncClient(void *p_nothink)
{
- client_t *thisClientSend;
- tux_t *thisTux;
- int i;
+ client_t *thisClientSend;
+ tux_t *thisTux;
+ int i;
#ifndef PUBLIC_SERVER
- proto_send_newtux_server(PROTO_SEND_ALL_SEES_TUX, NULL,
- getControlTux(TUX_CONTROL_KEYBOARD_RIGHT));
+ proto_send_newtux_server(PROTO_SEND_ALL_SEES_TUX, NULL, getControlTux(TUX_CONTROL_KEYBOARD_RIGHT));
#endif
- for (i = 0; i < listClient->count; i++) {
- thisClientSend = (client_t *) listClient->list[i];
- thisTux = thisClientSend->tux;
+ for( i = 0 ; i < listClient->count; i++ )
+ {
+ thisClientSend = (client_t *) listClient->list[i];
+ thisTux = thisClientSend->tux;
- if (thisTux == NULL) {
- continue;
- }
+ if( thisTux == NULL )
+ {
+ continue;
+ }
- //proto_send_newtux_server(PROTO_SEND_ALL_SEES_TUX, thisClientSend, thisTux);
- proto_send_newtux_server(PROTO_SEND_BUT, thisClientSend, thisTux);
- }
+ //proto_send_newtux_server(PROTO_SEND_ALL_SEES_TUX, thisClientSend, thisTux);
+ proto_send_newtux_server(PROTO_SEND_BUT, thisClientSend, thisTux);
+ }
}
-static void
-eventSendPingClients(void *p_nothink)
+static void eventSendPingClients(void *p_nothink)
{
- proto_send_ping_server(PROTO_SEND_ALL, NULL);
+ proto_send_ping_server(PROTO_SEND_ALL, NULL);
}
-void
-setServerTimer()
+void setServerTimer()
{
- if (listServerTimer != NULL) {
- destroyTimer(listServerTimer);
- }
-
- restartTimer();
- listServerTimer = newTimer();
-
- addTaskToTimer(listServerTimer, TIMER_PERIODIC, delZombieCLient, NULL,
- SERVER_TIMEOUT);
- addTaskToTimer(listServerTimer, TIMER_PERIODIC, eventPeriodicSyncClient,
- NULL, SERVER_TIME_SYNC);
- addTaskToTimer(listServerTimer, TIMER_PERIODIC, eventSendPingClients, NULL,
- SERVER_TIME_PING);
+ if( listServerTimer != NULL )
+ {
+ destroyTimer(listServerTimer);
+ }
+
+ restartTimer();
+ listServerTimer = newTimer();
+
+ addTaskToTimer(listServerTimer, TIMER_PERIODIC, delZombieCLient, NULL, SERVER_TIMEOUT);
+ addTaskToTimer(listServerTimer, TIMER_PERIODIC, eventPeriodicSyncClient, NULL, SERVER_TIME_SYNC);
+ addTaskToTimer(listServerTimer, TIMER_PERIODIC, eventSendPingClients, NULL, SERVER_TIME_PING);
}
-int
-initServer(char *ip4, int port4, char *ip6, int port6)
+int initServer(char *ip4, int port4, char *ip6, int port6)
{
- int ret;
+ int ret;
- startUpdateServer();
- listServerTimer = NULL;
+ startUpdateServer();
+ listServerTimer = NULL;
- listClient = newList();
+ listClient = newList();
- setServerMaxClients(SERVER_MAX_CLIENTS);
- setServerTimer();
+ setServerMaxClients(SERVER_MAX_CLIENTS);
+ setServerTimer();
- ret = initUdpServer(ip4, port4, ip6, port6);
+ ret = initUdpServer(ip4, port4, ip6, port6);
- if (ret == 0) {
- return -1;
- }
+ if( ret == 0 )
+ {
+ return -1;
+ }
- return ret;
+ return ret;
}
-list_t *
-getListServerClient()
+list_t* getListServerClient()
{
- return listClient;
+ return listClient;
}
-int
-getServerMaxClients()
+int getServerMaxClients()
{
- return maxClients;
+ return maxClients;
}
-void
-setServerMaxClients(int n)
+void setServerMaxClients(int n)
{
- maxClients = n;
+ maxClients = n;
}
-void
-sendClient(client_t * p, char *msg)
+void sendClient(client_t *p, char *msg)
{
- assert(p != NULL);
- assert(msg != NULL);
+ assert( p != NULL );
+ assert( msg != NULL );
- if (p->status != NET_STATUS_ZOMBIE) {
- int ret = -1; // no Warnnings
+ if( p->status != NET_STATUS_ZOMBIE )
+ {
+ int ret = -1; // no Warnnings
#ifndef PUBLIC_SERVER
- if (isParamFlag("--send")) {
- printf(_("Sending: \"%s\""), msg);
- }
+ if( isParamFlag("--send") )
+ {
+ printf(_("Sending: \"%s\""), msg);
+ }
#endif
- ret = writeUdpSocket(p->socket_udp, p->socket_udp, msg, strlen(msg));
+ ret = writeUdpSocket(p->socket_udp, p->socket_udp, msg, strlen(msg));
- if (ret <= 0) {
- p->status = NET_STATUS_ZOMBIE;
- }
- }
+ if( ret <= 0 )
+ {
+ p->status = NET_STATUS_ZOMBIE;
+ }
+ }
}
-static void
-eventClientWorkRecvList(client_t * client)
+static void eventClientWorkRecvList(client_t *client)
{
- proto_cmd_server_t *protoCmd;
- char *line;
- int i;
-
- assert(client != NULL);
+ proto_cmd_server_t* protoCmd;
+ char *line;
+ int i;
- /* obsluha udalosti od clientov */
+ assert( client != NULL );
- for (i = 0; i < client->listRecvMsg->count; i++) {
- line = (char *) client->listRecvMsg->list[i];
- protoCmd = findCmdProto(client, line);
+ /* obsluha udalosti od clientov */
+
+ for( i = 0 ; i < client->listRecvMsg->count ; i++ )
+ {
+ line = (char *)client->listRecvMsg->list[i];
+ protoCmd = findCmdProto(client, line);
#ifndef PUBLIC_SERVER
- if (isParamFlag("--recv")) {
- printf(_("Recieved: \"%s\""), line);
- }
+ if( isParamFlag("--recv") )
+ {
+ printf(_("Recieved: \"%s\""), line);
+ }
#endif
- if (protoCmd != NULL) {
- protoCmd->fce_proto(client, line);
- rereshLastPing(client->protect);
- }
- else {
- proto_send_error_server(PROTO_SEND_ONE, client,
- PROTO_ERROR_CODE_BAD_COMMAND);
- }
- }
-
- destroyListItem(client->listRecvMsg, free);
- client->listRecvMsg = newList();
+ if( protoCmd != NULL )
+ {
+ protoCmd->fce_proto(client, line);
+ rereshLastPing(client->protect);
+ }
+ else
+ {
+ proto_send_error_server(PROTO_SEND_ONE, client, PROTO_ERROR_CODE_BAD_COMMAND);
+ }
+ }
+
+ destroyListItem(client->listRecvMsg, free);
+ client->listRecvMsg = newList();
}
-static void
-porcesListClients()
+static void porcesListClients()
{
- int i;
- client_t *thisClient;
+ int i;
+ client_t *thisClient;
- for (i = 0; i < listClient->count; i++) {
- thisClient = (client_t *) listClient->list[i];
+ for( i = 0 ; i < listClient->count; i++)
+ {
+ thisClient = (client_t *) listClient->list[i];
- eventClientWorkRecvList(thisClient);
- eventMsgInCheckFront(thisClient);
- }
+ eventClientWorkRecvList(thisClient);
+ eventMsgInCheckFront(thisClient);
+ }
}
-void
-eventServer()
+void eventServer()
{
#ifndef PUBLIC_SERVER
- int count;
+ int count;
- do {
- restartSelect();
- setServerUdpSelect();
- actionSelect();
- count = selectServerUdpSocket();
- } while (count > 0);
+ do{
+ restartSelect();
+ setServerUdpSelect();
+ actionSelect();
+ count = selectServerUdpSocket();
+ }while( count > 0 );
#endif
#ifdef PUBLIC_SERVER
- int ret;
+ int ret;
- restartSelect();
+ restartSelect();
- setServerUdpSelect();
+ setServerUdpSelect();
- ret = actionSelect();
+ ret = actionSelect();
- if (ret > 0) {
- selectServerUdpSocket();
- }
+ if( ret > 0 )
+ {
+ selectServerUdpSocket();
+ }
#endif
- porcesListClients();
- eventTimer(listServerTimer);
+ porcesListClients();
+ eventTimer(listServerTimer);
}
-void
-quitServer()
+void quitServer()
{
- proto_send_end_server(PROTO_SEND_ALL, NULL);
+ proto_send_end_server(PROTO_SEND_ALL, NULL);
- assert(listClient != NULL);
+ assert( listClient != NULL );
- destroyListItem(listClient, destroyUdpClient);
+ destroyListItem(listClient, destroyUdpClient);
- destroyTimer(listServerTimer);
+ destroyTimer(listServerTimer);
- quitUdpServer();
+ quitUdpServer();
}
diff --git a/src/base/server.c~ b/src/base/server.c~
deleted file mode 100644
index 836b9d2..0000000
--- a/src/base/server.c~
+++ /dev/null
@@ -1,398 +0,0 @@
-
-#ifndef __WIN32__
-# include <sys/socket.h>
-# include <sys/types.h>
-# include <netinet/in.h>
-# include <arpa/inet.h>
-# include <netdb.h>
-#else
-# include <windows.h>
-# include <wininet.h>
-#endif
-
-#include <unistd.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <assert.h>
-#include <fcntl.h>
-
-#include "main.h"
-#include "list.h"
-#include "tux.h"
-#include "proto.h"
-#include "server.h"
-#include "myTimer.h"
-#include "arena.h"
-#include "net_multiplayer.h"
-#include "checkFront.h"
-#include "protect.h"
-#include "index.h"
-#include "serverSelect.h"
-#include "serverSendMsg.h"
-
-#ifndef PUBLIC_SERVER
-#include "screen_world.h"
-#endif
-
-#ifdef PUBLIC_SERVER
-#include "publicServer.h"
-#include "heightScore.h"
-#endif
-
-
-#include "udp_server.h"
-
-static list_t *listClient;
-
-static list_t *listServerTimer;
-static time_t timeUpdate;
-static int maxClients;
-
-typedef struct proto_cmd_server_struct
-{
- char *name;
- int len;
- int tux;
- void (*fce_proto)(client_t *,char *msg);
-} proto_cmd_server_t;
-
-static proto_cmd_server_t proto_cmd_list[] =
-{
- { .name = "hello", .len = 5, .tux = 0, .fce_proto = proto_recv_hello_server },
- { .name = "status", .len = 6, .tux = 0, .fce_proto = proto_recv_status_server },
-#ifdef PUBLIC_SERVER
- { .name = "list", .len = 4, .tux = 0, .fce_proto = proto_recv_listscore_server },
-#endif
- { .name = "event", .len = 5, .tux = 1, .fce_proto = proto_recv_event_server },
- { .name = "check", .len = 5, .tux = 1, .fce_proto = proto_recv_check_server },
- { .name = "module", .len = 6, .tux = 1, .fce_proto = proto_recv_module_server },
- { .name = "chat", .len = 4, .tux = 1, .fce_proto = proto_recv_chat_server },
- { .name = "ping", .len = 4, .tux = 1, .fce_proto = proto_recv_ping_server },
- { .name = "echo", .len = 4, .tux = 0, .fce_proto = proto_recv_echo_server },
- { .name = "end", .len = 3, .tux = 1, .fce_proto = proto_recv_end_server },
- { .name = "", .len = 0, .tux = 0, .fce_proto = NULL },
-};
-
-static proto_cmd_server_t* findCmdProto(client_t *client, char *msg)
-{
- int len;
- int i;
-
- len = strlen(msg);
-
- for( i = 0 ; proto_cmd_list[i].len != 0 ; i++ )
- {
- proto_cmd_server_t *thisCmd;
-
- thisCmd = &proto_cmd_list[i];
-
- if( len >= thisCmd->len && strncmp(msg, thisCmd->name, thisCmd->len) == 0 )
- {
- if( thisCmd->tux && client->tux == NULL )
- {
- return NULL;
- }
-
- return thisCmd;
- }
- }
-
- return NULL;
-}
-
-static void startUpdateServer()
-{
- timeUpdate = time(NULL);
-}
-
-time_t getUpdateServer()
-{
- return time(NULL) - timeUpdate;
-}
-
-client_t* newAnyClient()
-{
- client_t *new;
-
- new = malloc( sizeof(client_t) );
- memset(new, 0, sizeof(client_t));
-
- new->status = NET_STATUS_OK;
- new->listRecvMsg = newList();
- new->listSendMsg = newCheckFront();
- new->listSeesShot = newList();
- new->protect = newProtect();
-
- return new;
-}
-
-void destroyAnyClient(client_t *p)
-{
- assert( p != NULL );
-
- //eventMsgInCheckFront(p);
- destroyListItem(p->listRecvMsg, free);
- destroyListItem(p->listSeesShot, free);
- destroyCheckFront(p->listSendMsg);
-
- destroyProtect(p->protect);
-
- if( p->tux != NULL )
- {
-#ifdef PUBLIC_SERVER
- addPlayerInHighScore(p->tux->name, p->tux->score);
-#endif
- delObjectFromSpaceWithObject(getCurrentArena()->spaceTux, p->tux, destroyTux);
- }
-
- free(p);
-}
-
-static void eventDelClientFromListClient(client_t *client)
-{
- int offset;
-
- offset = searchListItem(listClient, client);
-
- assert( offset != -1 );
-
- delListItem(listClient, offset, destroyUdpClient);
-}
-
-static void delZombieCLient(void *p_nothink)
-{
- client_t *thisClient;
- my_time_t currentTime;
- int i;
-
- currentTime = getMyTime();
-
- for( i = 0 ; i < listClient->count; i++)
- {
- thisClient = (client_t *) listClient->list[i];
-
- if( isDown(thisClient->protect) == TRUE )
- {
- proto_send_end_server(PROTO_SEND_ONE, thisClient);
- eventMsgInCheckFront(thisClient);
- thisClient->status = NET_STATUS_ZOMBIE;
- }
-
- if( thisClient->status == NET_STATUS_ZOMBIE )
- {
- if( thisClient->tux != NULL )
- {
- proto_send_del_server(PROTO_SEND_ALL, NULL, thisClient->tux->id);
- }
-
- eventDelClientFromListClient(thisClient);
- i--;
- }
- }
-}
-
-static void eventPeriodicSyncClient(void *p_nothink)
-{
- client_t *thisClientSend;
- tux_t *thisTux;
- int i;
-
-#ifndef PUBLIC_SERVER
- proto_send_newtux_server(PROTO_SEND_ALL_SEES_TUX, NULL, getControlTux(TUX_CONTROL_KEYBOARD_RIGHT));
-#endif
-
- for( i = 0 ; i < listClient->count; i++ )
- {
- thisClientSend = (client_t *) listClient->list[i];
- thisTux = thisClientSend->tux;
-
- if( thisTux == NULL )
- {
- continue;
- }
-
- //proto_send_newtux_server(PROTO_SEND_ALL_SEES_TUX, thisClientSend, thisTux);
- proto_send_newtux_server(PROTO_SEND_BUT, thisClientSend, thisTux);
- }
-}
-
-static void eventSendPingClients(void *p_nothink)
-{
- proto_send_ping_server(PROTO_SEND_ALL, NULL);
-}
-
-void setServerTimer()
-{
- if( listServerTimer != NULL )
- {
- destroyTimer(listServerTimer);
- }
-
- restartTimer();
- listServerTimer = newTimer();
-
- addTaskToTimer(listServerTimer, TIMER_PERIODIC, delZombieCLient, NULL, SERVER_TIMEOUT);
- addTaskToTimer(listServerTimer, TIMER_PERIODIC, eventPeriodicSyncClient, NULL, SERVER_TIME_SYNC);
- addTaskToTimer(listServerTimer, TIMER_PERIODIC, eventSendPingClients, NULL, SERVER_TIME_PING);
-}
-
-int initServer(char *ip4, int port4, char *ip6, int port6)
-{
- int ret;
-
- startUpdateServer();
- listServerTimer = NULL;
-
- listClient = newList();
-
- setServerMaxClients(SERVER_MAX_CLIENTS);
- setServerTimer();
-
- ret = initUdpServer(ip4, port4, ip6, port6);
-
- if( ret == 0 )
- {
- return -1;
- }
-
- return ret;
-}
-
-list_t* getListServerClient()
-{
- return listClient;
-}
-
-int getServerMaxClients()
-{
- return maxClients;
-}
-
-void setServerMaxClients(int n)
-{
- maxClients = n;
-}
-
-void sendClient(client_t *p, char *msg)
-{
- assert( p != NULL );
- assert( msg != NULL );
-
- if( p->status != NET_STATUS_ZOMBIE )
- {
- int ret = -1; // no Warnnings
-
-#ifndef PUBLIC_SERVER
- if( isParamFlag("--send") )
- {
- printf(_("Sending: \"%s\""), msg);
- }
-#endif
-
- ret = writeUdpSocket(p->socket_udp, p->socket_udp, msg, strlen(msg));
-
- if( ret <= 0 )
- {
- p->status = NET_STATUS_ZOMBIE;
- }
- }
-}
-
-static void eventClientWorkRecvList(client_t *client)
-{
- proto_cmd_server_t* protoCmd;
- char *line;
- int i;
-
- assert( client != NULL );
-
- /* obsluha udalosti od clientov */
-
- for( i = 0 ; i < client->listRecvMsg->count ; i++ )
- {
- line = (char *)client->listRecvMsg->list[i];
- protoCmd = findCmdProto(client, line);
-
-#ifndef PUBLIC_SERVER
- if( isParamFlag("--recv") )
- {
- printf(_("Recieved: \"%s\""), line);
- }
-#endif
-
- if( protoCmd != NULL )
- {
- protoCmd->fce_proto(client, line);
- rereshLastPing(client->protect);
- }
- else
- {
- proto_send_error_server(PROTO_SEND_ONE, client, PROTO_ERROR_CODE_BAD_COMMAND);
- }
- }
-
- destroyListItem(client->listRecvMsg, free);
- client->listRecvMsg = newList();
-}
-
-static void porcesListClients()
-{
- int i;
- client_t *thisClient;
-
- for( i = 0 ; i < listClient->count; i++)
- {
- thisClient = (client_t *) listClient->list[i];
-
- eventClientWorkRecvList(thisClient);
- eventMsgInCheckFront(thisClient);
- }
-}
-
-void eventServer()
-{
-#ifndef PUBLIC_SERVER
- int count;
-
-
-
- do{
- restartSelect();
- setServerUdpSelect();
- actionSelect();
- count = selectServerUdpSocket();
- }while( count > 0 );
-#endif
-
-#ifdef PUBLIC_SERVER
- int ret;
-
- restartSelect();
-
- setServerUdpSelect();
-
- ret = actionSelect();
-
- if( ret > 0 )
- {
- selectServerUdpSocket();
- }
-#endif
-
- porcesListClients();
- eventTimer(listServerTimer);
-}
-
-void quitServer()
-{
- proto_send_end_server(PROTO_SEND_ALL, NULL);
-
- assert( listClient != NULL );
-
- destroyListItem(listClient, destroyUdpClient);
-
- destroyTimer(listServerTimer);
-
- quitUdpServer();
-}
diff --git a/src/base/serverSelect.c b/src/base/serverSelect.c
index 64b5e6e..2b25a4f 100644
--- a/src/base/serverSelect.c
+++ b/src/base/serverSelect.c
@@ -25,93 +25,91 @@ static fd_set readfds;
static fd_set writefds;
static int max_fd;
-void
-restartSelect()
+void restartSelect()
{
#ifndef PUBLIC_SERVER
- tv.tv_sec = 0;
- tv.tv_usec = 0;
-#endif
+ tv.tv_sec = 0;
+ tv.tv_usec = 0;
+#endif
#ifdef PUBLIC_SERVER
- tv.tv_sec = 0;
- tv.tv_usec = 1000;
-#endif
+ tv.tv_sec = 0;
+ tv.tv_usec = 1000;
+#endif
- FD_ZERO(&readfds);
- FD_ZERO(&writefds);
- max_fd = 0;
+ FD_ZERO(&readfds);
+ FD_ZERO(&writefds);
+ max_fd = 0;
}
-void
-addSockToSelectRead(int sock)
+void addSockToSelectRead(int sock)
{
- //printf("addSockToSelectRead %d\n", sock);
+ //printf("addSockToSelectRead %d\n", sock);
- FD_SET(sock, &readfds);
+ FD_SET(sock, &readfds);
- if (sock > max_fd) {
- max_fd = sock;
- }
+ if( sock > max_fd )
+ {
+ max_fd = sock;
+ }
}
-void
-addSockToSelectWrite(int sock)
+void addSockToSelectWrite(int sock)
{
- //printf("addSockToSelectWrite %d\n", sock);
+ //printf("addSockToSelectWrite %d\n", sock);
- FD_SET(sock, &writefds);
+ FD_SET(sock, &writefds);
- if (sock > max_fd) {
- max_fd = sock;
- }
+ if(sock > max_fd )
+ {
+ max_fd = sock;
+ }
}
-int
-actionSelect()
+int actionSelect()
{
- int ret;
+ int ret;
#ifdef PUBLIC_SERVER
- list_t *listClient;
- listClient = getListServerClient();
-
- if (listClient->count == 0) {
- ret = select(max_fd + 1, &readfds, &writefds, (fd_set *) NULL, NULL);
- setServerTimer();
- }
- else {
- ret = select(max_fd + 1, &readfds, &writefds, (fd_set *) NULL, &tv);
- }
+ list_t *listClient;
+ listClient = getListServerClient();
+
+ if( listClient->count == 0 )
+ {
+ ret = select(max_fd+1, &readfds, &writefds, (fd_set *)NULL, NULL);
+ setServerTimer();
+ }
+ else
+ {
+ ret = select(max_fd+1, &readfds, &writefds, (fd_set *)NULL, &tv);
+ }
#endif
#ifndef PUBLIC_SERVER
- ret = select(max_fd + 1, &readfds, &writefds, (fd_set *) NULL, &tv);
+ ret = select(max_fd+1, &readfds, &writefds, (fd_set *)NULL, &tv);
#endif
- return ret;
+ return ret;
}
-int
-isChangeSockInSelectRead(int sock)
+int isChangeSockInSelectRead(int sock)
{
- int ret;
+ int ret;
- ret = FD_ISSET(sock, &readfds);
+ ret = FD_ISSET(sock, &readfds);
- //printf("isChangeSockInSelect %d -> %d\n", sock, ret);
+ //printf("isChangeSockInSelect %d -> %d\n", sock, ret);
- return ret;
+ return ret;
}
-int
-isChangeSockInSelectWrite(int sock)
+int isChangeSockInSelectWrite(int sock)
{
- int ret;
+ int ret;
- ret = FD_ISSET(sock, &writefds);
+ ret = FD_ISSET(sock, &writefds);
- //printf("isChangeSockInSelect %d -> %d\n", sock, ret);
+ //printf("isChangeSockInSelect %d -> %d\n", sock, ret);
- return ret;
+ return ret;
}
diff --git a/src/base/serverSelect.c~ b/src/base/serverSelect.c~
deleted file mode 100644
index 2b25a4f..0000000
--- a/src/base/serverSelect.c~
+++ /dev/null
@@ -1,115 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include <sys/types.h>
-
-#include <unistd.h>
-#include <fcntl.h>
-#include <sys/time.h>
-
-#ifndef __WIN32__
-#include <sys/ioctl.h>
-#include <sys/socket.h>
-#include <sys/select.h>
-#else
-#include <io.h>
-#include <winsock2.h>
-#endif
-
-#include "server.h"
-
-static struct timeval tv;
-static fd_set readfds;
-static fd_set writefds;
-static int max_fd;
-
-void restartSelect()
-{
-#ifndef PUBLIC_SERVER
- tv.tv_sec = 0;
- tv.tv_usec = 0;
-#endif
-
-#ifdef PUBLIC_SERVER
- tv.tv_sec = 0;
- tv.tv_usec = 1000;
-#endif
-
- FD_ZERO(&readfds);
- FD_ZERO(&writefds);
- max_fd = 0;
-}
-
-void addSockToSelectRead(int sock)
-{
- //printf("addSockToSelectRead %d\n", sock);
-
- FD_SET(sock, &readfds);
-
- if( sock > max_fd )
- {
- max_fd = sock;
- }
-}
-
-void addSockToSelectWrite(int sock)
-{
- //printf("addSockToSelectWrite %d\n", sock);
-
- FD_SET(sock, &writefds);
-
- if(sock > max_fd )
- {
- max_fd = sock;
- }
-}
-
-int actionSelect()
-{
- int ret;
-
-#ifdef PUBLIC_SERVER
- list_t *listClient;
- listClient = getListServerClient();
-
- if( listClient->count == 0 )
- {
- ret = select(max_fd+1, &readfds, &writefds, (fd_set *)NULL, NULL);
- setServerTimer();
- }
- else
- {
- ret = select(max_fd+1, &readfds, &writefds, (fd_set *)NULL, &tv);
- }
-#endif
-
-#ifndef PUBLIC_SERVER
- ret = select(max_fd+1, &readfds, &writefds, (fd_set *)NULL, &tv);
-#endif
-
- return ret;
-}
-
-int isChangeSockInSelectRead(int sock)
-{
- int ret;
-
- ret = FD_ISSET(sock, &readfds);
-
- //printf("isChangeSockInSelect %d -> %d\n", sock, ret);
-
- return ret;
-}
-
-int isChangeSockInSelectWrite(int sock)
-{
- int ret;
-
- ret = FD_ISSET(sock, &writefds);
-
- //printf("isChangeSockInSelect %d -> %d\n", sock, ret);
-
- return ret;
-}
diff --git a/src/base/serverSendMsg.c b/src/base/serverSendMsg.c
index dc5718e..a347b37 100644
--- a/src/base/serverSendMsg.c
+++ b/src/base/serverSendMsg.c
@@ -14,134 +14,133 @@
#include "screen_world.h"
#endif
-static void
-addMsgClient(client_t * p, char *msg, int type, int id)
+static void addMsgClient(client_t *p, char *msg, int type, int id)
{
- assert(p != NULL);
- assert(msg != NULL);
+ assert( p != NULL );
+ assert( msg != NULL );
- if (p->status != NET_STATUS_ZOMBIE) {
- addMsgInCheckFront(p->listSendMsg, msg, type, id);
- }
+ if( p->status != NET_STATUS_ZOMBIE )
+ {
+ addMsgInCheckFront(p->listSendMsg, msg, type, id);
+ }
}
-static void
-addMsgAllClientBut(char *msg, client_t * p, int type, int id)
+static void addMsgAllClientBut(char *msg, client_t *p, int type, int id)
{
- list_t *listClient;
- client_t *thisClient;
- int i;
+ list_t *listClient;
+ client_t *thisClient;
+ int i;
- assert(msg != NULL);
+ assert( msg != NULL );
- listClient = getListServerClient();
+ listClient = getListServerClient();
- for (i = 0; i < listClient->count; i++) {
- thisClient = (client_t *) listClient->list[i];
+ for( i = 0 ; i < listClient->count; i++)
+ {
+ thisClient = (client_t *) listClient->list[i];
- if (thisClient->tux != NULL && thisClient != p) {
- addMsgClient(thisClient, msg, type, id);
- }
- }
+ if( thisClient->tux != NULL && thisClient != p )
+ {
+ addMsgClient(thisClient, msg, type, id);
+ }
+ }
}
-static void
-addMsgAllClient(char *msg, int type, int id)
+static void addMsgAllClient(char *msg, int type, int id)
{
- assert(msg != NULL);
+ assert( msg != NULL );
- addMsgAllClientBut(msg, NULL, type, id);
+ addMsgAllClientBut(msg, NULL, type, id);
}
-static void
-addMsgAllClientSeesTux(char *msg, tux_t * tux, int type, int id)
+static void addMsgAllClientSeesTux(char *msg, tux_t *tux, int type, int id)
{
- list_t *listHelp;
- arena_t *arena;
- space_t *space;
- int x, y, w, h;
- int i;
-
- assert(msg != NULL);
-
- arena = getCurrentArena();
- space = arena->spaceTux;
-
- x = tux->x - WINDOW_SIZE_X;
- y = tux->y - WINDOW_SIZE_Y;
-
- w = 2 * WINDOW_SIZE_X;
- h = 2 * WINDOW_SIZE_Y;
-
- if (x < 0)
- x = 0;
- if (y < 0)
- y = 0;
- if (w + x >= arena->w)
- w = arena->w - (x + 1);
- if (h + y >= arena->h)
- h = arena->h - (y + 1);
-
- listHelp = newList();
-
- getObjectFromSpace(space, x, y, w, h, listHelp);
- //printf("%d %d %d %d %d\n", x, y, w, h, listHelp->count);
-
- for (i = 0; i < listHelp->count; i++) {
- tux_t *thisTux;
- client_t *thisClient;
-
- thisTux = (tux_t *) listHelp->list[i];
-
- if (thisTux == tux) {
- continue;
- }
-
- thisClient = thisTux->client;
-
- if (thisClient != NULL) {
- addMsgClient(thisClient, msg, type, id);
- }
- }
-
- destroyList(listHelp);
+ list_t *listHelp;
+ arena_t *arena;
+ space_t *space;
+ int x, y, w, h;
+ int i;
+
+ assert( msg != NULL );
+
+ arena = getCurrentArena();
+ space = arena->spaceTux;
+
+ x = tux->x - WINDOW_SIZE_X;
+ y = tux->y - WINDOW_SIZE_Y;
+
+ w = 2 * WINDOW_SIZE_X;
+ h = 2 * WINDOW_SIZE_Y;
+
+ if( x < 0 )x = 0;
+ if( y < 0 )y = 0;
+ if( w+x >= arena->w )w = arena->w - (x+1);
+ if( h+y >= arena->h )h = arena->h - (y+1);
+
+ listHelp = newList();
+
+ getObjectFromSpace(space, x, y, w, h, listHelp);
+ //printf("%d %d %d %d %d\n", x, y, w, h, listHelp->count);
+
+ for( i = 0 ; i < listHelp->count ; i++ )
+ {
+ tux_t *thisTux;
+ client_t *thisClient;
+
+ thisTux = (tux_t *)listHelp->list[i];
+
+ if( thisTux == tux )
+ {
+ continue;
+ }
+
+ thisClient = thisTux->client;
+
+ if( thisClient != NULL )
+ {
+ addMsgClient(thisClient, msg, type, id);
+ }
+ }
+
+ destroyList(listHelp);
}
-void
-protoSendClient(int type, client_t * client, char *msg, int type2, int id)
+void protoSendClient(int type, client_t *client, char *msg, int type2, int id)
{
- assert(msg != NULL);
-
- switch (type) {
- case PROTO_SEND_ONE:
- assert(client != NULL);
- addMsgClient(client, msg, type2, id);
- break;
- case PROTO_SEND_ALL:
- assert(client == NULL);
- addMsgAllClient(msg, type2, id);
- break;
- case PROTO_SEND_BUT:
- assert(client != NULL);
- addMsgAllClientBut(msg, client, type2, id);
- break;
- case PROTO_SEND_ALL_SEES_TUX:
+ assert( msg != NULL );
+
+ switch( type )
+ {
+ case PROTO_SEND_ONE :
+ assert( client != NULL );
+ addMsgClient(client, msg, type2, id);
+ break;
+ case PROTO_SEND_ALL :
+ assert( client == NULL );
+ addMsgAllClient(msg, type2, id);
+ break;
+ case PROTO_SEND_BUT :
+ assert( client != NULL );
+ addMsgAllClientBut(msg, client, type2, id);
+ break;
+ case PROTO_SEND_ALL_SEES_TUX :
#ifndef PUBLIC_SERVER
- if (client != NULL) {
- addMsgAllClientSeesTux(msg, client->tux, type2, id);
- }
- else {
- addMsgAllClientSeesTux(msg,
- getControlTux(TUX_CONTROL_KEYBOARD_RIGHT),
- type2, id);
- }
+ if( client != NULL )
+ {
+ addMsgAllClientSeesTux(msg, client->tux, type2, id);
+ }
+ else
+ {
+ addMsgAllClientSeesTux(msg, getControlTux(TUX_CONTROL_KEYBOARD_RIGHT), type2, id);
+ }
#endif
#ifdef PUBLIC_SERVER
- addMsgAllClientSeesTux(msg, client->tux, type2, id);
+ addMsgAllClientSeesTux(msg, client->tux, type2, id);
#endif
- break;
- default:
- assert(!_("Type variable has a really wierd value!"));
- break;
- }
+ break;
+ default :
+ assert( ! _("Type variable has a really wierd value!") );
+ break;
+ }
}
+
diff --git a/src/base/serverSendMsg.c~ b/src/base/serverSendMsg.c~
deleted file mode 100644
index a347b37..0000000
--- a/src/base/serverSendMsg.c~
+++ /dev/null
@@ -1,146 +0,0 @@
-
-#include <unistd.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <assert.h>
-
-#include "server.h"
-#include "net_multiplayer.h"
-#include "checkFront.h"
-#include "serverSendMsg.h"
-
-#ifndef PUBLIC_SERVER
-#include "screen_world.h"
-#endif
-
-static void addMsgClient(client_t *p, char *msg, int type, int id)
-{
- assert( p != NULL );
- assert( msg != NULL );
-
- if( p->status != NET_STATUS_ZOMBIE )
- {
- addMsgInCheckFront(p->listSendMsg, msg, type, id);
- }
-}
-
-static void addMsgAllClientBut(char *msg, client_t *p, int type, int id)
-{
- list_t *listClient;
- client_t *thisClient;
- int i;
-
- assert( msg != NULL );
-
- listClient = getListServerClient();
-
- for( i = 0 ; i < listClient->count; i++)
- {
- thisClient = (client_t *) listClient->list[i];
-
- if( thisClient->tux != NULL && thisClient != p )
- {
- addMsgClient(thisClient, msg, type, id);
- }
- }
-}
-
-static void addMsgAllClient(char *msg, int type, int id)
-{
- assert( msg != NULL );
-
- addMsgAllClientBut(msg, NULL, type, id);
-}
-
-static void addMsgAllClientSeesTux(char *msg, tux_t *tux, int type, int id)
-{
- list_t *listHelp;
- arena_t *arena;
- space_t *space;
- int x, y, w, h;
- int i;
-
- assert( msg != NULL );
-
- arena = getCurrentArena();
- space = arena->spaceTux;
-
- x = tux->x - WINDOW_SIZE_X;
- y = tux->y - WINDOW_SIZE_Y;
-
- w = 2 * WINDOW_SIZE_X;
- h = 2 * WINDOW_SIZE_Y;
-
- if( x < 0 )x = 0;
- if( y < 0 )y = 0;
- if( w+x >= arena->w )w = arena->w - (x+1);
- if( h+y >= arena->h )h = arena->h - (y+1);
-
- listHelp = newList();
-
- getObjectFromSpace(space, x, y, w, h, listHelp);
- //printf("%d %d %d %d %d\n", x, y, w, h, listHelp->count);
-
- for( i = 0 ; i < listHelp->count ; i++ )
- {
- tux_t *thisTux;
- client_t *thisClient;
-
- thisTux = (tux_t *)listHelp->list[i];
-
- if( thisTux == tux )
- {
- continue;
- }
-
- thisClient = thisTux->client;
-
- if( thisClient != NULL )
- {
- addMsgClient(thisClient, msg, type, id);
- }
- }
-
- destroyList(listHelp);
-}
-
-void protoSendClient(int type, client_t *client, char *msg, int type2, int id)
-{
- assert( msg != NULL );
-
- switch( type )
- {
- case PROTO_SEND_ONE :
- assert( client != NULL );
- addMsgClient(client, msg, type2, id);
- break;
- case PROTO_SEND_ALL :
- assert( client == NULL );
- addMsgAllClient(msg, type2, id);
- break;
- case PROTO_SEND_BUT :
- assert( client != NULL );
- addMsgAllClientBut(msg, client, type2, id);
- break;
- case PROTO_SEND_ALL_SEES_TUX :
-#ifndef PUBLIC_SERVER
- if( client != NULL )
- {
- addMsgAllClientSeesTux(msg, client->tux, type2, id);
- }
- else
- {
- addMsgAllClientSeesTux(msg, getControlTux(TUX_CONTROL_KEYBOARD_RIGHT), type2, id);
- }
-#endif
-#ifdef PUBLIC_SERVER
- addMsgAllClientSeesTux(msg, client->tux, type2, id);
-#endif
- break;
- default :
- assert( ! _("Type variable has a really wierd value!") );
- break;
- }
-}
-
diff --git a/src/base/shareFunction.c b/src/base/shareFunction.c
index 16d5809..b7bddc2 100644
--- a/src/base/shareFunction.c
+++ b/src/base/shareFunction.c
@@ -10,62 +10,56 @@
typedef struct share_fce_item_struct
{
- char *name;
- void *function;
-} share_fce_item_t;
+ char *name;
+ void *function;
+} share_fce_item_t;
static list_t *listShareFce;
-static share_fce_item_t *
-newShareFceItem(char *name, void *function)
+static share_fce_item_t* newShareFceItem(char *name, void *function)
{
- share_fce_item_t *new;
+ share_fce_item_t *new;
- new = malloc(sizeof(share_fce_item_t));
- new->name = strdup(name);
- new->function = function;
- return new;
+ new = malloc( sizeof(share_fce_item_t) );
+ new->name = strdup(name);
+ new->function = function;
+ return new;
}
-static void
-destroyShareFce(share_fce_item_t * p)
+static void destroyShareFce(share_fce_item_t *p)
{
- free(p->name);
- free(p);
+ free(p->name);
+ free(p);
}
-void
-initShareFunction()
+void initShareFunction()
{
- listShareFce = newList();
+ listShareFce = newList();
}
-
-void
-addToShareFce(char *name, void *function)
+void addToShareFce(char *name, void *function)
{
#ifdef DEBUG
- printf(_("Adding \"%s\" to share function.\n"), name);
+ printf(_("Adding \"%s\" to share function.\n"), name);
#endif
- addList(listShareFce, newShareFceItem(name, function));
+ addList(listShareFce, newShareFceItem(name, function) );
}
-void *
-getShareFce(char *name)
+void* getShareFce(char *name)
{
- int i;
+ int i;
- for (i = 0; i < listShareFce->count; i++) {
- share_fce_item_t *this;
+ for (i = 0; i < listShareFce->count; i++) {
+ share_fce_item_t *this;
- this = (share_fce_item_t *) listShareFce->list[i];
- if (strcmp(this->name, name) == 0)
- return this->function;
- }
- return NULL;
+ this = (share_fce_item_t *)listShareFce->list[i];
+ if( strcmp(this->name, name) == 0 )
+ return this->function;
+ }
+ return NULL;
}
-void
-quitShareFunction()
+void quitShareFunction()
{
- destroyListItem(listShareFce, destroyShareFce);
+ destroyListItem(listShareFce, destroyShareFce);
}
+
diff --git a/src/base/shareFunction.c~ b/src/base/shareFunction.c~
deleted file mode 100644
index b7bddc2..0000000
--- a/src/base/shareFunction.c~
+++ /dev/null
@@ -1,65 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "shareFunction.h"
-
-typedef struct share_fce_item_struct
-{
- char *name;
- void *function;
-} share_fce_item_t;
-
-static list_t *listShareFce;
-
-static share_fce_item_t* newShareFceItem(char *name, void *function)
-{
- share_fce_item_t *new;
-
- new = malloc( sizeof(share_fce_item_t) );
- new->name = strdup(name);
- new->function = function;
- return new;
-}
-
-static void destroyShareFce(share_fce_item_t *p)
-{
- free(p->name);
- free(p);
-}
-
-void initShareFunction()
-{
- listShareFce = newList();
-}
-void addToShareFce(char *name, void *function)
-{
-#ifdef DEBUG
- printf(_("Adding \"%s\" to share function.\n"), name);
-#endif
- addList(listShareFce, newShareFceItem(name, function) );
-}
-
-void* getShareFce(char *name)
-{
- int i;
-
- for (i = 0; i < listShareFce->count; i++) {
- share_fce_item_t *this;
-
- this = (share_fce_item_t *)listShareFce->list[i];
- if( strcmp(this->name, name) == 0 )
- return this->function;
- }
- return NULL;
-}
-
-void quitShareFunction()
-{
- destroyListItem(listShareFce, destroyShareFce);
-}
-
diff --git a/src/base/shot.c b/src/base/shot.c
index 798bba6..36f876e 100644
--- a/src/base/shot.c
+++ b/src/base/shot.c
@@ -32,349 +32,342 @@ static image_t *g_shot_bombball;
static bool_t isShotInit = FALSE;
-bool_t
-isShotInicialized()
+bool_t isShotInicialized()
{
- return isShotInit;
+ return isShotInit;
}
-void
-initShot()
+void initShot()
{
#ifndef PUBLIC_SERVER
- assert(isImageInicialized() == TRUE);
+ assert( isImageInicialized() == TRUE );
#endif
#ifndef PUBLIC_SERVER
- g_shot_simple =
- addImageData("shot.png", IMAGE_ALPHA, "shot", IMAGE_GROUP_BASE);
- g_shot_lasserX =
- addImageData("lasserX.png", IMAGE_NO_ALPHA, "lasserX",
- IMAGE_GROUP_BASE);
- g_shot_lasserY =
- addImageData("lasserY.png", IMAGE_NO_ALPHA, "lasserY",
- IMAGE_GROUP_BASE);
- g_shot_bombball =
- addImageData("bombball.png", IMAGE_ALPHA, "bombball", IMAGE_GROUP_BASE);
+ g_shot_simple = addImageData("shot.png", IMAGE_ALPHA, "shot", IMAGE_GROUP_BASE);
+ g_shot_lasserX = addImageData("lasserX.png", IMAGE_NO_ALPHA, "lasserX", IMAGE_GROUP_BASE);
+ g_shot_lasserY = addImageData("lasserY.png", IMAGE_NO_ALPHA, "lasserY", IMAGE_GROUP_BASE);
+ g_shot_bombball = addImageData("bombball.png", IMAGE_ALPHA, "bombball", IMAGE_GROUP_BASE);
#endif
- isShotInit = TRUE;
+ isShotInit = TRUE;
}
-shot_t *
-newShot(int x, int y, int px, int py, int gun, int author_id)
+shot_t* newShot(int x,int y, int px, int py, int gun, int author_id)
{
- shot_t *new;
- tux_t *author;
-
- new = malloc(sizeof(shot_t));
- memset(new, 0, sizeof(shot_t));
-
- new->id = getNewID();
- new->x = x;
- new->y = y;
- new->px = px;
- new->py = py;
- new->gun = gun;
- new->author_id = author_id;
-
- new->position = POSITION_UNKNOWN;
-
- author = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, author_id);
-
- if (author != NULL) {
- new->position = author->position;
- }
-
- new->isCanKillAuthor = FALSE;
- new->del = FALSE;
-
- switch (gun) {
- case GUN_SIMPLE:
- new->w = GUN_SHOT_WIDTH;
- new->h = GUN_SHOT_HEIGHT;
-#ifndef PUBLIC_SERVER
- new->img = g_shot_simple;
+ shot_t *new;
+ tux_t *author;
+
+ new = malloc( sizeof(shot_t) );
+ memset(new, 0, sizeof(shot_t) );
+
+ new->id = getNewID();
+ new->x = x;
+ new->y = y;
+ new->px = px;
+ new->py = py;
+ new->gun = gun;
+ new->author_id = author_id;
+
+ new->position = POSITION_UNKNOWN;
+
+ author = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, author_id);
+
+ if( author != NULL )
+ {
+ new->position = author->position;
+ }
+
+ new->isCanKillAuthor = FALSE;
+ new->del = FALSE;
+
+ switch( gun )
+ {
+ case GUN_SIMPLE :
+ new->w = GUN_SHOT_WIDTH;
+ new->h = GUN_SHOT_HEIGHT;
+#ifndef PUBLIC_SERVER
+ new->img = g_shot_simple;
#endif
- break;
-
- case GUN_LASSER:
- switch (author->position) {
- case TUX_RIGHT:
- case TUX_LEFT:
- new->w = GUN_LASSER_HORIZONTAL;
- new->h = GUN_SHOT_VERTICAL;
-#ifndef PUBLIC_SERVER
- new->img = g_shot_lasserX;
+ break;
+
+ case GUN_LASSER :
+ switch( author-> position )
+ {
+ case TUX_RIGHT :
+ case TUX_LEFT :
+ new->w = GUN_LASSER_HORIZONTAL;
+ new->h = GUN_SHOT_VERTICAL;
+#ifndef PUBLIC_SERVER
+ new->img = g_shot_lasserX;
#endif
- break;
- case TUX_UP:
- case TUX_DOWN:
- new->w = GUN_SHOT_VERTICAL;
- new->h = GUN_LASSER_HORIZONTAL;
-#ifndef PUBLIC_SERVER
- new->img = g_shot_lasserY;
+ break;
+ case TUX_UP :
+ case TUX_DOWN :
+ new->w = GUN_SHOT_VERTICAL;
+ new->h = GUN_LASSER_HORIZONTAL;
+#ifndef PUBLIC_SERVER
+ new->img = g_shot_lasserY;
#endif
- break;
- }
- break;
+ break;
+ }
+ break;
- case GUN_BOMBBALL:
- new->w = GUN_BOMBBALL_WIDTH;
- new->h = GUN_BOMBBALL_HEIGHT;
+ case GUN_BOMBBALL :
+ new->w = GUN_BOMBBALL_WIDTH;
+ new->h = GUN_BOMBBALL_HEIGHT;
-#ifndef PUBLIC_SERVER
- new->img = g_shot_bombball;
+#ifndef PUBLIC_SERVER
+ new->img = g_shot_bombball;
#endif
- break;
+ break;
- default:
- assert(!_("Type variable has a really wierd value!"));
- break;
- }
+ default :
+ assert( ! _("Type variable has a really wierd value!") );
+ break;
+ }
- return new;
+ return new;
}
-void
-replaceShotID(shot_t * shot, int id)
+void replaceShotID(shot_t *shot, int id)
{
- replaceID(shot->id, id);
- shot->id = id;
+ replaceID(shot->id, id);
+ shot->id = id;
}
-void
-getStatusShot(void *p, int *id, int *x, int *y, int *w, int *h)
+void getStatusShot(void *p, int *id, int *x,int *y, int *w, int *h)
{
- shot_t *shot;
-
- shot = p;
- *id = shot->id;
- *x = shot->x;
- *y = shot->y;
- *w = shot->w;
- *h = shot->h;
+ shot_t *shot;
+
+ shot = p;
+ *id = shot->id;
+ *x = shot->x;
+ *y = shot->y;
+ *w = shot->w;
+ *h = shot->h;
}
-void
-setStatusShot(void *p, int x, int y, int w, int h)
+void setStatusShot(void *p, int x, int y, int w, int h)
{
- shot_t *shot;
+ shot_t *shot;
- shot = p;
- shot->x = x;
- shot->y = y;
- shot->w = w;
- shot->h = h;
+ shot = p;
+ shot->x = x;
+ shot->y = y;
+ shot->w = w;
+ shot->h = h;
}
-#ifndef PUBLIC_SERVER
+#ifndef PUBLIC_SERVER
-void
-drawShot(shot_t * p)
+void drawShot(shot_t *p)
{
- assert(p != NULL);
- addLayer(p->img, p->x, p->y, 0, 0, p->img->w, p->img->h, TUX_LAYER);
+ assert( p != NULL );
+ addLayer(p->img, p->x, p->y, 0, 0, p->img->w, p->img->h, TUX_LAYER);
}
-void
-drawListShot(list_t * listShot)
+void drawListShot(list_t *listShot)
{
- shot_t *thisShot;
- int i;
+ shot_t *thisShot;
+ int i;
- assert(listShot != NULL);
+ assert( listShot != NULL );
- for (i = 0; i < listShot->count; i++) {
- thisShot = (shot_t *) listShot->list[i];
- assert(thisShot != NULL);
- drawShot(thisShot);
- }
+ for( i = 0 ; i < listShot->count ; i++ )
+ {
+ thisShot = (shot_t *)listShot->list[i];
+ assert( thisShot != NULL );
+ drawShot(thisShot);
+ }
}
#endif
-static int
-getRandomCourse(int x, int y)
+static int getRandomCourse(int x, int y)
{
- int ret = -1; // no warnning
-
- do {
- switch (random() % 3) {
- case 0:
- ret = y;
- break;
- case 1:
- ret = -y;
- break;
- case 2:
- ret = 0;
- break;
- }
- } while (ret == x);
-
- return ret;
+ int ret = -1; // no warnning
+
+ do{
+ switch( random() % 3 )
+ {
+ case 0 :
+ ret = y;
+ break;
+ case 1 :
+ ret = -y;
+ break;
+ case 2 :
+ ret = 0;
+ break;
+ }
+ }while( ret == x );
+
+ return ret;
}
-void
-boundBombBall(shot_t * shot)
+void boundBombBall(shot_t *shot)
{
- if (shot->gun != GUN_BOMBBALL) {
- return;
- }
-
- shot->px = getRandomCourse(shot->px, +10);
- shot->py = getRandomCourse(shot->py, +10);
- shot->isCanKillAuthor = 1;
-
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER) {
- proto_send_shot_server(PROTO_SEND_ALL, NULL, shot);
- }
+ if( shot->gun != GUN_BOMBBALL )
+ {
+ return;
+ }
+
+ shot->px = getRandomCourse(shot->px, +10);
+ shot->py = getRandomCourse(shot->py, +10);
+ shot->isCanKillAuthor = 1;
+
+ if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
+ {
+ proto_send_shot_server(PROTO_SEND_ALL, NULL, shot);
+ }
}
-void
-transformOnlyLasser(shot_t * shot)
+void transformOnlyLasser(shot_t *shot)
{
- space_t *space;
- int mustRefesh = 0;
-
- space = getCurrentArena()->spaceShot;
-
- if (getObjectFromSpaceWithID(space, shot->id) != NULL) {
- mustRefesh = 1;
- }
-
- if (mustRefesh) {
- delObjectFromSpace(space, shot);
- }
-
- switch (shot->position) {
- case TUX_RIGHT:
- case TUX_LEFT:
- shot->w = GUN_LASSER_HORIZONTAL;
- shot->h = GUN_SHOT_VERTICAL;
-#ifndef PUBLIC_SERVER
- shot->img = g_shot_lasserX;
+ space_t *space;
+ int mustRefesh = 0;
+
+ space = getCurrentArena()->spaceShot;
+
+ if( getObjectFromSpaceWithID(space, shot->id) != NULL )
+ {
+ mustRefesh = 1;
+ }
+
+ if( mustRefesh )
+ {
+ delObjectFromSpace(space, shot);
+ }
+
+ switch( shot->position )
+ {
+ case TUX_RIGHT :
+ case TUX_LEFT :
+ shot->w = GUN_LASSER_HORIZONTAL;
+ shot->h = GUN_SHOT_VERTICAL;
+#ifndef PUBLIC_SERVER
+ shot->img = g_shot_lasserX;
#endif
- break;
- case TUX_UP:
- case TUX_DOWN:
- shot->w = GUN_SHOT_VERTICAL;
- shot->h = GUN_LASSER_HORIZONTAL;
-#ifndef PUBLIC_SERVER
- shot->img = g_shot_lasserY;
+ break;
+ case TUX_UP :
+ case TUX_DOWN :
+ shot->w = GUN_SHOT_VERTICAL;
+ shot->h = GUN_LASSER_HORIZONTAL;
+#ifndef PUBLIC_SERVER
+ shot->img = g_shot_lasserY;
#endif
- break;
- }
+ break;
+ }
- if (mustRefesh) {
- addObjectToSpace(space, shot);
- }
+ if( mustRefesh)
+ {
+ addObjectToSpace(space, shot);
+ }
}
-static void
-action_moveShot(space_t * space, shot_t * shot, void *p)
+static void action_moveShot(space_t *space, shot_t *shot, void *p)
{
- int new_x, new_y;
- arena_t *arena;
+ int new_x, new_y;
+ arena_t *arena;
- arena = getCurrentArena();
+ arena = getCurrentArena();
- new_x = shot->x + shot->px;
- new_y = shot->y + shot->py;
+ new_x = shot->x + shot->px;
+ new_y = shot->y + shot->py;
- moveObjectInSpace(space, shot, new_x, new_y);
+ moveObjectInSpace(space, shot, new_x, new_y);
- if (shot->x + shot->w < 0 || shot->x > arena->w ||
- shot->y + shot->h < 0 || shot->y > arena->h) {
- delObjectFromSpaceWithObject(space, shot, destroyShot);
- }
+ if( shot->x+shot->w < 0 || shot->x > arena->w ||
+ shot->y+shot->h < 0 || shot->y > arena->h )
+ {
+ delObjectFromSpaceWithObject(space, shot, destroyShot);
+ }
}
-void
-eventMoveListShot(arena_t * arena)
+void eventMoveListShot(arena_t *arena)
{
- actionSpace(arena->spaceShot, action_moveShot, NULL);
+ actionSpace(arena->spaceShot, action_moveShot, NULL);
}
-static int
-isValueInList(list_t * list, int x)
+static int isValueInList(list_t *list, int x)
{
- int i;
+ int i;
- for (i = 0; i < list->count; i++) {
- if (x == (*(int *) list->list[i])) {
- return 1;
- }
- }
+ for( i = 0 ; i < list->count ; i++ )
+ {
+ if( x == ( *(int *)list->list[i] ) )
+ {
+ return 1;
+ }
+ }
- return 0;
+ return 0;
}
-static void
-action_check(space_t * space, shot_t * shot, client_t * client)
+static void action_check(space_t *space, shot_t *shot, client_t *client)
{
- if (isValueInList(client->listSeesShot, shot->id) == 0) {
- addList(client->listSeesShot, newInt(shot->id));
- proto_send_shot_server(PROTO_SEND_ONE, client, shot);
- }
+ if( isValueInList(client->listSeesShot, shot->id) == 0 )
+ {
+ addList(client->listSeesShot, newInt(shot->id) );
+ proto_send_shot_server(PROTO_SEND_ONE, client, shot);
+ }
}
-void
-checkShotIsInTuxScreen(arena_t * arena)
+void checkShotIsInTuxScreen(arena_t *arena)
{
- int screen_x, screen_y;
- tux_t *thisTux;
- client_t *thisClient;
- list_t *listClient;
- int i;
-
- if (getNetTypeGame() != NET_GAME_TYPE_SERVER) {
- return;
- }
-
- listClient = getListServerClient();
-
- for (i = 0; i < listClient->count; i++) {
- thisClient = (client_t *) listClient->list[i];
- thisTux = (tux_t *) thisClient->tux;
- int del = 0;
-
- if (thisTux == NULL || thisTux->control != TUX_CONTROL_NET) {
- continue;
- }
-
- getCenterScreen(&screen_x, &screen_y, thisTux->x, thisTux->y,
- WINDOW_SIZE_X, WINDOW_SIZE_Y);
-
- actionSpaceFromLocation(arena->spaceShot, action_check,
- thisClient, screen_x, screen_y, WINDOW_SIZE_X,
- WINDOW_SIZE_Y);
-
- while (thisClient->listSeesShot->count > 100) {
- delListItem(thisClient->listSeesShot, 0, free);
- del++;
- }
-
- //if( del > 0 )printf("del = %d\n", del);
- }
+ int screen_x, screen_y;
+ tux_t *thisTux;
+ client_t *thisClient;
+ list_t *listClient;
+ int i;
+
+ if( getNetTypeGame() != NET_GAME_TYPE_SERVER )
+ {
+ return;
+ }
+
+ listClient = getListServerClient();
+
+ for( i = 0 ; i < listClient->count ; i++ )
+ {
+ thisClient = (client_t *)listClient->list[i];
+ thisTux = (tux_t *)thisClient->tux;
+ int del = 0;
+
+ if( thisTux == NULL || thisTux->control != TUX_CONTROL_NET )
+ {
+ continue;
+ }
+
+ getCenterScreen(&screen_x, &screen_y, thisTux->x, thisTux->y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
+
+ actionSpaceFromLocation(arena->spaceShot, action_check,
+ thisClient, screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
+
+ while( thisClient->listSeesShot->count > 100 )
+ {
+ delListItem(thisClient->listSeesShot, 0, free);
+ del++;
+ }
+
+ //if( del > 0 )printf("del = %d\n", del);
+ }
}
-void
-destroyShot(shot_t * p)
+void destroyShot(shot_t *p)
{
- assert(p != NULL);
-
- delID(p->id);
+ assert( p != NULL );
+
+ delID(p->id);
- free(p);
+ free(p);
}
-void
-quitShot()
+void quitShot()
{
- isShotInit = FALSE;
+ isShotInit = FALSE;
}
diff --git a/src/base/shot.c~ b/src/base/shot.c~
deleted file mode 100644
index 36f876e..0000000
--- a/src/base/shot.c~
+++ /dev/null
@@ -1,373 +0,0 @@
-
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "shot.h"
-#include "gun.h"
-#include "net_multiplayer.h"
-#include "proto.h"
-#include "idManager.h"
-#include "serverSendMsg.h"
-
-#ifndef PUBLIC_SERVER
-#include "image.h"
-#include "layer.h"
-#include "screen_world.h"
-#endif
-
-#ifdef PUBLIC_SERVER
-#include "publicServer.h"
-#endif
-
-#ifndef PUBLIC_SERVER
-
-static image_t *g_shot_simple;
-static image_t *g_shot_lasserX;
-static image_t *g_shot_lasserY;
-static image_t *g_shot_bombball;
-
-#endif
-
-static bool_t isShotInit = FALSE;
-
-bool_t isShotInicialized()
-{
- return isShotInit;
-}
-
-void initShot()
-{
-#ifndef PUBLIC_SERVER
- assert( isImageInicialized() == TRUE );
-#endif
-
-#ifndef PUBLIC_SERVER
-
- g_shot_simple = addImageData("shot.png", IMAGE_ALPHA, "shot", IMAGE_GROUP_BASE);
- g_shot_lasserX = addImageData("lasserX.png", IMAGE_NO_ALPHA, "lasserX", IMAGE_GROUP_BASE);
- g_shot_lasserY = addImageData("lasserY.png", IMAGE_NO_ALPHA, "lasserY", IMAGE_GROUP_BASE);
- g_shot_bombball = addImageData("bombball.png", IMAGE_ALPHA, "bombball", IMAGE_GROUP_BASE);
-
-#endif
-
- isShotInit = TRUE;
-}
-
-shot_t* newShot(int x,int y, int px, int py, int gun, int author_id)
-{
- shot_t *new;
- tux_t *author;
-
- new = malloc( sizeof(shot_t) );
- memset(new, 0, sizeof(shot_t) );
-
- new->id = getNewID();
- new->x = x;
- new->y = y;
- new->px = px;
- new->py = py;
- new->gun = gun;
- new->author_id = author_id;
-
- new->position = POSITION_UNKNOWN;
-
- author = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, author_id);
-
- if( author != NULL )
- {
- new->position = author->position;
- }
-
- new->isCanKillAuthor = FALSE;
- new->del = FALSE;
-
- switch( gun )
- {
- case GUN_SIMPLE :
- new->w = GUN_SHOT_WIDTH;
- new->h = GUN_SHOT_HEIGHT;
-#ifndef PUBLIC_SERVER
- new->img = g_shot_simple;
-#endif
- break;
-
- case GUN_LASSER :
- switch( author-> position )
- {
- case TUX_RIGHT :
- case TUX_LEFT :
- new->w = GUN_LASSER_HORIZONTAL;
- new->h = GUN_SHOT_VERTICAL;
-#ifndef PUBLIC_SERVER
- new->img = g_shot_lasserX;
-#endif
- break;
- case TUX_UP :
- case TUX_DOWN :
- new->w = GUN_SHOT_VERTICAL;
- new->h = GUN_LASSER_HORIZONTAL;
-#ifndef PUBLIC_SERVER
- new->img = g_shot_lasserY;
-#endif
- break;
- }
- break;
-
- case GUN_BOMBBALL :
- new->w = GUN_BOMBBALL_WIDTH;
- new->h = GUN_BOMBBALL_HEIGHT;
-
-#ifndef PUBLIC_SERVER
- new->img = g_shot_bombball;
-#endif
- break;
-
- default :
- assert( ! _("Type variable has a really wierd value!") );
- break;
- }
-
- return new;
-}
-
-void replaceShotID(shot_t *shot, int id)
-{
- replaceID(shot->id, id);
- shot->id = id;
-}
-
-
-void getStatusShot(void *p, int *id, int *x,int *y, int *w, int *h)
-{
- shot_t *shot;
-
- shot = p;
- *id = shot->id;
- *x = shot->x;
- *y = shot->y;
- *w = shot->w;
- *h = shot->h;
-}
-
-void setStatusShot(void *p, int x, int y, int w, int h)
-{
- shot_t *shot;
-
- shot = p;
- shot->x = x;
- shot->y = y;
- shot->w = w;
- shot->h = h;
-}
-
-#ifndef PUBLIC_SERVER
-
-void drawShot(shot_t *p)
-{
- assert( p != NULL );
- addLayer(p->img, p->x, p->y, 0, 0, p->img->w, p->img->h, TUX_LAYER);
-}
-
-void drawListShot(list_t *listShot)
-{
- shot_t *thisShot;
- int i;
-
- assert( listShot != NULL );
-
- for( i = 0 ; i < listShot->count ; i++ )
- {
- thisShot = (shot_t *)listShot->list[i];
- assert( thisShot != NULL );
- drawShot(thisShot);
- }
-}
-
-#endif
-
-static int getRandomCourse(int x, int y)
-{
- int ret = -1; // no warnning
-
- do{
- switch( random() % 3 )
- {
- case 0 :
- ret = y;
- break;
- case 1 :
- ret = -y;
- break;
- case 2 :
- ret = 0;
- break;
- }
- }while( ret == x );
-
- return ret;
-}
-
-void boundBombBall(shot_t *shot)
-{
- if( shot->gun != GUN_BOMBBALL )
- {
- return;
- }
-
- shot->px = getRandomCourse(shot->px, +10);
- shot->py = getRandomCourse(shot->py, +10);
- shot->isCanKillAuthor = 1;
-
- if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
- {
- proto_send_shot_server(PROTO_SEND_ALL, NULL, shot);
- }
-}
-
-void transformOnlyLasser(shot_t *shot)
-{
- space_t *space;
- int mustRefesh = 0;
-
- space = getCurrentArena()->spaceShot;
-
- if( getObjectFromSpaceWithID(space, shot->id) != NULL )
- {
- mustRefesh = 1;
- }
-
- if( mustRefesh )
- {
- delObjectFromSpace(space, shot);
- }
-
- switch( shot->position )
- {
- case TUX_RIGHT :
- case TUX_LEFT :
- shot->w = GUN_LASSER_HORIZONTAL;
- shot->h = GUN_SHOT_VERTICAL;
-#ifndef PUBLIC_SERVER
- shot->img = g_shot_lasserX;
-#endif
- break;
- case TUX_UP :
- case TUX_DOWN :
- shot->w = GUN_SHOT_VERTICAL;
- shot->h = GUN_LASSER_HORIZONTAL;
-#ifndef PUBLIC_SERVER
- shot->img = g_shot_lasserY;
-#endif
- break;
- }
-
- if( mustRefesh)
- {
- addObjectToSpace(space, shot);
- }
-}
-
-static void action_moveShot(space_t *space, shot_t *shot, void *p)
-{
- int new_x, new_y;
- arena_t *arena;
-
- arena = getCurrentArena();
-
- new_x = shot->x + shot->px;
- new_y = shot->y + shot->py;
-
- moveObjectInSpace(space, shot, new_x, new_y);
-
- if( shot->x+shot->w < 0 || shot->x > arena->w ||
- shot->y+shot->h < 0 || shot->y > arena->h )
- {
- delObjectFromSpaceWithObject(space, shot, destroyShot);
- }
-}
-
-void eventMoveListShot(arena_t *arena)
-{
- actionSpace(arena->spaceShot, action_moveShot, NULL);
-}
-
-static int isValueInList(list_t *list, int x)
-{
- int i;
-
- for( i = 0 ; i < list->count ; i++ )
- {
- if( x == ( *(int *)list->list[i] ) )
- {
- return 1;
- }
- }
-
- return 0;
-}
-
-static void action_check(space_t *space, shot_t *shot, client_t *client)
-{
- if( isValueInList(client->listSeesShot, shot->id) == 0 )
- {
- addList(client->listSeesShot, newInt(shot->id) );
- proto_send_shot_server(PROTO_SEND_ONE, client, shot);
- }
-}
-
-void checkShotIsInTuxScreen(arena_t *arena)
-{
- int screen_x, screen_y;
- tux_t *thisTux;
- client_t *thisClient;
- list_t *listClient;
- int i;
-
- if( getNetTypeGame() != NET_GAME_TYPE_SERVER )
- {
- return;
- }
-
- listClient = getListServerClient();
-
- for( i = 0 ; i < listClient->count ; i++ )
- {
- thisClient = (client_t *)listClient->list[i];
- thisTux = (tux_t *)thisClient->tux;
- int del = 0;
-
- if( thisTux == NULL || thisTux->control != TUX_CONTROL_NET )
- {
- continue;
- }
-
- getCenterScreen(&screen_x, &screen_y, thisTux->x, thisTux->y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
-
- actionSpaceFromLocation(arena->spaceShot, action_check,
- thisClient, screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
-
- while( thisClient->listSeesShot->count > 100 )
- {
- delListItem(thisClient->listSeesShot, 0, free);
- del++;
- }
-
- //if( del > 0 )printf("del = %d\n", del);
- }
-}
-
-void destroyShot(shot_t *p)
-{
- assert( p != NULL );
-
- delID(p->id);
-
- free(p);
-}
-
-void quitShot()
-{
- isShotInit = FALSE;
-}
diff --git a/src/base/space.c b/src/base/space.c
index 1e2d3fa..382c4a4 100644
--- a/src/base/space.c
+++ b/src/base/space.c
@@ -9,375 +9,387 @@
#include "space.h"
#include "index.h"
-zone_t *
-newZone()
+zone_t* newZone()
{
- zone_t *new;
+ zone_t *new;
- new = malloc(sizeof(zone_t));
- new->list = newList();
+ new = malloc( sizeof(zone_t) );
+ new->list = newList();
- return new;
+ return new;
}
-void
-destroyZone(zone_t * p)
+void destroyZone(zone_t *p)
{
- assert(p != NULL);
+ assert( p != NULL );
- destroyList(p->list);
- free(p);
+ destroyList(p->list);
+ free(p);
}
-static int
-my_conflictSpace(int x1, int y1, int w1, int h1, int x2, int y2, int w2,
- int h2)
+static int my_conflictSpace(int x1,int y1,int w1,int h1,int x2,int y2,int w2,int h2)
{
- return (x1 < x2 + w2 && x2 < x1 + w1 && y1 < y2 + h2 && y2 < y1 + h1);
+ return (x1<x2+w2 && x2<x1+w1 && y1<y2+h2 && y2<y1+h1);
}
-space_t *
-newSpace(int w, int h, int segW, int segH,
- void (*getStatus) (void *p, int *id, int *x, int *y, int *w, int *h),
- void (*setStatus) (void *p, int x, int y, int w, int h))
+space_t *newSpace(int w, int h, int segW, int segH,
+ void (*getStatus)(void *p, int *id, int *x, int *y, int *w, int *h),
+ void (*setStatus)(void *p, int x, int y, int w, int h))
{
- space_t *new;
- int i, j;
-
- new = malloc(sizeof(space_t));
- memset(new, 0, sizeof(space_t));
-
- new->w = w / segW + 1;
- new->h = h / segH + 1;
- new->segW = segW;
- new->segH = segH;
- new->getStatus = getStatus;
- new->setStatus = setStatus;
- new->listIndex = newIndex();
-
- new->zone = malloc(new->w * sizeof(list_t **));
-
- for (i = 0; i < new->w; i++) {
- new->zone[i] = malloc(new->h * sizeof(list_t *));
- }
-
- for (i = 0; i < new->h; i++) {
- for (j = 0; j < new->w; j++) {
- new->zone[j][i] = newZone();
- }
- }
-
- return new;
+ space_t *new;
+ int i, j;
+
+ new = malloc( sizeof(space_t) );
+ memset(new, 0, sizeof(space_t));
+
+ new->w = w / segW + 1;
+ new->h = h / segH + 1;
+ new->segW = segW;
+ new->segH = segH;
+ new->getStatus = getStatus;
+ new->setStatus = setStatus;
+ new->listIndex = newIndex();
+
+ new->zone = malloc( new->w * sizeof(list_t **) );
+
+ for( i = 0 ; i < new->w ; i++ )
+ {
+ new->zone[i] = malloc( new->h * sizeof(list_t *) );
+ }
+
+ for( i = 0 ; i < new->h ; i++ )
+ {
+ for( j = 0 ; j < new->w ; j++ )
+ {
+ new->zone[j][i] = newZone();
+ }
+ }
+
+ return new;
}
-static void
-getSegment(space_t * p, int x, int y, int w, int h,
- int *segX, int *segY, int *segW, int *segH)
+static void getSegment(space_t *p, int x, int y, int w, int h,
+ int *segX, int *segY, int *segW, int *segH)
{
- *segX = x / p->segW;
- *segY = y / p->segH;
- *segW = ((x + w) / p->segW + 1) - *segX;
- *segH = ((y + h) / p->segH + 1) - *segY;
+ *segX = x / p->segW;
+ *segY = y / p->segH;
+ *segW = ( (x+w) / p->segW + 1 ) - *segX;
+ *segH = ( (y+h) / p->segH + 1 ) - *segY;
}
-int
-getSpaceCount(space_t * p)
+int getSpaceCount(space_t *p)
{
- return p->listIndex->count;
+ return p->listIndex->count;
}
-void *
-getItemFromSpace(space_t * p, int offset)
+void* getItemFromSpace(space_t *p, int offset)
{
- index_item_t *this;
+ index_item_t *this;
- this = (index_item_t *) p->listIndex->list[offset];
- return this->data;
+ this = (index_item_t *)p->listIndex->list[offset];
+ return this->data;
}
-void
-addObjectToSpace(space_t * p, void *item)
+void addObjectToSpace(space_t *p, void *item)
{
- int segX, segY, segW, segH;
- int id, x, y, w, h;
- int i, j;
-
- p->getStatus(item, &id, &x, &y, &w, &h);
- getSegment(p, x, y, w, h, &segX, &segY, &segW, &segH);
-
- for (i = segY; i < segY + segH; i++) {
- for (j = segX; j < segX + segW; j++) {
- if (j < 0 || j >= p->w || i < 0 || i >= p->h) {
- continue;
- }
-
- addList(p->zone[j][i]->list, item);
- }
- }
-
- addToIndex(p->listIndex, id, item);
+ int segX, segY, segW, segH;
+ int id, x, y, w, h;
+ int i, j;
+
+ p->getStatus(item, &id, &x, &y, &w, &h);
+ getSegment(p, x, y, w, h, &segX, &segY, &segW, &segH);
+
+ for( i = segY ; i < segY + segH ; i++ )
+ {
+ for( j = segX ; j < segX + segW ; j++ )
+ {
+ if( j < 0 || j >= p->w || i < 0 || i >= p->h )
+ {
+ continue;
+ }
+
+ addList(p->zone[j][i]->list, item);
+ }
+ }
+
+ addToIndex(p->listIndex, id, item);
}
-void
-getObjectFromSpace(space_t * p, int x, int y, int w, int h, list_t * list)
+void getObjectFromSpace(space_t *p, int x, int y, int w, int h, list_t *list)
{
- int segX, segY, segW, segH;
- int id, this_x, this_y, this_w, this_h;
- int i, j, k;
-
- getSegment(p, x, y, w, h, &segX, &segY, &segW, &segH);
-
- for (i = segY; i < segY + segH; i++) {
- for (j = segX; j < segX + segW; j++) {
- void *this;
-
- if (j < 0 || j >= p->w || i < 0 || i >= p->h) {
- continue;
- }
-
- for (k = 0; k < p->zone[j][i]->list->count; k++) {
- this = p->zone[j][i]->list->list[k];
- p->getStatus(this, &id, &this_x, &this_y, &this_w, &this_h);
-
- if (my_conflictSpace(x, y, w, h, this_x, this_y, this_w, this_h)
- && searchListItem(list, this) == -1) {
- addList(list, this);
- }
- }
- }
- }
+ int segX, segY, segW, segH;
+ int id, this_x, this_y, this_w, this_h;
+ int i, j, k;
+
+ getSegment(p, x, y, w, h, &segX, &segY, &segW, &segH);
+
+ for( i = segY ; i < segY + segH ; i++ )
+ {
+ for( j = segX ; j < segX + segW ; j++ )
+ {
+ void *this;
+
+ if( j < 0 || j >= p->w || i < 0 || i >= p->h )
+ {
+ continue;
+ }
+
+ for( k = 0 ; k < p->zone[j][i]->list->count ; k++ )
+ {
+ this = p->zone[j][i]->list->list[k];
+ p->getStatus(this, &id, &this_x, &this_y, &this_w, &this_h);
+
+ if( my_conflictSpace(x, y, w, h, this_x, this_y, this_w, this_h) &&
+ searchListItem(list, this) == -1 )
+ {
+ addList(list, this);
+ }
+ }
+ }
+ }
}
-void *
-getObjectFromSpaceWithID(space_t * space, int id)
+void* getObjectFromSpaceWithID(space_t *space, int id)
{
- return getFromIndex(space->listIndex, id);
+ return getFromIndex(space->listIndex, id);
}
-int
-isConflictWithObjectFromSpace(space_t * p, int x, int y, int w, int h)
+int isConflictWithObjectFromSpace(space_t *p, int x, int y, int w, int h)
{
- int segX, segY, segW, segH;
- int id, this_x, this_y, this_w, this_h;
- int i, j, k;
-
- getSegment(p, x, y, w, h, &segX, &segY, &segW, &segH);
-
- for (i = segY; i < segY + segH; i++) {
- for (j = segX; j < segX + segW; j++) {
- void *this;
-
- if (j < 0 || j >= p->w || i < 0 || i >= p->h) {
- continue;
- }
-
- for (k = 0; k < p->zone[j][i]->list->count; k++) {
- this = p->zone[j][i]->list->list[k];
- p->getStatus(this, &id, &this_x, &this_y, &this_w, &this_h);
-
- if (my_conflictSpace(x, y, w, h, this_x, this_y, this_w, this_h)) {
- return 1;
- }
- }
- }
- }
-
- return 0;
+ int segX, segY, segW, segH;
+ int id, this_x, this_y, this_w, this_h;
+ int i, j, k;
+
+ getSegment(p, x, y, w, h, &segX, &segY, &segW, &segH);
+
+ for( i = segY ; i < segY + segH ; i++ )
+ {
+ for( j = segX ; j < segX + segW ; j++ )
+ {
+ void *this;
+
+ if( j < 0 || j >= p->w || i < 0 || i >= p->h )
+ {
+ continue;
+ }
+
+ for( k = 0 ; k < p->zone[j][i]->list->count ; k++ )
+ {
+ this = p->zone[j][i]->list->list[k];
+ p->getStatus(this, &id, &this_x, &this_y, &this_w, &this_h);
+
+ if( my_conflictSpace(x, y, w, h, this_x, this_y, this_w, this_h) )
+ {
+ return 1;
+ }
+ }
+ }
+ }
+
+ return 0;
}
-int
-isConflictWithObjectFromSpaceBut(space_t * p, int x, int y, int w, int h,
- void *but)
+int isConflictWithObjectFromSpaceBut(space_t *p, int x, int y, int w, int h, void *but)
{
- int segX, segY, segW, segH;
- int id, this_x, this_y, this_w, this_h;
- int i, j, k;
-
- getSegment(p, x, y, w, h, &segX, &segY, &segW, &segH);
-
- for (i = segY; i < segY + segH; i++) {
- for (j = segX; j < segX + segW; j++) {
- void *this;
-
- if (j < 0 || j >= p->w || i < 0 || i >= p->h) {
- continue;
- }
-
- for (k = 0; k < p->zone[j][i]->list->count; k++) {
- this = p->zone[j][i]->list->list[k];
-
- if (this == but) {
- continue;
- }
-
- p->getStatus(this, &id, &this_x, &this_y, &this_w, &this_h);
-
- if (my_conflictSpace(x, y, w, h, this_x, this_y, this_w, this_h)) {
- return 1;
- }
- }
- }
- }
-
- return 0;
+ int segX, segY, segW, segH;
+ int id, this_x, this_y, this_w, this_h;
+ int i, j, k;
+
+ getSegment(p, x, y, w, h, &segX, &segY, &segW, &segH);
+
+ for( i = segY ; i < segY + segH ; i++ )
+ {
+ for( j = segX ; j < segX + segW ; j++ )
+ {
+ void *this;
+
+ if( j < 0 || j >= p->w || i < 0 || i >= p->h )
+ {
+ continue;
+ }
+
+ for( k = 0 ; k < p->zone[j][i]->list->count ; k++ )
+ {
+ this = p->zone[j][i]->list->list[k];
+
+ if( this == but )
+ {
+ continue;
+ }
+
+ p->getStatus(this, &id, &this_x, &this_y, &this_w, &this_h);
+
+ if( my_conflictSpace(x, y, w, h, this_x, this_y, this_w, this_h) )
+ {
+ return 1;
+ }
+ }
+ }
+ }
+
+ return 0;
}
-void
-delObjectFromSpace(space_t * p, void *item)
+void delObjectFromSpace(space_t *p, void *item)
{
- int segX, segY, segW, segH;
- int id, x, y, w, h;
- int index;
- int i, j;
-
- p->getStatus(item, &id, &x, &y, &w, &h);
- getSegment(p, x, y, w, h, &segX, &segY, &segW, &segH);
-
- for (i = segY; i < segY + segH; i++) {
- for (j = segX; j < segX + segW; j++) {
- if (j < 0 || j >= p->w || i < 0 || i >= p->h) {
- continue;
- }
-
- index = searchListItem(p->zone[j][i]->list, item);
- assert(index != -1);
- delList(p->zone[j][i]->list, index);
- }
- }
-
- delFromIndex(p->listIndex, id);
+ int segX, segY, segW, segH;
+ int id, x, y, w, h;
+ int index;
+ int i, j;
+
+ p->getStatus(item, &id, &x, &y, &w, &h);
+ getSegment(p, x, y, w, h, &segX, &segY, &segW, &segH);
+
+ for( i = segY ; i < segY + segH ; i++ )
+ {
+ for( j = segX ; j < segX + segW ; j++ )
+ {
+ if( j < 0 || j >= p->w || i < 0 || i >= p->h )
+ {
+ continue;
+ }
+
+ index = searchListItem(p->zone[j][i]->list, item);
+ assert( index != -1 );
+ delList(p->zone[j][i]->list, index);
+ }
+ }
+
+ delFromIndex(p->listIndex, id);
}
-void
-delObjectFromSpaceWithObject(space_t * p, void *item, void *f)
+void delObjectFromSpaceWithObject(space_t *p, void *item, void *f)
{
- void (*fce) (void *param);
+ void (*fce)(void *param);
- fce = f;
+ fce = f;
- delObjectFromSpace(p, item);
- fce(item);
+ delObjectFromSpace(p, item);
+ fce(item);
}
-void
-moveObjectInSpace(space_t * p, void *item, int move_x, int move_y)
+void moveObjectInSpace(space_t *p, void *item, int move_x, int move_y)
{
- int old_segX, old_segY, old_segW, old_segH;
- int new_segX, new_segY, new_segW, new_segH;
- int id, x, y, w, h;
-
- p->getStatus(item, &id, &x, &y, &w, &h);
- getSegment(p, x, y, w, h, &old_segX, &old_segY, &old_segW, &old_segH);
- getSegment(p, move_x, move_y, w, h, &new_segX, &new_segY, &new_segW,
- &new_segH);
+ int old_segX, old_segY, old_segW, old_segH;
+ int new_segX, new_segY, new_segW, new_segH;
+ int id, x, y, w, h;
+
+ p->getStatus(item, &id, &x, &y, &w, &h);
+ getSegment(p, x, y, w, h, &old_segX, &old_segY, &old_segW, &old_segH);
+ getSegment(p, move_x, move_y, w, h, &new_segX, &new_segY, &new_segW, &new_segH);
/*
printf("%d %d %d %d -> %d %d %d %d \n",
old_segX, old_segY, old_segW, old_segH,
new_segX, new_segY, new_segW, new_segH);
*/
- if (old_segX != new_segX || old_segY != new_segY ||
- old_segW != new_segW || old_segH != new_segH) {
- delObjectFromSpace(p, item);
- p->setStatus(item, move_x, move_y, w, h);
- addObjectToSpace(p, item);
- return;
- }
-
- p->setStatus(item, move_x, move_y, w, h);
+ if( old_segX != new_segX || old_segY != new_segY ||
+ old_segW != new_segW || old_segH != new_segH )
+ {
+ delObjectFromSpace(p, item);
+ p->setStatus(item, move_x, move_y, w, h);
+ addObjectToSpace(p, item);
+ return;
+ }
+
+ p->setStatus(item, move_x, move_y, w, h);
}
-void
-printSpace(space_t * p)
+void printSpace(space_t *p)
{
- int i, j;
+ int i, j;
- printf("print space : \n");
+ printf("print space : \n");
- for (i = 0; i < p->h; i++) {
- for (j = 0; j < p->w; j++) {
- printf("%3d ", p->zone[j][i]->list->count);
- }
+ for( i = 0 ; i < p->h ; i++ )
+ {
+ for( j = 0 ; j < p->w ; j++ )
+ {
+ printf("%3d ", p->zone[j][i]->list->count);
+ }
- putchar('\n');
- }
+ putchar('\n');
+ }
}
-void
-actionSpace(space_t * space, void *f, void *p)
+void actionSpace(space_t *space, void *f, void *p)
{
- void (*fce) (space_t * space, void *f, void *p);
- int len;
- int i;
-
- fce = f;
- len = space->listIndex->count;
-
- for (i = 0; i < len; i++) {
- fce(space, getItemFromSpace(space, i), p);
-
- if (space->listIndex->count == len - 1) {
- len--;
- i--;
- }
- }
+ void (*fce)(space_t *space, void *f, void *p);
+ int len;
+ int i;
+
+ fce = f;
+ len = space->listIndex->count;
+
+ for( i = 0 ; i < len ; i++ )
+ {
+ fce(space, getItemFromSpace(space, i), p);
+
+ if( space->listIndex->count == len-1 )
+ {
+ len--;
+ i--;
+ }
+ }
}
-void
-actionSpaceFromLocation(space_t * space, void *f, void *p, int x, int y,
- int w, int h)
+void actionSpaceFromLocation(space_t *space, void *f, void *p, int x, int y, int w, int h)
{
- void (*fce) (space_t * space, void *f, void *p);
- list_t *list;
- int len;
- int i;
+ void (*fce)(space_t *space, void *f, void *p);
+ list_t *list;
+ int len;
+ int i;
- fce = f;
+ fce = f;
- list = newList();
+ list = newList();
- getObjectFromSpace(space, x, y, w, h, list);
+ getObjectFromSpace(space, x, y, w, h, list);
- len = list->count;
+ len = list->count;
- for (i = 0; i < len; i++) {
- fce(space, list->list[i], p);
- }
+ for( i = 0 ; i < len ; i++ )
+ {
+ fce(space, list->list[i], p);
+ }
- destroyList(list);
+ destroyList(list);
}
-void
-destroySpace(space_t * p)
+void destroySpace(space_t *p)
{
- int j, i;
+ int j, i;
- destroyIndex(p->listIndex);
+ destroyIndex(p->listIndex);
- for (i = 0; i < p->h; i++) {
- for (j = 0; j < p->w; j++) {
- destroyZone(p->zone[j][i]);
- }
- }
+ for( i = 0 ; i < p->h ; i++ )
+ {
+ for( j = 0 ; j < p->w ; j++ )
+ {
+ destroyZone(p->zone[j][i]);
+ }
+ }
- for (i = 0; i < p->w; i++) {
- free(p->zone[i]);
- }
+ for( i = 0 ; i < p->w ; i++ )
+ {
+ free(p->zone[i]);
+ }
- free(p->zone);
- free(p);
+ free(p->zone);
+ free(p);
}
-void
-destroySpaceWithObject(space_t * p, void *f)
+void destroySpaceWithObject(space_t *p, void *f)
{
- void (*fce) (void *param);
- int i;
+ void (*fce)(void *param);
+ int i;
- fce = f;
+ fce = f;
- for (i = 0; i < p->listIndex->count; i++) {
- fce(getItemFromSpace(p, i));
- }
+ for( i = 0 ; i < p->listIndex->count ; i++ )
+ {
+ fce( getItemFromSpace(p, i) );
+ }
- destroySpace(p);
+ destroySpace(p);
}
+
diff --git a/src/base/space.c~ b/src/base/space.c~
deleted file mode 100644
index 382c4a4..0000000
--- a/src/base/space.c~
+++ /dev/null
@@ -1,395 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "space.h"
-#include "index.h"
-
-zone_t* newZone()
-{
- zone_t *new;
-
- new = malloc( sizeof(zone_t) );
- new->list = newList();
-
- return new;
-}
-
-void destroyZone(zone_t *p)
-{
- assert( p != NULL );
-
- destroyList(p->list);
- free(p);
-}
-
-static int my_conflictSpace(int x1,int y1,int w1,int h1,int x2,int y2,int w2,int h2)
-{
- return (x1<x2+w2 && x2<x1+w1 && y1<y2+h2 && y2<y1+h1);
-}
-
-space_t *newSpace(int w, int h, int segW, int segH,
- void (*getStatus)(void *p, int *id, int *x, int *y, int *w, int *h),
- void (*setStatus)(void *p, int x, int y, int w, int h))
-{
- space_t *new;
- int i, j;
-
- new = malloc( sizeof(space_t) );
- memset(new, 0, sizeof(space_t));
-
- new->w = w / segW + 1;
- new->h = h / segH + 1;
- new->segW = segW;
- new->segH = segH;
- new->getStatus = getStatus;
- new->setStatus = setStatus;
- new->listIndex = newIndex();
-
- new->zone = malloc( new->w * sizeof(list_t **) );
-
- for( i = 0 ; i < new->w ; i++ )
- {
- new->zone[i] = malloc( new->h * sizeof(list_t *) );
- }
-
- for( i = 0 ; i < new->h ; i++ )
- {
- for( j = 0 ; j < new->w ; j++ )
- {
- new->zone[j][i] = newZone();
- }
- }
-
- return new;
-}
-
-static void getSegment(space_t *p, int x, int y, int w, int h,
- int *segX, int *segY, int *segW, int *segH)
-{
- *segX = x / p->segW;
- *segY = y / p->segH;
- *segW = ( (x+w) / p->segW + 1 ) - *segX;
- *segH = ( (y+h) / p->segH + 1 ) - *segY;
-}
-
-int getSpaceCount(space_t *p)
-{
- return p->listIndex->count;
-}
-
-void* getItemFromSpace(space_t *p, int offset)
-{
- index_item_t *this;
-
- this = (index_item_t *)p->listIndex->list[offset];
- return this->data;
-}
-
-void addObjectToSpace(space_t *p, void *item)
-{
- int segX, segY, segW, segH;
- int id, x, y, w, h;
- int i, j;
-
- p->getStatus(item, &id, &x, &y, &w, &h);
- getSegment(p, x, y, w, h, &segX, &segY, &segW, &segH);
-
- for( i = segY ; i < segY + segH ; i++ )
- {
- for( j = segX ; j < segX + segW ; j++ )
- {
- if( j < 0 || j >= p->w || i < 0 || i >= p->h )
- {
- continue;
- }
-
- addList(p->zone[j][i]->list, item);
- }
- }
-
- addToIndex(p->listIndex, id, item);
-}
-
-void getObjectFromSpace(space_t *p, int x, int y, int w, int h, list_t *list)
-{
- int segX, segY, segW, segH;
- int id, this_x, this_y, this_w, this_h;
- int i, j, k;
-
- getSegment(p, x, y, w, h, &segX, &segY, &segW, &segH);
-
- for( i = segY ; i < segY + segH ; i++ )
- {
- for( j = segX ; j < segX + segW ; j++ )
- {
- void *this;
-
- if( j < 0 || j >= p->w || i < 0 || i >= p->h )
- {
- continue;
- }
-
- for( k = 0 ; k < p->zone[j][i]->list->count ; k++ )
- {
- this = p->zone[j][i]->list->list[k];
- p->getStatus(this, &id, &this_x, &this_y, &this_w, &this_h);
-
- if( my_conflictSpace(x, y, w, h, this_x, this_y, this_w, this_h) &&
- searchListItem(list, this) == -1 )
- {
- addList(list, this);
- }
- }
- }
- }
-}
-
-void* getObjectFromSpaceWithID(space_t *space, int id)
-{
- return getFromIndex(space->listIndex, id);
-}
-
-int isConflictWithObjectFromSpace(space_t *p, int x, int y, int w, int h)
-{
- int segX, segY, segW, segH;
- int id, this_x, this_y, this_w, this_h;
- int i, j, k;
-
- getSegment(p, x, y, w, h, &segX, &segY, &segW, &segH);
-
- for( i = segY ; i < segY + segH ; i++ )
- {
- for( j = segX ; j < segX + segW ; j++ )
- {
- void *this;
-
- if( j < 0 || j >= p->w || i < 0 || i >= p->h )
- {
- continue;
- }
-
- for( k = 0 ; k < p->zone[j][i]->list->count ; k++ )
- {
- this = p->zone[j][i]->list->list[k];
- p->getStatus(this, &id, &this_x, &this_y, &this_w, &this_h);
-
- if( my_conflictSpace(x, y, w, h, this_x, this_y, this_w, this_h) )
- {
- return 1;
- }
- }
- }
- }
-
- return 0;
-}
-
-int isConflictWithObjectFromSpaceBut(space_t *p, int x, int y, int w, int h, void *but)
-{
- int segX, segY, segW, segH;
- int id, this_x, this_y, this_w, this_h;
- int i, j, k;
-
- getSegment(p, x, y, w, h, &segX, &segY, &segW, &segH);
-
- for( i = segY ; i < segY + segH ; i++ )
- {
- for( j = segX ; j < segX + segW ; j++ )
- {
- void *this;
-
- if( j < 0 || j >= p->w || i < 0 || i >= p->h )
- {
- continue;
- }
-
- for( k = 0 ; k < p->zone[j][i]->list->count ; k++ )
- {
- this = p->zone[j][i]->list->list[k];
-
- if( this == but )
- {
- continue;
- }
-
- p->getStatus(this, &id, &this_x, &this_y, &this_w, &this_h);
-
- if( my_conflictSpace(x, y, w, h, this_x, this_y, this_w, this_h) )
- {
- return 1;
- }
- }
- }
- }
-
- return 0;
-}
-
-void delObjectFromSpace(space_t *p, void *item)
-{
- int segX, segY, segW, segH;
- int id, x, y, w, h;
- int index;
- int i, j;
-
- p->getStatus(item, &id, &x, &y, &w, &h);
- getSegment(p, x, y, w, h, &segX, &segY, &segW, &segH);
-
- for( i = segY ; i < segY + segH ; i++ )
- {
- for( j = segX ; j < segX + segW ; j++ )
- {
- if( j < 0 || j >= p->w || i < 0 || i >= p->h )
- {
- continue;
- }
-
- index = searchListItem(p->zone[j][i]->list, item);
- assert( index != -1 );
- delList(p->zone[j][i]->list, index);
- }
- }
-
- delFromIndex(p->listIndex, id);
-}
-
-void delObjectFromSpaceWithObject(space_t *p, void *item, void *f)
-{
- void (*fce)(void *param);
-
- fce = f;
-
- delObjectFromSpace(p, item);
- fce(item);
-}
-
-void moveObjectInSpace(space_t *p, void *item, int move_x, int move_y)
-{
- int old_segX, old_segY, old_segW, old_segH;
- int new_segX, new_segY, new_segW, new_segH;
- int id, x, y, w, h;
-
- p->getStatus(item, &id, &x, &y, &w, &h);
- getSegment(p, x, y, w, h, &old_segX, &old_segY, &old_segW, &old_segH);
- getSegment(p, move_x, move_y, w, h, &new_segX, &new_segY, &new_segW, &new_segH);
-/*
- printf("%d %d %d %d -> %d %d %d %d \n",
- old_segX, old_segY, old_segW, old_segH,
- new_segX, new_segY, new_segW, new_segH);
-*/
- if( old_segX != new_segX || old_segY != new_segY ||
- old_segW != new_segW || old_segH != new_segH )
- {
- delObjectFromSpace(p, item);
- p->setStatus(item, move_x, move_y, w, h);
- addObjectToSpace(p, item);
- return;
- }
-
- p->setStatus(item, move_x, move_y, w, h);
-}
-
-void printSpace(space_t *p)
-{
- int i, j;
-
- printf("print space : \n");
-
- for( i = 0 ; i < p->h ; i++ )
- {
- for( j = 0 ; j < p->w ; j++ )
- {
- printf("%3d ", p->zone[j][i]->list->count);
- }
-
- putchar('\n');
- }
-}
-
-void actionSpace(space_t *space, void *f, void *p)
-{
- void (*fce)(space_t *space, void *f, void *p);
- int len;
- int i;
-
- fce = f;
- len = space->listIndex->count;
-
- for( i = 0 ; i < len ; i++ )
- {
- fce(space, getItemFromSpace(space, i), p);
-
- if( space->listIndex->count == len-1 )
- {
- len--;
- i--;
- }
- }
-}
-
-void actionSpaceFromLocation(space_t *space, void *f, void *p, int x, int y, int w, int h)
-{
- void (*fce)(space_t *space, void *f, void *p);
- list_t *list;
- int len;
- int i;
-
- fce = f;
-
- list = newList();
-
- getObjectFromSpace(space, x, y, w, h, list);
-
- len = list->count;
-
- for( i = 0 ; i < len ; i++ )
- {
- fce(space, list->list[i], p);
- }
-
- destroyList(list);
-}
-
-void destroySpace(space_t *p)
-{
- int j, i;
-
- destroyIndex(p->listIndex);
-
- for( i = 0 ; i < p->h ; i++ )
- {
- for( j = 0 ; j < p->w ; j++ )
- {
- destroyZone(p->zone[j][i]);
- }
- }
-
- for( i = 0 ; i < p->w ; i++ )
- {
- free(p->zone[i]);
- }
-
- free(p->zone);
- free(p);
-}
-
-void destroySpaceWithObject(space_t *p, void *f)
-{
- void (*fce)(void *param);
- int i;
-
- fce = f;
-
- for( i = 0 ; i < p->listIndex->count ; i++ )
- {
- fce( getItemFromSpace(p, i) );
- }
-
- destroySpace(p);
-}
-
diff --git a/src/base/storage.c b/src/base/storage.c
index 54c5e9b..7a7ee91 100644
--- a/src/base/storage.c
+++ b/src/base/storage.c
@@ -9,125 +9,117 @@
typedef struct struct_storage_item
{
- char *name;
- char *group;
- void *data;
+ char *name;
+ char *group;
+ void *data;
} storage_item_t;
-list_t *
-newStorage()
+list_t* newStorage()
{
- return newList();
+ return newList();
}
-static storage_item_t *
-newStorageItem(char *group, char *name, void *data)
+static storage_item_t* newStorageItem(char *group, char *name, void *data)
{
- storage_item_t *new;
-
- assert(name != NULL);
- assert(group != NULL);
- assert(data != NULL);
- new = malloc(sizeof(storage_item_t));
- new->name = strdup(name);
- new->group = strdup(group);
- new->data = data;
- return new;
+ storage_item_t *new;
+
+ assert(name != NULL);
+ assert(group != NULL);
+ assert(data != NULL);
+ new = malloc(sizeof(storage_item_t));
+ new->name = strdup(name);
+ new->group = strdup(group);
+ new->data = data;
+ return new;
}
-static void
-destroyStorageItem(storage_item_t * p, void *f)
+static void destroyStorageItem(storage_item_t *p, void *f)
{
- void (*fce) (void *);
-
- assert(p != NULL);
- assert(f != NULL);
- fce = f;
- fce(p->data);
- free(p->name);
- free(p->group);
- free(p);
+ void(*fce)(void *);
+
+ assert(p != NULL);
+ assert(f != NULL);
+ fce = f;
+ fce(p->data);
+ free(p->name);
+ free(p->group);
+ free(p);
}
-void
-addItemToStorage(list_t * list, char *group, char *name, void *data)
+void addItemToStorage(list_t *list, char *group, char *name, void *data)
{
- assert(list != NULL);
- assert(group != NULL);
- assert(name != NULL);
- addList(list, newStorageItem(group, name, data));
+ assert(list != NULL);
+ assert(group != NULL);
+ assert(name != NULL);
+ addList(list, newStorageItem(group, name, data) );
}
-void *
-getItemFromStorage(list_t * list, char *group, char *name)
+void* getItemFromStorage(list_t *list, char *group, char *name)
{
- storage_item_t *this;
- int i;
-
- assert(list != NULL);
- assert(group != NULL);
- assert(name != NULL);
- for (i = 0; i < list->count; i++) {
- this = (storage_item_t *) list->list[i];
- if (strcmp(group, this->group) == 0 && strcmp(name, this->name) == 0)
- return this->data;
- }
+ storage_item_t *this;
+ int i;
+
+ assert(list != NULL);
+ assert(group != NULL);
+ assert(name != NULL);
+ for (i = 0; i < list->count; i++) {
+ this = (storage_item_t *) list->list[i];
+ if (strcmp(group, this->group) == 0 && strcmp(name, this->name) == 0)
+ return this->data;
+ }
#ifdef DEBUG
- printf(_("%s %s was not found in storage!\n"), group, name);
+ printf(_("%s %s was not found in storage!\n"), group, name);
#endif
- return NULL;
+ return NULL;
}
-void
-delItemFromStorage(list_t * list, char *group, char *name, void *f)
+void delItemFromStorage(list_t *list, char *group, char *name, void *f)
{
- storage_item_t *this;
- int i;
-
- assert(list != NULL);
- assert(group != NULL);
- assert(name != NULL);
- for (i = 0; i < list->count; i++) {
- this = (storage_item_t *) list->list[i];
- if (strcmp(group, this->group) == 0 && strcmp(name, this->name) == 0) {
- destroyStorageItem(this, f);
- delList(list, i);
- return;
- }
- }
- return;
+ storage_item_t *this;
+ int i;
+
+ assert(list != NULL);
+ assert(group != NULL);
+ assert(name != NULL);
+ for (i = 0; i < list->count; i++) {
+ this = (storage_item_t *) list->list[i];
+ if (strcmp(group, this->group) == 0 && strcmp(name, this->name) == 0) {
+ destroyStorageItem(this, f);
+ delList(list, i);
+ return;
+ }
+ }
+ return;
}
-void
-delAllItemFromStorage(list_t * list, char *group, void *f)
+void delAllItemFromStorage(list_t *list, char *group, void *f)
{
- storage_item_t *this;
- int i;
-
- assert(list != NULL);
- assert(group != NULL);
-
- for (i = 0; i < list->count; i++) {
- this = (storage_item_t *) list->list[i];
- if (strcmp(group, this->group) == 0) {
- destroyStorageItem(this, f);
- delList(list, i);
- i--;
- }
- }
+ storage_item_t *this;
+ int i;
+
+ assert(list != NULL);
+ assert(group != NULL);
+
+ for (i = 0; i < list->count; i++) {
+ this = (storage_item_t *) list->list[i];
+ if (strcmp(group, this->group) == 0) {
+ destroyStorageItem(this, f);
+ delList(list, i);
+ i--;
+ }
+ }
}
-void
-destroyStorage(list_t * p, void *f)
+void destroyStorage(list_t *p, void *f)
{
- storage_item_t *this;
- int i;
-
- assert(p != NULL);
- assert(f != NULL);
- for (i = 0; i < p->count; i++) {
- this = (storage_item_t *) p->list[i];
- destroyStorageItem(this, f);
- }
- destroyList(p);
+ storage_item_t *this;
+ int i;
+
+ assert(p != NULL);
+ assert(f != NULL);
+ for (i = 0; i < p->count; i++) {
+ this = (storage_item_t *)p->list[i];
+ destroyStorageItem(this, f);
+ }
+ destroyList(p);
}
diff --git a/src/base/storage.c~ b/src/base/storage.c~
deleted file mode 100644
index 7a7ee91..0000000
--- a/src/base/storage.c~
+++ /dev/null
@@ -1,125 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-
-typedef struct struct_storage_item
-{
- char *name;
- char *group;
- void *data;
-} storage_item_t;
-
-list_t* newStorage()
-{
- return newList();
-}
-
-static storage_item_t* newStorageItem(char *group, char *name, void *data)
-{
- storage_item_t *new;
-
- assert(name != NULL);
- assert(group != NULL);
- assert(data != NULL);
- new = malloc(sizeof(storage_item_t));
- new->name = strdup(name);
- new->group = strdup(group);
- new->data = data;
- return new;
-}
-
-static void destroyStorageItem(storage_item_t *p, void *f)
-{
- void(*fce)(void *);
-
- assert(p != NULL);
- assert(f != NULL);
- fce = f;
- fce(p->data);
- free(p->name);
- free(p->group);
- free(p);
-}
-
-void addItemToStorage(list_t *list, char *group, char *name, void *data)
-{
- assert(list != NULL);
- assert(group != NULL);
- assert(name != NULL);
- addList(list, newStorageItem(group, name, data) );
-}
-
-void* getItemFromStorage(list_t *list, char *group, char *name)
-{
- storage_item_t *this;
- int i;
-
- assert(list != NULL);
- assert(group != NULL);
- assert(name != NULL);
- for (i = 0; i < list->count; i++) {
- this = (storage_item_t *) list->list[i];
- if (strcmp(group, this->group) == 0 && strcmp(name, this->name) == 0)
- return this->data;
- }
-#ifdef DEBUG
- printf(_("%s %s was not found in storage!\n"), group, name);
-#endif
- return NULL;
-}
-
-void delItemFromStorage(list_t *list, char *group, char *name, void *f)
-{
- storage_item_t *this;
- int i;
-
- assert(list != NULL);
- assert(group != NULL);
- assert(name != NULL);
- for (i = 0; i < list->count; i++) {
- this = (storage_item_t *) list->list[i];
- if (strcmp(group, this->group) == 0 && strcmp(name, this->name) == 0) {
- destroyStorageItem(this, f);
- delList(list, i);
- return;
- }
- }
- return;
-}
-
-void delAllItemFromStorage(list_t *list, char *group, void *f)
-{
- storage_item_t *this;
- int i;
-
- assert(list != NULL);
- assert(group != NULL);
-
- for (i = 0; i < list->count; i++) {
- this = (storage_item_t *) list->list[i];
- if (strcmp(group, this->group) == 0) {
- destroyStorageItem(this, f);
- delList(list, i);
- i--;
- }
- }
-}
-
-void destroyStorage(list_t *p, void *f)
-{
- storage_item_t *this;
- int i;
-
- assert(p != NULL);
- assert(f != NULL);
- for (i = 0; i < p->count; i++) {
- this = (storage_item_t *)p->list[i];
- destroyStorageItem(this, f);
- }
- destroyList(p);
-}
diff --git a/src/base/tcp_server.c b/src/base/tcp_server.c
index fc96729..14e7e22 100644
--- a/src/base/tcp_server.c
+++ b/src/base/tcp_server.c
@@ -46,238 +46,248 @@
static sock_tcp_t *sock_server_tcp;
static sock_tcp_t *sock_server_tcp_second;
-client_t *
-newTcpClient(sock_tcp_t * sock_tcp)
+client_t* newTcpClient(sock_tcp_t *sock_tcp)
{
- client_t *new;
+ client_t *new;
- assert(sock_tcp != NULL);
+ assert( sock_tcp != NULL );
- new = newAnyClient();
- new->type = CLIENT_TYPE_TCP;
- new->socket_tcp = sock_tcp;
- new->recvBuffer = newBuffer(SERVER_TCP_BUFFER_LIMIT);
- new->sendBuffer = newBuffer(SERVER_TCP_BUFFER_LIMIT);
+ new = newAnyClient();
+ new->type = CLIENT_TYPE_TCP;
+ new->socket_tcp = sock_tcp;
+ new->recvBuffer = newBuffer(SERVER_TCP_BUFFER_LIMIT);
+ new->sendBuffer = newBuffer(SERVER_TCP_BUFFER_LIMIT);
#ifdef PUBLIC_SERVER
- char str_log[STR_LOG_SIZE];
- char str_ip[STR_IP_SIZE];
+ char str_log[STR_LOG_SIZE];
+ char str_ip[STR_IP_SIZE];
- getSockTcpIp(sock_tcp, str_ip, STR_IP_SIZE);
- sprintf(str_log, _("New client \"%s\" on port \"%d\" connected"), str_ip,
- getSockTcpPort(sock_tcp));
- addToLog(LOG_INF, str_log);
+ getSockTcpIp(sock_tcp, str_ip, STR_IP_SIZE);
+ sprintf(str_log, _("New client \"%s\" on port \"%d\" connected"), str_ip, getSockTcpPort(sock_tcp));
+ addToLog(LOG_INF, str_log);
#endif
- return new;
+ return new;
}
-void
-sendTcpClientBuffer(client_t * client)
+void sendTcpClientBuffer(client_t *client)
{
- void *data;
- int len;
- int res;
+ void *data;
+ int len;
+ int res;
- len = getBufferSize(client->sendBuffer);
+ len = getBufferSize(client->sendBuffer);
- if (len == 0) {
- return;
- }
+ if( len == 0 )
+ {
+ return;
+ }
- data = getBufferData(client->sendBuffer);
+ data = getBufferData(client->sendBuffer);
- res = writeTcpSocket(client->socket_tcp, data, len);
- //printf("writeTcpSocket = %d\n", res);
+ res = writeTcpSocket(client->socket_tcp, data, len);
+ //printf("writeTcpSocket = %d\n", res);
- if (res < 0) {
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
+ if( res < 0 )
+ {
+ client->status = NET_STATUS_ZOMBIE;
+ return;
+ }
- cutBuffer(client->sendBuffer, res);
+ cutBuffer(client->sendBuffer, res);
}
-void
-destroyTcpClient(client_t * client)
+void destroyTcpClient(client_t *client)
{
- eventMsgInCheckFront(client);
- sendTcpClientBuffer(client);
+ eventMsgInCheckFront(client);
+ sendTcpClientBuffer(client);
#ifdef PUBLIC_SERVER
- char str_log[STR_LOG_SIZE];
- char str_ip[STR_IP_SIZE];
+ char str_log[STR_LOG_SIZE];
+ char str_ip[STR_IP_SIZE];
- getSockTcpIp(client->socket_tcp, str_ip, STR_IP_SIZE);
- sprintf(str_log, _("Client \"%s\" on port \"%d\" disconnected"), str_ip,
- getSockTcpPort(client->socket_tcp));
- addToLog(LOG_INF, str_log);
+ getSockTcpIp(client->socket_tcp, str_ip, STR_IP_SIZE);
+ sprintf(str_log, _("Client \"%s\" on port \"%d\" disconnected"), str_ip, getSockTcpPort(client->socket_tcp));
+ addToLog(LOG_INF, str_log);
#endif
- closeTcpSocket(client->socket_tcp);
- destroyBuffer(client->recvBuffer);
- destroyBuffer(client->sendBuffer);
+ closeTcpSocket(client->socket_tcp);
+ destroyBuffer(client->recvBuffer);
+ destroyBuffer(client->sendBuffer);
- destroyAnyClient(client);
+ destroyAnyClient(client);
}
-int
-initTcpServer(char *ip4, int port4, char *ip6, int port6)
+int initTcpServer(char *ip4, int port4, char *ip6, int port6)
{
- int ret;
+ int ret;
- ret = 0;
+ ret = 0;
- if (ip4 != NULL) {
- sock_server_tcp = bindTcpSocket(ip4, port4, PROTO_UDPv4);
+ if( ip4 != NULL )
+ {
+ sock_server_tcp = bindTcpSocket(ip4, port4, PROTO_UDPv4);
- if (sock_server_tcp != NULL) {
- ret++;
- disableNagle(sock_server_tcp);
+ if( sock_server_tcp != NULL )
+ {
+ ret++;
+ disableNagle(sock_server_tcp);
#ifdef DEBUG
- printf(_("Starting server: \"%s\" on port: \"%d\"\n"), ip4, port4);
+ printf(_("Starting server: \"%s\" on port: \"%d\"\n"), ip4, port4);
#endif
- }
- else {
+ }
+ else
+ {
#ifdef DEBUG
- printf(_("Starting server: \"%s\" on port: \"%d\" FAILED!\n"), ip4,
- port4);
+ printf(_("Starting server: \"%s\" on port: \"%d\" FAILED!\n"), ip4, port4);
#endif
- }
- }
+ }
+ }
- if (ip6 != NULL) {
- sock_server_tcp_second = bindTcpSocket(ip6, port6, PROTO_UDPv6);
+ if( ip6 != NULL )
+ {
+ sock_server_tcp_second = bindTcpSocket(ip6, port6, PROTO_UDPv6);
- if (sock_server_tcp_second != NULL) {
- ret++;
- disableNagle(sock_server_tcp_second);
+ if( sock_server_tcp_second != NULL )
+ {
+ ret++;
+ disableNagle(sock_server_tcp_second);
#ifdef DEBUG
- printf(_("Starting server: \"%s\" on port: \"%d\"\n"), ip6, port6);
+ printf(_("Starting server: \"%s\" on port: \"%d\"\n"), ip6, port6);
#endif
- }
- else {
+ }
+ else
+ {
#ifdef DEBUG
- printf(_("Starting server: \"%s\" on port: \"%d\" FAILED!\n"), ip6,
- port6);
+ printf(_("Starting server: \"%s\" on port: \"%d\" FAILED!\n"), ip6, port6);
#endif
- }
- }
+ }
+ }
- return ret;
+ return ret;
}
-static void
-eventNewClient(sock_tcp_t * server_sock)
+static void eventNewClient(sock_tcp_t *server_sock)
{
- list_t *listClient;
- sock_tcp_t *sock;
- client_t *client;
+ list_t *listClient;
+ sock_tcp_t *sock;
+ client_t *client;
+
+ listClient = getListServerClient();
- listClient = getListServerClient();
+ sock = getTcpNewClient(server_sock);
+ disableNagle(sock);
+ setTcpSockNonBlock(sock);
- sock = getTcpNewClient(server_sock);
- disableNagle(sock);
- setTcpSockNonBlock(sock);
+ client = newTcpClient(sock);
+ addList(listClient, client);
+}
- client = newTcpClient(sock);
- addList(listClient, client);
+static void eventTcpClient(client_t *client)
+{
+ char buffer[STR_PROTO_SIZE];
+ int ret;
+
+ memset(buffer, 0, STR_PROTO_SIZE);
+
+ ret = readTcpSocket(client->socket_tcp, buffer, STR_PROTO_SIZE-1);
+ //printf("readTcpSocket = %d\n", ret);
+
+ if( ret <= 0 )
+ {
+ client->status = NET_STATUS_ZOMBIE;
+ return;
+ }
+
+ if( addBuffer(client->recvBuffer, buffer, ret) < 0 )
+ {
+ client->status = NET_STATUS_ZOMBIE;
+ return;
+ }
+
+ while( getBufferLine(client->recvBuffer, buffer, STR_PROTO_SIZE) >= 0 )
+ {
+ addList(client->listRecvMsg, strdup(buffer) );
+ }
}
-static void
-eventTcpClient(client_t * client)
+void setServerTcpSelect()
{
- char buffer[STR_PROTO_SIZE];
- int ret;
+ list_t *listClient;
+ int i;
- memset(buffer, 0, STR_PROTO_SIZE);
+ listClient = getListServerClient();
- ret = readTcpSocket(client->socket_tcp, buffer, STR_PROTO_SIZE - 1);
- //printf("readTcpSocket = %d\n", ret);
+ if( sock_server_tcp != NULL )
+ {
+ addSockToSelectRead(sock_server_tcp->sock);
+ }
- if (ret <= 0) {
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
+ if( sock_server_tcp_second != NULL )
+ {
+ addSockToSelectRead(sock_server_tcp_second->sock);
+ }
- if (addBuffer(client->recvBuffer, buffer, ret) < 0) {
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
+ for( i = 0 ; i < listClient->count ; i++ )
+ {
+ client_t *client;
+
+ client = (client_t *)listClient->list[i];
+
+ if( client->status != NET_STATUS_OK || client->type != CLIENT_TYPE_TCP )
+ {
+ continue;
+ }
- while (getBufferLine(client->recvBuffer, buffer, STR_PROTO_SIZE) >= 0) {
- addList(client->listRecvMsg, strdup(buffer));
- }
+ addSockToSelectRead(client->socket_tcp->sock);
+ }
}
-void
-setServerTcpSelect()
+int selectServerTcpSocket()
{
- list_t *listClient;
- int i;
+ list_t *listClient;
+ int count;
+ int i;
- listClient = getListServerClient();
+ count = 0;
- if (sock_server_tcp != NULL) {
- addSockToSelectRead(sock_server_tcp->sock);
- }
+ if( sock_server_tcp != NULL )
+ {
+ if( isChangeSockInSelectRead(sock_server_tcp->sock) )
+ {
+ eventNewClient(sock_server_tcp);
+ count++;
+ }
+ }
- if (sock_server_tcp_second != NULL) {
- addSockToSelectRead(sock_server_tcp_second->sock);
- }
+ if( sock_server_tcp_second != NULL )
+ {
+ if( isChangeSockInSelectRead(sock_server_tcp_second->sock) )
+ {
+ eventNewClient(sock_server_tcp_second);
+ count++;
+ }
+ }
- for (i = 0; i < listClient->count; i++) {
- client_t *client;
+ listClient = getListServerClient();
- client = (client_t *) listClient->list[i];
+ for( i = 0 ; i < listClient->count ; i++ )
+ {
+ client_t *client;
- if (client->status != NET_STATUS_OK || client->type != CLIENT_TYPE_TCP) {
- continue;
- }
+ client = (client_t *)listClient->list[i];
- addSockToSelectRead(client->socket_tcp->sock);
- }
-}
+ if( client->status != NET_STATUS_OK || client->type != CLIENT_TYPE_TCP )
+ {
+ continue;
+ }
-int
-selectServerTcpSocket()
-{
- list_t *listClient;
- int count;
- int i;
-
- count = 0;
-
- if (sock_server_tcp != NULL) {
- if (isChangeSockInSelectRead(sock_server_tcp->sock)) {
- eventNewClient(sock_server_tcp);
- count++;
- }
- }
-
- if (sock_server_tcp_second != NULL) {
- if (isChangeSockInSelectRead(sock_server_tcp_second->sock)) {
- eventNewClient(sock_server_tcp_second);
- count++;
- }
- }
-
- listClient = getListServerClient();
-
- for (i = 0; i < listClient->count; i++) {
- client_t *client;
-
- client = (client_t *) listClient->list[i];
-
- if (client->status != NET_STATUS_OK || client->type != CLIENT_TYPE_TCP) {
- continue;
- }
-
- if (isChangeSockInSelectRead(client->socket_tcp->sock)) {
- //printf("sChangeSockInSelectRead\n");
- eventTcpClient(client);
- count++;
- }
+ if( isChangeSockInSelectRead(client->socket_tcp->sock) )
+ {
+ //printf("sChangeSockInSelectRead\n");
+ eventTcpClient(client);
+ count++;
+ }
/*
if( isChangeSockInSelectWrite(client->socket_tcp->sock) )
{
@@ -285,30 +295,30 @@ selectServerTcpSocket()
sendTcpClientBuffer(client);
count++;
}
-*/
- }
+*/
+ }
- return count;
+ return count;
}
-void
-quitTcpServer()
+void quitTcpServer()
{
- if (sock_server_tcp != NULL) {
+ if( sock_server_tcp != NULL )
+ {
#ifdef DEBUG
- printf(_("Closing port: \"%d\"\n"), getSockTcpPort(sock_server_tcp));
+ printf(_("Closing port: \"%d\"\n"), getSockTcpPort(sock_server_tcp));
#endif
- closeTcpSocket(sock_server_tcp);
- }
+ closeTcpSocket(sock_server_tcp);
+ }
- if (sock_server_tcp_second != NULL) {
+ if( sock_server_tcp_second != NULL )
+ {
#ifdef DEBUG
- printf(_("Closing port: \"%d\"\n"),
- getSockTcpPort(sock_server_tcp_second));
+ printf(_("Closing port: \"%d\"\n"), getSockTcpPort(sock_server_tcp_second));
#endif
- closeTcpSocket(sock_server_tcp_second);
- }
+ closeTcpSocket(sock_server_tcp_second);
+ }
#ifdef DEBUG
- printf("Quitting TCP\n");
+ printf("Quitting TCP\n");
#endif
}
diff --git a/src/base/tcp_server.c~ b/src/base/tcp_server.c~
deleted file mode 100644
index 14e7e22..0000000
--- a/src/base/tcp_server.c~
+++ /dev/null
@@ -1,324 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include <sys/types.h>
-
-#include <unistd.h>
-#include <fcntl.h>
-#include <sys/time.h>
-
-#ifndef __WIN32__
-#include <sys/ioctl.h>
-#include <sys/socket.h>
-#include <sys/select.h>
-#else
-#include <io.h>
-#include <winsock2.h>
-#endif
-
-#include "main.h"
-#include "list.h"
-#include "tux.h"
-#include "proto.h"
-#include "server.h"
-#include "myTimer.h"
-#include "arena.h"
-#include "net_multiplayer.h"
-#include "checkFront.h"
-#include "protect.h"
-#include "index.h"
-
-#ifndef PUBLIC_SERVER
-#include "screen_world.h"
-#endif
-
-#ifdef PUBLIC_SERVER
-#include "publicServer.h"
-#include "heightScore.h"
-#include "log.h"
-#endif
-
-#include "tcp.h"
-#include "tcp_server.h"
-#include "serverSelect.h"
-
-static sock_tcp_t *sock_server_tcp;
-static sock_tcp_t *sock_server_tcp_second;
-
-client_t* newTcpClient(sock_tcp_t *sock_tcp)
-{
- client_t *new;
-
- assert( sock_tcp != NULL );
-
- new = newAnyClient();
- new->type = CLIENT_TYPE_TCP;
- new->socket_tcp = sock_tcp;
- new->recvBuffer = newBuffer(SERVER_TCP_BUFFER_LIMIT);
- new->sendBuffer = newBuffer(SERVER_TCP_BUFFER_LIMIT);
-
-#ifdef PUBLIC_SERVER
- char str_log[STR_LOG_SIZE];
- char str_ip[STR_IP_SIZE];
-
- getSockTcpIp(sock_tcp, str_ip, STR_IP_SIZE);
- sprintf(str_log, _("New client \"%s\" on port \"%d\" connected"), str_ip, getSockTcpPort(sock_tcp));
- addToLog(LOG_INF, str_log);
-#endif
-
- return new;
-}
-
-void sendTcpClientBuffer(client_t *client)
-{
- void *data;
- int len;
- int res;
-
- len = getBufferSize(client->sendBuffer);
-
- if( len == 0 )
- {
- return;
- }
-
- data = getBufferData(client->sendBuffer);
-
- res = writeTcpSocket(client->socket_tcp, data, len);
- //printf("writeTcpSocket = %d\n", res);
-
- if( res < 0 )
- {
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
-
- cutBuffer(client->sendBuffer, res);
-}
-
-void destroyTcpClient(client_t *client)
-{
- eventMsgInCheckFront(client);
- sendTcpClientBuffer(client);
-
-#ifdef PUBLIC_SERVER
- char str_log[STR_LOG_SIZE];
- char str_ip[STR_IP_SIZE];
-
- getSockTcpIp(client->socket_tcp, str_ip, STR_IP_SIZE);
- sprintf(str_log, _("Client \"%s\" on port \"%d\" disconnected"), str_ip, getSockTcpPort(client->socket_tcp));
- addToLog(LOG_INF, str_log);
-#endif
-
- closeTcpSocket(client->socket_tcp);
- destroyBuffer(client->recvBuffer);
- destroyBuffer(client->sendBuffer);
-
- destroyAnyClient(client);
-}
-
-int initTcpServer(char *ip4, int port4, char *ip6, int port6)
-{
- int ret;
-
- ret = 0;
-
- if( ip4 != NULL )
- {
- sock_server_tcp = bindTcpSocket(ip4, port4, PROTO_UDPv4);
-
- if( sock_server_tcp != NULL )
- {
- ret++;
- disableNagle(sock_server_tcp);
-#ifdef DEBUG
- printf(_("Starting server: \"%s\" on port: \"%d\"\n"), ip4, port4);
-#endif
- }
- else
- {
-#ifdef DEBUG
- printf(_("Starting server: \"%s\" on port: \"%d\" FAILED!\n"), ip4, port4);
-#endif
- }
- }
-
- if( ip6 != NULL )
- {
- sock_server_tcp_second = bindTcpSocket(ip6, port6, PROTO_UDPv6);
-
- if( sock_server_tcp_second != NULL )
- {
- ret++;
- disableNagle(sock_server_tcp_second);
-#ifdef DEBUG
- printf(_("Starting server: \"%s\" on port: \"%d\"\n"), ip6, port6);
-#endif
- }
- else
- {
-#ifdef DEBUG
- printf(_("Starting server: \"%s\" on port: \"%d\" FAILED!\n"), ip6, port6);
-#endif
- }
- }
-
- return ret;
-}
-
-static void eventNewClient(sock_tcp_t *server_sock)
-{
- list_t *listClient;
- sock_tcp_t *sock;
- client_t *client;
-
- listClient = getListServerClient();
-
- sock = getTcpNewClient(server_sock);
- disableNagle(sock);
- setTcpSockNonBlock(sock);
-
- client = newTcpClient(sock);
- addList(listClient, client);
-}
-
-static void eventTcpClient(client_t *client)
-{
- char buffer[STR_PROTO_SIZE];
- int ret;
-
- memset(buffer, 0, STR_PROTO_SIZE);
-
- ret = readTcpSocket(client->socket_tcp, buffer, STR_PROTO_SIZE-1);
- //printf("readTcpSocket = %d\n", ret);
-
- if( ret <= 0 )
- {
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
-
- if( addBuffer(client->recvBuffer, buffer, ret) < 0 )
- {
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
-
- while( getBufferLine(client->recvBuffer, buffer, STR_PROTO_SIZE) >= 0 )
- {
- addList(client->listRecvMsg, strdup(buffer) );
- }
-}
-
-void setServerTcpSelect()
-{
- list_t *listClient;
- int i;
-
- listClient = getListServerClient();
-
- if( sock_server_tcp != NULL )
- {
- addSockToSelectRead(sock_server_tcp->sock);
- }
-
- if( sock_server_tcp_second != NULL )
- {
- addSockToSelectRead(sock_server_tcp_second->sock);
- }
-
- for( i = 0 ; i < listClient->count ; i++ )
- {
- client_t *client;
-
- client = (client_t *)listClient->list[i];
-
- if( client->status != NET_STATUS_OK || client->type != CLIENT_TYPE_TCP )
- {
- continue;
- }
-
- addSockToSelectRead(client->socket_tcp->sock);
- }
-}
-
-int selectServerTcpSocket()
-{
- list_t *listClient;
- int count;
- int i;
-
- count = 0;
-
- if( sock_server_tcp != NULL )
- {
- if( isChangeSockInSelectRead(sock_server_tcp->sock) )
- {
- eventNewClient(sock_server_tcp);
- count++;
- }
- }
-
- if( sock_server_tcp_second != NULL )
- {
- if( isChangeSockInSelectRead(sock_server_tcp_second->sock) )
- {
- eventNewClient(sock_server_tcp_second);
- count++;
- }
- }
-
- listClient = getListServerClient();
-
- for( i = 0 ; i < listClient->count ; i++ )
- {
- client_t *client;
-
- client = (client_t *)listClient->list[i];
-
- if( client->status != NET_STATUS_OK || client->type != CLIENT_TYPE_TCP )
- {
- continue;
- }
-
- if( isChangeSockInSelectRead(client->socket_tcp->sock) )
- {
- //printf("sChangeSockInSelectRead\n");
- eventTcpClient(client);
- count++;
- }
-/*
- if( isChangeSockInSelectWrite(client->socket_tcp->sock) )
- {
- //printf("isChangeSockInSelectWrite\n");
- sendTcpClientBuffer(client);
- count++;
- }
-*/
- }
-
- return count;
-}
-
-void quitTcpServer()
-{
- if( sock_server_tcp != NULL )
- {
-#ifdef DEBUG
- printf(_("Closing port: \"%d\"\n"), getSockTcpPort(sock_server_tcp));
-#endif
- closeTcpSocket(sock_server_tcp);
- }
-
- if( sock_server_tcp_second != NULL )
- {
-#ifdef DEBUG
- printf(_("Closing port: \"%d\"\n"), getSockTcpPort(sock_server_tcp_second));
-#endif
- closeTcpSocket(sock_server_tcp_second);
- }
-#ifdef DEBUG
- printf("Quitting TCP\n");
-#endif
-}
diff --git a/src/base/textFile.c b/src/base/textFile.c
index 751ab82..48e5044 100755
--- a/src/base/textFile.c
+++ b/src/base/textFile.c
@@ -9,149 +9,152 @@
#include "main.h"
#include "textFile.h"
-textFile_t *
-newTextFile(char *s)
+textFile_t* newTextFile(char *s)
{
- textFile_t *new;
- char path[STR_PATH_SIZE];
- assert(s != NULL);
-
- if (isFillPath(s)) {
- strcpy(path, s);
- }
- else {
- getcwd(path, STR_PATH_SIZE);
- strcat(path, "/");
- strcat(path, s);
- }
-
- new = malloc(sizeof(textFile_t));
- new->file = strdup(path);
- new->text = newList();
-
- return new;
+ textFile_t *new;
+ char path[STR_PATH_SIZE];
+ assert( s != NULL );
+
+ if( isFillPath(s) )
+ {
+ strcpy(path, s);
+ }
+ else
+ {
+ getcwd(path, STR_PATH_SIZE);
+ strcat(path, "/");
+ strcat(path, s);
+ }
+
+ new = malloc(sizeof(textFile_t));
+ new->file = strdup(path);
+ new->text = newList();
+
+ return new;
}
-static void
-createLine(list_t * list, char *p, int len)
+static void createLine(list_t *list, char *p, int len)
{
- char *line;
- char *begin_line;
- char *end_line;
- int length_line = 0;
+ char *line;
+ char *begin_line;
+ char *end_line;
+ int length_line = 0;
- assert(list != NULL);
- assert(p != NULL);
- assert(len >= 0);
+ assert( list != NULL );
+ assert( p != NULL );
+ assert( len >= 0 );
- begin_line = p;
+ begin_line = p;
+
+ do{
+ end_line = memchr( begin_line, '\n', len);
+ if( end_line == NULL )break;
- do {
- end_line = memchr(begin_line, '\n', len);
- if (end_line == NULL)
- break;
+ length_line = (int ) (end_line - ( begin_line ) );
- length_line = (int) (end_line - (begin_line));
+ line = malloc( (length_line+1) * sizeof(char) );
+ memset(line, 0, (length_line+1) * sizeof(char) );
+ strncpy(line, begin_line, length_line);
- line = malloc((length_line + 1) * sizeof(char));
- memset(line, 0, (length_line + 1) * sizeof(char));
- strncpy(line, begin_line, length_line);
+ addList(list, line);
+ len -= (length_line+1);
- addList(list, line);
- len -= (length_line + 1);
+ begin_line = end_line+1;
- begin_line = end_line + 1;
-
- } while (begin_line != NULL);
+ }while( begin_line != NULL );
}
/*
* Nacita subor *s a vrati ho f
* formatovany v type textFile_t*
*/
-textFile_t *
-loadTextFile(char *s)
+textFile_t* loadTextFile(char *s)
{
- FILE *file;
- textFile_t *ret;
- char *p;
- int file_length = 0;
- struct stat buf;
-
- assert(s != NULL);
-
- if (lstat(s, &buf) < 0) {
- fprintf(stderr, _("ERROR: unable to get file status for %s!\n"), s);
- return NULL;
- }
-
- file_length = buf.st_size;
- if ((file = fopen(s, "rb")) == NULL) {
- fprintf(stderr, _("ERROR: unable to open file %s for reading\n"), s);
- return NULL;
- }
-
- p = malloc(file_length * sizeof(char));
-
- if (fread(p, file_length * sizeof(char), 1, file) != 1) {
- fprintf(stderr, _("ERROR: unable to read data from file %s\n"), s);
- fclose(file);
- return NULL;
- }
-
- fclose(file);
-
- ret = newTextFile(s);
- createLine(ret->text, p, file_length);
-
- free(p);
-
- return ret;
+ FILE *file;
+ textFile_t *ret;
+ char *p;
+ int file_length = 0;
+ struct stat buf;
+
+ assert( s != NULL );
+
+ if( lstat(s, &buf) < 0 )
+ {
+ fprintf(stderr, _("ERROR: unable to get file status for %s!\n"), s);
+ return NULL;
+ }
+
+ file_length = buf.st_size;
+ if( (file = fopen(s, "rb")) == NULL )
+ {
+ fprintf(stderr, _("ERROR: unable to open file %s for reading\n"), s);
+ return NULL;
+ }
+
+ p = malloc(file_length * sizeof(char));
+
+ if( fread(p, file_length * sizeof(char), 1, file) != 1 )
+ {
+ fprintf(stderr, _("ERROR: unable to read data from file %s\n"),s);
+ fclose(file);
+ return NULL;
+ }
+
+ fclose(file);
+
+ ret = newTextFile(s);
+ createLine(ret->text, p, file_length);
+
+ free(p);
+
+ return ret;
}
/*
* Zobrazi text ulozeny v *p
* do stdout
*/
-void
-printTextFile(textFile_t * p)
+void printTextFile(textFile_t *p)
{
- int i;
+ int i;
- assert(p != NULL);
+ assert( p != NULL );
- printf(_("Printing file: \"%s\"\n\n"), p->file);
+ printf(_("Printing file: \"%s\"\n\n"), p->file);
- for (i = 0; i < p->text->count; i++) {
- printf("%3d >> %s\n", i, (char *) p->text->list[i]);
- }
+ for(i = 0; i < p->text->count; i++)
+ {
+ printf("%3d >> %s\n", i, (char *)p->text->list[i]);
+ }
}
-void
-saveTextFile(textFile_t * p)
+void saveTextFile(textFile_t *p)
{
- int i;
- FILE *file;
- assert(p != NULL);
-
- file = fopen(p->file, "wb");
- for (i = 0; i < p->text->count; i++) {
- fprintf(file, "%s\n", (char *) p->text->list[i]);
- }
-
- fclose(file);
+ int i;
+ FILE *file;
+ assert( p != NULL );
+
+ file = fopen(p->file, "wb");
+ for(i = 0; i < p->text->count; i++)
+ {
+ fprintf(file, "%s\n", (char *)p->text->list[i]);
+ }
+
+ fclose(file);
}
/*
* Uvolni text ulozeny v type textFile_t*
* z pamate.
*/
-void
-destroyTextFile(textFile_t * p)
+void destroyTextFile(textFile_t *p)
{
- assert(p != NULL);
+ assert( p != NULL );
- free(p->file);
- destroyListItem(p->text, free);
- free(p);
+ free(p->file);
+ destroyListItem(p->text, free);
+ free(p);
}
+
+
+
diff --git a/src/base/textFile.c~ b/src/base/textFile.c~
deleted file mode 100644
index 48e5044..0000000
--- a/src/base/textFile.c~
+++ /dev/null
@@ -1,160 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/stat.h>
-#include <assert.h>
-#include <unistd.h>
-
-#include "main.h"
-#include "textFile.h"
-
-textFile_t* newTextFile(char *s)
-{
- textFile_t *new;
- char path[STR_PATH_SIZE];
- assert( s != NULL );
-
- if( isFillPath(s) )
- {
- strcpy(path, s);
- }
- else
- {
- getcwd(path, STR_PATH_SIZE);
- strcat(path, "/");
- strcat(path, s);
- }
-
- new = malloc(sizeof(textFile_t));
- new->file = strdup(path);
- new->text = newList();
-
- return new;
-}
-
-static void createLine(list_t *list, char *p, int len)
-{
- char *line;
- char *begin_line;
- char *end_line;
- int length_line = 0;
-
- assert( list != NULL );
- assert( p != NULL );
- assert( len >= 0 );
-
- begin_line = p;
-
- do{
- end_line = memchr( begin_line, '\n', len);
- if( end_line == NULL )break;
-
- length_line = (int ) (end_line - ( begin_line ) );
-
- line = malloc( (length_line+1) * sizeof(char) );
- memset(line, 0, (length_line+1) * sizeof(char) );
- strncpy(line, begin_line, length_line);
-
- addList(list, line);
- len -= (length_line+1);
-
- begin_line = end_line+1;
-
- }while( begin_line != NULL );
-}
-
-/*
- * Nacita subor *s a vrati ho f
- * formatovany v type textFile_t*
- */
-textFile_t* loadTextFile(char *s)
-{
- FILE *file;
- textFile_t *ret;
- char *p;
- int file_length = 0;
- struct stat buf;
-
- assert( s != NULL );
-
- if( lstat(s, &buf) < 0 )
- {
- fprintf(stderr, _("ERROR: unable to get file status for %s!\n"), s);
- return NULL;
- }
-
- file_length = buf.st_size;
- if( (file = fopen(s, "rb")) == NULL )
- {
- fprintf(stderr, _("ERROR: unable to open file %s for reading\n"), s);
- return NULL;
- }
-
- p = malloc(file_length * sizeof(char));
-
- if( fread(p, file_length * sizeof(char), 1, file) != 1 )
- {
- fprintf(stderr, _("ERROR: unable to read data from file %s\n"),s);
- fclose(file);
- return NULL;
- }
-
- fclose(file);
-
- ret = newTextFile(s);
- createLine(ret->text, p, file_length);
-
- free(p);
-
- return ret;
-}
-
-/*
- * Zobrazi text ulozeny v *p
- * do stdout
- */
-void printTextFile(textFile_t *p)
-{
- int i;
-
- assert( p != NULL );
-
- printf(_("Printing file: \"%s\"\n\n"), p->file);
-
- for(i = 0; i < p->text->count; i++)
- {
- printf("%3d >> %s\n", i, (char *)p->text->list[i]);
- }
-}
-
-void saveTextFile(textFile_t *p)
-{
- int i;
- FILE *file;
- assert( p != NULL );
-
- file = fopen(p->file, "wb");
- for(i = 0; i < p->text->count; i++)
- {
- fprintf(file, "%s\n", (char *)p->text->list[i]);
- }
-
- fclose(file);
-}
-
-/*
- * Uvolni text ulozeny v type textFile_t*
- * z pamate.
- */
-void destroyTextFile(textFile_t *p)
-{
- assert( p != NULL );
-
- free(p->file);
- destroyListItem(p->text, free);
- free(p);
-}
-
-
-
diff --git a/src/base/tux.c b/src/base/tux.c
index 8b693ce..a8e40b5 100644
--- a/src/base/tux.c
+++ b/src/base/tux.c
@@ -47,172 +47,168 @@ static image_t *g_cross;
static bool_t isTuxInit = FALSE;
-bool_t
-isTuxInicialized()
+bool_t isTuxInicialized()
{
- return isTuxInit;
+ return isTuxInit;
}
-void
-initTux()
+void initTux()
{
#ifndef PUBLIC_SERVER
- assert(isImageInicialized() == TRUE);
+ assert( isImageInicialized() == TRUE );
#endif
#ifndef PUBLIC_SERVER
- g_tux_up = addImageData("tux8.png", IMAGE_ALPHA, "tux8", IMAGE_GROUP_BASE);
- g_tux_right =
- addImageData("tux6.png", IMAGE_ALPHA, "tux6", IMAGE_GROUP_BASE);
- g_tux_left =
- addImageData("tux4.png", IMAGE_ALPHA, "tux4", IMAGE_GROUP_BASE);
- g_tux_down =
- addImageData("tux2.png", IMAGE_ALPHA, "tux2", IMAGE_GROUP_BASE);
- g_cross =
- addImageData("cross.png", IMAGE_ALPHA, "cross", IMAGE_GROUP_BASE);
+ g_tux_up = addImageData("tux8.png", IMAGE_ALPHA, "tux8", IMAGE_GROUP_BASE);
+ g_tux_right = addImageData("tux6.png", IMAGE_ALPHA, "tux6", IMAGE_GROUP_BASE);
+ g_tux_left = addImageData("tux4.png", IMAGE_ALPHA, "tux4", IMAGE_GROUP_BASE);
+ g_tux_down = addImageData("tux2.png", IMAGE_ALPHA, "tux2", IMAGE_GROUP_BASE);
+ g_cross = addImageData("cross.png", IMAGE_ALPHA, "cross", IMAGE_GROUP_BASE);
#endif
- isTuxInit = TRUE;
+ isTuxInit = TRUE;
}
-tux_t *
-newTux()
+tux_t* newTux()
{
- int x, y;
- tux_t *new;
+ int x, y;
+ tux_t *new;
- new = malloc(sizeof(tux_t));
- assert(new != NULL);
+ new = malloc( sizeof(tux_t) );
+ assert( new != NULL );
- memset(new, 0, sizeof(tux_t));
+ memset(new, 0, sizeof(tux_t) );
+
+ new->id = getNewID();
+ new->status = TUX_STATUS_ALIVE;
+ new->control = TUX_CONTROL_NONE;
- new->id = getNewID();
- new->status = TUX_STATUS_ALIVE;
- new->control = TUX_CONTROL_NONE;
+ findFreeSpace(getCurrentArena(), &x, &y, TUX_WIDTH, TUX_HEIGHT);
+ setTuxProportion(new, x, y);
- findFreeSpace(getCurrentArena(), &x, &y, TUX_WIDTH, TUX_HEIGHT);
- setTuxProportion(new, x, y);
+ new->position = TUX_DOWN;
+ new->gun = GUN_SIMPLE;
+ new->shot[ new->gun ] = GUN_MAX_SHOT;
- new->position = TUX_DOWN;
- new->gun = GUN_SIMPLE;
- new->shot[new->gun] = GUN_MAX_SHOT;
+ sprintf(new->name, "no_name_id_%d", new->id);
+ new->score = 0;
+ new->frame = 0;
- sprintf(new->name, "no_name_id_%d", new->id);
- new->score = 0;
- new->frame = 0;
+ new->bonus = BONUS_NONE;
+ new->bonus_time = 0;
- new->bonus = BONUS_NONE;
- new->bonus_time = 0;
+ new->isCanShot = TRUE;
+ new->isCanSwitchGun = TRUE;
- new->isCanShot = TRUE;
- new->isCanSwitchGun = TRUE;
+ new->client = NULL;
- new->client = NULL;
-
- return new;
+ return new;
}
-void
-tuxSetName(tux_t * tux, char *name)
+void tuxSetName(tux_t *tux, char *name)
{
- strcpy(tux->name, name);
- //tux->g_name = getFontImage(name, COLOR_WHITE);
+ strcpy(tux->name, name);
+ //tux->g_name = getFontImage(name, COLOR_WHITE);
}
-bool_t
-isTuxAnyGun(tux_t * tux)
+bool_t isTuxAnyGun(tux_t *tux)
{
- int i;
-
- for (i = 0; i < GUN_COUNT; i++) {
- if (tux->shot[i] > 0) {
- return TRUE;
- }
- }
+ int i;
+
+ for( i = 0 ; i < GUN_COUNT ; i++ )
+ {
+ if( tux->shot[i] > 0 )
+ {
+ return TRUE;
+ }
+ }
- return FALSE;
+ return FALSE;
}
-void
-getCourse(int n, int *x, int *y)
+void getCourse(int n, int *x, int *y)
{
- assert(x != NULL);
- assert(y != NULL);
+ assert( x != NULL );
+ assert( y != NULL );
- switch (n) {
- case TUX_UP:
- *x = 0;
- *y = -1;
- break;
+ switch( n )
+ {
+ case TUX_UP :
+ *x = 0;
+ *y = -1;
+ break;
- case TUX_LEFT:
- *x = -1;
- *y = 0;
- break;
+ case TUX_LEFT :
+ *x = -1;
+ *y = 0;
+ break;
- case TUX_RIGHT:
- *x = +1;
- *y = 0;
- break;
+ case TUX_RIGHT :
+ *x = +1;
+ *y = 0;
+ break;
- case TUX_DOWN:
- *x = 0;
- *y = +1;
- break;
+ case TUX_DOWN :
+ *x = 0;
+ *y = +1;
+ break;
- default:
- assert(!_("Type variable has a really wierd value!"));
- break;
- }
+ default :
+ assert( ! _("Type variable has a really wierd value!") );
+ break;
+ }
}
#ifndef PUBLIC_SERVER
-void
-drawTux(tux_t * tux)
+void drawTux(tux_t *tux)
{
- image_t *g_image = NULL;
+ image_t *g_image = NULL;
- assert(tux != NULL);
+ assert( tux != NULL );
- if (tux->bonus == BONUS_HIDDEN &&
- getNetTypeGame() != NET_GAME_TYPE_NONE &&
- tux->control == TUX_CONTROL_NET) {
- return;
- }
+ if( tux->bonus == BONUS_HIDDEN &&
+ getNetTypeGame() != NET_GAME_TYPE_NONE &&
+ tux->control == TUX_CONTROL_NET )
+ {
+ return;
+ }
- switch (tux->position) {
- case TUX_UP:
- g_image = g_tux_up;
- break;
+ switch( tux->position )
+ {
+ case TUX_UP :
+ g_image = g_tux_up;
+ break;
- case TUX_LEFT:
- g_image = g_tux_left;
- break;
+ case TUX_LEFT :
+ g_image = g_tux_left;
+ break;
- case TUX_RIGHT:
- g_image = g_tux_right;
- break;
+ case TUX_RIGHT :
+ g_image = g_tux_right;
+ break;
- case TUX_DOWN:
- g_image = g_tux_down;
- break;
+ case TUX_DOWN :
+ g_image = g_tux_down;
+ break;
- default:
- assert(!_("p->control has a really wierd value!"));
- break;
- }
+ default :
+ assert( ! _("p->control has a really wierd value!") );
+ break;
+ }
- if (tux->status == TUX_STATUS_DEAD) {
- g_image = g_cross;
+ if( tux->status == TUX_STATUS_DEAD )
+ {
+ g_image = g_cross;
- addLayer(g_cross,
- tux->x - g_cross->w / 2,
- (tux->y + g_cross->h / 2) - g_cross->h,
- 0, 0, g_cross->w, g_cross->h, TUX_LAYER);
+ addLayer(g_cross,
+ tux->x - g_cross->w / 2,
+ ( tux->y + g_cross->h / 2 ) - g_cross->h,
+ 0, 0,
+ g_cross->w, g_cross->h, TUX_LAYER);
- return;
- }
+ return;
+ }
/*
if( tux->g_name != NULL )
{
@@ -223,13 +219,12 @@ drawTux(tux_t * tux)
tux->g_name->w, tux->g_name->h, TUX_LAYER);
}
*/
- addLayer(g_image,
- tux->x - TUX_IMG_WIDTH / 2,
- (tux->y + TUX_HEIGHT / 2) - TUX_IMG_HEIGHT,
- (tux->frame / TUX_KEY) * TUX_IMG_WIDTH, 0,
- TUX_IMG_WIDTH, TUX_IMG_HEIGHT, TUX_LAYER);
+ addLayer(g_image,
+ tux->x - TUX_IMG_WIDTH / 2,
+ ( tux->y + TUX_HEIGHT / 2 ) - TUX_IMG_HEIGHT,
+ (tux->frame/TUX_KEY) * TUX_IMG_WIDTH, 0,
+ TUX_IMG_WIDTH, TUX_IMG_HEIGHT, TUX_LAYER);
}
-
/*
void drawListTux(list_t *listTux)
{
@@ -248,450 +243,461 @@ void drawListTux(list_t *listTux)
*/
#endif
-void
-replaceTuxID(tux_t * tux, int id)
+void replaceTuxID(tux_t *tux, int id)
{
- replaceID(tux->id, id);
- tux->id = id;
+ replaceID(tux->id, id);
+ tux->id = id;
}
-static void
-timer_spawnTux(void *p)
+static void timer_spawnTux(void *p)
{
- tux_t *tux;
- arena_t *arena;
- int x, y;
- int id;
+ tux_t *tux;
+ arena_t *arena;
+ int x, y;
+ int id;
- id = *((int *) p);
- free(p);
+ id = * ((int *)p);
+ free(p);
- arena = getCurrentArena();
- tux = getObjectFromSpaceWithID(arena->spaceTux, id);
+ arena = getCurrentArena();
+ tux = getObjectFromSpaceWithID(arena->spaceTux, id);
- if (tux == NULL)
- return;
+ if( tux == NULL )return;
- tux->status = TUX_STATUS_ALIVE;
- findFreeSpace(getCurrentArena(), &x, &y, TUX_WIDTH, TUX_HEIGHT);
- moveObjectInSpace(getCurrentArena()->spaceTux, tux, x, y);
- tux->gun = GUN_SIMPLE;
+ tux->status = TUX_STATUS_ALIVE;
+ findFreeSpace(getCurrentArena(), &x, &y, TUX_WIDTH, TUX_HEIGHT);
+ moveObjectInSpace(getCurrentArena()->spaceTux, tux, x, y);
+ tux->gun = GUN_SIMPLE;
+
+ addNewItem(arena->spaceItem, ID_UNKNOWN);
- addNewItem(arena->spaceItem, ID_UNKNOWN);
-
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER) {
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
- }
+ if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
+ {
+ proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
+ }
}
-static void
-timer_tuxCanShot(void *p)
+static void timer_tuxCanShot(void *p)
{
- tux_t *tux;
- int id;
+ tux_t *tux;
+ int id;
- id = *((int *) p);
- free(p);
+ id = * ((int *)p);
+ free(p);
- tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
+ tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
- if (tux == NULL)
- return;
+ if( tux == NULL )return;
- tux->isCanShot = TRUE;
+ tux->isCanShot = TRUE;
}
-static void
-timer_tuxCanSwitchGun(void *p)
+static void timer_tuxCanSwitchGun(void *p)
{
- tux_t *tux;
- int id;
+ tux_t *tux;
+ int id;
- id = *((int *) p);
- free(p);
+ id = * ((int *)p);
+ free(p);
- tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
+ tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
- if (tux == NULL)
- return;
+ if( tux == NULL )return;
- tux->isCanSwitchGun = TRUE;
+ tux->isCanSwitchGun = TRUE;
}
-void
-eventTuxIsDead(tux_t * tux)
+void eventTuxIsDead(tux_t *tux)
{
- if (tux->status == TUX_STATUS_DEAD) {
- return;
- }
+ if( tux->status == TUX_STATUS_DEAD )
+ {
+ return;
+ }
#ifndef NO_SOUND
- playSound("dead", SOUND_GROUP_BASE);
+ playSound("dead", SOUND_GROUP_BASE);
#endif
- tux->status = TUX_STATUS_DEAD;
- memset(tux->shot, 0, sizeof(int) * GUN_COUNT);
- tux->gun = GUN_SIMPLE;
- tux->shot[tux->gun] = GUN_MAX_SHOT;
+ tux->status = TUX_STATUS_DEAD;
+ memset(tux->shot, 0, sizeof(int) * GUN_COUNT);
+ tux->gun = GUN_SIMPLE;
+ tux->shot[ tux->gun ] = GUN_MAX_SHOT;
- tux->bonus = BONUS_NONE;
- tux->bonus_time = 0;
- tux->pickup_time = 0;
+ tux->bonus = BONUS_NONE;
+ tux->bonus_time = 0;
+ tux->pickup_time = 0;
- tux->isCanShot = TRUE;
- tux->isCanSwitchGun = TRUE;
+ tux->isCanShot = TRUE;
+ tux->isCanSwitchGun = TRUE;
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT) {
- addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_spawnTux,
- newInt(tux->id), TUX_TIME_SPAWN);
- }
+ if( getNetTypeGame() != NET_GAME_TYPE_CLIENT )
+ {
+ addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_spawnTux, newInt(tux->id), TUX_TIME_SPAWN );
+ }
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER) {
- proto_send_kill_server(PROTO_SEND_ALL, NULL, tux);
- }
+ if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
+ {
+ proto_send_kill_server(PROTO_SEND_ALL, NULL, tux);
+ }
}
-static void
-eventTuxIsDeadWIthShot(tux_t * tux, shot_t * shot)
+static void eventTuxIsDeadWIthShot(tux_t *tux, shot_t *shot)
{
- if (shot->author_id == tux->id) {
- tux->score--;
-
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER) {
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
- }
- }
+ if( shot->author_id == tux->id )
+ {
+ tux->score--;
- if (shot->author_id != tux->id) {
- tux_t *author;
+ if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
+ {
+ proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
+ }
+ }
- author =
- getObjectFromSpaceWithID(getCurrentArena()->spaceTux,
- shot->author_id);
+ if( shot->author_id != tux->id )
+ {
+ tux_t *author;
- if (author != NULL) {
- author->score++;
+ author = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, shot->author_id);
+
+ if( author != NULL )
+ {
+ author->score++;
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER) {
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, author);
- }
- }
+ if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
+ {
+ proto_send_newtux_server(PROTO_SEND_ALL, NULL, author);
+ }
+ }
- }
+ }
- countRoundInc();
- eventTuxIsDead(tux);
+ countRoundInc();
+ eventTuxIsDead(tux);
}
-void
-tuxTeleport(tux_t * tux)
+void tuxTeleport(tux_t *tux)
{
- int x, y;
+ int x, y;
#ifndef NO_SOUND
- playSound("teleport", SOUND_GROUP_BASE);
+ playSound("teleport", SOUND_GROUP_BASE);
#endif
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT) {
- findFreeSpace(getCurrentArena(), &x, &y, TUX_WIDTH, TUX_HEIGHT);
- moveObjectInSpace(getCurrentArena()->spaceTux, tux, x, y);
- //setTuxProportion(tux, x, y);
- }
+ if( getNetTypeGame() != NET_GAME_TYPE_CLIENT )
+ {
+ findFreeSpace(getCurrentArena(), &x, &y, TUX_WIDTH, TUX_HEIGHT);
+ moveObjectInSpace(getCurrentArena()->spaceTux, tux, x, y);
+ //setTuxProportion(tux, x, y);
+ }
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER) {
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
- }
+ if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
+ {
+ proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
+ }
}
-static void
-bombBallExplosion(shot_t * shot)
+static void bombBallExplosion(shot_t *shot)
{
- item_t *item;
- int x, y;
-
- x = (shot->x + shot->w / 2) - ITEM_BIG_EXPLOSION_WIDTH / 2;
- y = (shot->y + shot->h / 2) - ITEM_BIG_EXPLOSION_HEIGHT / 2;
+ item_t *item;
+ int x, y;
+
+ x = ( shot->x + shot->w/2 ) - ITEM_BIG_EXPLOSION_WIDTH/2;
+ y = ( shot->y + shot->h/2 ) - ITEM_BIG_EXPLOSION_HEIGHT/2;
+
+ item = newItem(x, y, ITEM_BIG_EXPLOSION, shot->author_id );
- item = newItem(x, y, ITEM_BIG_EXPLOSION, shot->author_id);
+ addObjectToSpace(getCurrentArena()->spaceItem, item );
- addObjectToSpace(getCurrentArena()->spaceItem, item);
-
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER) {
- proto_send_del_server(PROTO_SEND_ALL, NULL, shot->id);
- proto_send_additem_server(PROTO_SEND_ALL, NULL, item);
- }
+ if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
+ {
+ proto_send_del_server(PROTO_SEND_ALL, NULL, shot->id);
+ proto_send_additem_server(PROTO_SEND_ALL, NULL, item);
+ }
- delObjectFromSpaceWithObject(getCurrentArena()->spaceShot, shot,
- destroyShot);
+ delObjectFromSpaceWithObject(getCurrentArena()->spaceShot, shot, destroyShot);
}
-static void
-action_tux(space_t * space, tux_t * tux, shot_t * shot)
+static void action_tux(space_t *space, tux_t *tux, shot_t *shot)
{
- arena_t *arena;
-
- arena = getCurrentArena();
-
- if (tux->status == TUX_STATUS_ALIVE) {
- if (shot->author_id == tux->id && shot->isCanKillAuthor == FALSE) {
- return;
- }
+ arena_t *arena;
- if (tux->bonus == BONUS_TELEPORT) {
- tuxTeleport(tux);
- return;
- }
+ arena = getCurrentArena();
- if (shot->gun == GUN_BOMBBALL) {
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT) {
- bombBallExplosion(shot);
- }
-
- return;
- }
-
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT) {
- eventTuxIsDeadWIthShot(tux, shot);
- }
- }
+ if( tux->status == TUX_STATUS_ALIVE )
+ {
+ if( shot->author_id == tux->id &&
+ shot->isCanKillAuthor == FALSE )
+ {
+ return;
+ }
+
+ if( tux->bonus == BONUS_TELEPORT )
+ {
+ tuxTeleport(tux);
+ return;
+ }
+
+ if( shot->gun == GUN_BOMBBALL )
+ {
+ if( getNetTypeGame() != NET_GAME_TYPE_CLIENT )
+ {
+ bombBallExplosion(shot);
+ }
+
+ return;
+ }
+
+ if( getNetTypeGame() != NET_GAME_TYPE_CLIENT )
+ {
+ eventTuxIsDeadWIthShot(tux, shot);
+ }
+ }
- delObjectFromSpaceWithObject(arena->spaceShot, shot, destroyShot);
+ delObjectFromSpaceWithObject(arena->spaceShot, shot, destroyShot);
}
-static void
-action_shot(space_t * space, shot_t * shot, space_t * spaceTux)
+static void action_shot(space_t *space, shot_t *shot, space_t *spaceTux)
{
- actionSpaceFromLocation(spaceTux, action_tux, shot, shot->x, shot->y,
- shot->w, shot->h);
+ actionSpaceFromLocation(spaceTux, action_tux, shot, shot->x, shot->y, shot->w, shot->h);
}
-void
-eventConflictTuxWithShot(arena_t * arena)
+void eventConflictTuxWithShot(arena_t *arena)
{
- actionSpace(arena->spaceShot, action_shot, arena->spaceTux);
+ actionSpace(arena->spaceShot, action_shot, arena->spaceTux);
}
-void
-moveTux(tux_t * tux, int n)
+void moveTux(tux_t *tux, int n)
{
- int px = 0, py = 0; // no warninng
- int zal_x, zal_y;
- int new_x, new_y;
- int w, h;
- arena_t *arena;
-
- assert(tux != NULL);
+ int px = 0, py = 0; // no warninng
+ int zal_x, zal_y;
+ int new_x, new_y;
+ int w, h;
+ arena_t *arena;
- arena = getCurrentArena();
- //interval();
+ assert( tux != NULL );
- if (tux->position != n) {
- tux->position = n;
- return;
- }
+ arena = getCurrentArena();
+ //interval();
- if ((n == TUX_LEFT && tux->x - TUX_STEP <= 0) ||
- (n == TUX_RIGHT && tux->x + TUX_STEP >= arena->w) ||
- (n == TUX_UP && tux->y - TUX_STEP <= 0) ||
- (n == TUX_DOWN && tux->y + TUX_STEP >= arena->h)) {
- return;
- }
+ if( tux->position != n )
+ {
+ tux->position = n;
+ return;
+ }
- getTuxProportion(tux, &zal_x, &zal_y, &w, &h);
+ if( ( n == TUX_LEFT && tux->x-TUX_STEP <= 0 ) ||
+ ( n == TUX_RIGHT && tux->x+TUX_STEP >= arena->w ) ||
+ ( n == TUX_UP && tux->y-TUX_STEP <= 0 ) ||
+ ( n == TUX_DOWN && tux->y+TUX_STEP >= arena->h ) )
+ {
+ return;
+ }
- getCourse(tux->position, &px, &py);
+ getTuxProportion(tux, &zal_x, &zal_y, &w, &h);
- new_x = zal_x;
- new_y = zal_y;
+ getCourse(tux->position, &px, &py);
+
+ new_x = zal_x;
+ new_y = zal_y;
- new_x += px * TUX_STEP;
- new_y += py * TUX_STEP;
+ new_x += px * TUX_STEP;
+ new_y += py * TUX_STEP;
- if (tux->bonus == BONUS_SPEED) {
- new_x += px * TUX_STEP;
- new_y += py * TUX_STEP;
- }
+ if( tux->bonus == BONUS_SPEED )
+ {
+ new_x += px * TUX_STEP;
+ new_y += py * TUX_STEP;
+ }
- if (tux->bonus != BONUS_GHOST
- &&
- (isConflictWithObjectFromSpaceBut
- (arena->spaceTux, new_x, new_y, w, h, tux)
- || isConflictModule(new_x, new_y, w, h))) {
- setTuxProportion(tux, zal_x, zal_y);
- return;
- }
+ if( tux->bonus != BONUS_GHOST && (
+ isConflictWithObjectFromSpaceBut(arena->spaceTux, new_x, new_y, w, h, tux) ||
+ isConflictModule(new_x, new_y, w, h) ) )
+ {
+ setTuxProportion(tux, zal_x, zal_y);
+ return;
+ }
- setTuxProportion(tux, zal_x, zal_y);
- moveObjectInSpace(arena->spaceTux, tux, new_x, new_y);
- eventGiveTuxListItem(tux, getCurrentArena()->spaceItem);
- tux->frame++;
- if (tux->frame == TUX_KEY * TUX_MAX_ANIMATION_FRAME)
- tux->frame = 0;
+ setTuxProportion(tux, zal_x, zal_y);
+ moveObjectInSpace(arena->spaceTux, tux, new_x, new_y);
+ eventGiveTuxListItem(tux, getCurrentArena()->spaceItem);
+ tux->frame++;
+ if( tux->frame == TUX_KEY * TUX_MAX_ANIMATION_FRAME ) tux->frame = 0;
}
-void
-switchTuxGun(tux_t * tux)
+void switchTuxGun(tux_t *tux)
{
- int i;
+ int i;
- if (tux->control != TUX_CONTROL_NET && tux->isCanSwitchGun == FALSE) {
- return;
- }
+ if( tux->control != TUX_CONTROL_NET &&
+ tux->isCanSwitchGun == FALSE )
+ {
+ return;
+ }
- for (i = tux->gun + 1; i < GUN_COUNT; i++) {
- if (tux->shot[i] > 0) {
- tux->gun = i;
- tux->isCanSwitchGun = FALSE;
- addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE,
- timer_tuxCanSwitchGun, newInt(tux->id),
- TUX_TIME_CAN_SWITCH_GUN);
+ for( i = tux->gun+1 ; i < GUN_COUNT ; i++ )
+ {
+ if( tux->shot[i] > 0 )
+ {
+ tux->gun = i;
+ tux->isCanSwitchGun = FALSE;
+ addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_tuxCanSwitchGun,
+ newInt(tux->id), TUX_TIME_CAN_SWITCH_GUN );
#ifndef NO_SOUND
- playSound("switch_gun", SOUND_GROUP_BASE);
+ playSound("switch_gun", SOUND_GROUP_BASE);
#endif
- return;
- }
- }
-
- for (i = 0; i < GUN_COUNT; i++) {
- if (tux->shot[i] > 0) {
- tux->gun = i;
- tux->isCanSwitchGun = FALSE;
- addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE,
- timer_tuxCanSwitchGun, newInt(tux->id),
- TUX_TIME_CAN_SWITCH_GUN);
+ return;
+ }
+ }
+
+ for( i = 0 ; i < GUN_COUNT ; i++ )
+ {
+ if( tux->shot[i] > 0 )
+ {
+ tux->gun = i;
+ tux->isCanSwitchGun = FALSE;
+ addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_tuxCanSwitchGun,
+ newInt(tux->id), TUX_TIME_CAN_SWITCH_GUN );
#ifndef NO_SOUND
- playSound("switch_gun", SOUND_GROUP_BASE);
+ playSound("switch_gun", SOUND_GROUP_BASE);
#endif
- return;
- }
- }
+ return;
+ }
+ }
}
-void
-shotTux(tux_t * tux)
+void shotTux(tux_t *tux)
{
- assert(tux != NULL);
+ assert( tux != NULL );
- if (tux->isCanShot == FALSE || tux->shot[tux->gun] == 0) {
- return;
- }
+ if( tux->isCanShot == FALSE ||
+ tux->shot[tux->gun] == 0 )
+ {
+ return;
+ }
#ifndef NO_SOUND
- playSound("switch_gun", SOUND_GROUP_BASE);
+ playSound("switch_gun", SOUND_GROUP_BASE);
#endif
- shotInGun(tux);
+ shotInGun(tux);
- tux->isCanShot = FALSE;
+ tux->isCanShot = FALSE;
- addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_tuxCanShot,
- newInt(tux->id), TUX_TIME_CAN_SHOT);
+ addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_tuxCanShot,
+ newInt(tux->id), TUX_TIME_CAN_SHOT );
- if (tux->shot[tux->gun] == 0) {
- switchTuxGun(tux);
- }
+ if( tux->shot[tux->gun] == 0 )
+ {
+ switchTuxGun(tux);
+ }
}
-void
-actionTux(tux_t * tux, int action)
+void actionTux(tux_t *tux, int action)
{
- if (tux->status == TUX_STATUS_DEAD) {
- return;
- }
-
- switch (action) {
- case TUX_UP:
- case TUX_LEFT:
- case TUX_RIGHT:
- case TUX_DOWN:
- moveTux(tux, action);
- break;
-
- case TUX_SHOT:
- shotTux(tux);
- break;
-
- case TUX_SWITCH_GUN:
- switchTuxGun(tux);
- break;
- }
+ if( tux->status == TUX_STATUS_DEAD )
+ {
+ return;
+ }
+
+ switch( action )
+ {
+ case TUX_UP :
+ case TUX_LEFT :
+ case TUX_RIGHT :
+ case TUX_DOWN :
+ moveTux(tux, action);
+ break;
+
+ case TUX_SHOT :
+ shotTux(tux);
+ break;
+
+ case TUX_SWITCH_GUN :
+ switchTuxGun(tux);
+ break;
+ }
}
-static void
-pickUpGun(tux_t * tux)
+static void pickUpGun(tux_t *tux)
{
- if (isTuxAnyGun(tux) == FALSE) {
- tux->gun = GUN_SIMPLE;
-
- if (tux->pickup_time < TUX_MAX_PICKUP) {
- tux->pickup_time++;
- }
-
- if (tux->pickup_time == TUX_MAX_PICKUP
- && getNetTypeGame() != NET_GAME_TYPE_CLIENT) {
+ if( isTuxAnyGun(tux) == FALSE )
+ {
+ tux->gun = GUN_SIMPLE;
+
+ if( tux->pickup_time < TUX_MAX_PICKUP )
+ {
+ tux->pickup_time++;
+ }
+
+ if( tux->pickup_time == TUX_MAX_PICKUP && getNetTypeGame() != NET_GAME_TYPE_CLIENT )
+ {
#ifndef NO_SOUND
- playSound("switch_gun", SOUND_GROUP_BASE);
+ playSound("switch_gun", SOUND_GROUP_BASE);
#endif
- tux->gun = GUN_SIMPLE;
- tux->shot[tux->gun] = GUN_MAX_SHOT;
- tux->pickup_time = 0;
+ tux->gun = GUN_SIMPLE;
+ tux->shot[ tux->gun ] = GUN_MAX_SHOT;
+ tux->pickup_time = 0;
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER) {
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
- }
- }
- }
+ if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
+ {
+ proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
+ }
+ }
+ }
}
-static void
-eventBonus(tux_t * tux)
+static void eventBonus(tux_t *tux)
{
- if (tux->bonus != BONUS_NONE) {
- if (tux->bonus_time > 0) {
- tux->bonus_time--;
- }
-
- if (tux->bonus_time == 0 && getNetTypeGame() != NET_GAME_TYPE_CLIENT) {
- if (tux->bonus == BONUS_GHOST) {
- int x, y, w, h;
- getTuxProportion(tux, &x, &y, &w, &h);
-
- tux->bonus = BONUS_NONE;
-
- if ( /*isConflictTuxWithListTux(tux, getCurrentArena()->listTux) || */
- isConflictModule(x, y, w, h)) {
- tux->bonus = BONUS_GHOST;
- return;
- }
- }
-
- tux->bonus = BONUS_NONE;
-
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER) {
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
- }
- }
- }
+ if( tux->bonus != BONUS_NONE )
+ {
+ if( tux->bonus_time > 0 )
+ {
+ tux->bonus_time--;
+ }
+
+ if( tux->bonus_time == 0 && getNetTypeGame() != NET_GAME_TYPE_CLIENT )
+ {
+ if( tux->bonus == BONUS_GHOST )
+ {
+ int x, y, w, h;
+ getTuxProportion(tux, &x, &y, &w, &h);
+
+ tux->bonus = BONUS_NONE;
+
+ if( /*isConflictTuxWithListTux(tux, getCurrentArena()->listTux) || */
+ isConflictModule(x, y, w, h) )
+ {
+ tux->bonus = BONUS_GHOST;
+ return;
+ }
+ }
+
+ tux->bonus = BONUS_NONE;
+
+ if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
+ {
+ proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
+ }
+ }
+ }
}
-void
-eventTux(tux_t * tux)
+void eventTux(tux_t *tux)
{
- arena_t *arena;
+ arena_t *arena;
- arena = getCurrentArena();
+ arena = getCurrentArena();
#ifndef PUBLIC_SERVER
- tuxControl(tux);
+ tuxControl(tux);
#endif
- pickUpGun(tux);
- eventBonus(tux);
- eventGiveTuxListItem(tux, arena->spaceItem);
+ pickUpGun(tux);
+ eventBonus(tux);
+ eventGiveTuxListItem(tux, arena->spaceItem);
}
-
/*
void eventListTux(list_t *listTux)
{
@@ -708,75 +714,65 @@ void eventListTux(list_t *listTux)
}
}
*/
-void
-getTuxProportion(tux_t * tux, int *x, int *y, int *w, int *h)
+void getTuxProportion(tux_t *tux, int *x,int *y, int *w, int *h)
{
- assert(tux != NULL);
+ assert( tux != NULL );
- if (x != NULL)
- *x = tux->x - TUX_WIDTH / 2;
- if (y != NULL)
- *y = tux->y - TUX_HEIGHT / 2;
- if (w != NULL)
- *w = TUX_WIDTH;
- if (h != NULL)
- *h = TUX_HEIGHT;
+ if( x != NULL ) *x = tux->x - TUX_WIDTH / 2;
+ if( y != NULL ) *y = tux->y - TUX_HEIGHT / 2;
+ if( w != NULL ) *w = TUX_WIDTH;
+ if( h != NULL ) *h = TUX_HEIGHT;
}
-void
-setTuxProportion(tux_t * tux, int x, int y)
+void setTuxProportion(tux_t *tux, int x, int y)
{
- assert(tux != NULL);
+ assert( tux != NULL );
- tux->x = x + TUX_WIDTH / 2;
- tux->y = y + TUX_WIDTH / 2;
+ tux->x = x + TUX_WIDTH / 2;
+ tux->y = y + TUX_WIDTH / 2;
}
-void
-getStatusTux(void *p, int *id, int *x, int *y, int *w, int *h)
+void getStatusTux(void *p, int *id, int *x,int *y, int *w, int *h)
{
- tux_t *tux;
+ tux_t *tux;
- tux = p;
- *id = tux->id;
- getTuxProportion(tux, x, y, w, h);
+ tux = p;
+ *id = tux->id;
+ getTuxProportion(tux, x, y, w, h);
}
-void
-setStatusTux(void *p, int x, int y, int w, int h)
+void setStatusTux(void *p, int x, int y, int w, int h)
{
- tux_t *tux;
+ tux_t *tux;
- tux = p;
- setTuxProportion(tux, x, y);
+ tux = p;
+ setTuxProportion(tux, x, y);
}
-static void
-action_checkMine(space_t * space, item_t * item, tux_t * tux)
+static void action_checkMine(space_t *space, item_t *item, tux_t *tux)
{
- if (item->type == ITEM_MINE && item->author_id == tux->id) {
- item->author_id = ID_UNKNOWN;
- }
+ if( item->type == ITEM_MINE && item->author_id == tux->id )
+ {
+ item->author_id = ID_UNKNOWN;
+ }
}
-void
-destroyTux(tux_t * tux)
+void destroyTux(tux_t *tux)
{
- arena_t *arena;
-
- arena = getCurrentArena();
+ arena_t *arena;
- assert(tux != NULL);
+ arena = getCurrentArena();
- delID(tux->id);
+ assert( tux != NULL );
- actionSpace(arena->spaceItem, action_checkMine, tux);
+ delID(tux->id);
- free(tux);
+ actionSpace(arena->spaceItem, action_checkMine, tux);
+
+ free(tux);
}
-void
-quitTux()
+void quitTux()
{
- isTuxInit = FALSE;
+ isTuxInit = FALSE;
}
diff --git a/src/base/tux.c~ b/src/base/tux.c~
deleted file mode 100644
index a8e40b5..0000000
--- a/src/base/tux.c~
+++ /dev/null
@@ -1,778 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "tux.h"
-#include "arena.h"
-#include "shot.h"
-#include "gun.h"
-#include "item.h"
-#include "arena.h"
-#include "myTimer.h"
-#include "net_multiplayer.h"
-#include "proto.h"
-#include "modules.h"
-#include "idManager.h"
-#include "serverSendMsg.h"
-
-#ifndef PUBLIC_SERVER
-#include "font.h"
-#include "image.h"
-#include "layer.h"
-#include "radar.h"
-
-#ifndef NO_SOUND
-#include "sound.h"
-#endif
-
-#include "screen_world.h"
-#endif
-
-#ifdef PUBLIC_SERVER
-#include "publicServer.h"
-#endif
-
-#ifndef PUBLIC_SERVER
-
-static image_t *g_tux_up;
-static image_t *g_tux_right;
-static image_t *g_tux_left;
-static image_t *g_tux_down;
-static image_t *g_cross;
-
-#endif
-
-static bool_t isTuxInit = FALSE;
-
-bool_t isTuxInicialized()
-{
- return isTuxInit;
-}
-
-void initTux()
-{
-#ifndef PUBLIC_SERVER
- assert( isImageInicialized() == TRUE );
-#endif
-
-#ifndef PUBLIC_SERVER
- g_tux_up = addImageData("tux8.png", IMAGE_ALPHA, "tux8", IMAGE_GROUP_BASE);
- g_tux_right = addImageData("tux6.png", IMAGE_ALPHA, "tux6", IMAGE_GROUP_BASE);
- g_tux_left = addImageData("tux4.png", IMAGE_ALPHA, "tux4", IMAGE_GROUP_BASE);
- g_tux_down = addImageData("tux2.png", IMAGE_ALPHA, "tux2", IMAGE_GROUP_BASE);
- g_cross = addImageData("cross.png", IMAGE_ALPHA, "cross", IMAGE_GROUP_BASE);
-#endif
-
- isTuxInit = TRUE;
-}
-
-tux_t* newTux()
-{
- int x, y;
- tux_t *new;
-
- new = malloc( sizeof(tux_t) );
- assert( new != NULL );
-
- memset(new, 0, sizeof(tux_t) );
-
- new->id = getNewID();
- new->status = TUX_STATUS_ALIVE;
- new->control = TUX_CONTROL_NONE;
-
- findFreeSpace(getCurrentArena(), &x, &y, TUX_WIDTH, TUX_HEIGHT);
- setTuxProportion(new, x, y);
-
- new->position = TUX_DOWN;
- new->gun = GUN_SIMPLE;
- new->shot[ new->gun ] = GUN_MAX_SHOT;
-
- sprintf(new->name, "no_name_id_%d", new->id);
- new->score = 0;
- new->frame = 0;
-
- new->bonus = BONUS_NONE;
- new->bonus_time = 0;
-
- new->isCanShot = TRUE;
- new->isCanSwitchGun = TRUE;
-
- new->client = NULL;
-
- return new;
-}
-
-void tuxSetName(tux_t *tux, char *name)
-{
- strcpy(tux->name, name);
- //tux->g_name = getFontImage(name, COLOR_WHITE);
-}
-
-bool_t isTuxAnyGun(tux_t *tux)
-{
- int i;
-
- for( i = 0 ; i < GUN_COUNT ; i++ )
- {
- if( tux->shot[i] > 0 )
- {
- return TRUE;
- }
- }
-
- return FALSE;
-}
-
-void getCourse(int n, int *x, int *y)
-{
- assert( x != NULL );
- assert( y != NULL );
-
- switch( n )
- {
- case TUX_UP :
- *x = 0;
- *y = -1;
- break;
-
- case TUX_LEFT :
- *x = -1;
- *y = 0;
- break;
-
- case TUX_RIGHT :
- *x = +1;
- *y = 0;
- break;
-
- case TUX_DOWN :
- *x = 0;
- *y = +1;
- break;
-
- default :
- assert( ! _("Type variable has a really wierd value!") );
- break;
- }
-}
-
-#ifndef PUBLIC_SERVER
-
-void drawTux(tux_t *tux)
-{
- image_t *g_image = NULL;
-
- assert( tux != NULL );
-
- if( tux->bonus == BONUS_HIDDEN &&
- getNetTypeGame() != NET_GAME_TYPE_NONE &&
- tux->control == TUX_CONTROL_NET )
- {
- return;
- }
-
- switch( tux->position )
- {
- case TUX_UP :
- g_image = g_tux_up;
- break;
-
- case TUX_LEFT :
- g_image = g_tux_left;
- break;
-
- case TUX_RIGHT :
- g_image = g_tux_right;
- break;
-
- case TUX_DOWN :
- g_image = g_tux_down;
- break;
-
- default :
- assert( ! _("p->control has a really wierd value!") );
- break;
- }
-
- if( tux->status == TUX_STATUS_DEAD )
- {
- g_image = g_cross;
-
- addLayer(g_cross,
- tux->x - g_cross->w / 2,
- ( tux->y + g_cross->h / 2 ) - g_cross->h,
- 0, 0,
- g_cross->w, g_cross->h, TUX_LAYER);
-
- return;
- }
-/*
- if( tux->g_name != NULL )
- {
- addLayer(tux->g_name,
- tux->x - TUX_IMG_WIDTH / 2,
- ( tux->y + TUX_HEIGHT / 2 ) - TUX_IMG_HEIGHT,
- 0, 0,
- tux->g_name->w, tux->g_name->h, TUX_LAYER);
- }
-*/
- addLayer(g_image,
- tux->x - TUX_IMG_WIDTH / 2,
- ( tux->y + TUX_HEIGHT / 2 ) - TUX_IMG_HEIGHT,
- (tux->frame/TUX_KEY) * TUX_IMG_WIDTH, 0,
- TUX_IMG_WIDTH, TUX_IMG_HEIGHT, TUX_LAYER);
-}
-/*
-void drawListTux(list_t *listTux)
-{
- tux_t *thisTux;
- int i;
-
- assert( listTux != NULL );
-
- for( i = 0 ; i < listTux->count ; i++ )
- {
- thisTux = (tux_t *)listTux->list[i];
- assert( thisTux != NULL );
- drawTux(thisTux);
- }
-}
-*/
-#endif
-
-void replaceTuxID(tux_t *tux, int id)
-{
- replaceID(tux->id, id);
- tux->id = id;
-}
-
-static void timer_spawnTux(void *p)
-{
- tux_t *tux;
- arena_t *arena;
- int x, y;
- int id;
-
- id = * ((int *)p);
- free(p);
-
- arena = getCurrentArena();
- tux = getObjectFromSpaceWithID(arena->spaceTux, id);
-
- if( tux == NULL )return;
-
- tux->status = TUX_STATUS_ALIVE;
- findFreeSpace(getCurrentArena(), &x, &y, TUX_WIDTH, TUX_HEIGHT);
- moveObjectInSpace(getCurrentArena()->spaceTux, tux, x, y);
- tux->gun = GUN_SIMPLE;
-
- addNewItem(arena->spaceItem, ID_UNKNOWN);
-
- if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
- {
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
- }
-}
-
-static void timer_tuxCanShot(void *p)
-{
- tux_t *tux;
- int id;
-
- id = * ((int *)p);
- free(p);
-
- tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
-
- if( tux == NULL )return;
-
- tux->isCanShot = TRUE;
-}
-
-static void timer_tuxCanSwitchGun(void *p)
-{
- tux_t *tux;
- int id;
-
- id = * ((int *)p);
- free(p);
-
- tux = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, id);
-
- if( tux == NULL )return;
-
- tux->isCanSwitchGun = TRUE;
-}
-
-void eventTuxIsDead(tux_t *tux)
-{
- if( tux->status == TUX_STATUS_DEAD )
- {
- return;
- }
-
-#ifndef NO_SOUND
- playSound("dead", SOUND_GROUP_BASE);
-#endif
-
- tux->status = TUX_STATUS_DEAD;
- memset(tux->shot, 0, sizeof(int) * GUN_COUNT);
- tux->gun = GUN_SIMPLE;
- tux->shot[ tux->gun ] = GUN_MAX_SHOT;
-
- tux->bonus = BONUS_NONE;
- tux->bonus_time = 0;
- tux->pickup_time = 0;
-
- tux->isCanShot = TRUE;
- tux->isCanSwitchGun = TRUE;
-
- if( getNetTypeGame() != NET_GAME_TYPE_CLIENT )
- {
- addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_spawnTux, newInt(tux->id), TUX_TIME_SPAWN );
- }
-
- if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
- {
- proto_send_kill_server(PROTO_SEND_ALL, NULL, tux);
- }
-}
-
-static void eventTuxIsDeadWIthShot(tux_t *tux, shot_t *shot)
-{
- if( shot->author_id == tux->id )
- {
- tux->score--;
-
- if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
- {
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
- }
- }
-
- if( shot->author_id != tux->id )
- {
- tux_t *author;
-
- author = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, shot->author_id);
-
- if( author != NULL )
- {
- author->score++;
-
- if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
- {
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, author);
- }
- }
-
- }
-
- countRoundInc();
- eventTuxIsDead(tux);
-}
-
-void tuxTeleport(tux_t *tux)
-{
- int x, y;
-
-#ifndef NO_SOUND
- playSound("teleport", SOUND_GROUP_BASE);
-#endif
-
- if( getNetTypeGame() != NET_GAME_TYPE_CLIENT )
- {
- findFreeSpace(getCurrentArena(), &x, &y, TUX_WIDTH, TUX_HEIGHT);
- moveObjectInSpace(getCurrentArena()->spaceTux, tux, x, y);
- //setTuxProportion(tux, x, y);
- }
-
- if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
- {
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
- }
-}
-
-static void bombBallExplosion(shot_t *shot)
-{
- item_t *item;
- int x, y;
-
- x = ( shot->x + shot->w/2 ) - ITEM_BIG_EXPLOSION_WIDTH/2;
- y = ( shot->y + shot->h/2 ) - ITEM_BIG_EXPLOSION_HEIGHT/2;
-
- item = newItem(x, y, ITEM_BIG_EXPLOSION, shot->author_id );
-
- addObjectToSpace(getCurrentArena()->spaceItem, item );
-
- if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
- {
- proto_send_del_server(PROTO_SEND_ALL, NULL, shot->id);
- proto_send_additem_server(PROTO_SEND_ALL, NULL, item);
- }
-
- delObjectFromSpaceWithObject(getCurrentArena()->spaceShot, shot, destroyShot);
-}
-
-static void action_tux(space_t *space, tux_t *tux, shot_t *shot)
-{
- arena_t *arena;
-
- arena = getCurrentArena();
-
- if( tux->status == TUX_STATUS_ALIVE )
- {
- if( shot->author_id == tux->id &&
- shot->isCanKillAuthor == FALSE )
- {
- return;
- }
-
- if( tux->bonus == BONUS_TELEPORT )
- {
- tuxTeleport(tux);
- return;
- }
-
- if( shot->gun == GUN_BOMBBALL )
- {
- if( getNetTypeGame() != NET_GAME_TYPE_CLIENT )
- {
- bombBallExplosion(shot);
- }
-
- return;
- }
-
- if( getNetTypeGame() != NET_GAME_TYPE_CLIENT )
- {
- eventTuxIsDeadWIthShot(tux, shot);
- }
- }
-
- delObjectFromSpaceWithObject(arena->spaceShot, shot, destroyShot);
-}
-
-static void action_shot(space_t *space, shot_t *shot, space_t *spaceTux)
-{
- actionSpaceFromLocation(spaceTux, action_tux, shot, shot->x, shot->y, shot->w, shot->h);
-}
-
-void eventConflictTuxWithShot(arena_t *arena)
-{
- actionSpace(arena->spaceShot, action_shot, arena->spaceTux);
-}
-
-void moveTux(tux_t *tux, int n)
-{
- int px = 0, py = 0; // no warninng
- int zal_x, zal_y;
- int new_x, new_y;
- int w, h;
- arena_t *arena;
-
- assert( tux != NULL );
-
- arena = getCurrentArena();
- //interval();
-
- if( tux->position != n )
- {
- tux->position = n;
- return;
- }
-
- if( ( n == TUX_LEFT && tux->x-TUX_STEP <= 0 ) ||
- ( n == TUX_RIGHT && tux->x+TUX_STEP >= arena->w ) ||
- ( n == TUX_UP && tux->y-TUX_STEP <= 0 ) ||
- ( n == TUX_DOWN && tux->y+TUX_STEP >= arena->h ) )
- {
- return;
- }
-
- getTuxProportion(tux, &zal_x, &zal_y, &w, &h);
-
- getCourse(tux->position, &px, &py);
-
- new_x = zal_x;
- new_y = zal_y;
-
- new_x += px * TUX_STEP;
- new_y += py * TUX_STEP;
-
- if( tux->bonus == BONUS_SPEED )
- {
- new_x += px * TUX_STEP;
- new_y += py * TUX_STEP;
- }
-
- if( tux->bonus != BONUS_GHOST && (
- isConflictWithObjectFromSpaceBut(arena->spaceTux, new_x, new_y, w, h, tux) ||
- isConflictModule(new_x, new_y, w, h) ) )
- {
- setTuxProportion(tux, zal_x, zal_y);
- return;
- }
-
- setTuxProportion(tux, zal_x, zal_y);
- moveObjectInSpace(arena->spaceTux, tux, new_x, new_y);
- eventGiveTuxListItem(tux, getCurrentArena()->spaceItem);
- tux->frame++;
- if( tux->frame == TUX_KEY * TUX_MAX_ANIMATION_FRAME ) tux->frame = 0;
-}
-
-void switchTuxGun(tux_t *tux)
-{
- int i;
-
- if( tux->control != TUX_CONTROL_NET &&
- tux->isCanSwitchGun == FALSE )
- {
- return;
- }
-
- for( i = tux->gun+1 ; i < GUN_COUNT ; i++ )
- {
- if( tux->shot[i] > 0 )
- {
- tux->gun = i;
- tux->isCanSwitchGun = FALSE;
- addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_tuxCanSwitchGun,
- newInt(tux->id), TUX_TIME_CAN_SWITCH_GUN );
-#ifndef NO_SOUND
- playSound("switch_gun", SOUND_GROUP_BASE);
-#endif
- return;
- }
- }
-
- for( i = 0 ; i < GUN_COUNT ; i++ )
- {
- if( tux->shot[i] > 0 )
- {
- tux->gun = i;
- tux->isCanSwitchGun = FALSE;
- addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_tuxCanSwitchGun,
- newInt(tux->id), TUX_TIME_CAN_SWITCH_GUN );
-
-#ifndef NO_SOUND
- playSound("switch_gun", SOUND_GROUP_BASE);
-#endif
-
- return;
- }
- }
-}
-
-void shotTux(tux_t *tux)
-{
- assert( tux != NULL );
-
- if( tux->isCanShot == FALSE ||
- tux->shot[tux->gun] == 0 )
- {
- return;
- }
-
-#ifndef NO_SOUND
- playSound("switch_gun", SOUND_GROUP_BASE);
-#endif
-
- shotInGun(tux);
-
- tux->isCanShot = FALSE;
-
- addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_tuxCanShot,
- newInt(tux->id), TUX_TIME_CAN_SHOT );
-
- if( tux->shot[tux->gun] == 0 )
- {
- switchTuxGun(tux);
- }
-}
-
-void actionTux(tux_t *tux, int action)
-{
- if( tux->status == TUX_STATUS_DEAD )
- {
- return;
- }
-
- switch( action )
- {
- case TUX_UP :
- case TUX_LEFT :
- case TUX_RIGHT :
- case TUX_DOWN :
- moveTux(tux, action);
- break;
-
- case TUX_SHOT :
- shotTux(tux);
- break;
-
- case TUX_SWITCH_GUN :
- switchTuxGun(tux);
- break;
- }
-}
-
-static void pickUpGun(tux_t *tux)
-{
- if( isTuxAnyGun(tux) == FALSE )
- {
- tux->gun = GUN_SIMPLE;
-
- if( tux->pickup_time < TUX_MAX_PICKUP )
- {
- tux->pickup_time++;
- }
-
- if( tux->pickup_time == TUX_MAX_PICKUP && getNetTypeGame() != NET_GAME_TYPE_CLIENT )
- {
-#ifndef NO_SOUND
- playSound("switch_gun", SOUND_GROUP_BASE);
-#endif
-
- tux->gun = GUN_SIMPLE;
- tux->shot[ tux->gun ] = GUN_MAX_SHOT;
- tux->pickup_time = 0;
-
- if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
- {
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
- }
- }
- }
-}
-
-static void eventBonus(tux_t *tux)
-{
- if( tux->bonus != BONUS_NONE )
- {
- if( tux->bonus_time > 0 )
- {
- tux->bonus_time--;
- }
-
- if( tux->bonus_time == 0 && getNetTypeGame() != NET_GAME_TYPE_CLIENT )
- {
- if( tux->bonus == BONUS_GHOST )
- {
- int x, y, w, h;
- getTuxProportion(tux, &x, &y, &w, &h);
-
- tux->bonus = BONUS_NONE;
-
- if( /*isConflictTuxWithListTux(tux, getCurrentArena()->listTux) || */
- isConflictModule(x, y, w, h) )
- {
- tux->bonus = BONUS_GHOST;
- return;
- }
- }
-
- tux->bonus = BONUS_NONE;
-
- if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
- {
- proto_send_newtux_server(PROTO_SEND_ALL, NULL, tux);
- }
- }
- }
-}
-
-void eventTux(tux_t *tux)
-{
- arena_t *arena;
-
- arena = getCurrentArena();
-
-#ifndef PUBLIC_SERVER
- tuxControl(tux);
-#endif
- pickUpGun(tux);
- eventBonus(tux);
- eventGiveTuxListItem(tux, arena->spaceItem);
-}
-/*
-void eventListTux(list_t *listTux)
-{
- tux_t *thisTux;
- int i;
-
- assert( listTux != NULL );
-
- for( i = 0 ; i < listTux->count ; i++ )
- {
- thisTux = (tux_t *)listTux->list[i];
- assert( thisTux != NULL );
- eventTux(thisTux);
- }
-}
-*/
-void getTuxProportion(tux_t *tux, int *x,int *y, int *w, int *h)
-{
- assert( tux != NULL );
-
- if( x != NULL ) *x = tux->x - TUX_WIDTH / 2;
- if( y != NULL ) *y = tux->y - TUX_HEIGHT / 2;
- if( w != NULL ) *w = TUX_WIDTH;
- if( h != NULL ) *h = TUX_HEIGHT;
-}
-
-void setTuxProportion(tux_t *tux, int x, int y)
-{
- assert( tux != NULL );
-
- tux->x = x + TUX_WIDTH / 2;
- tux->y = y + TUX_WIDTH / 2;
-}
-
-void getStatusTux(void *p, int *id, int *x,int *y, int *w, int *h)
-{
- tux_t *tux;
-
- tux = p;
- *id = tux->id;
- getTuxProportion(tux, x, y, w, h);
-}
-
-void setStatusTux(void *p, int x, int y, int w, int h)
-{
- tux_t *tux;
-
- tux = p;
- setTuxProportion(tux, x, y);
-}
-
-static void action_checkMine(space_t *space, item_t *item, tux_t *tux)
-{
- if( item->type == ITEM_MINE && item->author_id == tux->id )
- {
- item->author_id = ID_UNKNOWN;
- }
-}
-
-void destroyTux(tux_t *tux)
-{
- arena_t *arena;
-
- arena = getCurrentArena();
-
- assert( tux != NULL );
-
- delID(tux->id);
-
- actionSpace(arena->spaceItem, action_checkMine, tux);
-
- free(tux);
-}
-
-void quitTux()
-{
- isTuxInit = FALSE;
-}
diff --git a/src/base/udp_server.c b/src/base/udp_server.c
index 9149cb4..afe0cba 100644
--- a/src/base/udp_server.c
+++ b/src/base/udp_server.c
@@ -46,230 +46,236 @@
static sock_udp_t *sock_server_udp;
static sock_udp_t *sock_server_udp_second;
-client_t *
-newUdpClient(sock_udp_t * sock_udp)
+client_t* newUdpClient(sock_udp_t *sock_udp)
{
- client_t *new;
+ client_t *new;
- assert(sock_udp != NULL);
+ assert( sock_udp != NULL );
- new = newAnyClient();
- new->type = CLIENT_TYPE_UDP;
- new->socket_udp = sock_udp;
+ new = newAnyClient();
+ new->type = CLIENT_TYPE_UDP;
+ new->socket_udp = sock_udp;
#ifdef PUBLIC_SERVER
- char str_log[STR_LOG_SIZE];
- char str_ip[STR_IP_SIZE];
+ char str_log[STR_LOG_SIZE];
+ char str_ip[STR_IP_SIZE];
- getSockUdpIp(sock_udp, str_ip, STR_IP_SIZE);
- sprintf(str_log, _("New client \"%s\" on port \"%d\" connected"), str_ip,
- getSockUdpPort(sock_udp));
- addToLog(LOG_INF, str_log);
+ getSockUdpIp(sock_udp, str_ip, STR_IP_SIZE);
+ sprintf(str_log, _("New client \"%s\" on port \"%d\" connected"), str_ip, getSockUdpPort(sock_udp));
+ addToLog(LOG_INF, str_log);
#endif
- return new;
+ return new;
}
-void
-destroyUdpClient(client_t * p)
+void destroyUdpClient(client_t *p)
{
- eventMsgInCheckFront(p);
+ eventMsgInCheckFront(p);
#ifdef PUBLIC_SERVER
- char str_log[STR_LOG_SIZE];
- char str_ip[STR_IP_SIZE];
+ char str_log[STR_LOG_SIZE];
+ char str_ip[STR_IP_SIZE];
- getSockUdpIp(p->socket_udp, str_ip, STR_IP_SIZE);
- sprintf(str_log, _("Client \"%s\" on port \"%d\" disconnected"), str_ip,
- getSockUdpPort(p->socket_udp));
- addToLog(LOG_INF, str_log);
+ getSockUdpIp(p->socket_udp, str_ip, STR_IP_SIZE);
+ sprintf(str_log, _("Client \"%s\" on port \"%d\" disconnected"), str_ip, getSockUdpPort(p->socket_udp));
+ addToLog(LOG_INF, str_log);
#endif
- destroySockUdp(p->socket_udp);
+ destroySockUdp(p->socket_udp);
- destroyAnyClient(p);
+ destroyAnyClient(p);
}
-int
-initUdpServer(char *ip4, int port4, char *ip6, int port6)
+int initUdpServer(char *ip4, int port4, char *ip6, int port6)
{
- int ret;
+ int ret;
- ret = 0;
+ ret = 0;
- if (ip4 != NULL) {
- sock_server_udp = bindUdpSocket(ip4, port4, PROTO_UDPv4);
+ if( ip4 != NULL )
+ {
+ sock_server_udp = bindUdpSocket(ip4, port4, PROTO_UDPv4);
- if (sock_server_udp != NULL) {
- ret++;
+ if( sock_server_udp != NULL )
+ {
+ ret++;
#ifdef DEBUG
- printf(_("Starting server: \"%s\" on port: \"%d\"\n"), ip4, port4);
+ printf(_("Starting server: \"%s\" on port: \"%d\"\n"), ip4, port4);
#endif
- }
- else {
+ }
+ else
+ {
#ifdef DEBUG
- printf(_("Starting server: \"%s\" on port: \"%d\" FAILED!\n"), ip4,
- port4);
+ printf(_("Starting server: \"%s\" on port: \"%d\" FAILED!\n"), ip4, port4);
#endif
- }
- }
+ }
+ }
- if (ip6 != NULL) {
- sock_server_udp_second = bindUdpSocket(ip6, port6, PROTO_UDPv6);
+ if( ip6 != NULL )
+ {
+ sock_server_udp_second = bindUdpSocket(ip6, port6, PROTO_UDPv6);
- if (sock_server_udp_second != NULL) {
- ret++;
+ if( sock_server_udp_second != NULL )
+ {
+ ret++;
#ifdef DEBUG
- printf(_("Starting server: \"%s\" on port: \"%d\"\n"), ip6, port6);
+ printf(_("Starting server: \"%s\" on port: \"%d\"\n"), ip6, port6);
#endif
- }
- else {
+ }
+ else
+ {
#ifdef DEBUG
- printf(_("Starting server: \"%s\" on port: \"%d\" FAILED!\n"), ip6,
- port6);
+ printf(_("Starting server: \"%s\" on port: \"%d\" FAILED!\n"), ip6, port6);
#endif
- }
- }
+ }
+ }
- return ret;
+ return ret;
}
-static void
-eventCreateNewUdpClient(sock_udp_t * socket_udp)
+static void eventCreateNewUdpClient(sock_udp_t *socket_udp)
{
- list_t *listClient;
- client_t *client;
+ list_t *listClient;
+ client_t *client;
- assert(socket_udp != NULL);
+ assert( socket_udp != NULL );
- listClient = getListServerClient();
+ listClient = getListServerClient();
- client = newUdpClient(socket_udp);
- addList(listClient, client);
+ client = newUdpClient(socket_udp);
+ addList(listClient, client);
}
-static client_t *
-findUdpClient(sock_udp_t * sock_udp)
+static client_t* findUdpClient(sock_udp_t *sock_udp)
{
- list_t *listClient;
- int port;
- int i;
+ list_t *listClient;
+ int port;
+ int i;
- port = getSockUdpPort(sock_udp);
- listClient = getListServerClient();
+ port = getSockUdpPort(sock_udp);
+ listClient = getListServerClient();
- for (i = 0; i < listClient->count; i++) {
- client_t *client;
+ for( i = 0 ; i < listClient->count ; i++ )
+ {
+ client_t *client;
- client = (client_t *) listClient->list[i];
+ client = (client_t *)listClient->list[i];
- if (client->type == CLIENT_TYPE_UDP &&
- getSockUdpPort(client->socket_udp) == port) {
- return client;
- }
- }
+ if( client->type == CLIENT_TYPE_UDP &&
+ getSockUdpPort(client->socket_udp) == port )
+ {
+ return client;
+ }
+ }
- return NULL;
+ return NULL;
}
-static void
-eventClientUdpSelect(sock_udp_t * sock_server)
+static void eventClientUdpSelect(sock_udp_t *sock_server)
{
- sock_udp_t *sock_client;
- client_t *client;
- char listRecvMsg[STR_SIZE];
- bool_t isCreateNewClient;
- int ret;
-
- assert(sock_server != NULL);
-
- sock_client = newSockUdp(sock_server->proto);
- isCreateNewClient = FALSE;
-
- memset(listRecvMsg, 0, STR_SIZE);
-
- ret = readUdpSocket(sock_server, sock_client, listRecvMsg, STR_SIZE - 1);
-
- client = findUdpClient(sock_client);
-
- if (client == NULL) {
- eventCreateNewUdpClient(sock_client);
- client = findUdpClient(sock_client);
- isCreateNewClient = TRUE;
- }
-
- if (client == NULL) {
- fprintf(stderr, _("Client was not FOUND!\n"));
- return;
- }
-
- if (isCreateNewClient == FALSE) {
- destroySockUdp(sock_client);
- }
-
- if (ret <= 0) {
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
-
- //printf("add packet >>%s<<\n", listRecvMsg);
- addList(client->listRecvMsg, strdup(listRecvMsg));
+ sock_udp_t *sock_client;
+ client_t *client;
+ char listRecvMsg[STR_SIZE];
+ bool_t isCreateNewClient;
+ int ret;
+
+ assert( sock_server != NULL );
+
+ sock_client = newSockUdp(sock_server->proto);
+ isCreateNewClient = FALSE;
+
+ memset(listRecvMsg, 0, STR_SIZE);
+
+ ret = readUdpSocket(sock_server, sock_client, listRecvMsg, STR_SIZE-1);
+
+ client = findUdpClient(sock_client);
+
+ if( client == NULL )
+ {
+ eventCreateNewUdpClient(sock_client);
+ client = findUdpClient(sock_client);
+ isCreateNewClient = TRUE;
+ }
+
+ if( client == NULL )
+ {
+ fprintf(stderr, _("Client was not FOUND!\n"));
+ return;
+ }
+
+ if( isCreateNewClient == FALSE )
+ {
+ destroySockUdp(sock_client);
+ }
+
+ if( ret <= 0 )
+ {
+ client->status = NET_STATUS_ZOMBIE;
+ return;
+ }
+
+ //printf("add packet >>%s<<\n", listRecvMsg);
+ addList(client->listRecvMsg, strdup(listRecvMsg) );
}
-void
-setServerUdpSelect()
+void setServerUdpSelect()
{
- if (sock_server_udp != NULL) {
- addSockToSelectRead(sock_server_udp->sock);
- }
-
- if (sock_server_udp_second != NULL) {
- addSockToSelectRead(sock_server_udp_second->sock);
- }
+ if( sock_server_udp != NULL )
+ {
+ addSockToSelectRead(sock_server_udp->sock);
+ }
+
+ if( sock_server_udp_second != NULL )
+ {
+ addSockToSelectRead(sock_server_udp_second->sock);
+ }
}
-int
-selectServerUdpSocket()
+int selectServerUdpSocket()
{
- int count;
-
- count = 0;
-
- if (sock_server_udp != NULL) {
- if (isChangeSockInSelectRead(sock_server_udp->sock)) {
- eventClientUdpSelect(sock_server_udp);
- count++;
- }
- }
-
- if (sock_server_udp_second != NULL) {
- if (isChangeSockInSelectRead(sock_server_udp_second->sock)) {
- eventClientUdpSelect(sock_server_udp_second);
- count++;
- }
- }
-
- return count;
+ int count;
+
+ count = 0;
+
+ if( sock_server_udp != NULL )
+ {
+ if( isChangeSockInSelectRead(sock_server_udp->sock) )
+ {
+ eventClientUdpSelect(sock_server_udp);
+ count++;
+ }
+ }
+
+ if( sock_server_udp_second != NULL )
+ {
+ if( isChangeSockInSelectRead(sock_server_udp_second->sock) )
+ {
+ eventClientUdpSelect(sock_server_udp_second);
+ count++;
+ }
+ }
+
+ return count;
}
-void
-quitUdpServer()
+void quitUdpServer()
{
- if (sock_server_udp != NULL) {
+ if( sock_server_udp != NULL )
+ {
#ifdef DEBUG
- printf(_("Closing port: \"%d\"\n"), getSockUdpPort(sock_server_udp));
+ printf(_("Closing port: \"%d\"\n"), getSockUdpPort(sock_server_udp));
#endif
- closeUdpSocket(sock_server_udp);
- }
+ closeUdpSocket(sock_server_udp);
+ }
- if (sock_server_udp_second != NULL) {
+ if( sock_server_udp_second != NULL )
+ {
#ifdef DEBUG
- printf(_("Closing port: \"%d\"\n"),
- getSockUdpPort(sock_server_udp_second));
+ printf(_("Closing port: \"%d\"\n"), getSockUdpPort(sock_server_udp_second));
#endif
- closeUdpSocket(sock_server_udp_second);
- }
+ closeUdpSocket(sock_server_udp_second);
+ }
#ifdef DEBUG
- printf(_("Quitting UDP\n"));
+ printf(_("Quitting UDP\n"));
#endif
}
diff --git a/src/base/udp_server.c~ b/src/base/udp_server.c~
deleted file mode 100644
index afe0cba..0000000
--- a/src/base/udp_server.c~
+++ /dev/null
@@ -1,281 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include <sys/types.h>
-
-#include <unistd.h>
-#include <fcntl.h>
-#include <sys/time.h>
-
-#ifndef __WIN32__
-#include <sys/ioctl.h>
-#include <sys/socket.h>
-#include <sys/select.h>
-#else
-#include <io.h>
-#include <winsock2.h>
-#endif
-
-#include "main.h"
-#include "list.h"
-#include "tux.h"
-#include "proto.h"
-#include "server.h"
-#include "myTimer.h"
-#include "arena.h"
-#include "net_multiplayer.h"
-#include "checkFront.h"
-#include "protect.h"
-#include "index.h"
-
-#ifndef PUBLIC_SERVER
-#include "screen_world.h"
-#endif
-
-#ifdef PUBLIC_SERVER
-#include "publicServer.h"
-#include "heightScore.h"
-#include "log.h"
-#endif
-
-#include "udp.h"
-#include "udp_server.h"
-#include "serverSelect.h"
-
-static sock_udp_t *sock_server_udp;
-static sock_udp_t *sock_server_udp_second;
-
-client_t* newUdpClient(sock_udp_t *sock_udp)
-{
- client_t *new;
-
- assert( sock_udp != NULL );
-
- new = newAnyClient();
- new->type = CLIENT_TYPE_UDP;
- new->socket_udp = sock_udp;
-
-#ifdef PUBLIC_SERVER
- char str_log[STR_LOG_SIZE];
- char str_ip[STR_IP_SIZE];
-
- getSockUdpIp(sock_udp, str_ip, STR_IP_SIZE);
- sprintf(str_log, _("New client \"%s\" on port \"%d\" connected"), str_ip, getSockUdpPort(sock_udp));
- addToLog(LOG_INF, str_log);
-#endif
-
- return new;
-}
-
-void destroyUdpClient(client_t *p)
-{
- eventMsgInCheckFront(p);
-
-#ifdef PUBLIC_SERVER
- char str_log[STR_LOG_SIZE];
- char str_ip[STR_IP_SIZE];
-
- getSockUdpIp(p->socket_udp, str_ip, STR_IP_SIZE);
- sprintf(str_log, _("Client \"%s\" on port \"%d\" disconnected"), str_ip, getSockUdpPort(p->socket_udp));
- addToLog(LOG_INF, str_log);
-#endif
-
- destroySockUdp(p->socket_udp);
-
- destroyAnyClient(p);
-}
-
-int initUdpServer(char *ip4, int port4, char *ip6, int port6)
-{
- int ret;
-
- ret = 0;
-
- if( ip4 != NULL )
- {
- sock_server_udp = bindUdpSocket(ip4, port4, PROTO_UDPv4);
-
- if( sock_server_udp != NULL )
- {
- ret++;
-#ifdef DEBUG
- printf(_("Starting server: \"%s\" on port: \"%d\"\n"), ip4, port4);
-#endif
- }
- else
- {
-#ifdef DEBUG
- printf(_("Starting server: \"%s\" on port: \"%d\" FAILED!\n"), ip4, port4);
-#endif
- }
- }
-
- if( ip6 != NULL )
- {
- sock_server_udp_second = bindUdpSocket(ip6, port6, PROTO_UDPv6);
-
- if( sock_server_udp_second != NULL )
- {
- ret++;
-#ifdef DEBUG
- printf(_("Starting server: \"%s\" on port: \"%d\"\n"), ip6, port6);
-#endif
- }
- else
- {
-#ifdef DEBUG
- printf(_("Starting server: \"%s\" on port: \"%d\" FAILED!\n"), ip6, port6);
-#endif
- }
- }
-
- return ret;
-}
-
-static void eventCreateNewUdpClient(sock_udp_t *socket_udp)
-{
- list_t *listClient;
- client_t *client;
-
- assert( socket_udp != NULL );
-
- listClient = getListServerClient();
-
- client = newUdpClient(socket_udp);
- addList(listClient, client);
-}
-
-static client_t* findUdpClient(sock_udp_t *sock_udp)
-{
- list_t *listClient;
- int port;
- int i;
-
- port = getSockUdpPort(sock_udp);
- listClient = getListServerClient();
-
- for( i = 0 ; i < listClient->count ; i++ )
- {
- client_t *client;
-
- client = (client_t *)listClient->list[i];
-
- if( client->type == CLIENT_TYPE_UDP &&
- getSockUdpPort(client->socket_udp) == port )
- {
- return client;
- }
- }
-
- return NULL;
-}
-
-static void eventClientUdpSelect(sock_udp_t *sock_server)
-{
- sock_udp_t *sock_client;
- client_t *client;
- char listRecvMsg[STR_SIZE];
- bool_t isCreateNewClient;
- int ret;
-
- assert( sock_server != NULL );
-
- sock_client = newSockUdp(sock_server->proto);
- isCreateNewClient = FALSE;
-
- memset(listRecvMsg, 0, STR_SIZE);
-
- ret = readUdpSocket(sock_server, sock_client, listRecvMsg, STR_SIZE-1);
-
- client = findUdpClient(sock_client);
-
- if( client == NULL )
- {
- eventCreateNewUdpClient(sock_client);
- client = findUdpClient(sock_client);
- isCreateNewClient = TRUE;
- }
-
- if( client == NULL )
- {
- fprintf(stderr, _("Client was not FOUND!\n"));
- return;
- }
-
- if( isCreateNewClient == FALSE )
- {
- destroySockUdp(sock_client);
- }
-
- if( ret <= 0 )
- {
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
-
- //printf("add packet >>%s<<\n", listRecvMsg);
- addList(client->listRecvMsg, strdup(listRecvMsg) );
-}
-
-void setServerUdpSelect()
-{
- if( sock_server_udp != NULL )
- {
- addSockToSelectRead(sock_server_udp->sock);
- }
-
- if( sock_server_udp_second != NULL )
- {
- addSockToSelectRead(sock_server_udp_second->sock);
- }
-}
-
-int selectServerUdpSocket()
-{
- int count;
-
- count = 0;
-
- if( sock_server_udp != NULL )
- {
- if( isChangeSockInSelectRead(sock_server_udp->sock) )
- {
- eventClientUdpSelect(sock_server_udp);
- count++;
- }
- }
-
- if( sock_server_udp_second != NULL )
- {
- if( isChangeSockInSelectRead(sock_server_udp_second->sock) )
- {
- eventClientUdpSelect(sock_server_udp_second);
- count++;
- }
- }
-
- return count;
-}
-
-void quitUdpServer()
-{
- if( sock_server_udp != NULL )
- {
-#ifdef DEBUG
- printf(_("Closing port: \"%d\"\n"), getSockUdpPort(sock_server_udp));
-#endif
- closeUdpSocket(sock_server_udp);
- }
-
- if( sock_server_udp_second != NULL )
- {
-#ifdef DEBUG
- printf(_("Closing port: \"%d\"\n"), getSockUdpPort(sock_server_udp_second));
-#endif
- closeUdpSocket(sock_server_udp_second);
- }
-#ifdef DEBUG
- printf(_("Quitting UDP\n"));
-#endif
-}
diff --git a/src/client/chat.c b/src/client/chat.c
index e6bba4b..eeca8d8 100644
--- a/src/client/chat.c
+++ b/src/client/chat.c
@@ -33,226 +33,213 @@ static bool_t receivedNewMsg;
static void hotkey_chat();
-static void
-hotkey_chat()
+static void hotkey_chat()
{
- chat_active = TRUE;
- receivedNewMsg = FALSE;
+ chat_active = TRUE;
+ receivedNewMsg = FALSE;
- disableHotKey(SDLK_RETURN);
- disableHotKey(SDLK_p);
+ disableHotKey(SDLK_RETURN);
+ disableHotKey(SDLK_p);
- enableKeyboardBuffer();
- clearKeyboardBuffer();
+ enableKeyboardBuffer();
+ clearKeyboardBuffer();
}
-void
-initChat()
+void initChat()
{
- g_chat =
- addImageData("chat.png", IMAGE_NO_ALPHA, "chat", IMAGE_GROUP_USER);
-
- listText = newList();
- strcpy(line, "");
- chat_active = FALSE;
- registerHotKey(SDLK_RETURN, hotkey_chat);
-
- receivedNewMsg = FALSE;
- line_time = 0;
- line_atime = 0;
- timeBlick = 0;
+ g_chat = addImageData("chat.png", IMAGE_NO_ALPHA, "chat", IMAGE_GROUP_USER);
+
+ listText = newList();
+ strcpy(line, "");
+ chat_active = FALSE;
+ registerHotKey(SDLK_RETURN, hotkey_chat);
+
+ receivedNewMsg = FALSE;
+ line_time = 0;
+ line_atime = 0;
+ timeBlick = 0;
}
-void
-drawChat()
+void drawChat()
{
- char str[STR_SIZE];
- int i;
+ char str[STR_SIZE];
+ int i;
- if (chat_active == FALSE) {
- return;
- }
+ if (chat_active == FALSE) {
+ return;
+ }
- drawImage(g_chat,
- CHAT_LOCATION_X, CHAT_LOCATION_Y,
- 0, 0, CHAT_SIZE_X, CHAT_SIZE_Y);
+ drawImage(g_chat,
+ CHAT_LOCATION_X, CHAT_LOCATION_Y,
+ 0, 0, CHAT_SIZE_X, CHAT_SIZE_Y);
- for (i = 0; i < listText->count; i++) {
- char *s;
+ for (i = 0; i < listText->count; i++) {
+ char *s;
- s = (char *) listText->list[i];
+ s = (char *)listText->list[i];
- drawFontMaxSize(s,
- CHAT_LOCATION_X + 5, CHAT_LOCATION_Y + 5 + i * 20,
- CHAT_SIZE_X - 10, 20, COLOR_WHITE);
- }
+ drawFontMaxSize(s,
+ CHAT_LOCATION_X + 5, CHAT_LOCATION_Y + 5 + i * 20,
+ CHAT_SIZE_X - 10, 20, COLOR_WHITE);
+ }
- strcpy(str, line);
+ strcpy(str, line);
- if (timeBlick > CHAT_TIME_BLICK_CURSOR / 2) {
- strcat(str, "\f");
- }
+ if (timeBlick > CHAT_TIME_BLICK_CURSOR / 2) {
+ strcat(str, "\f");
+ }
- timeBlick++;
+ timeBlick++;
- if (timeBlick == CHAT_TIME_BLICK_CURSOR) {
- timeBlick = 0;
- }
+ if (timeBlick == CHAT_TIME_BLICK_CURSOR) {
+ timeBlick = 0;
+ }
- drawFont(str, CHAT_LOCATION_X + 5,
- (CHAT_LOCATION_Y + 5) + (CHAT_MAX_LINES * 20), COLOR_WHITE);
+ drawFont(str, CHAT_LOCATION_X + 5, (CHAT_LOCATION_Y + 5) + (CHAT_MAX_LINES * 20), COLOR_WHITE);
}
-static void
-processMessageKey(SDL_keysym keysym)
+static void processMessageKey(SDL_keysym keysym)
{
- int w, h;
- int len;
- //int i;
-
- if (line_atime < 100)
- line_atime++;
-
- len = strlen(line);
- getTextSize(line, &w, &h);
-
- if (w > CHAT_SIZE_X - 40) {
- return;
- }
-
- /* processing of backspace */
- if (keysym.sym == SDLK_BACKSPACE && len > 0) {
- line[len - 1] = '\0';
- return;
- }
-
- /* processing of printable chars but not letters */
- if ((keysym.sym >= SDLK_SPACE && keysym.sym <= SDLK_AT)
- || (keysym.sym >= SDLK_LEFTBRACKET && keysym.sym <= SDLK_BACKQUOTE)) {
- /* here would be much better to put 'strcat' as 'line' is expected
- * to be full of '0' up to its end
- */
- line[len] = keysym.sym;
- }
-
- /* processing of letters */
- if (keysym.sym >= SDLK_a && keysym.sym <= SDLK_z) {
- char c = keysym.sym;
- if (keysym.mod == KMOD_SHIFT) {
- c = toupper(c);
- }
- /* here would be much better to put 'strcat' as 'line' is expected
- * to be full of '0' up to its end
- */
- line[len] = c;
- }
-
- return;
+ int w, h;
+ int len;
+ //int i;
+
+ if (line_atime < 100)
+ line_atime ++;
+
+ len = strlen(line);
+ getTextSize(line, &w, &h);
+
+ if (w > CHAT_SIZE_X - 40) {
+ return;
+ }
+
+ /* processing of backspace */
+ if (keysym.sym == SDLK_BACKSPACE && len > 0) {
+ line[len - 1] = '\0';
+ return;
+ }
+
+ /* processing of printable chars but not letters */
+ if ((keysym.sym >= SDLK_SPACE && keysym.sym <= SDLK_AT)
+ || (keysym.sym >= SDLK_LEFTBRACKET && keysym.sym <= SDLK_BACKQUOTE)) {
+ /* here would be much better to put 'strcat' as 'line' is expected
+ * to be full of '0' up to its end
+ */
+ line[len] = keysym.sym;
+ }
+
+ /* processing of letters */
+ if (keysym.sym >= SDLK_a && keysym.sym <= SDLK_z) {
+ char c = keysym.sym;
+ if (keysym.mod == KMOD_SHIFT) {
+ c = toupper(c);
+ }
+ /* here would be much better to put 'strcat' as 'line' is expected
+ * to be full of '0' up to its end
+ */
+ line[len] = c;
+ }
+
+ return;
}
-static void
-sendNewMessage()
+static void sendNewMessage()
{
- if (getNetTypeGame() == NET_GAME_TYPE_CLIENT) {
- proto_send_chat_client(line);
- }
+ if (getNetTypeGame() == NET_GAME_TYPE_CLIENT) {
+ proto_send_chat_client(line);
+ }
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER) {
- char out[STR_PROTO_SIZE];
+ if (getNetTypeGame() == NET_GAME_TYPE_SERVER) {
+ char out[STR_PROTO_SIZE];
- snprintf(out, STR_PROTO_SIZE, "chat %s:%s\n",
- getControlTux(TUX_CONTROL_KEYBOARD_RIGHT)->name, line);
+ snprintf(out, STR_PROTO_SIZE, "chat %s:%s\n",
+ getControlTux(TUX_CONTROL_KEYBOARD_RIGHT)->name, line);
- proto_send_chat_server(PROTO_SEND_ALL, NULL, out);
- }
+ proto_send_chat_server(PROTO_SEND_ALL, NULL, out);
+ }
}
-static void
-eventChatDisable()
-{
- chat_active = FALSE;
- memset(line, '\0', STR_SIZE);
+static void eventChatDisable()
+{
+ chat_active = FALSE;
+ memset(line, '\0', STR_SIZE);
+
+ enableHotKey(SDLK_RETURN);
+ enableHotKey(SDLK_p);
- enableHotKey(SDLK_RETURN);
- enableHotKey(SDLK_p);
-
- disableKeyboardBuffer();
- clearKeyboardBuffer();
+ disableKeyboardBuffer();
+ clearKeyboardBuffer();
}
-static void
-eventChatEnable()
+static void eventChatEnable()
{
- /* The chat window is displayed. It is needed to process all keys in the buffer
- * but when ENTER is pressed the chat row is sent to the server
- */
-
- while (isAnyKeyInKeyboardBuffer() == TRUE) {
- SDL_keysym key;
- key = popKeyFromKeyboardBuffer();
-
- if (key.sym == SDLK_RETURN) {
- if (strcmp(line, "") != 0) {
- /* the chat row is already written - it is needed to send it */
- sendNewMessage();
- memset(line, '\0', STR_SIZE);
- continue; /* continue with other keys */
- }
- else {
- /* the chat row is empty - it is needed to turn off the chat window */
- eventChatDisable();
- /* turn off key catching into the buffer and clear the buffer */
- //disableKeyboardBuffer();
- //clearKeyboardBuffer();
- }
- }
-
- processMessageKey(key);
- }
+ /* The chat window is displayed. It is needed to process all keys in the buffer
+ * but when ENTER is pressed the chat row is sent to the server
+ */
+
+ while (isAnyKeyInKeyboardBuffer() == TRUE) {
+ SDL_keysym key;
+ key = popKeyFromKeyboardBuffer();
+
+ if (key.sym == SDLK_RETURN) {
+ if (strcmp(line, "") != 0) {
+ /* the chat row is already written - it is needed to send it */
+ sendNewMessage();
+ memset(line, '\0', STR_SIZE);
+ continue; /* continue with other keys */
+ }
+ else {
+ /* the chat row is empty - it is needed to turn off the chat window */
+ eventChatDisable();
+ /* turn off key catching into the buffer and clear the buffer */
+ //disableKeyboardBuffer();
+ //clearKeyboardBuffer();
+ }
+ }
+
+ processMessageKey(key);
+ }
}
/**
* Processing of chat 'events'
*/
-void
-eventChat()
+void eventChat()
{
- if (isChatActive()) {
- eventChatEnable();
- }
+ if (isChatActive()) {
+ eventChatEnable();
+ }
}
-bool_t
-isChatActive()
+bool_t isChatActive()
{
- return chat_active;
+ return chat_active;
}
-bool_t
-isRecivedNewMsg()
+bool_t isRecivedNewMsg()
{
- return receivedNewMsg;
+ return receivedNewMsg;
}
-void
-addToChat(char *s)
+void addToChat(char *s)
{
- addList(listText, strdup(s));
+ addList(listText, strdup(s));
- if (listText->count > CHAT_MAX_LINES) {
- delListItem(listText, 0, free);
- }
+ if (listText->count > CHAT_MAX_LINES) {
+ delListItem(listText, 0, free);
+ }
- if (chat_active == FALSE) {
- receivedNewMsg = TRUE;
- }
+ if (chat_active == FALSE) {
+ receivedNewMsg = TRUE;
+ }
}
-void
-quitChat()
+void quitChat()
{
- assert(listText != NULL);
+ assert(listText != NULL);
- unregisterHotKey(SDLK_RETURN);
- destroyListItem(listText, free);
+ unregisterHotKey(SDLK_RETURN);
+ destroyListItem(listText, free);
}
+
diff --git a/src/client/chat.c~ b/src/client/chat.c~
deleted file mode 100644
index eeca8d8..0000000
--- a/src/client/chat.c~
+++ /dev/null
@@ -1,245 +0,0 @@
-
-#include <stdlib.h>
-#include <ctype.h>
-#include <assert.h>
-#include <SDL.h>
-
-#include "main.h"
-#include "list.h"
-#include "myTimer.h"
-#include "image.h"
-#include "serverSendMsg.h"
-
-#include "net_multiplayer.h"
-#include "screen_world.h"
-#include "proto.h"
-#include "interface.h"
-#include "chat.h"
-#include "font.h"
-#include "keyboardBuffer.h"
-#include "hotKey.h"
-
-static image_t *g_chat;
-
-static list_t *listText;
-
-static char line[STR_SIZE];
-
-static int line_time, line_atime;
-static int timeBlick;
-
-static bool_t chat_active;
-static bool_t receivedNewMsg;
-
-static void hotkey_chat();
-
-static void hotkey_chat()
-{
- chat_active = TRUE;
- receivedNewMsg = FALSE;
-
- disableHotKey(SDLK_RETURN);
- disableHotKey(SDLK_p);
-
- enableKeyboardBuffer();
- clearKeyboardBuffer();
-}
-
-void initChat()
-{
- g_chat = addImageData("chat.png", IMAGE_NO_ALPHA, "chat", IMAGE_GROUP_USER);
-
- listText = newList();
- strcpy(line, "");
- chat_active = FALSE;
- registerHotKey(SDLK_RETURN, hotkey_chat);
-
- receivedNewMsg = FALSE;
- line_time = 0;
- line_atime = 0;
- timeBlick = 0;
-}
-
-void drawChat()
-{
- char str[STR_SIZE];
- int i;
-
- if (chat_active == FALSE) {
- return;
- }
-
- drawImage(g_chat,
- CHAT_LOCATION_X, CHAT_LOCATION_Y,
- 0, 0, CHAT_SIZE_X, CHAT_SIZE_Y);
-
- for (i = 0; i < listText->count; i++) {
- char *s;
-
- s = (char *)listText->list[i];
-
- drawFontMaxSize(s,
- CHAT_LOCATION_X + 5, CHAT_LOCATION_Y + 5 + i * 20,
- CHAT_SIZE_X - 10, 20, COLOR_WHITE);
- }
-
- strcpy(str, line);
-
- if (timeBlick > CHAT_TIME_BLICK_CURSOR / 2) {
- strcat(str, "\f");
- }
-
- timeBlick++;
-
- if (timeBlick == CHAT_TIME_BLICK_CURSOR) {
- timeBlick = 0;
- }
-
- drawFont(str, CHAT_LOCATION_X + 5, (CHAT_LOCATION_Y + 5) + (CHAT_MAX_LINES * 20), COLOR_WHITE);
-}
-
-static void processMessageKey(SDL_keysym keysym)
-{
- int w, h;
- int len;
- //int i;
-
- if (line_atime < 100)
- line_atime ++;
-
- len = strlen(line);
- getTextSize(line, &w, &h);
-
- if (w > CHAT_SIZE_X - 40) {
- return;
- }
-
- /* processing of backspace */
- if (keysym.sym == SDLK_BACKSPACE && len > 0) {
- line[len - 1] = '\0';
- return;
- }
-
- /* processing of printable chars but not letters */
- if ((keysym.sym >= SDLK_SPACE && keysym.sym <= SDLK_AT)
- || (keysym.sym >= SDLK_LEFTBRACKET && keysym.sym <= SDLK_BACKQUOTE)) {
- /* here would be much better to put 'strcat' as 'line' is expected
- * to be full of '0' up to its end
- */
- line[len] = keysym.sym;
- }
-
- /* processing of letters */
- if (keysym.sym >= SDLK_a && keysym.sym <= SDLK_z) {
- char c = keysym.sym;
- if (keysym.mod == KMOD_SHIFT) {
- c = toupper(c);
- }
- /* here would be much better to put 'strcat' as 'line' is expected
- * to be full of '0' up to its end
- */
- line[len] = c;
- }
-
- return;
-}
-
-static void sendNewMessage()
-{
- if (getNetTypeGame() == NET_GAME_TYPE_CLIENT) {
- proto_send_chat_client(line);
- }
-
- if (getNetTypeGame() == NET_GAME_TYPE_SERVER) {
- char out[STR_PROTO_SIZE];
-
- snprintf(out, STR_PROTO_SIZE, "chat %s:%s\n",
- getControlTux(TUX_CONTROL_KEYBOARD_RIGHT)->name, line);
-
- proto_send_chat_server(PROTO_SEND_ALL, NULL, out);
- }
-}
-
-static void eventChatDisable()
-{
- chat_active = FALSE;
- memset(line, '\0', STR_SIZE);
-
- enableHotKey(SDLK_RETURN);
- enableHotKey(SDLK_p);
-
- disableKeyboardBuffer();
- clearKeyboardBuffer();
-}
-
-static void eventChatEnable()
-{
- /* The chat window is displayed. It is needed to process all keys in the buffer
- * but when ENTER is pressed the chat row is sent to the server
- */
-
- while (isAnyKeyInKeyboardBuffer() == TRUE) {
- SDL_keysym key;
- key = popKeyFromKeyboardBuffer();
-
- if (key.sym == SDLK_RETURN) {
- if (strcmp(line, "") != 0) {
- /* the chat row is already written - it is needed to send it */
- sendNewMessage();
- memset(line, '\0', STR_SIZE);
- continue; /* continue with other keys */
- }
- else {
- /* the chat row is empty - it is needed to turn off the chat window */
- eventChatDisable();
- /* turn off key catching into the buffer and clear the buffer */
- //disableKeyboardBuffer();
- //clearKeyboardBuffer();
- }
- }
-
- processMessageKey(key);
- }
-}
-
-/**
- * Processing of chat 'events'
- */
-void eventChat()
-{
- if (isChatActive()) {
- eventChatEnable();
- }
-}
-
-bool_t isChatActive()
-{
- return chat_active;
-}
-
-bool_t isRecivedNewMsg()
-{
- return receivedNewMsg;
-}
-
-void addToChat(char *s)
-{
- addList(listText, strdup(s));
-
- if (listText->count > CHAT_MAX_LINES) {
- delListItem(listText, 0, free);
- }
-
- if (chat_active == FALSE) {
- receivedNewMsg = TRUE;
- }
-}
-
-void quitChat()
-{
- assert(listText != NULL);
-
- unregisterHotKey(SDLK_RETURN);
- destroyListItem(listText, free);
-}
-
diff --git a/src/client/client.c b/src/client/client.c
index 808dc2b..7512ab8 100644
--- a/src/client/client.c
+++ b/src/client/client.c
@@ -47,334 +47,342 @@ static int traffic_up;
typedef struct proto_cmd_client_struct
{
- char *name;
- int len;
- void (*fce_proto) (char *msg);
+ char *name;
+ int len;
+ void (*fce_proto)(char *msg);
} proto_cmd_client_t;
-static proto_cmd_client_t proto_cmd_list[] = {
- {.name = "error",.len = 5,.fce_proto = proto_recv_error_client},
- {.name = "init",.len = 4,.fce_proto = proto_recv_init_client},
- {.name = "event",.len = 5,.fce_proto = proto_recv_event_client},
- {.name = "newtux",.len = 6,.fce_proto = proto_recv_newtux_client},
- {.name = "del",.len = 3,.fce_proto = proto_recv_del_client},
- {.name = "additem",.len = 7,.fce_proto = proto_recv_additem_client},
- {.name = "shot",.len = 4,.fce_proto = proto_recv_shot_client},
- {.name = "kill",.len = 4,.fce_proto = proto_recv_kill_client},
- {.name = "module",.len = 6,.fce_proto = proto_recv_module_client},
- {.name = "chat",.len = 4,.fce_proto = proto_recv_chat_client},
- {.name = "ping",.len = 4,.fce_proto = proto_recv_ping_client},
- {.name = "end",.len = 3,.fce_proto = proto_recv_end_client},
- {.name = "",.len = 0,.fce_proto = NULL},
+static proto_cmd_client_t proto_cmd_list[] =
+{
+ { .name = "error", .len = 5, .fce_proto = proto_recv_error_client },
+ { .name = "init", .len = 4, .fce_proto = proto_recv_init_client },
+ { .name = "event", .len = 5, .fce_proto = proto_recv_event_client },
+ { .name = "newtux", .len = 6, .fce_proto = proto_recv_newtux_client },
+ { .name = "del", .len = 3, .fce_proto = proto_recv_del_client },
+ { .name = "additem", .len = 7, .fce_proto = proto_recv_additem_client },
+ { .name = "shot", .len = 4, .fce_proto = proto_recv_shot_client },
+ { .name = "kill", .len = 4, .fce_proto = proto_recv_kill_client },
+ { .name = "module", .len = 6, .fce_proto = proto_recv_module_client },
+ { .name = "chat", .len = 4, .fce_proto = proto_recv_chat_client },
+ { .name = "ping", .len = 4, .fce_proto = proto_recv_ping_client },
+ { .name = "end", .len = 3, .fce_proto = proto_recv_end_client },
+ { .name = "", .len = 0, .fce_proto = NULL },
};
-static proto_cmd_client_t *
-findCmdProto(char *msg)
+static proto_cmd_client_t* findCmdProto(char *msg)
{
- int len;
- int i;
-
- len = strlen(msg);
+ int len;
+ int i;
- for (i = 0; proto_cmd_list[i].len != 0; i++) {
- proto_cmd_client_t *thisCmd;
+ len = strlen(msg);
- thisCmd = &proto_cmd_list[i];
+ for( i = 0 ; proto_cmd_list[i].len != 0 ; i++ )
+ {
+ proto_cmd_client_t *thisCmd;
+
+ thisCmd = &proto_cmd_list[i];
- if (len >= thisCmd->len
- && strncmp(msg, thisCmd->name, thisCmd->len) == 0) {
- return thisCmd;
- }
- }
+ if( len >= thisCmd->len && strncmp(msg, thisCmd->name, thisCmd->len) == 0 )
+ {
+ return thisCmd;
+ }
+ }
- return NULL;
+ return NULL;
}
-static int
-initUdpClient(char *ip, int port, int proto)
+static int initUdpClient(char *ip, int port, int proto)
{
- sock_server_udp = connectUdpSocket(ip, port, proto);
+ sock_server_udp = connectUdpSocket(ip, port, proto);
- if (sock_server_udp == NULL) {
- return -1;
- }
+ if( sock_server_udp == NULL )
+ {
+ return -1;
+ }
#ifdef DEBUG
- printf(_("Connected to: %s on port: %d via UDP\n"), ip, port);
+ printf(_("Connected to: %s on port: %d via UDP\n"), ip, port);
#endif
- return 0;
+ return 0;
}
-int
-initClient(char *ip, int port, int proto)
+int initClient(char *ip, int port, int proto)
{
- char name[STR_NAME_SIZE];
- int ret;
+ char name[STR_NAME_SIZE];
+ int ret;
- listRecvMsg = newList();
- lastPing = getMyTime();
- lastPingServerAlive = getMyTime();
+ listRecvMsg = newList();
+ lastPing = getMyTime();
+ lastPingServerAlive = getMyTime();
#ifdef SUPPORT_TRAFFIC
- lastTraffic = getMyTime();
- traffic_down = 0;
- traffic_up = 0;
+ lastTraffic = getMyTime();
+ traffic_down = 0;
+ traffic_up = 0;
#endif
- clientRecvBuffer = newBuffer(CLIENT_BUFFER_LIMIT);
- clientSendBuffer = newBuffer(CLIENT_BUFFER_LIMIT);
+ clientRecvBuffer = newBuffer(CLIENT_BUFFER_LIMIT);
+ clientSendBuffer = newBuffer(CLIENT_BUFFER_LIMIT);
- ret = initUdpClient(ip, port, proto);
+ ret = initUdpClient(ip, port, proto);
- if (ret < 0) {
- return -1;
- }
+ if( ret < 0 )
+ {
+ return -1;
+ }
- getSettingNameRight(name);
- proto_send_hello_client(name);
+ getSettingNameRight(name);
+ proto_send_hello_client(name);
- return 0;
+ return 0;
}
-static void
-errorWithServer()
+static void errorWithServer()
{
- fprintf(stderr, _("Server did not respond!\n"));
- setMsgToAnalyze(_
- ("Server is not running or being blocked. I was unable to connect."));
- setWorldEnd();
+ fprintf(stderr, _("Server did not respond!\n"));
+ setMsgToAnalyze(_("Server is not running or being blocked. I was unable to connect."));
+ setWorldEnd();
}
-void
-sendServer(char *msg)
+void sendServer(char *msg)
{
- int ret;
+ int ret;
- assert(msg != NULL);
+ assert( msg != NULL );
- ret = -1;
+ ret = -1;
#ifndef PUBLIC_SERVER
- if (isParamFlag("--send")) {
- printf(_("Sending: \"%s\""), msg);
- }
+ if( isParamFlag("--send") )
+ {
+ printf(_("Sending: \"%s\""), msg);
+ }
#endif
#ifdef SUPPORT_TRAFFIC
- traffic_up += strlen(msg);
+ traffic_up += strlen(msg);
#endif
- if (sock_server_udp != NULL) {
- ret =
- writeUdpSocket(sock_server_udp, sock_server_udp, msg, strlen(msg));
- }
+ if( sock_server_udp != NULL )
+ {
+ ret = writeUdpSocket(sock_server_udp, sock_server_udp, msg, strlen(msg));
+ }
- if (ret < 0) {
- errorWithServer();
- return;
- }
+ if( ret < 0 )
+ {
+ errorWithServer();
+ return;
+ }
}
-static int
-eventServerSelect()
+static int eventServerSelect()
{
- char buffer[STR_PROTO_SIZE];
- int ret;
-
- memset(buffer, 0, STR_PROTO_SIZE);
- ret = -1;
-
- if (sock_server_udp != NULL) {
- ret =
- readUdpSocket(sock_server_udp, sock_server_udp, buffer,
- STR_PROTO_SIZE - 1);
- }
-
- if (ret < 0) {
- errorWithServer();
- return ret;
- }
+ char buffer[STR_PROTO_SIZE];
+ int ret;
+
+ memset(buffer, 0, STR_PROTO_SIZE);
+ ret = -1;
+
+ if( sock_server_udp != NULL )
+ {
+ ret = readUdpSocket(sock_server_udp, sock_server_udp, buffer, STR_PROTO_SIZE-1);
+ }
+
+ if( ret < 0 )
+ {
+ errorWithServer();
+ return ret;
+ }
#ifdef SUPPORT_TRAFFIC
- traffic_down += ret;
+ traffic_down += ret;
#endif
- addList(listRecvMsg, strdup(buffer));
+ addList(listRecvMsg, strdup(buffer));
#if 0
- if (addBuffer(clientRecvBuffer, buffer, ret) < 0) {
- errorWithServer();
- return ret;
- }
-
- while (getBufferLine(clientRecvBuffer, buffer, STR_PROTO_SIZE) >= 0) {
- if (strlen(buffer) > 0) {
- addList(listRecvMsg, strdup(buffer));
- }
- }
+ if( addBuffer(clientRecvBuffer, buffer, ret) < 0 )
+ {
+ errorWithServer();
+ return ret;
+ }
+
+ while( getBufferLine(clientRecvBuffer, buffer, STR_PROTO_SIZE) >= 0 )
+ {
+ if( strlen(buffer) > 0)
+ {
+ addList(listRecvMsg, strdup(buffer) );
+ }
+ }
#endif
- return ret;
+ return ret;
}
-static void
-eventClientWorkRecvList()
+static void eventClientWorkRecvList()
{
- proto_cmd_client_t *protoCmd;
- char *line;
- int i;
-
- /* obsluha udalosti od servera */
+ proto_cmd_client_t *protoCmd;
+ char *line;
+ int i;
- assert(listRecvMsg != NULL);
+ /* obsluha udalosti od servera */
+
+ assert( listRecvMsg != NULL );
- for (i = 0; i < listRecvMsg->count; i++) {
- line = (char *) listRecvMsg->list[i];
- protoCmd = findCmdProto(line);
+ for( i = 0 ; i < listRecvMsg->count ; i++ )
+ {
+ line = (char *)listRecvMsg->list[i];
+ protoCmd = findCmdProto(line);
#ifndef PUBLIC_SERVER
- if (isParamFlag("--recv")) {
- printf(_("Recieved: \"%s\""), line);
- }
+ if( isParamFlag("--recv") )
+ {
+ printf(_("Recieved: \"%s\""), line);
+ }
#endif
- if (protoCmd != NULL) {
- protoCmd->fce_proto(line);
- lastPingServerAlive = getMyTime();
- }
- }
-
- destroyListItem(listRecvMsg, free);
- listRecvMsg = newList();
+ if( protoCmd != NULL )
+ {
+ protoCmd->fce_proto(line);
+ lastPingServerAlive = getMyTime();
+ }
+ }
+
+ destroyListItem(listRecvMsg, free);
+ listRecvMsg = newList();
}
-static void
-eventPingServer()
+static void eventPingServer()
{
- my_time_t currentTime;
+ my_time_t currentTime;
- currentTime = getMyTime();
+ currentTime = getMyTime();
- if (currentTime - lastPing > CLIENT_TIMEOUT) {
- proto_send_ping_client();
- lastPing = getMyTime();
- }
+ if( currentTime - lastPing > CLIENT_TIMEOUT )
+ {
+ proto_send_ping_client();
+ lastPing = getMyTime();
+ }
}
-static bool_t
-isServerAlive()
+static bool_t isServerAlive()
{
- my_time_t currentTime;
+ my_time_t currentTime;
- currentTime = getMyTime();
+ currentTime = getMyTime();
- if (currentTime - lastPingServerAlive > SERVER_TIMEOUT_ALIVE) {
- return FALSE;
- }
+ if( currentTime - lastPingServerAlive > SERVER_TIMEOUT_ALIVE )
+ {
+ return FALSE;
+ }
- return TRUE;
+ return TRUE;
}
-static void
-selectClientSocket()
+static void selectClientSocket()
{
- fd_set readfds;
- struct timeval tv;
- int max_fd;
- int sock;
- bool_t isNext;
-
- max_fd = 0;
- sock = 0;
-
- if (sock_server_udp != NULL) {
- if (isServerAlive() == FALSE) {
- errorWithServer();
- return;
- }
- }
-
- do {
- isNext = FALSE;
-
- tv.tv_sec = 0;
- tv.tv_usec = 0;
-
- FD_ZERO(&readfds);
-
- if (sock_server_udp != NULL) {
- sock = sock_server_udp->sock;
- }
-
- FD_SET(sock, &readfds);
- max_fd = sock;
- select(max_fd + 1, &readfds, (fd_set *) NULL, (fd_set *) NULL, &tv);
-
- if (FD_ISSET(sock, &readfds)) {
- if (eventServerSelect() > 0) {
- isNext = TRUE;
- }
- }
-
- } while (isNext == TRUE);
+ fd_set readfds;
+ struct timeval tv;
+ int max_fd;
+ int sock;
+ bool_t isNext;
+
+ max_fd = 0;
+ sock = 0;
+
+ if( sock_server_udp != NULL )
+ {
+ if( isServerAlive() == FALSE )
+ {
+ errorWithServer();
+ return;
+ }
+ }
+
+ do{
+ isNext = FALSE;
+
+ tv.tv_sec = 0;
+ tv.tv_usec = 0;
+
+ FD_ZERO(&readfds);
+
+ if( sock_server_udp != NULL )
+ {
+ sock = sock_server_udp->sock;
+ }
+
+ FD_SET(sock, &readfds);
+ max_fd = sock;
+ select(max_fd+1, &readfds, (fd_set *)NULL, (fd_set *)NULL, &tv);
+
+ if( FD_ISSET(sock, &readfds) )
+ {
+ if( eventServerSelect() > 0 )
+ {
+ isNext = TRUE;
+ }
+ }
+
+ }while( isNext == TRUE );
}
#ifdef SUPPORT_TRAFFIC
-static void
-eventTraffic()
+static void eventTraffic()
{
- my_time_t currentTime;
+ my_time_t currentTime;
- currentTime = getMyTime();
+ currentTime = getMyTime();
- if (currentTime - lastTraffic > 5000) {
- lastTraffic = currentTime;
+ if( currentTime - lastTraffic > 5000 )
+ {
+ lastTraffic = currentTime;
#ifdef DEBUG
- printf(_("down: %d\n")
- _("up : %d\n"), traffic_down, traffic_up);
+ printf(_("down: %d\n")
+ _("up : %d\n"),
+ traffic_down, traffic_up);
#endif
- traffic_down = 0;
- traffic_up = 0;
- }
+ traffic_down = 0;
+ traffic_up = 0;
+ }
}
#endif
-void
-eventClient()
+void eventClient()
{
#ifdef SUPPORT_TRAFFIC
- eventTraffic();
+ eventTraffic();
#endif
- eventPingServer();
- selectClientSocket();
- eventClientWorkRecvList();
+ eventPingServer();
+ selectClientSocket();
+ eventClientWorkRecvList();
}
-static void
-quitUdpClient()
+static void quitUdpClient()
{
- assert(sock_server_udp != NULL);
- closeUdpSocket(sock_server_udp);
+ assert( sock_server_udp != NULL );
+ closeUdpSocket(sock_server_udp);
#ifdef DEBUG
- printf(_("Closing UDP connection.\n"));
+ printf(_("Closing UDP connection.\n"));
#endif
}
-void
-quitClient()
+void quitClient()
{
- proto_send_end_client();
+ proto_send_end_client();
- assert(listRecvMsg != NULL);
+ assert( listRecvMsg != NULL );
- destroyListItem(listRecvMsg, free);
- destroyBuffer(clientRecvBuffer);
- destroyBuffer(clientSendBuffer);
+ destroyListItem(listRecvMsg, free);
+ destroyBuffer(clientRecvBuffer);
+ destroyBuffer(clientSendBuffer);
- if (sock_server_udp != NULL) {
- quitUdpClient();
- }
+ if( sock_server_udp != NULL )
+ {
+ quitUdpClient();
+ }
}
+
diff --git a/src/client/client.c~ b/src/client/client.c~
deleted file mode 100644
index 7512ab8..0000000
--- a/src/client/client.c~
+++ /dev/null
@@ -1,388 +0,0 @@
-
-#include <assert.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include <fcntl.h>
-#include <sys/types.h>
-#include <sys/time.h>
-
-#ifndef __WIN32__
-#include <sys/ioctl.h>
-#include <sys/socket.h>
-#include <sys/select.h>
-#else
-#include <io.h>
-#include <winsock2.h>
-#endif
-
-#include "main.h"
-#include "list.h"
-#include "tux.h"
-#include "proto.h"
-
-#include "client.h"
-
-#include "screen_analyze.h"
-#include "screen_world.h"
-#include "buffer.h"
-
-#include "udp.h"
-
-static sock_udp_t *sock_server_udp;
-
-static list_t *listRecvMsg;
-
-static buffer_t *clientRecvBuffer;
-static buffer_t *clientSendBuffer;
-
-static my_time_t lastPing;
-static my_time_t lastPingServerAlive;
-
-#ifdef SUPPORT_TRAFFIC
-static my_time_t lastTraffic;
-static int traffic_down;
-static int traffic_up;
-#endif
-
-typedef struct proto_cmd_client_struct
-{
- char *name;
- int len;
- void (*fce_proto)(char *msg);
-} proto_cmd_client_t;
-
-static proto_cmd_client_t proto_cmd_list[] =
-{
- { .name = "error", .len = 5, .fce_proto = proto_recv_error_client },
- { .name = "init", .len = 4, .fce_proto = proto_recv_init_client },
- { .name = "event", .len = 5, .fce_proto = proto_recv_event_client },
- { .name = "newtux", .len = 6, .fce_proto = proto_recv_newtux_client },
- { .name = "del", .len = 3, .fce_proto = proto_recv_del_client },
- { .name = "additem", .len = 7, .fce_proto = proto_recv_additem_client },
- { .name = "shot", .len = 4, .fce_proto = proto_recv_shot_client },
- { .name = "kill", .len = 4, .fce_proto = proto_recv_kill_client },
- { .name = "module", .len = 6, .fce_proto = proto_recv_module_client },
- { .name = "chat", .len = 4, .fce_proto = proto_recv_chat_client },
- { .name = "ping", .len = 4, .fce_proto = proto_recv_ping_client },
- { .name = "end", .len = 3, .fce_proto = proto_recv_end_client },
- { .name = "", .len = 0, .fce_proto = NULL },
-};
-
-static proto_cmd_client_t* findCmdProto(char *msg)
-{
- int len;
- int i;
-
- len = strlen(msg);
-
- for( i = 0 ; proto_cmd_list[i].len != 0 ; i++ )
- {
- proto_cmd_client_t *thisCmd;
-
- thisCmd = &proto_cmd_list[i];
-
- if( len >= thisCmd->len && strncmp(msg, thisCmd->name, thisCmd->len) == 0 )
- {
- return thisCmd;
- }
- }
-
- return NULL;
-}
-
-static int initUdpClient(char *ip, int port, int proto)
-{
- sock_server_udp = connectUdpSocket(ip, port, proto);
-
- if( sock_server_udp == NULL )
- {
- return -1;
- }
-#ifdef DEBUG
- printf(_("Connected to: %s on port: %d via UDP\n"), ip, port);
-#endif
- return 0;
-}
-
-int initClient(char *ip, int port, int proto)
-{
- char name[STR_NAME_SIZE];
- int ret;
-
- listRecvMsg = newList();
- lastPing = getMyTime();
- lastPingServerAlive = getMyTime();
-
-#ifdef SUPPORT_TRAFFIC
- lastTraffic = getMyTime();
- traffic_down = 0;
- traffic_up = 0;
-#endif
-
- clientRecvBuffer = newBuffer(CLIENT_BUFFER_LIMIT);
- clientSendBuffer = newBuffer(CLIENT_BUFFER_LIMIT);
-
- ret = initUdpClient(ip, port, proto);
-
- if( ret < 0 )
- {
- return -1;
- }
-
- getSettingNameRight(name);
- proto_send_hello_client(name);
-
- return 0;
-}
-
-static void errorWithServer()
-{
- fprintf(stderr, _("Server did not respond!\n"));
- setMsgToAnalyze(_("Server is not running or being blocked. I was unable to connect."));
- setWorldEnd();
-}
-
-void sendServer(char *msg)
-{
- int ret;
-
- assert( msg != NULL );
-
- ret = -1;
-
-#ifndef PUBLIC_SERVER
- if( isParamFlag("--send") )
- {
- printf(_("Sending: \"%s\""), msg);
- }
-
-#endif
-
-#ifdef SUPPORT_TRAFFIC
- traffic_up += strlen(msg);
-#endif
-
- if( sock_server_udp != NULL )
- {
- ret = writeUdpSocket(sock_server_udp, sock_server_udp, msg, strlen(msg));
- }
-
- if( ret < 0 )
- {
- errorWithServer();
- return;
- }
-}
-
-static int eventServerSelect()
-{
- char buffer[STR_PROTO_SIZE];
- int ret;
-
- memset(buffer, 0, STR_PROTO_SIZE);
- ret = -1;
-
- if( sock_server_udp != NULL )
- {
- ret = readUdpSocket(sock_server_udp, sock_server_udp, buffer, STR_PROTO_SIZE-1);
- }
-
- if( ret < 0 )
- {
- errorWithServer();
- return ret;
- }
-
-#ifdef SUPPORT_TRAFFIC
- traffic_down += ret;
-#endif
-
- addList(listRecvMsg, strdup(buffer));
-
-#if 0
- if( addBuffer(clientRecvBuffer, buffer, ret) < 0 )
- {
- errorWithServer();
- return ret;
- }
-
- while( getBufferLine(clientRecvBuffer, buffer, STR_PROTO_SIZE) >= 0 )
- {
- if( strlen(buffer) > 0)
- {
- addList(listRecvMsg, strdup(buffer) );
- }
- }
-#endif
-
- return ret;
-}
-
-static void eventClientWorkRecvList()
-{
- proto_cmd_client_t *protoCmd;
- char *line;
- int i;
-
- /* obsluha udalosti od servera */
-
- assert( listRecvMsg != NULL );
-
- for( i = 0 ; i < listRecvMsg->count ; i++ )
- {
- line = (char *)listRecvMsg->list[i];
- protoCmd = findCmdProto(line);
-
-#ifndef PUBLIC_SERVER
- if( isParamFlag("--recv") )
- {
- printf(_("Recieved: \"%s\""), line);
- }
-#endif
- if( protoCmd != NULL )
- {
- protoCmd->fce_proto(line);
- lastPingServerAlive = getMyTime();
- }
- }
-
- destroyListItem(listRecvMsg, free);
- listRecvMsg = newList();
-}
-
-static void eventPingServer()
-{
- my_time_t currentTime;
-
- currentTime = getMyTime();
-
- if( currentTime - lastPing > CLIENT_TIMEOUT )
- {
- proto_send_ping_client();
- lastPing = getMyTime();
- }
-}
-
-static bool_t isServerAlive()
-{
- my_time_t currentTime;
-
- currentTime = getMyTime();
-
- if( currentTime - lastPingServerAlive > SERVER_TIMEOUT_ALIVE )
- {
- return FALSE;
- }
-
- return TRUE;
-}
-
-static void selectClientSocket()
-{
- fd_set readfds;
- struct timeval tv;
- int max_fd;
- int sock;
- bool_t isNext;
-
- max_fd = 0;
- sock = 0;
-
- if( sock_server_udp != NULL )
- {
- if( isServerAlive() == FALSE )
- {
- errorWithServer();
- return;
- }
- }
-
- do{
- isNext = FALSE;
-
- tv.tv_sec = 0;
- tv.tv_usec = 0;
-
- FD_ZERO(&readfds);
-
- if( sock_server_udp != NULL )
- {
- sock = sock_server_udp->sock;
- }
-
- FD_SET(sock, &readfds);
- max_fd = sock;
- select(max_fd+1, &readfds, (fd_set *)NULL, (fd_set *)NULL, &tv);
-
- if( FD_ISSET(sock, &readfds) )
- {
- if( eventServerSelect() > 0 )
- {
- isNext = TRUE;
- }
- }
-
- }while( isNext == TRUE );
-}
-
-#ifdef SUPPORT_TRAFFIC
-
-static void eventTraffic()
-{
- my_time_t currentTime;
-
- currentTime = getMyTime();
-
- if( currentTime - lastTraffic > 5000 )
- {
- lastTraffic = currentTime;
-#ifdef DEBUG
- printf(_("down: %d\n")
- _("up : %d\n"),
- traffic_down, traffic_up);
-#endif
- traffic_down = 0;
- traffic_up = 0;
- }
-}
-
-#endif
-
-void eventClient()
-{
-#ifdef SUPPORT_TRAFFIC
- eventTraffic();
-#endif
-
- eventPingServer();
- selectClientSocket();
- eventClientWorkRecvList();
-
-}
-
-static void quitUdpClient()
-{
- assert( sock_server_udp != NULL );
- closeUdpSocket(sock_server_udp);
-#ifdef DEBUG
- printf(_("Closing UDP connection.\n"));
-#endif
-}
-
-void quitClient()
-{
- proto_send_end_client();
-
- assert( listRecvMsg != NULL );
-
- destroyListItem(listRecvMsg, free);
- destroyBuffer(clientRecvBuffer);
- destroyBuffer(clientSendBuffer);
-
- if( sock_server_udp != NULL )
- {
- quitUdpClient();
- }
-}
-
diff --git a/src/client/configFile.c b/src/client/configFile.c
index 9f7d03b..dc5d0fd 100644
--- a/src/client/configFile.c
+++ b/src/client/configFile.c
@@ -7,142 +7,132 @@
#include "main.h"
#include "configFile.h"
-int
-isYesOrNO(char *s)
+int isYesOrNO(char *s)
{
- if (s[0] == 'Y' || s[0] == 'y')
- return 1;
- return 0;
+ if( s[0] == 'Y' || s[0] == 'y' )return 1;
+ return 0;
}
-char *
-getYesOrNo(int n)
+char* getYesOrNo(int n)
{
- return (n != 0 ? "YES" : "NO");
+ return ( n != 0 ? "YES" : "NO" );
}
-int
-getValue(char *line, char *env, char *val, int len)
+int getValue(char *line, char *env, char *val, int len)
{
- char *offset_env;
- char *offset_val_begin;
- char *offset_val_end;
- char clone_env[STR_SIZE];
- int val_len;
-
- strcpy(clone_env, env);
-
- offset_env = strstr(line, clone_env);
- if (offset_env == NULL)
- return -1;
-
- offset_val_begin = strchr(offset_env, '"');
- if (offset_val_begin == NULL)
- return -1;
-
- offset_val_end = strchr(offset_val_begin + 1, '"');
- if (offset_val_end == NULL)
- return -1;
-
- val_len = (int) (offset_val_end - (offset_val_begin + 1));
- if (val_len > len - 1)
- val_len = len - 1;
-
- memset(val, 0, len);
- memcpy(val, offset_val_begin + 1, val_len);
-
- return 0;
+ char *offset_env;
+ char *offset_val_begin;
+ char *offset_val_end;
+ char clone_env[STR_SIZE];
+ int val_len;
+
+ strcpy(clone_env, env);
+
+ offset_env = strstr(line, clone_env);
+ if( offset_env == NULL )return -1;
+
+ offset_val_begin = strchr(offset_env, '"');
+ if( offset_val_begin == NULL )return -1;
+
+ offset_val_end = strchr(offset_val_begin+1, '"');
+ if( offset_val_end == NULL )return -1;
+
+ val_len = (int)(offset_val_end - ( offset_val_begin + 1) );
+ if( val_len > len - 1 ) val_len = len - 1;
+
+ memset(val, 0, len);
+ memcpy(val, offset_val_begin+1, val_len);
+
+ return 0;
}
-char *
-setValue(char *line, char *env, char *val)
+char* setValue(char *line, char *env, char *val)
{
- char *offset_env;
- char *offset_val_begin;
- char *offset_val_end;
- char clone_env[STR_SIZE];
- char clone[STR_SIZE];
-
- //strcpy(clone_env, " ");
- strcpy(clone_env, env);
-
- offset_env = strstr(line, clone_env);
- if (offset_env == NULL)
- return NULL;
-
- offset_val_begin = strchr(offset_env, '"');
- if (offset_val_begin == NULL)
- return NULL;
-
- offset_val_end = strchr(offset_val_begin + 1, '"');
- if (offset_val_end == NULL)
- return NULL;
-
- memset(clone, 0, STR_SIZE);
- strncpy(clone, line, (int) ((offset_val_begin - line) + 1));
- strcat(clone, val);
- strcat(clone, offset_val_end);
-
- return strdup(clone);
+ char *offset_env;
+ char *offset_val_begin;
+ char *offset_val_end;
+ char clone_env[STR_SIZE];
+ char clone[STR_SIZE];
+
+ //strcpy(clone_env, " ");
+ strcpy(clone_env, env);
+
+ offset_env = strstr(line, clone_env);
+ if( offset_env == NULL )return NULL;
+
+ offset_val_begin = strchr(offset_env, '"');
+ if( offset_val_begin == NULL )return NULL;
+
+ offset_val_end = strchr(offset_val_begin+1, '"');
+ if( offset_val_end == NULL )return NULL;
+
+ memset(clone, 0, STR_SIZE);
+ strncpy(clone, line, (int) ( (offset_val_begin - line) + 1 ) );
+ strcat(clone, val);
+ strcat(clone, offset_val_end);
+
+ return strdup( clone );
}
-int
-getValueInConfigFile(textFile_t * textFile, char *env, char *val, int len)
+int getValueInConfigFile(textFile_t *textFile, char *env, char *val, int len)
{
- int i;
- char *line;
-
- for (i = 0; i < textFile->text->count; i++) {
- line = (char *) (textFile->text->list[i]);
-
- //printf("env = %s line = %s\n", env, line);
-
- if (strncmp(line, env, strlen(env)) == 0) {
- return getValue(line, env, val, len);
- }
- }
-
- return -1;
+ int i;
+ char *line;
+
+ for( i = 0 ; i < textFile->text->count ; i++ )
+ {
+ line = (char *) (textFile->text->list[i]);
+
+ //printf("env = %s line = %s\n", env, line);
+
+ if( strncmp(line, env, strlen(env)) == 0 )
+ {
+ return getValue(line, env, val, len);
+ }
+ }
+
+ return -1;
}
-int
-setValueInConfigFile(textFile_t * textFile, char *env, char *val)
+int setValueInConfigFile(textFile_t *textFile, char *env, char *val)
{
- int i;
- char *line;
- char *ret;
-
- for (i = 0; i < textFile->text->count; i++) {
- line = (char *) (textFile->text->list[i]);
-
- if (strncmp(line, env, strlen(env)) == 0) {
- ret = setValue(line, env, val);
-
- if (ret != NULL) {
- delListItem(textFile->text, i, free);
- insList(textFile->text, i, ret);
-
- return 0;
- }
- }
- }
-
- return -1;
+ int i;
+ char *line;
+ char *ret;
+
+ for( i = 0 ; i < textFile->text->count ; i++ )
+ {
+ line = (char *) (textFile->text->list[i]);
+
+ if( strncmp(line, env, strlen(env)) == 0 )
+ {
+ ret = setValue(line, env, val);
+
+ if( ret != NULL )
+ {
+ delListItem(textFile->text, i, free);
+ insList(textFile->text, i, ret);
+
+ return 0;
+ }
+ }
+ }
+
+ return -1;
}
-void
-loadValueFromConfigFile(textFile_t * textFile, char *env, char *val, int len,
- char *butVal)
+void loadValueFromConfigFile(textFile_t *textFile, char *env, char *val, int len, char *butVal)
{
- strcpy(val, butVal);
+ strcpy(val, butVal);
- if (getValueInConfigFile(textFile, env, val, len) != 0) {
- char line[STR_SIZE];
+ if( getValueInConfigFile(textFile, env, val, len) != 0 )
+ {
+ char line[STR_SIZE];
- sprintf(line, "%s=\"%s\"", env, butVal);
- addList(textFile->text, strdup(line));
+ sprintf(line, "%s=\"%s\"", env, butVal);
+ addList(textFile->text, strdup(line) );
#ifdef DEBUG
- printf(_("ADDING: \"%s\" into config file.\n"), line);
+ printf(_("ADDING: \"%s\" into config file.\n"), line);
#endif
- }
+ }
}
diff --git a/src/client/configFile.c~ b/src/client/configFile.c~
deleted file mode 100644
index dc5d0fd..0000000
--- a/src/client/configFile.c~
+++ /dev/null
@@ -1,138 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "configFile.h"
-
-int isYesOrNO(char *s)
-{
- if( s[0] == 'Y' || s[0] == 'y' )return 1;
- return 0;
-}
-
-char* getYesOrNo(int n)
-{
- return ( n != 0 ? "YES" : "NO" );
-}
-
-int getValue(char *line, char *env, char *val, int len)
-{
- char *offset_env;
- char *offset_val_begin;
- char *offset_val_end;
- char clone_env[STR_SIZE];
- int val_len;
-
- strcpy(clone_env, env);
-
- offset_env = strstr(line, clone_env);
- if( offset_env == NULL )return -1;
-
- offset_val_begin = strchr(offset_env, '"');
- if( offset_val_begin == NULL )return -1;
-
- offset_val_end = strchr(offset_val_begin+1, '"');
- if( offset_val_end == NULL )return -1;
-
- val_len = (int)(offset_val_end - ( offset_val_begin + 1) );
- if( val_len > len - 1 ) val_len = len - 1;
-
- memset(val, 0, len);
- memcpy(val, offset_val_begin+1, val_len);
-
- return 0;
-}
-
-char* setValue(char *line, char *env, char *val)
-{
- char *offset_env;
- char *offset_val_begin;
- char *offset_val_end;
- char clone_env[STR_SIZE];
- char clone[STR_SIZE];
-
- //strcpy(clone_env, " ");
- strcpy(clone_env, env);
-
- offset_env = strstr(line, clone_env);
- if( offset_env == NULL )return NULL;
-
- offset_val_begin = strchr(offset_env, '"');
- if( offset_val_begin == NULL )return NULL;
-
- offset_val_end = strchr(offset_val_begin+1, '"');
- if( offset_val_end == NULL )return NULL;
-
- memset(clone, 0, STR_SIZE);
- strncpy(clone, line, (int) ( (offset_val_begin - line) + 1 ) );
- strcat(clone, val);
- strcat(clone, offset_val_end);
-
- return strdup( clone );
-}
-
-int getValueInConfigFile(textFile_t *textFile, char *env, char *val, int len)
-{
- int i;
- char *line;
-
- for( i = 0 ; i < textFile->text->count ; i++ )
- {
- line = (char *) (textFile->text->list[i]);
-
- //printf("env = %s line = %s\n", env, line);
-
- if( strncmp(line, env, strlen(env)) == 0 )
- {
- return getValue(line, env, val, len);
- }
- }
-
- return -1;
-}
-
-int setValueInConfigFile(textFile_t *textFile, char *env, char *val)
-{
- int i;
- char *line;
- char *ret;
-
- for( i = 0 ; i < textFile->text->count ; i++ )
- {
- line = (char *) (textFile->text->list[i]);
-
- if( strncmp(line, env, strlen(env)) == 0 )
- {
- ret = setValue(line, env, val);
-
- if( ret != NULL )
- {
- delListItem(textFile->text, i, free);
- insList(textFile->text, i, ret);
-
- return 0;
- }
- }
- }
-
- return -1;
-}
-
-void loadValueFromConfigFile(textFile_t *textFile, char *env, char *val, int len, char *butVal)
-{
- strcpy(val, butVal);
-
- if( getValueInConfigFile(textFile, env, val, len) != 0 )
- {
- char line[STR_SIZE];
-
- sprintf(line, "%s=\"%s\"", env, butVal);
- addList(textFile->text, strdup(line) );
-#ifdef DEBUG
- printf(_("ADDING: \"%s\" into config file.\n"), line);
-#endif
- }
-}
diff --git a/src/client/font.c b/src/client/font.c
index f66f8cf..9a37b9f 100755
--- a/src/client/font.c
+++ b/src/client/font.c
@@ -1,5 +1,5 @@
-#include "main.h"
-#include "interface.h"
+#include "main.h"
+#include "interface.h"
#include "font.h"
static TTF_Font *g_font;
@@ -7,136 +7,132 @@ static int fontSize;
static bool_t isFontInit = FALSE;
-bool_t
-isFontInicialized()
+bool_t isFontInicialized()
{
- return isFontInit;
+ return isFontInit;
}
-void
-initFont(char *file, int size)
+void initFont(char *file,int size)
{
- char str[STR_PATH_SIZE];
+ char str[STR_PATH_SIZE];
- assert(file != NULL);
- assert(size > 0);
+ assert( file != NULL );
+ assert( size > 0 );
- assert(isInterfaceInicialized() == TRUE);
+ assert( isInterfaceInicialized() == TRUE );
- sprintf(str, "%s", file);
+ sprintf(str, "%s", file);
- if (TTF_Init() == -1) {
- fprintf(stderr, "%s\n", SDL_GetError());
- return;
- }
+ if( TTF_Init() == -1 )
+ {
+ fprintf(stderr, "%s\n", SDL_GetError());
+ return;
+ }
- accessExistFile(str);
+ accessExistFile(str);
- g_font = TTF_OpenFont(str, size);
- TTF_SetFontStyle(g_font, TTF_STYLE_NORMAL);
+ g_font = TTF_OpenFont(str, size);
+ TTF_SetFontStyle(g_font, TTF_STYLE_NORMAL);
- fontSize = size;
+ fontSize = size;
#ifdef DEBUG
- printf(_("Loading font: \"%s\"\n"), file);
+ printf(_("Loading font: \"%s\"\n"), file);
#endif
- isFontInit = TRUE;
+ isFontInit = TRUE;
}
/*
* Zobrazi text *s na suradnicu x y s farbou RGB
*/
-void
-drawFont(char *s, int x, int y, int r, int g, int b)
+void drawFont(char *s, int x, int y, int r, int g, int b)
{
- SDL_Rect dst_rect;
- SDL_Surface *text;
- SDL_Surface *p;
- SDL_Color farba_pisma = { r, g, b, 0 };
+ SDL_Rect dst_rect;
+ SDL_Surface *text;
+ SDL_Surface *p;
+ SDL_Color farba_pisma = {r, g, b, 0};
- //printf("drawFont %s\n", s);
+ //printf("drawFont %s\n", s);
- assert(s != NULL);
+ assert( s != NULL );
- p = getSDL_Screen();
+ p = getSDL_Screen();
- text = TTF_RenderUTF8_Blended(g_font, s, farba_pisma);
+ text = TTF_RenderUTF8_Blended(g_font, s, farba_pisma);
- dst_rect.x = x;
- dst_rect.y = y;
-
- SDL_BlitSurface(text, NULL, p, &dst_rect);
- SDL_FreeSurface(text);
+ dst_rect.x = x;
+ dst_rect.y = y;
+
+ SDL_BlitSurface(text, NULL, p, &dst_rect);
+ SDL_FreeSurface(text);
}
-void
-drawFontMaxSize(char *s, int x, int y, int w, int h, int r, int g, int b)
+void drawFontMaxSize(char *s, int x, int y, int w, int h, int r, int g, int b)
{
- SDL_Rect src_rect, dst_rect;
- SDL_Surface *text;
- SDL_Surface *p;
- SDL_Color farba_pisma = { r, g, b, 0 };
- int my_w, my_h;
-
- assert(s != NULL);
-
- p = getSDL_Screen();
+ SDL_Rect src_rect, dst_rect;
+ SDL_Surface *text;
+ SDL_Surface *p;
+ SDL_Color farba_pisma = {r, g, b, 0};
+ int my_w, my_h;
- text = TTF_RenderUTF8_Blended(g_font, s, farba_pisma);
+ assert( s != NULL );
+ p = getSDL_Screen();
- my_w = text->w;
+ text = TTF_RenderUTF8_Blended(g_font, s, farba_pisma);
- if (my_w > w) {
- my_w = w;
- }
+
+ my_w = text->w;
- my_h = text->h;
+ if( my_w > w )
+ {
+ my_w = w;
+ }
- if (my_w > w) {
- my_h = h;
- }
+ my_h = text->h;
- src_rect.x = 0;
- src_rect.y = 0;
- src_rect.w = my_w;
- src_rect.h = my_h;
+ if( my_w > w )
+ {
+ my_h = h;
+ }
- dst_rect.x = x;
- dst_rect.y = y;
+ src_rect.x = 0;
+ src_rect.y = 0;
+ src_rect.w = my_w;
+ src_rect.h = my_h;
- SDL_BlitSurface(text, &src_rect, p, &dst_rect);
- SDL_FreeSurface(text);
+ dst_rect.x = x;
+ dst_rect.y = y;
+
+ SDL_BlitSurface(text, &src_rect, p, &dst_rect);
+ SDL_FreeSurface(text);
}
/*
* Vrati velkost daneho fontu.
*/
-int
-getFontSize()
+int getFontSize()
{
- return fontSize;
+ return fontSize;
}
-void
-getTextSize(char *s, int *w, int *h)
+void getTextSize(char *s, int *w, int *h)
{
- assert(s != NULL);
- assert(w != NULL);
- assert(h != NULL);
+ assert( s != NULL );
+ assert( w != NULL );
+ assert( h != NULL );
- TTF_SizeUTF8(g_font, s, w, h);
+ TTF_SizeUTF8(g_font, s, w, h);
}
/*
* Uvolni font z pamete.
*/
-void
-quitFont()
+void quitFont()
{
- TTF_CloseFont(g_font);
- TTF_Quit();
+ TTF_CloseFont(g_font);
+ TTF_Quit();
#ifdef DEBUG
- printf(_("Unloading font\n"));
+ printf(_("Unloading font\n"));
#endif
- isFontInit = FALSE;
+ isFontInit = FALSE;
}
diff --git a/src/client/font.c~ b/src/client/font.c~
deleted file mode 100644
index 9a37b9f..0000000
--- a/src/client/font.c~
+++ /dev/null
@@ -1,138 +0,0 @@
-#include "main.h"
-#include "interface.h"
-#include "font.h"
-
-static TTF_Font *g_font;
-static int fontSize;
-
-static bool_t isFontInit = FALSE;
-
-bool_t isFontInicialized()
-{
- return isFontInit;
-}
-
-void initFont(char *file,int size)
-{
- char str[STR_PATH_SIZE];
-
- assert( file != NULL );
- assert( size > 0 );
-
- assert( isInterfaceInicialized() == TRUE );
-
- sprintf(str, "%s", file);
-
- if( TTF_Init() == -1 )
- {
- fprintf(stderr, "%s\n", SDL_GetError());
- return;
- }
-
- accessExistFile(str);
-
- g_font = TTF_OpenFont(str, size);
- TTF_SetFontStyle(g_font, TTF_STYLE_NORMAL);
-
- fontSize = size;
-#ifdef DEBUG
- printf(_("Loading font: \"%s\"\n"), file);
-#endif
- isFontInit = TRUE;
-}
-
-/*
- * Zobrazi text *s na suradnicu x y s farbou RGB
- */
-void drawFont(char *s, int x, int y, int r, int g, int b)
-{
- SDL_Rect dst_rect;
- SDL_Surface *text;
- SDL_Surface *p;
- SDL_Color farba_pisma = {r, g, b, 0};
-
- //printf("drawFont %s\n", s);
-
- assert( s != NULL );
-
- p = getSDL_Screen();
-
- text = TTF_RenderUTF8_Blended(g_font, s, farba_pisma);
-
- dst_rect.x = x;
- dst_rect.y = y;
-
- SDL_BlitSurface(text, NULL, p, &dst_rect);
- SDL_FreeSurface(text);
-}
-
-void drawFontMaxSize(char *s, int x, int y, int w, int h, int r, int g, int b)
-{
- SDL_Rect src_rect, dst_rect;
- SDL_Surface *text;
- SDL_Surface *p;
- SDL_Color farba_pisma = {r, g, b, 0};
- int my_w, my_h;
-
- assert( s != NULL );
-
- p = getSDL_Screen();
-
- text = TTF_RenderUTF8_Blended(g_font, s, farba_pisma);
-
-
- my_w = text->w;
-
- if( my_w > w )
- {
- my_w = w;
- }
-
- my_h = text->h;
-
- if( my_w > w )
- {
- my_h = h;
- }
-
- src_rect.x = 0;
- src_rect.y = 0;
- src_rect.w = my_w;
- src_rect.h = my_h;
-
- dst_rect.x = x;
- dst_rect.y = y;
-
- SDL_BlitSurface(text, &src_rect, p, &dst_rect);
- SDL_FreeSurface(text);
-}
-
-/*
- * Vrati velkost daneho fontu.
- */
-int getFontSize()
-{
- return fontSize;
-}
-
-void getTextSize(char *s, int *w, int *h)
-{
- assert( s != NULL );
- assert( w != NULL );
- assert( h != NULL );
-
- TTF_SizeUTF8(g_font, s, w, h);
-}
-
-/*
- * Uvolni font z pamete.
- */
-void quitFont()
-{
- TTF_CloseFont(g_font);
- TTF_Quit();
-#ifdef DEBUG
- printf(_("Unloading font\n"));
-#endif
- isFontInit = FALSE;
-}
diff --git a/src/client/game.c b/src/client/game.c
index 066acab..68b88d7 100644
--- a/src/client/game.c
+++ b/src/client/game.c
@@ -42,84 +42,81 @@
#include "screen_credits.h"
#include "screen_browser.h"
-static void
-initGame()
+static void initGame()
{
- createHomeDirector();
+ createHomeDirector();
- initSDL();
- initFont(FONT_FILE, FONT_SIZE);
- initLayer();
- initImageData();
+ initSDL();
+ initFont(FONT_FILE , FONT_SIZE);
+ initLayer();
+ initImageData();
#ifndef NO_SOUND
- initAudio();
- initSound();
- initMusic();
+ initAudio();
+ initSound();
+ initMusic();
#endif
- initScreen();
- initArenaFile();
- initTux();
- initItem();
- initShot();
- initPanel();
- initWorld();
+ initScreen();
+ initArenaFile();
+ initTux();
+ initItem();
+ initShot();
+ initPanel();
+ initWorld();
- initScreenMainMenu();
- initScreenAnalyze();
- initScreenChoiceArena();
- initScreenSetting();
- initScreenSettingKeys();
- initScreenGameType();
- initScreenDownArena();
- initScreenCredits();
- initScreenTable();
- initScreenBrowser();
+ initScreenMainMenu();
+ initScreenAnalyze();
+ initScreenChoiceArena();
+ initScreenSetting();
+ initScreenSettingKeys();
+ initScreenGameType();
+ initScreenDownArena();
+ initScreenCredits();
+ initScreenTable();
+ initScreenBrowser();
}
-void
-quitGame()
+void quitGame()
{
- quitSDL();
+ quitSDL();
- quitScreenMainMenu();
- quitScreenAnalyze();
- quitScreenSetting();
- quitScreenSettingKeys();
- quitScreenGameType();
- quitScreenDownArena();
- quitScreenChoiceArena();
- quitScreenCredits();
- quitScreenTable();
- quitScreenBrowser();
+ quitScreenMainMenu();
+ quitScreenAnalyze();
+ quitScreenSetting();
+ quitScreenSettingKeys();
+ quitScreenGameType();
+ quitScreenDownArena();
+ quitScreenChoiceArena();
+ quitScreenCredits();
+ quitScreenTable();
+ quitScreenBrowser();
- quitLayer();
- quitFont();
- quitScreen();
- quitArenaFile();
- quitItem();
- quitTux();
- quitShot();
- quitPanel();
- quitWorld();
- quitImageData();
+ quitLayer();
+ quitFont();
+ quitScreen();
+ quitArenaFile();
+ quitItem();
+ quitTux();
+ quitShot();
+ quitPanel();
+ quitWorld();
+ quitImageData();
#ifndef NO_SOUND
- quitSound();
- quitMusic();
- quitAudio();
+ quitSound();
+ quitMusic();
+ quitAudio();
#endif
#ifdef DEBUG
- printf(_("Quitting TUXANCI...\n"));
+ printf(_("Quitting TUXANCI...\n"));
#endif
- exit(0);
+ exit(0);
}
-void
-startGame()
+void startGame()
{
- initGame();
+ initGame();
- startScreen("mainMenu");
+ startScreen("mainMenu");
- eventSDL();
- quitGame();
+ eventSDL();
+ quitGame();
}
diff --git a/src/client/game.c~ b/src/client/game.c~
deleted file mode 100644
index 68b88d7..0000000
--- a/src/client/game.c~
+++ /dev/null
@@ -1,122 +0,0 @@
-
-#include <time.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <signal.h>
-#include <unistd.h>
-#include <assert.h>
-#include <sys/stat.h>
-
-#include "main.h"
-#include "tux.h"
-#include "homeDirector.h"
-#include "item.h"
-#include "shot.h"
-#include "arenaFile.h"
-
-#include "image.h"
-#include "layer.h"
-#include "interface.h"
-#include "screen.h"
-#include "font.h"
-#include "screen_settingKeys.h"
-#include "panel.h"
-#include "radar.h"
-
-#ifndef NO_SOUND
-#include "audio.h"
-#include "sound.h"
-#include "music.h"
-#endif
-
-#include "screen_world.h"
-#include "screen_mainMenu.h"
-#include "screen_analyze.h"
-#include "screen_setting.h"
-#include "screen_settingKeys.h"
-#include "screen_gameType.h"
-#include "screen_downArena.h"
-#include "screen_choiceArena.h"
-#include "screen_table.h"
-#include "screen_credits.h"
-#include "screen_browser.h"
-
-static void initGame()
-{
- createHomeDirector();
-
- initSDL();
- initFont(FONT_FILE , FONT_SIZE);
- initLayer();
- initImageData();
-#ifndef NO_SOUND
- initAudio();
- initSound();
- initMusic();
-#endif
- initScreen();
- initArenaFile();
- initTux();
- initItem();
- initShot();
- initPanel();
- initWorld();
-
- initScreenMainMenu();
- initScreenAnalyze();
- initScreenChoiceArena();
- initScreenSetting();
- initScreenSettingKeys();
- initScreenGameType();
- initScreenDownArena();
- initScreenCredits();
- initScreenTable();
- initScreenBrowser();
-}
-
-void quitGame()
-{
- quitSDL();
-
- quitScreenMainMenu();
- quitScreenAnalyze();
- quitScreenSetting();
- quitScreenSettingKeys();
- quitScreenGameType();
- quitScreenDownArena();
- quitScreenChoiceArena();
- quitScreenCredits();
- quitScreenTable();
- quitScreenBrowser();
-
- quitLayer();
- quitFont();
- quitScreen();
- quitArenaFile();
- quitItem();
- quitTux();
- quitShot();
- quitPanel();
- quitWorld();
- quitImageData();
-#ifndef NO_SOUND
- quitSound();
- quitMusic();
- quitAudio();
-#endif
-#ifdef DEBUG
- printf(_("Quitting TUXANCI...\n"));
-#endif
- exit(0);
-}
-
-void startGame()
-{
- initGame();
-
- startScreen("mainMenu");
-
- eventSDL();
- quitGame();
-}
diff --git a/src/client/hotKey.c b/src/client/hotKey.c
index 9418057..43a13ca 100644
--- a/src/client/hotKey.c
+++ b/src/client/hotKey.c
@@ -12,148 +12,147 @@
typedef struct hotKey_struct
{
- SDLKey key;
- bool_t active;
- void (*handler) ();
+ SDLKey key;
+ bool_t active;
+ void (*handler)();
} hotKey_t;
static list_t *listHotKey;
static my_time_t lastActive;
-static hotKey_t *
-newHotKey(SDLKey key, void (*handler) ())
+static hotKey_t* newHotKey(SDLKey key, void (*handler)())
{
- hotKey_t *new;
+ hotKey_t *new;
- new = malloc(sizeof(hotKey_t));
- new->key = key;
- new->active = TRUE;
- new->handler = handler;
+ new = malloc( sizeof(hotKey_t) );
+ new->key = key;
+ new->active = TRUE;
+ new->handler = handler;
- return new;
+ return new;
}
-static void
-destroyHotKey(hotKey_t * hotkey)
+static void destroyHotKey(hotKey_t *hotkey)
{
- free(hotkey);
+ free(hotkey);
}
-static hotKey_t *
-findHotkey(SDLKey key)
+static hotKey_t* findHotkey(SDLKey key)
{
- int i;
+ int i;
- for (i = 0; i < listHotKey->count; i++) {
- hotKey_t *this;
+ for( i = 0 ; i < listHotKey->count ; i++ )
+ {
+ hotKey_t *this;
- this = (hotKey_t *) listHotKey->list[i];
+ this = (hotKey_t *)listHotKey->list[i];
- if (this->key == key) {
- return this;
- }
- }
+ if( this->key == key )
+ {
+ return this;
+ }
+ }
- return NULL;
+ return NULL;
}
-void
-initHotKey()
+void initHotKey()
{
- listHotKey = newList();
- lastActive = getMyTime();
+ listHotKey = newList();
+ lastActive = getMyTime();
}
-void
-registerHotKey(SDLKey key, void (*handler) ())
+void registerHotKey(SDLKey key, void (*handler)())
{
- hotKey_t *hotkey;
+ hotKey_t *hotkey;
- if (findHotkey(key) != NULL) {
- assert(!"Conflict with register key");
- }
+ if( findHotkey(key) != NULL )
+ {
+ assert( ! "Conflict with register key");
+ }
- hotkey = newHotKey(key, handler);
- addList(listHotKey, hotkey);
+ hotkey = newHotKey(key, handler);
+ addList(listHotKey, hotkey);
}
-void
-unregisterHotKey(SDLKey key)
+void unregisterHotKey(SDLKey key)
{
- hotKey_t *hotkey;
- int index;
+ hotKey_t *hotkey;
+ int index;
- hotkey = findHotkey(key);
+ hotkey = findHotkey(key);
- if (hotkey == NULL) {
- assert(!"This hotkey not register");
- }
+ if( hotkey == NULL )
+ {
+ assert( ! "This hotkey not register");
+ }
- index = searchListItem(listHotKey, hotkey);
- assert(index != -1);
- delListItem(listHotKey, index, destroyHotKey);
+ index = searchListItem(listHotKey, hotkey);
+ assert( index != -1 );
+ delListItem(listHotKey, index, destroyHotKey);
}
-void
-enableHotKey(SDLKey key)
+void enableHotKey(SDLKey key)
{
- hotKey_t *hotkey;
+ hotKey_t *hotkey;
- hotkey = findHotkey(key);
+ hotkey = findHotkey(key);
- if (hotkey == NULL) {
- assert(!"This hotkey not register");
- }
+ if( hotkey == NULL )
+ {
+ assert( ! "This hotkey not register");
+ }
- lastActive = getMyTime();
- hotkey->active = TRUE;
+ lastActive = getMyTime();
+ hotkey->active = TRUE;
}
-void
-disableHotKey(SDLKey key)
+void disableHotKey(SDLKey key)
{
- hotKey_t *hotkey;
+ hotKey_t *hotkey;
- hotkey = findHotkey(key);
+ hotkey = findHotkey(key);
- if (hotkey == NULL) {
- assert(!"This hotkey not register");
- }
+ if( hotkey == NULL )
+ {
+ assert( ! "This hotkey not register");
+ }
- lastActive = getMyTime();
- hotkey->active = FALSE;
+ lastActive = getMyTime();
+ hotkey->active = FALSE;
}
-void
-eventHotKey()
+void eventHotKey()
{
- my_time_t currentTime;
- Uint8 *mapa;
- int i;
+ my_time_t currentTime;
+ Uint8 *mapa;
+ int i;
- currentTime = getMyTime();
+ currentTime = getMyTime();
- if (currentTime - lastActive < HOTKEY_ACTIVE_INTERVAL) {
- return;
- }
+ if( currentTime - lastActive < HOTKEY_ACTIVE_INTERVAL )
+ {
+ return;
+ }
- mapa = SDL_GetKeyState(NULL);
+ mapa = SDL_GetKeyState(NULL);
- for (i = 0; i < listHotKey->count; i++) {
- hotKey_t *this;
+ for( i = 0 ; i < listHotKey->count ; i++ )
+ {
+ hotKey_t *this;
- this = (hotKey_t *) listHotKey->list[i];
+ this = (hotKey_t *)listHotKey->list[i];
- if (mapa[this->key] == SDL_PRESSED && this->active == TRUE) {
- lastActive = getMyTime();
- //printf("hotKey = %d\n", this->key);
- this->handler();
- }
- }
+ if( mapa[this->key] == SDL_PRESSED && this->active == TRUE )
+ {
+ lastActive = getMyTime();
+ //printf("hotKey = %d\n", this->key);
+ this->handler();
+ }
+ }
}
-void
-quitHotKey()
+void quitHotKey()
{
- destroyListItem(listHotKey, destroyHotKey);
+ destroyListItem(listHotKey, destroyHotKey);
}
diff --git a/src/client/hotKey.c~ b/src/client/hotKey.c~
deleted file mode 100644
index 43a13ca..0000000
--- a/src/client/hotKey.c~
+++ /dev/null
@@ -1,158 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "myTimer.h"
-
-#include "interface.h"
-#include "hotKey.h"
-
-typedef struct hotKey_struct
-{
- SDLKey key;
- bool_t active;
- void (*handler)();
-} hotKey_t;
-
-static list_t *listHotKey;
-static my_time_t lastActive;
-
-static hotKey_t* newHotKey(SDLKey key, void (*handler)())
-{
- hotKey_t *new;
-
- new = malloc( sizeof(hotKey_t) );
- new->key = key;
- new->active = TRUE;
- new->handler = handler;
-
- return new;
-}
-
-static void destroyHotKey(hotKey_t *hotkey)
-{
- free(hotkey);
-}
-
-static hotKey_t* findHotkey(SDLKey key)
-{
- int i;
-
- for( i = 0 ; i < listHotKey->count ; i++ )
- {
- hotKey_t *this;
-
- this = (hotKey_t *)listHotKey->list[i];
-
- if( this->key == key )
- {
- return this;
- }
- }
-
- return NULL;
-}
-
-void initHotKey()
-{
- listHotKey = newList();
- lastActive = getMyTime();
-}
-
-void registerHotKey(SDLKey key, void (*handler)())
-{
- hotKey_t *hotkey;
-
- if( findHotkey(key) != NULL )
- {
- assert( ! "Conflict with register key");
- }
-
- hotkey = newHotKey(key, handler);
- addList(listHotKey, hotkey);
-}
-
-void unregisterHotKey(SDLKey key)
-{
- hotKey_t *hotkey;
- int index;
-
- hotkey = findHotkey(key);
-
- if( hotkey == NULL )
- {
- assert( ! "This hotkey not register");
- }
-
- index = searchListItem(listHotKey, hotkey);
- assert( index != -1 );
- delListItem(listHotKey, index, destroyHotKey);
-}
-
-void enableHotKey(SDLKey key)
-{
- hotKey_t *hotkey;
-
- hotkey = findHotkey(key);
-
- if( hotkey == NULL )
- {
- assert( ! "This hotkey not register");
- }
-
- lastActive = getMyTime();
- hotkey->active = TRUE;
-}
-
-void disableHotKey(SDLKey key)
-{
- hotKey_t *hotkey;
-
- hotkey = findHotkey(key);
-
- if( hotkey == NULL )
- {
- assert( ! "This hotkey not register");
- }
-
- lastActive = getMyTime();
- hotkey->active = FALSE;
-}
-
-void eventHotKey()
-{
- my_time_t currentTime;
- Uint8 *mapa;
- int i;
-
- currentTime = getMyTime();
-
- if( currentTime - lastActive < HOTKEY_ACTIVE_INTERVAL )
- {
- return;
- }
-
- mapa = SDL_GetKeyState(NULL);
-
- for( i = 0 ; i < listHotKey->count ; i++ )
- {
- hotKey_t *this;
-
- this = (hotKey_t *)listHotKey->list[i];
-
- if( mapa[this->key] == SDL_PRESSED && this->active == TRUE )
- {
- lastActive = getMyTime();
- //printf("hotKey = %d\n", this->key);
- this->handler();
- }
- }
-}
-
-void quitHotKey()
-{
- destroyListItem(listHotKey, destroyHotKey);
-}
diff --git a/src/client/image.c b/src/client/image.c
index 52585e2..4c4010c 100755
--- a/src/client/image.c
+++ b/src/client/image.c
@@ -14,82 +14,79 @@ static list_t *listStorage;
static bool_t isImageDataInit = FALSE;
-bool_t
-isImageInicialized()
+bool_t isImageInicialized()
{
- return isImageDataInit;
+ return isImageDataInit;
}
/*
* Inicializuje globalny zoznam obrazkov
*/
-void
-initImageData()
+void initImageData()
{
- assert(isInterfaceInicialized() == TRUE);
+ assert( isInterfaceInicialized() == TRUE );
#ifdef DEBUG
- printf(_("Initializing image database\n"));
+ printf(_("Initializing image database\n"));
#endif
- listStorage = newStorage();
- isImageDataInit = TRUE;
+ listStorage = newStorage();
+ isImageDataInit = TRUE;
}
-static SDL_Surface *
-loadImage(const char *filename, int alpha)
+static SDL_Surface *loadImage(const char *filename, int alpha)
{
- SDL_Surface *tmp;
- SDL_Surface *ret;
-
- char str[STR_PATH_SIZE];
-
-
- if (isFillPath(filename)) {
- strcpy(str, filename);
- }
- else {
- sprintf(str, PATH_IMAGE "%s", filename);
- }
-
- accessExistFile(str);
-
- if ((tmp = IMG_Load(str)) == NULL) {
- fprintf(stderr, "%s\n", SDL_GetError());
- return NULL;
- }
-
- if ((ret =
- (alpha) ? SDL_DisplayFormatAlpha(tmp) : SDL_DisplayFormat(tmp)) ==
- NULL) {
- fprintf(stderr, "%s\n", SDL_GetError());
- SDL_FreeSurface(tmp);
- return NULL;
- }
-
- SDL_FreeSurface(tmp);
- return ret;
+ SDL_Surface *tmp;
+ SDL_Surface *ret;
+
+ char str[STR_PATH_SIZE];
+
+
+ if( isFillPath(filename) )
+ {
+ strcpy(str, filename);
+ }
+ else
+ {
+ sprintf(str, PATH_IMAGE "%s", filename);
+ }
+
+ accessExistFile(str);
+
+ if( ( tmp = IMG_Load(str) ) == NULL )
+ {
+ fprintf(stderr, "%s\n", SDL_GetError());
+ return NULL;
+ }
+
+ if( ( ret = (alpha) ? SDL_DisplayFormatAlpha(tmp) : SDL_DisplayFormat(tmp) ) == NULL )
+ {
+ fprintf(stderr, "%s\n", SDL_GetError());
+ SDL_FreeSurface(tmp);
+ return NULL;
+ }
+
+ SDL_FreeSurface(tmp);
+ return ret;
}
-image_t *
-newImage(SDL_Surface * surface)
+image_t* newImage(SDL_Surface *surface)
{
- image_t *new;
+ image_t *new;
- assert(surface != NULL);
+ assert( surface != NULL );
- new = malloc(sizeof(image_t));
- new->image = surface;
- new->w = surface->w;
- new->h = surface->h;
+ new = malloc( sizeof(image_t) );
+ new->image = surface;
+ new->w = surface->w;
+ new->h = surface->h;
- return new;
+ return new;
}
-static void
-destroyImage(image_t * p)
+static void destroyImage(image_t *p)
{
- assert(p != NULL);
- SDL_FreeSurface((SDL_Surface *) p->image);
- free(p);
+ assert( p != NULL );
+ SDL_FreeSurface((SDL_Surface *)p->image);
+ free(p);
}
/*
@@ -98,86 +95,82 @@ destroyImage(image_t * p)
* *name - nazov obrazku ( pouzije sa ako vyhadavaci retazec v zazanem )
* alpha - 0 - nema alpha kanal | 1 - ma alpha kanal
*/
-image_t *
-addImageData(char *file, int alpha, char *name, char *group)
+image_t* addImageData(char *file, int alpha, char *name, char *group)
{
- SDL_Surface *surface;
- image_t *new;
+ SDL_Surface *surface;
+ image_t *new;
- assert(file != NULL);
- assert(name != NULL);
- assert(group != NULL);
+ assert( file != NULL );
+ assert( name != NULL );
+ assert( group != NULL );
- surface = loadImage(file, alpha);
- new = newImage(surface);
+ surface = loadImage(file, alpha);
+ new = newImage(surface);
- addItemToStorage(listStorage, group, name, new);
+ addItemToStorage(listStorage, group, name, new );
#ifdef DEBUG
- printf(_("Loading image %s\n"), file);
+ printf(_("Loading image %s\n"), file);
#endif
- return new;
+ return new;
}
/*
* Vrati odkaz na image_data v globalnom zozname obrazkov
* a nazvom *s
*/
-image_t *
-getImage(char *group, char *name)
+image_t* getImage(char *group, char *name)
{
- assert(group != NULL);
- assert(name != NULL);
+ assert( group != NULL );
+ assert( name != NULL );
- return getItemFromStorage(listStorage, group, name);
+ return getItemFromStorage(listStorage, group, name);
}
-void
-delImage(char *group, char *name)
+void delImage(char *group, char *name)
{
- assert(group != NULL);
- assert(name != NULL);
-
- delItemFromStorage(listStorage, group, name, destroyImage);
+ assert( group != NULL );
+ assert( name != NULL );
+
+ delItemFromStorage(listStorage, group, name, destroyImage);
}
-void
-delAllImageInGroup(char *group)
+void delAllImageInGroup(char *group)
{
- assert(group != NULL);
+ assert( group != NULL );
- delAllItemFromStorage(listStorage, group, destroyImage);
+ delAllItemFromStorage(listStorage, group, destroyImage);
}
-void
-drawImage(image_t * p, int x, int y, int px, int py, int w, int h)
+void drawImage(image_t *p, int x,int y, int px, int py, int w, int h)
{
- static SDL_Surface *screen = NULL;
- SDL_Rect dst_rect, src_rect;
+ static SDL_Surface *screen = NULL;
+ SDL_Rect dst_rect, src_rect;
- if (screen == NULL) {
- screen = getSDL_Screen();
- }
+ if( screen == NULL )
+ {
+ screen = getSDL_Screen();
+ }
- dst_rect.x = x;
- dst_rect.y = y;
+ dst_rect.x = x;
+ dst_rect.y = y;
- src_rect.x = px;
- src_rect.y = py;
- src_rect.w = w;
- src_rect.h = h;
+ src_rect.x = px;
+ src_rect.y = py;
+ src_rect.w = w;
+ src_rect.h = h;
- SDL_BlitSurface(p->image, &src_rect, screen, &dst_rect);
+ SDL_BlitSurface(p->image, &src_rect, screen, &dst_rect);
}
/*
* Odstrani zoznam obrazkov z pamate
*/
-void
-quitImageData()
+void quitImageData()
{
#ifdef DEBUG
- printf(_("Quitting image database\n"));
+ printf(_("Quitting image database\n"));
#endif
- destroyStorage(listStorage, destroyImage);
- isImageDataInit = FALSE;
+ destroyStorage(listStorage, destroyImage);
+ isImageDataInit = FALSE;
}
+
diff --git a/src/client/image.c~ b/src/client/image.c~
deleted file mode 100644
index 4c4010c..0000000
--- a/src/client/image.c~
+++ /dev/null
@@ -1,176 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "storage.h"
-
-#include "interface.h"
-#include "image.h"
-
-static list_t *listStorage;
-
-static bool_t isImageDataInit = FALSE;
-
-bool_t isImageInicialized()
-{
- return isImageDataInit;
-}
-
-/*
- * Inicializuje globalny zoznam obrazkov
- */
-void initImageData()
-{
- assert( isInterfaceInicialized() == TRUE );
-#ifdef DEBUG
- printf(_("Initializing image database\n"));
-#endif
- listStorage = newStorage();
- isImageDataInit = TRUE;
-}
-
-static SDL_Surface *loadImage(const char *filename, int alpha)
-{
- SDL_Surface *tmp;
- SDL_Surface *ret;
-
- char str[STR_PATH_SIZE];
-
-
- if( isFillPath(filename) )
- {
- strcpy(str, filename);
- }
- else
- {
- sprintf(str, PATH_IMAGE "%s", filename);
- }
-
- accessExistFile(str);
-
- if( ( tmp = IMG_Load(str) ) == NULL )
- {
- fprintf(stderr, "%s\n", SDL_GetError());
- return NULL;
- }
-
- if( ( ret = (alpha) ? SDL_DisplayFormatAlpha(tmp) : SDL_DisplayFormat(tmp) ) == NULL )
- {
- fprintf(stderr, "%s\n", SDL_GetError());
- SDL_FreeSurface(tmp);
- return NULL;
- }
-
- SDL_FreeSurface(tmp);
- return ret;
-}
-
-image_t* newImage(SDL_Surface *surface)
-{
- image_t *new;
-
- assert( surface != NULL );
-
- new = malloc( sizeof(image_t) );
- new->image = surface;
- new->w = surface->w;
- new->h = surface->h;
-
- return new;
-}
-
-static void destroyImage(image_t *p)
-{
- assert( p != NULL );
- SDL_FreeSurface((SDL_Surface *)p->image);
- free(p);
-}
-
-/*
- * Prida obrazok do globalneho zoznamu obrazkov
- * *file - nazov suboru v ktorom je obrazok ulozeny
- * *name - nazov obrazku ( pouzije sa ako vyhadavaci retazec v zazanem )
- * alpha - 0 - nema alpha kanal | 1 - ma alpha kanal
- */
-image_t* addImageData(char *file, int alpha, char *name, char *group)
-{
- SDL_Surface *surface;
- image_t *new;
-
- assert( file != NULL );
- assert( name != NULL );
- assert( group != NULL );
-
- surface = loadImage(file, alpha);
- new = newImage(surface);
-
- addItemToStorage(listStorage, group, name, new );
-#ifdef DEBUG
- printf(_("Loading image %s\n"), file);
-#endif
- return new;
-}
-
-/*
- * Vrati odkaz na image_data v globalnom zozname obrazkov
- * a nazvom *s
- */
-image_t* getImage(char *group, char *name)
-{
- assert( group != NULL );
- assert( name != NULL );
-
- return getItemFromStorage(listStorage, group, name);
-}
-
-void delImage(char *group, char *name)
-{
- assert( group != NULL );
- assert( name != NULL );
-
- delItemFromStorage(listStorage, group, name, destroyImage);
-}
-
-void delAllImageInGroup(char *group)
-{
- assert( group != NULL );
-
- delAllItemFromStorage(listStorage, group, destroyImage);
-}
-
-void drawImage(image_t *p, int x,int y, int px, int py, int w, int h)
-{
- static SDL_Surface *screen = NULL;
- SDL_Rect dst_rect, src_rect;
-
- if( screen == NULL )
- {
- screen = getSDL_Screen();
- }
-
- dst_rect.x = x;
- dst_rect.y = y;
-
- src_rect.x = px;
- src_rect.y = py;
- src_rect.w = w;
- src_rect.h = h;
-
- SDL_BlitSurface(p->image, &src_rect, screen, &dst_rect);
-}
-
-/*
- * Odstrani zoznam obrazkov z pamate
- */
-void quitImageData()
-{
-#ifdef DEBUG
- printf(_("Quitting image database\n"));
-#endif
- destroyStorage(listStorage, destroyImage);
- isImageDataInit = FALSE;
-}
-
diff --git a/src/client/interface.c b/src/client/interface.c
index 39e5d4c..5fb77c1 100755
--- a/src/client/interface.c
+++ b/src/client/interface.c
@@ -17,84 +17,77 @@ static SDL_Surface *screen;
static SDL_TimerID timer;
// window flags
-static Uint32 g_win_flags = SDL_HWSURFACE | SDL_DOUBLEBUF | SDL_ANYFORMAT;
+static Uint32 g_win_flags = SDL_HWSURFACE|SDL_DOUBLEBUF|SDL_ANYFORMAT;
static bool_t isInterfaceInit = FALSE;
// flag, kterym se ridi zarazovani klaves do bufferu
bool_t keyboardBufferEnabled = FALSE;
-bool_t
-isInterfaceInicialized()
+bool_t isInterfaceInicialized()
{
- return isInterfaceInit;
+ return isInterfaceInit;
}
-static Uint32
-TimerCallback(Uint32 interval, void *param)
+static Uint32 TimerCallback(Uint32 interval, void *param)
{
- SDL_Event event;
- event.type = SDL_USEREVENT;
- event.user.code = USR_EVT_TIMER;
- event.user.data1 = NULL;
- event.user.data2 = NULL;
+ SDL_Event event;
+ event.type = SDL_USEREVENT;
+ event.user.code = USR_EVT_TIMER;
+ event.user.data1 = NULL;
+ event.user.data2 = NULL;
- SDL_PushEvent(&event);
+ SDL_PushEvent(&event);
- return interval;
+ return interval;
}
-void
-enableKeyboardBuffer()
-{
- keyboardBufferEnabled = TRUE;
+void enableKeyboardBuffer(){
+ keyboardBufferEnabled=TRUE;
}
-void
-disableKeyboardBuffer()
-{
- keyboardBufferEnabled = FALSE;
+void disableKeyboardBuffer(){
+ keyboardBufferEnabled=FALSE;
}
-void
-hotkey_screen()
+void hotkey_screen()
{
- if (g_win_flags & SDL_FULLSCREEN)
- g_win_flags &= ~SDL_FULLSCREEN;
- else
- g_win_flags |= SDL_FULLSCREEN;
-
- if (SDL_WM_ToggleFullScreen(screen) == 0) {
- fprintf(stderr, _("Unable to switch to FULLSCREEN mode!\n"));
-
- SDL_FreeSurface(screen);
- screen =
- SDL_SetVideoMode(WINDOW_SIZE_X, WINDOW_SIZE_Y, WIN_BPP, g_win_flags);
-
- if (screen == NULL) {
- fprintf(stderr, _("Unable to switch to WINDOW mode! Error: %s\n"),
- SDL_GetError());
- return;
- }
- }
+ if(g_win_flags & SDL_FULLSCREEN)
+ g_win_flags &= ~SDL_FULLSCREEN;
+ else
+ g_win_flags |= SDL_FULLSCREEN;
+
+ if( SDL_WM_ToggleFullScreen(screen) == 0 )
+ {
+ fprintf(stderr, _("Unable to switch to FULLSCREEN mode!\n"));
+
+ SDL_FreeSurface(screen);
+ screen = SDL_SetVideoMode(WINDOW_SIZE_X, WINDOW_SIZE_Y, WIN_BPP, g_win_flags);
+
+ if(screen == NULL)
+ {
+ fprintf(stderr, _("Unable to switch to WINDOW mode! Error: %s\n"), SDL_GetError());
+ return;
+ }
+ }
}
-int
-initSDL()
+int initSDL()
{
#ifdef DEBUG
- printf(_("Initializing SDL system\n"));
+ printf(_("Initializing SDL system\n"));
#endif
- // initialization of SDL
- if (SDL_Init(SDL_SUBSYSTEMS) == -1) {
- fprintf(stderr, "%s\n", SDL_GetError());
- SDL_Quit();
- return -1;
- }
+ // initialization of SDL
+ if( SDL_Init(SDL_SUBSYSTEMS) == -1 )
+ {
+ fprintf(stderr, "%s\n", SDL_GetError());
+ SDL_Quit();
+ return -1;
+ }
- // initialization of SDL
- //screen = SDL_SetVideoMode(WINDOW_SIZE_X, WINDOW_SIZE_Y, 0, g_win_flags);
- screen = SDL_SetVideoMode(WINDOW_SIZE_X, WINDOW_SIZE_Y, 0, g_win_flags);
+ // initialization of SDL
+ //screen = SDL_SetVideoMode(WINDOW_SIZE_X, WINDOW_SIZE_Y, 0, g_win_flags);
+ screen = SDL_SetVideoMode(WINDOW_SIZE_X, WINDOW_SIZE_Y, 0, g_win_flags);
/*
my_surface = SDL_CreateRGBSurface(screen->flags, WINDOW_SIZE_X, WINDOW_SIZE_Y,
@@ -102,88 +95,85 @@ initSDL()
screen->format->Rmask, screen->format->Gmask,
screen->format->Bmask, screen->format->Amask);
*/
- //memset(my_surface->pixels, 128, 200);
-
- if (screen == NULL) {
- fprintf(stderr, "%s\n", SDL_GetError());
- SDL_Quit();
- return -1;
- }
-
- SDL_WM_SetCaption(WINDOW_TITLE, NULL);
- //SDL_ShowCursor(0);
- SDL_EnableKeyRepeat(0, 1);
- timer = SDL_AddTimer(INTERVAL, TimerCallback, NULL);
+ //memset(my_surface->pixels, 128, 200);
- initKeyboardBuffer(KEYBOARD_BUFFER_SIZE);
+ if (screen == NULL )
+ {
+ fprintf(stderr, "%s\n", SDL_GetError());
+ SDL_Quit();
+ return -1;
+ }
- initHotKey();
- registerHotKey(SDLK_F1, hotkey_screen);
+ SDL_WM_SetCaption(WINDOW_TITLE, NULL);
+ //SDL_ShowCursor(0);
+ SDL_EnableKeyRepeat(0,1);
+ timer = SDL_AddTimer(INTERVAL, TimerCallback, NULL);
- srand((unsigned) time(NULL));
- isInterfaceInit = TRUE;
+ initKeyboardBuffer(KEYBOARD_BUFFER_SIZE);
+
+ initHotKey();
+ registerHotKey(SDLK_F1, hotkey_screen);
+
+ srand((unsigned)time(NULL));
+ isInterfaceInit = TRUE;
- return 0;
+ return 0;
}
-SDL_Surface *
-getSDL_Screen()
+SDL_Surface* getSDL_Screen()
{
- //return my_surface;
- return screen;
+ //return my_surface;
+ return screen;
}
-void
-interfaceRefresh()
+void interfaceRefresh()
{
- //SDL_BlitSurface(my_surface, NULL, screen, NULL);
- //SDL_UpdateRect(screen, 0, 0, screen->w, screen->h);
+ //SDL_BlitSurface(my_surface, NULL, screen, NULL);
+ //SDL_UpdateRect(screen, 0, 0, screen->w, screen->h);
- //drawImage(my_surface, 200, 100, 0, 0, 200, 200);
- SDL_Flip(screen);
- //SDL_UpdateRect(screen, 400, 0, 400, 600);
+ //drawImage(my_surface, 200, 100, 0, 0, 200, 200);
+ SDL_Flip(screen);
+ //SDL_UpdateRect(screen, 400, 0, 400, 600);
}
-void
-getMousePosition(int *x, int *y)
+void getMousePosition(int *x, int *y)
{
- SDL_GetMouseState(x, y);
+ SDL_GetMouseState(x, y);
}
-int
-isMouseClicked()
+int isMouseClicked()
{
- return SDL_GetMouseState(NULL, NULL) & SDL_BUTTON(SDL_BUTTON_LEFT);
+ return SDL_GetMouseState(NULL,NULL) & SDL_BUTTON(SDL_BUTTON_LEFT);
}
-int
-isPressAnyKey()
+int isPressAnyKey()
{
- Uint8 *mapa;
- int i;
+ Uint8 *mapa;
+ int i;
- mapa = SDL_GetKeyState(NULL);
+ mapa = SDL_GetKeyState(NULL);
- for (i = SDLK_BACKSPACE; i < SDLK_KP9; i++)
- if (mapa[i] == SDL_PRESSED) {
- return 1;
- }
+ for( i = SDLK_BACKSPACE ; i < SDLK_KP9 ; i++ )
+ if( mapa[i] == SDL_PRESSED )
+ {
+ return 1;
+ }
- return 0;
+ return 0;
}
-void
-printPressAnyKey()
+void printPressAnyKey()
{
- Uint8 *mapa;
- int i;
+ Uint8 *mapa;
+ int i;
- mapa = SDL_GetKeyState(NULL);
+ mapa = SDL_GetKeyState(NULL);
- for (i = SDLK_BACKSPACE; i < SDLK_KP9; i++)
- if (mapa[i] == SDL_PRESSED) {
- printf(_("Pressed key with SDL value: %d\n"), i);
- }
+ for( i = SDLK_BACKSPACE ; i < SDLK_KP9 ; i++ )
+ if( mapa[i] == SDL_PRESSED )
+ {
+ printf(_("Pressed key with SDL value: %d\n"), i);
+ }
}
@@ -204,16 +194,18 @@ static void action_esc()
}
*/
-int
-eventAction()
+int eventAction()
{
- SDL_Event event;
+ SDL_Event event;
- while (SDL_WaitEvent(&event)) {
- switch (event.type) {
- case SDL_KEYDOWN:
- switch (event.key.keysym.sym) {
+ while(SDL_WaitEvent(&event))
+ {
+ switch(event.type)
+ {
+ case SDL_KEYDOWN:
+ switch(event.key.keysym.sym)
+ {
/*
case SDLK_ESCAPE:
action_esc();
@@ -225,74 +217,70 @@ eventAction()
if(!toggleFullscreen())return 0;
break;
*/
- default:
- //neni potreba vyuzivat frontu stale
- if (keyboardBufferEnabled == TRUE)
- pushKeyToKeyboardBuffer(event.key.keysym);
- break;
- }
- break;
-
- case SDL_USEREVENT:
- switch (event.user.code) {
- case USR_EVT_TIMER:
- drawScreen();
- eventScreen();
- eventHotKey();
- switchScreen();
- break;
-
- default:
- break;
- }
- break;
-
- // change of window size
- case SDL_VIDEORESIZE:
- screen =
- SDL_SetVideoMode(event.resize.w, event.resize.h, WIN_BPP,
- g_win_flags);
-
- if (screen == NULL) {
- fprintf(stderr,
- _("Unable to change WINDOW resolution! Error: %s\n"),
- SDL_GetError());
- return 0;
- }
- break;
-
- // termination request
- case SDL_QUIT:
- return -1;
- break;
-
- default:
- break;
- }
- }
-
- return 0;
+ default:
+ //neni potreba vyuzivat frontu stale
+ if (keyboardBufferEnabled==TRUE)
+ pushKeyToKeyboardBuffer(event.key.keysym);
+ break;
+ }
+ break;
+
+ case SDL_USEREVENT:
+ switch(event.user.code)
+ {
+ case USR_EVT_TIMER:
+ drawScreen();
+ eventScreen();
+ eventHotKey();
+ switchScreen();
+ break;
+
+ default:
+ break;
+ }
+ break;
+
+ // change of window size
+ case SDL_VIDEORESIZE:
+ screen = SDL_SetVideoMode(event.resize.w,event.resize.h, WIN_BPP, g_win_flags);
+
+ if(screen == NULL)
+ {
+ fprintf(stderr, _("Unable to change WINDOW resolution! Error: %s\n"),SDL_GetError());
+ return 0;
+ }
+ break;
+
+ // termination request
+ case SDL_QUIT:
+ return -1;
+ break;
+
+ default:
+ break;
+ }
+ }
+
+ return 0;
}
-void
-eventSDL()
+void eventSDL()
{
- while (1) {
- if (eventAction() == -1)
- return;
- }
+ while(1)
+ {
+ if ( eventAction() == -1 )return;
+ }
}
-void
-quitSDL()
+void quitSDL()
{
#ifdef DEBUG
- printf(_("Quitting SDL\n"));
+ printf(_("Quitting SDL\n"));
#endif
- quitHotKey();
- quitKeyboardBuffer();
+ quitHotKey();
+ quitKeyboardBuffer();
- SDL_Quit();
+ SDL_Quit();
- isInterfaceInit = FALSE;
+ isInterfaceInit = FALSE;
}
diff --git a/src/client/interface.c~ b/src/client/interface.c~
deleted file mode 100644
index 5fb77c1..0000000
--- a/src/client/interface.c~
+++ /dev/null
@@ -1,286 +0,0 @@
-
-#include <stdlib.h>
-
-#include "main.h"
-#include "myTimer.h"
-
-#include "interface.h"
-#include "screen.h"
-#include "keyboardBuffer.h"
-#include "hotKey.h"
-
-// window surface
-static SDL_Surface *screen;
-//static SDL_Surface *my_surface;
-
-// timer
-static SDL_TimerID timer;
-
-// window flags
-static Uint32 g_win_flags = SDL_HWSURFACE|SDL_DOUBLEBUF|SDL_ANYFORMAT;
-
-static bool_t isInterfaceInit = FALSE;
-
-// flag, kterym se ridi zarazovani klaves do bufferu
-bool_t keyboardBufferEnabled = FALSE;
-
-bool_t isInterfaceInicialized()
-{
- return isInterfaceInit;
-}
-
-static Uint32 TimerCallback(Uint32 interval, void *param)
-{
- SDL_Event event;
- event.type = SDL_USEREVENT;
- event.user.code = USR_EVT_TIMER;
- event.user.data1 = NULL;
- event.user.data2 = NULL;
-
- SDL_PushEvent(&event);
-
- return interval;
-}
-
-void enableKeyboardBuffer(){
- keyboardBufferEnabled=TRUE;
-}
-
-void disableKeyboardBuffer(){
- keyboardBufferEnabled=FALSE;
-}
-
-void hotkey_screen()
-{
- if(g_win_flags & SDL_FULLSCREEN)
- g_win_flags &= ~SDL_FULLSCREEN;
- else
- g_win_flags |= SDL_FULLSCREEN;
-
- if( SDL_WM_ToggleFullScreen(screen) == 0 )
- {
- fprintf(stderr, _("Unable to switch to FULLSCREEN mode!\n"));
-
- SDL_FreeSurface(screen);
- screen = SDL_SetVideoMode(WINDOW_SIZE_X, WINDOW_SIZE_Y, WIN_BPP, g_win_flags);
-
- if(screen == NULL)
- {
- fprintf(stderr, _("Unable to switch to WINDOW mode! Error: %s\n"), SDL_GetError());
- return;
- }
- }
-}
-
-int initSDL()
-{
-#ifdef DEBUG
- printf(_("Initializing SDL system\n"));
-#endif
- // initialization of SDL
- if( SDL_Init(SDL_SUBSYSTEMS) == -1 )
- {
- fprintf(stderr, "%s\n", SDL_GetError());
- SDL_Quit();
- return -1;
- }
-
- // initialization of SDL
- //screen = SDL_SetVideoMode(WINDOW_SIZE_X, WINDOW_SIZE_Y, 0, g_win_flags);
- screen = SDL_SetVideoMode(WINDOW_SIZE_X, WINDOW_SIZE_Y, 0, g_win_flags);
-
-/*
- my_surface = SDL_CreateRGBSurface(screen->flags, WINDOW_SIZE_X, WINDOW_SIZE_Y,
- screen->format->BitsPerPixel,
- screen->format->Rmask, screen->format->Gmask,
- screen->format->Bmask, screen->format->Amask);
-*/
- //memset(my_surface->pixels, 128, 200);
-
- if (screen == NULL )
- {
- fprintf(stderr, "%s\n", SDL_GetError());
- SDL_Quit();
- return -1;
- }
-
- SDL_WM_SetCaption(WINDOW_TITLE, NULL);
- //SDL_ShowCursor(0);
- SDL_EnableKeyRepeat(0,1);
- timer = SDL_AddTimer(INTERVAL, TimerCallback, NULL);
-
- initKeyboardBuffer(KEYBOARD_BUFFER_SIZE);
-
- initHotKey();
- registerHotKey(SDLK_F1, hotkey_screen);
-
- srand((unsigned)time(NULL));
- isInterfaceInit = TRUE;
-
- return 0;
-}
-
-SDL_Surface* getSDL_Screen()
-{
- //return my_surface;
- return screen;
-}
-
-void interfaceRefresh()
-{
- //SDL_BlitSurface(my_surface, NULL, screen, NULL);
- //SDL_UpdateRect(screen, 0, 0, screen->w, screen->h);
-
- //drawImage(my_surface, 200, 100, 0, 0, 200, 200);
- SDL_Flip(screen);
- //SDL_UpdateRect(screen, 400, 0, 400, 600);
-}
-
-void getMousePosition(int *x, int *y)
-{
- SDL_GetMouseState(x, y);
-}
-
-int isMouseClicked()
-{
- return SDL_GetMouseState(NULL,NULL) & SDL_BUTTON(SDL_BUTTON_LEFT);
-}
-
-int isPressAnyKey()
-{
- Uint8 *mapa;
- int i;
-
- mapa = SDL_GetKeyState(NULL);
-
- for( i = SDLK_BACKSPACE ; i < SDLK_KP9 ; i++ )
- if( mapa[i] == SDL_PRESSED )
- {
- return 1;
- }
-
- return 0;
-}
-
-void printPressAnyKey()
-{
- Uint8 *mapa;
- int i;
-
- mapa = SDL_GetKeyState(NULL);
-
- for( i = SDLK_BACKSPACE ; i < SDLK_KP9 ; i++ )
- if( mapa[i] == SDL_PRESSED )
- {
- printf(_("Pressed key with SDL value: %d\n"), i);
- }
-
-}
-
-
-/*
-static void action_esc()
-{
- if( strcmp(getScreen(), "world") == 0 )
- {
- setScreen("analyze");
- }
-
- if( strcmp(getScreen(), "mainMenu") == 0 )
- {
- quit();
- }
-
-}
-*/
-
-int eventAction()
-{
- SDL_Event event;
-
-
- while(SDL_WaitEvent(&event))
- {
- switch(event.type)
- {
- case SDL_KEYDOWN:
- switch(event.key.keysym.sym)
- {
-/*
- case SDLK_ESCAPE:
- action_esc();
- return 0;
- break;
-*/
-/*
- case SDLK_F1:
- if(!toggleFullscreen())return 0;
- break;
-*/
- default:
- //neni potreba vyuzivat frontu stale
- if (keyboardBufferEnabled==TRUE)
- pushKeyToKeyboardBuffer(event.key.keysym);
- break;
- }
- break;
-
- case SDL_USEREVENT:
- switch(event.user.code)
- {
- case USR_EVT_TIMER:
- drawScreen();
- eventScreen();
- eventHotKey();
- switchScreen();
- break;
-
- default:
- break;
- }
- break;
-
- // change of window size
- case SDL_VIDEORESIZE:
- screen = SDL_SetVideoMode(event.resize.w,event.resize.h, WIN_BPP, g_win_flags);
-
- if(screen == NULL)
- {
- fprintf(stderr, _("Unable to change WINDOW resolution! Error: %s\n"),SDL_GetError());
- return 0;
- }
- break;
-
- // termination request
- case SDL_QUIT:
- return -1;
- break;
-
- default:
- break;
- }
- }
-
- return 0;
-}
-
-void eventSDL()
-{
- while(1)
- {
- if ( eventAction() == -1 )return;
- }
-}
-
-void quitSDL()
-{
-#ifdef DEBUG
- printf(_("Quitting SDL\n"));
-#endif
- quitHotKey();
- quitKeyboardBuffer();
-
- SDL_Quit();
-
- isInterfaceInit = FALSE;
-}
diff --git a/src/client/keyboardBuffer.c b/src/client/keyboardBuffer.c
index 894060f..246d262 100644
--- a/src/client/keyboardBuffer.c
+++ b/src/client/keyboardBuffer.c
@@ -23,137 +23,129 @@ static SDL_keysym emptyKey;
/*
* Key buffer initializes. The parameter sets the number of keys.
*/
-void
-initKeyboardBuffer(int size)
+void initKeyboardBuffer(int size)
{
- assert(size > 0);
- assert(keyboardBuffer == NULL);
+ assert(size > 0);
+ assert(keyboardBuffer == NULL);
- keyboardBuffer = malloc(sizeof(keyboardBuffer_t));
- assert(keyboardBuffer != NULL);
- memset(keyboardBuffer, 0, sizeof(keyboardBuffer_t));
+ keyboardBuffer = malloc(sizeof(keyboardBuffer_t));
+ assert(keyboardBuffer != NULL);
+ memset(keyboardBuffer, 0, sizeof(keyboardBuffer_t));
- keyboardBuffer->buff = malloc(size * sizeof(SDL_keysym));
- assert(keyboardBuffer->buff != NULL);
- memset(keyboardBuffer->buff, 0, size * sizeof(SDL_keysym));
+ keyboardBuffer->buff = malloc(size * sizeof(SDL_keysym));
+ assert(keyboardBuffer->buff != NULL);
+ memset(keyboardBuffer->buff, 0, size * sizeof(SDL_keysym));
- keyboardBuffer->begin = 0;
- keyboardBuffer->end = 0;
- keyboardBuffer->count = 0;
- keyboardBuffer->size = size;
+ keyboardBuffer->begin = 0;
+ keyboardBuffer->end = 0;
+ keyboardBuffer->count = 0;
+ keyboardBuffer->size = size;
- emptyKey.sym = SDLK_UNKNOWN;
+ emptyKey.sym = SDLK_UNKNOWN;
}
/*
* Empty the buffer
*/
-void
-clearKeyboardBuffer()
+void clearKeyboardBuffer()
{
- assert(keyboardBuffer != NULL);
+ assert(keyboardBuffer != NULL);
- keyboardBuffer->begin = 0;
- keyboardBuffer->end = 0;
- keyboardBuffer->count = 0;
- memset(keyboardBuffer->buff, 0, keyboardBuffer->size * sizeof(SDL_keysym));
+ keyboardBuffer->begin = 0;
+ keyboardBuffer->end = 0;
+ keyboardBuffer->count = 0;
+ memset(keyboardBuffer->buff, 0, keyboardBuffer->size * sizeof(SDL_keysym));
}
/*
* Adds key to the end of the buffer. If the buffer is overrun,
* an error is printed to stderr and the key is dropped.
*/
-bool_t
-pushKeyToKeyboardBuffer(SDL_keysym key)
+bool_t pushKeyToKeyboardBuffer(SDL_keysym key)
{
- assert(keyboardBuffer != NULL);
+ assert(keyboardBuffer != NULL);
- if (keyboardBuffer->count >= keyboardBuffer->size) {
- fprintf(stderr, _("Keyboard Buffer overrun! Dropping key: %02x\n"),
- key.sym);
- return FALSE;
- }
+ if (keyboardBuffer->count >= keyboardBuffer->size){
+ fprintf(stderr, _("Keyboard Buffer overrun! Dropping key: %02x\n"), key.sym);
+ return FALSE;
+ }
- keyboardBuffer->buff[keyboardBuffer->end] = key;
+ keyboardBuffer->buff[keyboardBuffer->end] = key;
- keyboardBuffer->end++;
- if (keyboardBuffer->end >= keyboardBuffer->size) {
- keyboardBuffer->end = 0;
- }
+ keyboardBuffer->end++;
+ if (keyboardBuffer->end >= keyboardBuffer->size) {
+ keyboardBuffer->end = 0;
+ }
- keyboardBuffer->count++;
+ keyboardBuffer->count++;
- return TRUE;
+ return TRUE;
}
/*
* Takes out first key from the buffer and returns it. If the buffer is empty,
* an error is printed to stderr and SDLK_UNKNOWN is returned.
*/
-SDL_keysym
-popKeyFromKeyboardBuffer()
+SDL_keysym popKeyFromKeyboardBuffer()
{
- assert(keyboardBuffer != NULL);
+ assert(keyboardBuffer != NULL);
- if (keyboardBuffer->count <= 0) {
- fprintf(stderr, _("Keyboard Buffer underrun!\n"));
- return emptyKey;
- }
+ if (keyboardBuffer->count <= 0){
+ fprintf(stderr, _("Keyboard Buffer underrun!\n"));
+ return emptyKey;
+ }
- SDL_keysym key = keyboardBuffer->buff[keyboardBuffer->begin];
- keyboardBuffer->buff[keyboardBuffer->begin] = emptyKey;
+ SDL_keysym key = keyboardBuffer->buff[keyboardBuffer->begin];
+ keyboardBuffer->buff[keyboardBuffer->begin] = emptyKey;
- keyboardBuffer->begin++;
- if (keyboardBuffer->begin >= keyboardBuffer->size) {
- keyboardBuffer->begin = 0;
- }
+ keyboardBuffer->begin++;
+ if (keyboardBuffer->begin >= keyboardBuffer->size) {
+ keyboardBuffer->begin = 0;
+ }
- keyboardBuffer->count--;
+ keyboardBuffer->count--;
- return key;
+ return key;
}
/*
* The buffer size
*/
-int
-getKeyboardBufferSize()
+int getKeyboardBufferSize()
{
- assert(keyboardBuffer != NULL);
- return keyboardBuffer->size;
+ assert(keyboardBuffer != NULL);
+ return keyboardBuffer->size;
}
/*
* Number of keys in the buffer
*/
-int
-KeyboardBufferCount()
+int KeyboardBufferCount()
{
- assert(keyboardBuffer != NULL);
- return keyboardBuffer->count;
+ assert(keyboardBuffer != NULL);
+ return keyboardBuffer->count;
}
-bool_t
-isAnyKeyInKeyboardBuffer()
+bool_t isAnyKeyInKeyboardBuffer()
{
- return KeyboardBufferCount() > 0 ? TRUE : FALSE;
+ return KeyboardBufferCount() > 0 ? TRUE : FALSE;
}
/*
* Frees the buffer. If it is not empty, information
* about filling is prined to stderr first.
*/
-void
-quitKeyboardBuffer()
+void quitKeyboardBuffer()
{
- assert(keyboardBuffer != NULL);
+ assert(keyboardBuffer != NULL);
- if (keyboardBuffer->count > 0) {
- fprintf(stderr, _("Keyboard buffer is not empty!\n"));
- }
+ if (keyboardBuffer->count > 0){
+ fprintf(stderr, _("Keyboard buffer is not empty!\n"));
+ }
- free(keyboardBuffer->buff);
- free(keyboardBuffer);
- keyboardBuffer = NULL;
+ free(keyboardBuffer->buff);
+ free(keyboardBuffer);
+ keyboardBuffer = NULL;
}
+
diff --git a/src/client/keyboardBuffer.c~ b/src/client/keyboardBuffer.c~
deleted file mode 100644
index 246d262..0000000
--- a/src/client/keyboardBuffer.c~
+++ /dev/null
@@ -1,151 +0,0 @@
-/*
- * keyboardBuffer.c
- *
- * Created on: 1. 8. 2008
- * Author: Karel Podvolecky
- *
- * Simple front of pressed keys.
- *
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-#include <SDL.h>
-
-#include "keyboardBuffer.h"
-
-static keyboardBuffer_t *keyboardBuffer = NULL;
-
-static SDL_keysym emptyKey;
-
-/*
- * Key buffer initializes. The parameter sets the number of keys.
- */
-void initKeyboardBuffer(int size)
-{
- assert(size > 0);
- assert(keyboardBuffer == NULL);
-
- keyboardBuffer = malloc(sizeof(keyboardBuffer_t));
- assert(keyboardBuffer != NULL);
- memset(keyboardBuffer, 0, sizeof(keyboardBuffer_t));
-
- keyboardBuffer->buff = malloc(size * sizeof(SDL_keysym));
- assert(keyboardBuffer->buff != NULL);
- memset(keyboardBuffer->buff, 0, size * sizeof(SDL_keysym));
-
- keyboardBuffer->begin = 0;
- keyboardBuffer->end = 0;
- keyboardBuffer->count = 0;
- keyboardBuffer->size = size;
-
- emptyKey.sym = SDLK_UNKNOWN;
-}
-
-/*
- * Empty the buffer
- */
-void clearKeyboardBuffer()
-{
- assert(keyboardBuffer != NULL);
-
- keyboardBuffer->begin = 0;
- keyboardBuffer->end = 0;
- keyboardBuffer->count = 0;
- memset(keyboardBuffer->buff, 0, keyboardBuffer->size * sizeof(SDL_keysym));
-}
-
-/*
- * Adds key to the end of the buffer. If the buffer is overrun,
- * an error is printed to stderr and the key is dropped.
- */
-bool_t pushKeyToKeyboardBuffer(SDL_keysym key)
-{
- assert(keyboardBuffer != NULL);
-
- if (keyboardBuffer->count >= keyboardBuffer->size){
- fprintf(stderr, _("Keyboard Buffer overrun! Dropping key: %02x\n"), key.sym);
- return FALSE;
- }
-
- keyboardBuffer->buff[keyboardBuffer->end] = key;
-
- keyboardBuffer->end++;
- if (keyboardBuffer->end >= keyboardBuffer->size) {
- keyboardBuffer->end = 0;
- }
-
- keyboardBuffer->count++;
-
- return TRUE;
-}
-
-/*
- * Takes out first key from the buffer and returns it. If the buffer is empty,
- * an error is printed to stderr and SDLK_UNKNOWN is returned.
- */
-SDL_keysym popKeyFromKeyboardBuffer()
-{
- assert(keyboardBuffer != NULL);
-
- if (keyboardBuffer->count <= 0){
- fprintf(stderr, _("Keyboard Buffer underrun!\n"));
- return emptyKey;
- }
-
- SDL_keysym key = keyboardBuffer->buff[keyboardBuffer->begin];
- keyboardBuffer->buff[keyboardBuffer->begin] = emptyKey;
-
- keyboardBuffer->begin++;
- if (keyboardBuffer->begin >= keyboardBuffer->size) {
- keyboardBuffer->begin = 0;
- }
-
- keyboardBuffer->count--;
-
- return key;
-}
-
-/*
- * The buffer size
- */
-int getKeyboardBufferSize()
-{
- assert(keyboardBuffer != NULL);
- return keyboardBuffer->size;
-}
-
-/*
- * Number of keys in the buffer
- */
-int KeyboardBufferCount()
-{
- assert(keyboardBuffer != NULL);
- return keyboardBuffer->count;
-}
-
-
-bool_t isAnyKeyInKeyboardBuffer()
-{
- return KeyboardBufferCount() > 0 ? TRUE : FALSE;
-}
-
-/*
- * Frees the buffer. If it is not empty, information
- * about filling is prined to stderr first.
- */
-void quitKeyboardBuffer()
-{
- assert(keyboardBuffer != NULL);
-
- if (keyboardBuffer->count > 0){
- fprintf(stderr, _("Keyboard buffer is not empty!\n"));
- }
-
- free(keyboardBuffer->buff);
- free(keyboardBuffer);
- keyboardBuffer = NULL;
-}
-
diff --git a/src/client/layer.c b/src/client/layer.c
index cadb7c6..8e77ee4 100755
--- a/src/client/layer.c
+++ b/src/client/layer.c
@@ -16,20 +16,18 @@ static list_t *listLayer;
static bool_t isLayerInit = FALSE;
-bool_t
-isLayerInicialized()
+bool_t isLayerInicialized()
{
- return isLayerInit;
+ return isLayerInit;
}
/*
* Inicializuje globalny zoznam vsrtiev
*/
-void
-initLayer()
+void initLayer()
{
- listLayer = newList();
- isLayerInit = TRUE;
+ listLayer = newList();
+ isLayerInit = TRUE;
}
/*
@@ -39,42 +37,46 @@ initLayer()
* px py pw ph - suradnica casti obrazka *img ktora sa ma zobrazit
* layer - vrstva na ktorej sa zobrazi obrazok
*/
-void
-addLayer(image_t * img,
- int x, int y, int px, int py, int w, int h, int player)
+void addLayer(image_t *img,
+ int x,int y, int px,int py,
+ int w,int h, int player)
{
- layer_t *new;
- layer_t *this;
- int i, j;
-
- assert(img != NULL);
-
- new = malloc(sizeof(layer_t));
- new->x = x;
- new->y = y;
- new->w = w;
- new->h = h;
- new->px = px;
- new->py = py;
- new->layer = player;
- new->image = img;
-
- for (i = 0; i < listLayer->count; i++) {
- this = (layer_t *) listLayer->list[i];
-
- if (this->layer == new->layer) {
- for (j = i; j < listLayer->count; j++) {
- this = (layer_t *) listLayer->list[j];
-
- if (this->y + this->h > new->y + new->h) {
- insList(listLayer, j, new);
- return;
- }
- }
- }
- }
-
- addList(listLayer, new);
+ layer_t *new;
+ layer_t *this;
+ int i, j;
+
+ assert( img != NULL );
+
+ new = malloc( sizeof(layer_t) );
+ new->x = x;
+ new->y = y;
+ new->w = w;
+ new->h = h;
+ new->px = px;
+ new->py = py;
+ new->layer = player;
+ new->image = img;
+
+ for( i = 0 ; i < listLayer->count ; i++ )
+ {
+ this = (layer_t *)listLayer->list[i];
+
+ if( this->layer == new->layer )
+ {
+ for( j = i ; j < listLayer->count ; j++ )
+ {
+ this = (layer_t *)listLayer->list[j];
+
+ if( this->y+this->h > new->y+new->h )
+ {
+ insList(listLayer, j, new);
+ return;
+ }
+ }
+ }
+ }
+
+ addList(listLayer, new);
}
/*
@@ -82,130 +84,138 @@ addLayer(image_t * img,
* poukadane podla vrstvy a suradnice Y+H
* po dokresleni sa zoznam uvolni.
*/
-void
-drawLayer()
+void drawLayer()
{
- layer_t *this;
- int i;
+ layer_t *this;
+ int i;
- for (i = 0; i < listLayer->count; i++) {
- this = (layer_t *) listLayer->list[i];
+ for( i = 0 ; i < listLayer->count ; i++ )
+ {
+ this = (layer_t *)listLayer->list[i];
- drawImage(this->image,
- this->x, this->y, this->px, this->py, this->w, this->h);
- }
+ drawImage(this->image,
+ this->x, this->y,
+ this->px, this->py,
+ this->w, this->h);
+ }
- //printf("listLayer->count = %d\n", listLayer->count);
+ //printf("listLayer->count = %d\n", listLayer->count);
- destroyListItem(listLayer, free);
- listLayer = newList();
+ destroyListItem(listLayer, free);
+ listLayer = newList();
}
-void
-drawLayerCenter(int x, int y)
+void drawLayerCenter(int x, int y)
{
- layer_t *this;
- int screen_x, screen_y;
- int i;
- //int count = 0;
+ layer_t *this;
+ int screen_x, screen_y;
+ int i;
+ //int count = 0;
- getCenterScreen(&screen_x, &screen_y, x, y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
+ getCenterScreen(&screen_x, &screen_y, x, y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
- for (i = 0; i < listLayer->count; i++) {
- this = (layer_t *) listLayer->list[i];
+ for( i = 0 ; i < listLayer->count ; i++ )
+ {
+ this = (layer_t *)listLayer->list[i];
- if (this->x + this->w < screen_x || this->x > screen_x + WINDOW_SIZE_X
- || this->y + this->h < screen_y
- || this->y > screen_y + WINDOW_SIZE_Y) {
- continue;
- }
+ if( this->x + this->w < screen_x || this->x > screen_x + WINDOW_SIZE_X ||
+ this->y + this->h < screen_y || this->y > screen_y + WINDOW_SIZE_Y )
+ {
+ continue;
+ }
- //count++;
+ //count++;
- drawImage(this->image,
- this->x - screen_x, this->y - screen_y,
- this->px, this->py, this->w, this->h);
+ drawImage(this->image,
+ this->x - screen_x, this->y - screen_y,
+ this->px, this->py,
+ this->w, this->h);
- //printf("%d %d\n", this->x - screen_x, this->y - screen_y);
- }
+ //printf("%d %d\n", this->x - screen_x, this->y - screen_y);
+ }
- //printf("count = %d\n", count);
+ //printf("count = %d\n", count);
- destroyListItem(listLayer, free);
- listLayer = newList();
+ destroyListItem(listLayer, free);
+ listLayer = newList();
}
-void
-drawLayerSplit(int local_x, int local_y, int x, int y, int w, int h)
+void drawLayerSplit(int local_x, int local_y, int x, int y, int w, int h)
{
- layer_t *this;
- int i;
- //int count = 0;
+ layer_t *this;
+ int i;
+ //int count = 0;
- for (i = 0; i < listLayer->count; i++) {
- this = (layer_t *) listLayer->list[i];
+ for( i = 0 ; i < listLayer->count ; i++ )
+ {
+ this = (layer_t *)listLayer->list[i];
- if (this->x + this->w < x || this->x > x + w ||
- this->y + this->h < y || this->y > y + h) {
- continue;
- }
+ if( this->x + this->w < x || this->x > x + w ||
+ this->y + this->h < y || this->y > y + h )
+ {
+ continue;
+ }
- //count++;
+ //count++;
- if (local_x + (this->x - x) < local_x) {
- int z;
+ if( local_x + (this->x - x) < local_x )
+ {
+ int z;
- z = local_x - (local_x + (this->x - x));
+ z = local_x - ( local_x + (this->x - x) );
- this->x += z;
- this->px += z;
- this->w -= z;
- }
+ this->x += z;
+ this->px += z;
+ this->w -= z;
+ }
- if (local_x + (this->x - x) + this->w > local_x + w) {
- this->w -= (local_x + (this->x - x) + this->w) - (local_x + w);
- }
+ if( local_x + (this->x - x) + this->w > local_x+w )
+ {
+ this->w -= ( local_x + (this->x - x) + this->w ) - (local_x + w);
+ }
- if (local_y + (this->y - y) < local_y) {
- int z;
+ if( local_y + (this->y - y) < local_y )
+ {
+ int z;
- z = local_y - (local_y + (this->y - y));
+ z = local_y - ( local_y + (this->y - y) );
- this->y += z;
- this->py += z;
- this->h -= z;
- }
+ this->y += z;
+ this->py += z;
+ this->h -= z;
+ }
- if (local_y + (this->y - y) + this->h > local_y + h) {
- this->h -= (local_y + (this->y - y) + this->h) - (local_y + h);
- }
+ if( local_y + (this->y - y) + this->h > local_y+h )
+ {
+ this->h -= ( local_y + (this->y - y) + this->h ) - (local_y + h);
+ }
- drawImage(this->image,
- local_x + (this->x - x), local_y + (this->y - y),
- this->px, this->py, this->w, this->h);
+ drawImage(this->image,
+ local_x + (this->x - x), local_y + (this->y - y),
+ this->px, this->py,
+ this->w, this->h);
- //printf("%d %d\n", this->x - screen_x, this->y - screen_y);
- }
+ //printf("%d %d\n", this->x - screen_x, this->y - screen_y);
+ }
- //printf("count = %d\n", count);
+ //printf("count = %d\n", count);
- destroyListItem(listLayer, free);
- listLayer = newList();
+ destroyListItem(listLayer, free);
+ listLayer = newList();
}
-void
-flushLayer()
+void flushLayer()
{
- destroyListItem(listLayer, free);
- listLayer = newList();
+ destroyListItem(listLayer, free);
+ listLayer = newList();
}
/*
* Odstrani zoznam vrtsiev z pamete.
*/
-void
-quitLayer()
+void quitLayer()
{
- destroyListItem(listLayer, free);
- isLayerInit = FALSE;
+ destroyListItem(listLayer, free);
+ isLayerInit = FALSE;
}
+
diff --git a/src/client/layer.c~ b/src/client/layer.c~
deleted file mode 100644
index 8e77ee4..0000000
--- a/src/client/layer.c~
+++ /dev/null
@@ -1,221 +0,0 @@
-
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "tux.h"
-
-#include "interface.h"
-#include "layer.h"
-#include "image.h"
-
-#include "screen_world.h"
-
-static list_t *listLayer;
-
-static bool_t isLayerInit = FALSE;
-
-bool_t isLayerInicialized()
-{
- return isLayerInit;
-}
-
-/*
- * Inicializuje globalny zoznam vsrtiev
- */
-void initLayer()
-{
- listLayer = newList();
- isLayerInit = TRUE;
-}
-
-/*
- * Prida novu polozku do zoznamu vrstiev
- * *img - obrazok, ktory obsahuje polozka
- * x y w h - suradnca kam sa obrazok vykresli a jeho rozmery
- * px py pw ph - suradnica casti obrazka *img ktora sa ma zobrazit
- * layer - vrstva na ktorej sa zobrazi obrazok
- */
-void addLayer(image_t *img,
- int x,int y, int px,int py,
- int w,int h, int player)
-{
- layer_t *new;
- layer_t *this;
- int i, j;
-
- assert( img != NULL );
-
- new = malloc( sizeof(layer_t) );
- new->x = x;
- new->y = y;
- new->w = w;
- new->h = h;
- new->px = px;
- new->py = py;
- new->layer = player;
- new->image = img;
-
- for( i = 0 ; i < listLayer->count ; i++ )
- {
- this = (layer_t *)listLayer->list[i];
-
- if( this->layer == new->layer )
- {
- for( j = i ; j < listLayer->count ; j++ )
- {
- this = (layer_t *)listLayer->list[j];
-
- if( this->y+this->h > new->y+new->h )
- {
- insList(listLayer, j, new);
- return;
- }
- }
- }
- }
-
- addList(listLayer, new);
-}
-
-/*
- * Vykresli vsetky polozky na obrazovku
- * poukadane podla vrstvy a suradnice Y+H
- * po dokresleni sa zoznam uvolni.
- */
-void drawLayer()
-{
- layer_t *this;
- int i;
-
- for( i = 0 ; i < listLayer->count ; i++ )
- {
- this = (layer_t *)listLayer->list[i];
-
- drawImage(this->image,
- this->x, this->y,
- this->px, this->py,
- this->w, this->h);
- }
-
- //printf("listLayer->count = %d\n", listLayer->count);
-
- destroyListItem(listLayer, free);
- listLayer = newList();
-}
-
-void drawLayerCenter(int x, int y)
-{
- layer_t *this;
- int screen_x, screen_y;
- int i;
- //int count = 0;
-
- getCenterScreen(&screen_x, &screen_y, x, y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
-
- for( i = 0 ; i < listLayer->count ; i++ )
- {
- this = (layer_t *)listLayer->list[i];
-
- if( this->x + this->w < screen_x || this->x > screen_x + WINDOW_SIZE_X ||
- this->y + this->h < screen_y || this->y > screen_y + WINDOW_SIZE_Y )
- {
- continue;
- }
-
- //count++;
-
- drawImage(this->image,
- this->x - screen_x, this->y - screen_y,
- this->px, this->py,
- this->w, this->h);
-
- //printf("%d %d\n", this->x - screen_x, this->y - screen_y);
- }
-
- //printf("count = %d\n", count);
-
- destroyListItem(listLayer, free);
- listLayer = newList();
-}
-
-void drawLayerSplit(int local_x, int local_y, int x, int y, int w, int h)
-{
- layer_t *this;
- int i;
- //int count = 0;
-
- for( i = 0 ; i < listLayer->count ; i++ )
- {
- this = (layer_t *)listLayer->list[i];
-
- if( this->x + this->w < x || this->x > x + w ||
- this->y + this->h < y || this->y > y + h )
- {
- continue;
- }
-
- //count++;
-
- if( local_x + (this->x - x) < local_x )
- {
- int z;
-
- z = local_x - ( local_x + (this->x - x) );
-
- this->x += z;
- this->px += z;
- this->w -= z;
- }
-
- if( local_x + (this->x - x) + this->w > local_x+w )
- {
- this->w -= ( local_x + (this->x - x) + this->w ) - (local_x + w);
- }
-
- if( local_y + (this->y - y) < local_y )
- {
- int z;
-
- z = local_y - ( local_y + (this->y - y) );
-
- this->y += z;
- this->py += z;
- this->h -= z;
- }
-
- if( local_y + (this->y - y) + this->h > local_y+h )
- {
- this->h -= ( local_y + (this->y - y) + this->h ) - (local_y + h);
- }
-
- drawImage(this->image,
- local_x + (this->x - x), local_y + (this->y - y),
- this->px, this->py,
- this->w, this->h);
-
- //printf("%d %d\n", this->x - screen_x, this->y - screen_y);
- }
-
- //printf("count = %d\n", count);
-
- destroyListItem(listLayer, free);
- listLayer = newList();
-}
-
-void flushLayer()
-{
- destroyListItem(listLayer, free);
- listLayer = newList();
-}
-
-/*
- * Odstrani zoznam vrtsiev z pamete.
- */
-void quitLayer()
-{
- destroyListItem(listLayer, free);
- isLayerInit = FALSE;
-}
-
diff --git a/src/client/panel.c b/src/client/panel.c
index 774d3e1..b84cdfb 100644
--- a/src/client/panel.c
+++ b/src/client/panel.c
@@ -19,196 +19,162 @@ static image_t *g_bonus;
static bool_t isPanelInit = FALSE;
-bool_t
-isPanelInicialized()
+bool_t isPanelInicialized()
{
- return isPanelInit;
+ return isPanelInit;
}
-void
-initPanel()
+void initPanel()
{
- assert(isImageInicialized() == TRUE);
- assert(isInterfaceInicialized() == TRUE);
-
- g_panel =
- addImageData("panel.png", IMAGE_ALPHA, "panel", IMAGE_GROUP_BASE);
- g_shot =
- addImageData("panel_shot.png", IMAGE_ALPHA, "panel_image_shot",
- IMAGE_GROUP_BASE);
- g_bonus =
- addImageData("graf.bonus.png", IMAGE_ALPHA, "panel_graf_bonus",
- IMAGE_GROUP_BASE);
-
- g_icon[GUN_SIMPLE] =
- addImageData("icon.gun.simple.png", IMAGE_ALPHA, "panel_gun",
- IMAGE_GROUP_BASE);
- g_icon[GUN_DUAL_SIMPLE] =
- addImageData("icon.gun.dual.simple.png", IMAGE_ALPHA, "panel_dual",
- IMAGE_GROUP_BASE);
- g_icon[GUN_TOMMY] =
- addImageData("icon.gun.tommy.png", IMAGE_ALPHA, "panel_tommy",
- IMAGE_GROUP_BASE);
- g_icon[GUN_SCATTER] =
- addImageData("icon.gun.scatter.png", IMAGE_ALPHA, "panel_scatter",
- IMAGE_GROUP_BASE);
- g_icon[GUN_LASSER] =
- addImageData("icon.gun.lasser.png", IMAGE_ALPHA, "panel_lasser",
- IMAGE_GROUP_BASE);
- g_icon[GUN_MINE] =
- addImageData("icon.gun.mine.png", IMAGE_ALPHA, "panel_mine",
- IMAGE_GROUP_BASE);
- g_icon[GUN_BOMBBALL] =
- addImageData("icon.gun.bombball.png", IMAGE_ALPHA, "panel_bombball",
- IMAGE_GROUP_BASE);
-
- g_icon[BONUS_SPEED] =
- addImageData("icon.bonus.speed.png", IMAGE_ALPHA, "panel_speed",
- IMAGE_GROUP_BASE);
- g_icon[BONUS_SHOT] =
- addImageData("icon.bonus.shot.png", IMAGE_ALPHA, "panel_shot",
- IMAGE_GROUP_BASE);
- g_icon[BONUS_TELEPORT] =
- addImageData("icon.bonus.teleport.png", IMAGE_ALPHA, "panel_teleport",
- IMAGE_GROUP_BASE);
- g_icon[BONUS_GHOST] =
- addImageData("icon.bonus.ghost.png", IMAGE_ALPHA, "panel_ghost",
- IMAGE_GROUP_BASE);
- g_icon[BONUS_4X] =
- addImageData("icon.bonus.4x.png", IMAGE_ALPHA, "panel_4x",
- IMAGE_GROUP_BASE);
- g_icon[BONUS_HIDDEN] =
- addImageData("icon.bonus.hidden.png", IMAGE_ALPHA, "panel_hidden",
- IMAGE_GROUP_BASE);
-
- isPanelInit = TRUE;
+ assert( isImageInicialized() == TRUE );
+ assert( isInterfaceInicialized() == TRUE );
+
+ g_panel = addImageData("panel.png", IMAGE_ALPHA, "panel", IMAGE_GROUP_BASE);
+ g_shot = addImageData("panel_shot.png", IMAGE_ALPHA, "panel_image_shot", IMAGE_GROUP_BASE);
+ g_bonus = addImageData("graf.bonus.png", IMAGE_ALPHA, "panel_graf_bonus", IMAGE_GROUP_BASE);
+
+ g_icon[GUN_SIMPLE] = addImageData("icon.gun.simple.png", IMAGE_ALPHA, "panel_gun", IMAGE_GROUP_BASE);
+ g_icon[GUN_DUAL_SIMPLE] = addImageData("icon.gun.dual.simple.png", IMAGE_ALPHA, "panel_dual", IMAGE_GROUP_BASE);
+ g_icon[GUN_TOMMY] = addImageData("icon.gun.tommy.png", IMAGE_ALPHA, "panel_tommy", IMAGE_GROUP_BASE);
+ g_icon[GUN_SCATTER] = addImageData("icon.gun.scatter.png", IMAGE_ALPHA, "panel_scatter", IMAGE_GROUP_BASE);
+ g_icon[GUN_LASSER] = addImageData("icon.gun.lasser.png", IMAGE_ALPHA, "panel_lasser", IMAGE_GROUP_BASE);
+ g_icon[GUN_MINE] = addImageData("icon.gun.mine.png", IMAGE_ALPHA, "panel_mine", IMAGE_GROUP_BASE);
+ g_icon[GUN_BOMBBALL] = addImageData("icon.gun.bombball.png", IMAGE_ALPHA, "panel_bombball", IMAGE_GROUP_BASE);
+
+ g_icon[BONUS_SPEED] = addImageData("icon.bonus.speed.png", IMAGE_ALPHA, "panel_speed", IMAGE_GROUP_BASE);
+ g_icon[BONUS_SHOT] = addImageData("icon.bonus.shot.png", IMAGE_ALPHA, "panel_shot", IMAGE_GROUP_BASE);
+ g_icon[BONUS_TELEPORT] = addImageData("icon.bonus.teleport.png", IMAGE_ALPHA, "panel_teleport", IMAGE_GROUP_BASE);
+ g_icon[BONUS_GHOST] = addImageData("icon.bonus.ghost.png", IMAGE_ALPHA, "panel_ghost", IMAGE_GROUP_BASE);
+ g_icon[BONUS_4X] = addImageData("icon.bonus.4x.png", IMAGE_ALPHA, "panel_4x", IMAGE_GROUP_BASE);
+ g_icon[BONUS_HIDDEN] = addImageData("icon.bonus.hidden.png", IMAGE_ALPHA, "panel_hidden", IMAGE_GROUP_BASE);
+
+ isPanelInit = TRUE;
}
-static void
-drawScore(tux_t * tux_right, tux_t * tux_left)
+static void drawScore(tux_t *tux_right, tux_t *tux_left)
{
- char strScoreLine[STR_SIZE];
- int w, h;
-
- if (tux_right != NULL && tux_left != NULL) {
- sprintf(strScoreLine, "%d : %d", tux_right->score, tux_left->score);
- }
- else if (tux_right != NULL) {
- sprintf(strScoreLine, "%d", tux_right->score);
- }
- else if (tux_left != NULL) {
- sprintf(strScoreLine, "%d", tux_left->score);
- }
-
- getTextSize(strScoreLine, &w, &h);
- drawFont(strScoreLine, PANEL_SCORE_LOCATION_X, PANEL_SCORE_LOCATION_Y,
- COLOR_WHITE);
+ char strScoreLine[STR_SIZE];
+ int w, h;
+
+ if( tux_right != NULL && tux_left != NULL )
+ {
+ sprintf(strScoreLine, "%d : %d", tux_right->score, tux_left->score);
+ }
+ else if( tux_right != NULL )
+ {
+ sprintf(strScoreLine, "%d", tux_right->score);
+ }
+ else if( tux_left != NULL )
+ {
+ sprintf(strScoreLine, "%d", tux_left->score);
+ }
+
+ getTextSize(strScoreLine, &w , &h);
+ drawFont(strScoreLine, PANEL_SCORE_LOCATION_X, PANEL_SCORE_LOCATION_Y, COLOR_WHITE);
}
-static void
-drawShot(int n, int x, int y)
+static void drawShot(int n, int x, int y)
{
- drawImage(g_shot, x, y, n * PANEL_SHOT_WIDTH, 0, PANEL_SHOT_WIDTH,
- PANEL_SHOT_HEIGHT);
+ drawImage(g_shot, x, y,n * PANEL_SHOT_WIDTH, 0, PANEL_SHOT_WIDTH, PANEL_SHOT_HEIGHT);
}
-static void
-drawShotInfo(tux_t * tux, int x, int y)
+static void drawShotInfo(tux_t *tux,int x, int y)
{
- int i;
-
- if (tux->pickup_time > 0) {
- for (i = 0; i < tux->pickup_time / 3; i++) {
- drawShot(PANEL_SHOT_LINE, x + i * PANEL_SHOT_WIDTH, y);
- }
-
- return;
- }
-
- for (i = 0; i < GUN_MAX_SHOT; i++) {
- if (tux->shot[tux->gun] > i) {
- drawShot(PANEL_SHOT_FILL, x + i * (PANEL_SHOT_WIDTH + 2), y);
- }
- else {
- drawShot(PANEL_SHOT_EMPTY, x + i * (PANEL_SHOT_WIDTH + 2), y);
- }
- }
+ int i;
+
+ if( tux->pickup_time > 0 )
+ {
+ for( i = 0 ; i < tux->pickup_time / 3 ; i++ )
+ {
+ drawShot(PANEL_SHOT_LINE, x + i * PANEL_SHOT_WIDTH, y);
+ }
+
+ return;
+ }
+
+ for( i = 0 ; i < GUN_MAX_SHOT ; i++ )
+ {
+ if( tux->shot[tux->gun] > i )
+ {
+ drawShot(PANEL_SHOT_FILL, x + i * ( PANEL_SHOT_WIDTH + 2 ), y);
+ }
+ else
+ {
+ drawShot(PANEL_SHOT_EMPTY, x + i * ( PANEL_SHOT_WIDTH + 2 ) , y);
+ }
+ }
}
-static void
-drawGunInfo(tux_t * tux, int x, int y)
+static void drawGunInfo(tux_t *tux,int x, int y)
{
- drawImage(g_icon[tux->gun], x, y, 0, 0,
- g_icon[tux->gun]->w, g_icon[tux->gun]->h);
+ drawImage(g_icon[ tux->gun ], x, y, 0, 0,
+ g_icon[ tux->gun ]->w, g_icon[ tux->gun ]->h);
}
-static void
-drawBonusInfo(tux_t * tux, int x, int y)
+static void drawBonusInfo(tux_t *tux,int x, int y)
{
- drawImage(g_icon[tux->bonus], x, y, 0, 0, g_icon[tux->bonus]->w,
- g_icon[tux->bonus]->h);
+ drawImage(g_icon[ tux->bonus ], x, y, 0, 0, g_icon[ tux->bonus ]->w, g_icon[ tux->bonus ]->h);
}
-static void
-drawGrafBonus(tux_t * tux, int x, int y)
+static void drawGrafBonus(tux_t *tux,int x, int y)
{
- int offset;
+ int offset;
- offset = tux->bonus_time / 5;
- drawImage(g_bonus, x, y, 0, 0, g_bonus->w, g_bonus->h / 2);
- drawImage(g_bonus, x + 1, y, 0, g_bonus->h / 2, offset, g_bonus->h / 2);
+ offset = tux->bonus_time / 5;
+ drawImage(g_bonus, x, y, 0, 0, g_bonus->w, g_bonus->h/2);
+ drawImage(g_bonus, x+1, y, 0, g_bonus->h/2, offset, g_bonus->h/2);
}
-static void
-drawTuxRight(tux_t * tux)
+static void drawTuxRight(tux_t *tux)
{
- if (tux == NULL) {
- return;
- }
-
- drawShotInfo(tux, PANEL_LOCATION_X + 740, PANEL_LOCATION_Y + 34);
- drawGunInfo(tux, PANEL_LOCATION_X + 620, PANEL_LOCATION_Y + 30);
-
- if (tux->bonus != BONUS_NONE) {
- drawGrafBonus(tux, PANEL_LOCATION_X + 460, PANEL_LOCATION_Y + 50);
- drawBonusInfo(tux, PANEL_LOCATION_X + 460, PANEL_LOCATION_Y + 30);
- }
+ if( tux == NULL )
+ {
+ return;
+ }
+
+ drawShotInfo(tux, PANEL_LOCATION_X+740, PANEL_LOCATION_Y+34);
+ drawGunInfo(tux, PANEL_LOCATION_X+620, PANEL_LOCATION_Y+30);
+
+ if( tux->bonus != BONUS_NONE )
+ {
+ drawGrafBonus(tux, PANEL_LOCATION_X+460, PANEL_LOCATION_Y+50);
+ drawBonusInfo(tux, PANEL_LOCATION_X+460, PANEL_LOCATION_Y+30);
+ }
}
-static void
-drawTuxLeft(tux_t * tux)
+static void drawTuxLeft(tux_t *tux)
{
- if (tux == NULL) {
- return;
- }
-
- drawShotInfo(tux, PANEL_LOCATION_X + 8, PANEL_LOCATION_Y + 34);
- drawGunInfo(tux, PANEL_LOCATION_X + 130, PANEL_LOCATION_Y + 30);
-
- if (tux->bonus != BONUS_NONE) {
- drawGrafBonus(tux, PANEL_LOCATION_X + 200, PANEL_LOCATION_Y + 50);
- drawBonusInfo(tux, PANEL_LOCATION_X + 200, PANEL_LOCATION_Y + 30);
- }
+ if( tux == NULL )
+ {
+ return;
+ }
+
+ drawShotInfo(tux, PANEL_LOCATION_X+8, PANEL_LOCATION_Y+34);
+ drawGunInfo(tux, PANEL_LOCATION_X+130, PANEL_LOCATION_Y+30);
+
+ if( tux->bonus != BONUS_NONE )
+ {
+ drawGrafBonus(tux, PANEL_LOCATION_X+200, PANEL_LOCATION_Y+50);
+ drawBonusInfo(tux, PANEL_LOCATION_X+200, PANEL_LOCATION_Y+30);
+ }
}
-void
-drawPanel(tux_t * tux_right, tux_t * tux_left)
+void drawPanel(tux_t *tux_right, tux_t *tux_left)
{
- drawImage(g_panel, PANEL_LOCATION_X, PANEL_LOCATION_Y, 0, 0, g_panel->w,
- g_panel->h);
- drawScore(tux_right, tux_left);
+ drawImage(g_panel, PANEL_LOCATION_X, PANEL_LOCATION_Y, 0, 0, g_panel->w, g_panel->h);
+ drawScore(tux_right, tux_left);
- if (isRecivedNewMsg()) {
- drawFont("recived new msg", PANEL_LOCATION_X, PANEL_LOCATION_Y,
- COLOR_WHITE);
- }
+ if( isRecivedNewMsg() )
+ {
+ drawFont("recived new msg", PANEL_LOCATION_X, PANEL_LOCATION_Y, COLOR_WHITE);
+ }
- drawTuxRight(tux_right);
- drawTuxLeft(tux_left);
+ drawTuxRight(tux_right);
+ drawTuxLeft(tux_left);
}
-void
-quitPanel()
+void quitPanel()
{
- isPanelInit = FALSE;
+ isPanelInit = FALSE;
}
+
diff --git a/src/client/panel.c~ b/src/client/panel.c~
deleted file mode 100644
index b84cdfb..0000000
--- a/src/client/panel.c~
+++ /dev/null
@@ -1,180 +0,0 @@
-
-#include <stdio.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "tux.h"
-
-#include "interface.h"
-#include "image.h"
-#include "panel.h"
-#include "font.h"
-#include "chat.h"
-
-static image_t *g_panel;
-static image_t *g_shot;
-static image_t *g_icon[ITEM_COUNT];
-static image_t *g_bonus;
-
-static bool_t isPanelInit = FALSE;
-
-bool_t isPanelInicialized()
-{
- return isPanelInit;
-}
-
-void initPanel()
-{
- assert( isImageInicialized() == TRUE );
- assert( isInterfaceInicialized() == TRUE );
-
- g_panel = addImageData("panel.png", IMAGE_ALPHA, "panel", IMAGE_GROUP_BASE);
- g_shot = addImageData("panel_shot.png", IMAGE_ALPHA, "panel_image_shot", IMAGE_GROUP_BASE);
- g_bonus = addImageData("graf.bonus.png", IMAGE_ALPHA, "panel_graf_bonus", IMAGE_GROUP_BASE);
-
- g_icon[GUN_SIMPLE] = addImageData("icon.gun.simple.png", IMAGE_ALPHA, "panel_gun", IMAGE_GROUP_BASE);
- g_icon[GUN_DUAL_SIMPLE] = addImageData("icon.gun.dual.simple.png", IMAGE_ALPHA, "panel_dual", IMAGE_GROUP_BASE);
- g_icon[GUN_TOMMY] = addImageData("icon.gun.tommy.png", IMAGE_ALPHA, "panel_tommy", IMAGE_GROUP_BASE);
- g_icon[GUN_SCATTER] = addImageData("icon.gun.scatter.png", IMAGE_ALPHA, "panel_scatter", IMAGE_GROUP_BASE);
- g_icon[GUN_LASSER] = addImageData("icon.gun.lasser.png", IMAGE_ALPHA, "panel_lasser", IMAGE_GROUP_BASE);
- g_icon[GUN_MINE] = addImageData("icon.gun.mine.png", IMAGE_ALPHA, "panel_mine", IMAGE_GROUP_BASE);
- g_icon[GUN_BOMBBALL] = addImageData("icon.gun.bombball.png", IMAGE_ALPHA, "panel_bombball", IMAGE_GROUP_BASE);
-
- g_icon[BONUS_SPEED] = addImageData("icon.bonus.speed.png", IMAGE_ALPHA, "panel_speed", IMAGE_GROUP_BASE);
- g_icon[BONUS_SHOT] = addImageData("icon.bonus.shot.png", IMAGE_ALPHA, "panel_shot", IMAGE_GROUP_BASE);
- g_icon[BONUS_TELEPORT] = addImageData("icon.bonus.teleport.png", IMAGE_ALPHA, "panel_teleport", IMAGE_GROUP_BASE);
- g_icon[BONUS_GHOST] = addImageData("icon.bonus.ghost.png", IMAGE_ALPHA, "panel_ghost", IMAGE_GROUP_BASE);
- g_icon[BONUS_4X] = addImageData("icon.bonus.4x.png", IMAGE_ALPHA, "panel_4x", IMAGE_GROUP_BASE);
- g_icon[BONUS_HIDDEN] = addImageData("icon.bonus.hidden.png", IMAGE_ALPHA, "panel_hidden", IMAGE_GROUP_BASE);
-
- isPanelInit = TRUE;
-}
-
-static void drawScore(tux_t *tux_right, tux_t *tux_left)
-{
- char strScoreLine[STR_SIZE];
- int w, h;
-
- if( tux_right != NULL && tux_left != NULL )
- {
- sprintf(strScoreLine, "%d : %d", tux_right->score, tux_left->score);
- }
- else if( tux_right != NULL )
- {
- sprintf(strScoreLine, "%d", tux_right->score);
- }
- else if( tux_left != NULL )
- {
- sprintf(strScoreLine, "%d", tux_left->score);
- }
-
- getTextSize(strScoreLine, &w , &h);
- drawFont(strScoreLine, PANEL_SCORE_LOCATION_X, PANEL_SCORE_LOCATION_Y, COLOR_WHITE);
-}
-
-static void drawShot(int n, int x, int y)
-{
- drawImage(g_shot, x, y,n * PANEL_SHOT_WIDTH, 0, PANEL_SHOT_WIDTH, PANEL_SHOT_HEIGHT);
-}
-
-static void drawShotInfo(tux_t *tux,int x, int y)
-{
- int i;
-
- if( tux->pickup_time > 0 )
- {
- for( i = 0 ; i < tux->pickup_time / 3 ; i++ )
- {
- drawShot(PANEL_SHOT_LINE, x + i * PANEL_SHOT_WIDTH, y);
- }
-
- return;
- }
-
- for( i = 0 ; i < GUN_MAX_SHOT ; i++ )
- {
- if( tux->shot[tux->gun] > i )
- {
- drawShot(PANEL_SHOT_FILL, x + i * ( PANEL_SHOT_WIDTH + 2 ), y);
- }
- else
- {
- drawShot(PANEL_SHOT_EMPTY, x + i * ( PANEL_SHOT_WIDTH + 2 ) , y);
- }
- }
-}
-
-static void drawGunInfo(tux_t *tux,int x, int y)
-{
- drawImage(g_icon[ tux->gun ], x, y, 0, 0,
- g_icon[ tux->gun ]->w, g_icon[ tux->gun ]->h);
-}
-
-static void drawBonusInfo(tux_t *tux,int x, int y)
-{
- drawImage(g_icon[ tux->bonus ], x, y, 0, 0, g_icon[ tux->bonus ]->w, g_icon[ tux->bonus ]->h);
-}
-
-static void drawGrafBonus(tux_t *tux,int x, int y)
-{
- int offset;
-
- offset = tux->bonus_time / 5;
- drawImage(g_bonus, x, y, 0, 0, g_bonus->w, g_bonus->h/2);
- drawImage(g_bonus, x+1, y, 0, g_bonus->h/2, offset, g_bonus->h/2);
-}
-
-static void drawTuxRight(tux_t *tux)
-{
- if( tux == NULL )
- {
- return;
- }
-
- drawShotInfo(tux, PANEL_LOCATION_X+740, PANEL_LOCATION_Y+34);
- drawGunInfo(tux, PANEL_LOCATION_X+620, PANEL_LOCATION_Y+30);
-
- if( tux->bonus != BONUS_NONE )
- {
- drawGrafBonus(tux, PANEL_LOCATION_X+460, PANEL_LOCATION_Y+50);
- drawBonusInfo(tux, PANEL_LOCATION_X+460, PANEL_LOCATION_Y+30);
- }
-}
-
-static void drawTuxLeft(tux_t *tux)
-{
- if( tux == NULL )
- {
- return;
- }
-
- drawShotInfo(tux, PANEL_LOCATION_X+8, PANEL_LOCATION_Y+34);
- drawGunInfo(tux, PANEL_LOCATION_X+130, PANEL_LOCATION_Y+30);
-
- if( tux->bonus != BONUS_NONE )
- {
- drawGrafBonus(tux, PANEL_LOCATION_X+200, PANEL_LOCATION_Y+50);
- drawBonusInfo(tux, PANEL_LOCATION_X+200, PANEL_LOCATION_Y+30);
- }
-}
-
-void drawPanel(tux_t *tux_right, tux_t *tux_left)
-{
- drawImage(g_panel, PANEL_LOCATION_X, PANEL_LOCATION_Y, 0, 0, g_panel->w, g_panel->h);
- drawScore(tux_right, tux_left);
-
- if( isRecivedNewMsg() )
- {
- drawFont("recived new msg", PANEL_LOCATION_X, PANEL_LOCATION_Y, COLOR_WHITE);
- }
-
- drawTuxRight(tux_right);
- drawTuxLeft(tux_left);
-}
-
-void quitPanel()
-{
- isPanelInit = FALSE;
-}
-
diff --git a/src/client/pauza.c b/src/client/pauza.c
index 701a0da..a4a9a4c 100644
--- a/src/client/pauza.c
+++ b/src/client/pauza.c
@@ -15,57 +15,54 @@
static image_t *g_pauza;
static bool_t activePauza;
-static void
-switchPauzed()
+static void switchPauzed()
{
- if (activePauza == TRUE) {
- activePauza = FALSE;
- }
- else {
- activePauza = TRUE;
- }
+ if( activePauza == TRUE )
+ {
+ activePauza = FALSE;
+ }
+ else
+ {
+ activePauza = TRUE;
+ }
}
-static void
-hotkey_pauze()
+static void hotkey_pauze()
{
- switchPauzed();
+ switchPauzed();
}
-void
-initPauza()
+void initPauza()
{
- g_pauza =
- addImageData("pauza.png", IMAGE_ALPHA, "pauza", IMAGE_GROUP_USER);
- activePauza = FALSE;
+ g_pauza = addImageData("pauza.png", IMAGE_ALPHA, "pauza", IMAGE_GROUP_USER);
+ activePauza = FALSE;
- registerHotKey(SDLK_p, hotkey_pauze);
+ registerHotKey(SDLK_p, hotkey_pauze);
}
-void
-drawPauza()
+void drawPauza()
{
- if (activePauza) {
- drawImage(g_pauza,
- WINDOW_SIZE_X / 2 - g_pauza->w / 2,
- WINDOW_SIZE_Y / 2 - g_pauza->h / 2,
- 0, 0, g_pauza->w, g_pauza->h);
- }
+ if( activePauza )
+ {
+ drawImage(g_pauza,
+ WINDOW_SIZE_X/2 - g_pauza->w/2,
+ WINDOW_SIZE_Y/2 - g_pauza->h/2,
+ 0, 0,
+ g_pauza->w, g_pauza->h);
+ }
}
-void
-eventPauza()
+void eventPauza()
{
}
-bool_t
-isPauzeActive()
+bool_t isPauzeActive()
{
- return activePauza;
+ return activePauza;
}
-void
-quitPauza()
+void quitPauza()
{
- unregisterHotKey(SDLK_p);
+ unregisterHotKey(SDLK_p);
}
+
diff --git a/src/client/pauza.c~ b/src/client/pauza.c~
deleted file mode 100644
index a4a9a4c..0000000
--- a/src/client/pauza.c~
+++ /dev/null
@@ -1,68 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "myTimer.h"
-
-#include "interface.h"
-#include "image.h"
-#include "pauza.h"
-#include "hotKey.h"
-
-static image_t *g_pauza;
-static bool_t activePauza;
-
-static void switchPauzed()
-{
- if( activePauza == TRUE )
- {
- activePauza = FALSE;
- }
- else
- {
- activePauza = TRUE;
- }
-}
-
-static void hotkey_pauze()
-{
- switchPauzed();
-}
-
-void initPauza()
-{
- g_pauza = addImageData("pauza.png", IMAGE_ALPHA, "pauza", IMAGE_GROUP_USER);
- activePauza = FALSE;
-
- registerHotKey(SDLK_p, hotkey_pauze);
-}
-
-void drawPauza()
-{
- if( activePauza )
- {
- drawImage(g_pauza,
- WINDOW_SIZE_X/2 - g_pauza->w/2,
- WINDOW_SIZE_Y/2 - g_pauza->h/2,
- 0, 0,
- g_pauza->w, g_pauza->h);
- }
-}
-
-void eventPauza()
-{
-}
-
-bool_t isPauzeActive()
-{
- return activePauza;
-}
-
-void quitPauza()
-{
- unregisterHotKey(SDLK_p);
-}
-
diff --git a/src/client/radar.c b/src/client/radar.c
index 6fd3a68..afa48d4 100644
--- a/src/client/radar.c
+++ b/src/client/radar.c
@@ -17,110 +17,105 @@ static list_t *listRadar;
typedef struct radar_item_struct
{
- int id;
- int x, y;
- int type;
+ int id;
+ int x, y;
+ int type;
} radar_item_t;
-static radar_item_t *
-newRadarItem(int id, int x, int y, int type)
+static radar_item_t* newRadarItem(int id, int x, int y, int type)
{
- radar_item_t *new;
+ radar_item_t *new;
- new = malloc(sizeof(radar_item_t));
- new->id = id;
- new->x = x;
- new->y = y;
- new->type = type;
+ new = malloc( sizeof(radar_item_t) );
+ new->id = id;
+ new->x = x;
+ new->y = y;
+ new->type = type;
- return new;
+ return new;
}
-static void
-destroyRadarItem(radar_item_t * p)
+static void destroyRadarItem(radar_item_t *p)
{
- assert(p != NULL);
- free(p);
+ assert( p != NULL );
+ free(p);
}
-void
-addToRadar(int id, int x, int y, int type)
+void addToRadar(int id, int x, int y, int type)
{
- int i;
+ int i;
- for (i = 0; i < listRadar->count; i++) {
- radar_item_t *thisRadarItem;
+ for( i = 0 ; i < listRadar->count ; i++ )
+ {
+ radar_item_t *thisRadarItem;
- thisRadarItem = (radar_item_t *) listRadar->list[i];
+ thisRadarItem = (radar_item_t *)listRadar->list[i];
- if (thisRadarItem->id == id) {
- thisRadarItem->x = x;
- thisRadarItem->y = y;
- thisRadarItem->type = type;
- return;
- }
- }
+ if( thisRadarItem->id == id )
+ {
+ thisRadarItem->x = x;
+ thisRadarItem->y = y;
+ thisRadarItem->type = type;
+ return;
+ }
+ }
- addList(listRadar, newRadarItem(id, x, y, type));
+ addList(listRadar, newRadarItem(id, x, y, type) );
}
-void
-delFromRadar(int id)
+void delFromRadar(int id)
{
- int i;
+ int i;
- for (i = 0; i < listRadar->count; i++) {
- radar_item_t *thisRadarItem;
+ for( i = 0 ; i < listRadar->count ; i++ )
+ {
+ radar_item_t *thisRadarItem;
- thisRadarItem = (radar_item_t *) listRadar->list[i];
+ thisRadarItem = (radar_item_t *)listRadar->list[i];
- if (thisRadarItem->id == id) {
- delListItem(listRadar, i, destroyRadarItem);
- return;
- }
- }
+ if( thisRadarItem->id == id )
+ {
+ delListItem(listRadar, i, destroyRadarItem);
+ return;
+ }
+ }
}
-void
-initRadar()
+void initRadar()
{
- assert(isImageInicialized() == TRUE);
- assert(isInterfaceInicialized() == TRUE);
+ assert( isImageInicialized() == TRUE );
+ assert( isInterfaceInicialized() == TRUE );
- g_radar =
- addImageData("radar.png", IMAGE_NO_ALPHA, "radar", IMAGE_GROUP_USER);
- listRadar = newList();
+ g_radar = addImageData("radar.png", IMAGE_NO_ALPHA, "radar", IMAGE_GROUP_USER);
+ listRadar = newList();
}
-void
-drawRadar(arena_t * arena)
+void drawRadar(arena_t *arena)
{
- int i;
+ int i;
- drawImage(g_radar, RADAR_LOCATION_X, RADAR_LOCATION_Y, 0, 0,
- RADAR_SIZE_X + 2, RADAR_SIZE_Y + 2);
+ drawImage(g_radar, RADAR_LOCATION_X, RADAR_LOCATION_Y, 0, 0, RADAR_SIZE_X+2, RADAR_SIZE_Y+2);
- for (i = 0; i < listRadar->count; i++) {
- radar_item_t *thisRadarItem;
- int x, y;
+ for( i = 0 ; i < listRadar->count ; i++ )
+ {
+ radar_item_t *thisRadarItem;
+ int x, y;
- thisRadarItem = (radar_item_t *) listRadar->list[i];
+ thisRadarItem = (radar_item_t *)listRadar->list[i];
- x = (((float) RADAR_SIZE_X) / ((float) arena->w)) *
- ((float) thisRadarItem->x);
- y = (((float) RADAR_SIZE_Y) / ((float) arena->h)) *
- ((float) thisRadarItem->y);
+ x = ( ( (float)RADAR_SIZE_X) / ( (float)arena->w ) ) * ( (float)thisRadarItem->x );
+ y = ( ( (float)RADAR_SIZE_Y) / ( (float)arena->h ) ) * ( (float)thisRadarItem->y );
- if (x >= 0 && x <= RADAR_SIZE_X && y >= 0 && y <= RADAR_SIZE_Y) {
- drawImage(g_radar,
- RADAR_LOCATION_X + 1 + x, RADAR_LOCATION_Y + 1 + y,
- 2 * thisRadarItem->type, RADAR_SIZE_Y + 2, 2, 2);
- }
- }
+ if( x >= 0 && x <= RADAR_SIZE_X && y >= 0 && y <= RADAR_SIZE_Y )
+ {
+ drawImage(g_radar,
+ RADAR_LOCATION_X+1+x, RADAR_LOCATION_Y+1+y,
+ 2*thisRadarItem->type, RADAR_SIZE_Y+2, 2, 2);
+ }
+ }
}
-void
-quitRadar()
+void quitRadar()
{
- destroyListItem(listRadar, destroyRadarItem);
+ destroyListItem(listRadar, destroyRadarItem);
}
diff --git a/src/client/radar.c~ b/src/client/radar.c~
deleted file mode 100644
index afa48d4..0000000
--- a/src/client/radar.c~
+++ /dev/null
@@ -1,121 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "tux.h"
-#include "arena.h"
-
-#include "interface.h"
-#include "image.h"
-#include "radar.h"
-
-static image_t *g_radar;
-static list_t *listRadar;
-
-typedef struct radar_item_struct
-{
- int id;
- int x, y;
- int type;
-} radar_item_t;
-
-static radar_item_t* newRadarItem(int id, int x, int y, int type)
-{
- radar_item_t *new;
-
- new = malloc( sizeof(radar_item_t) );
- new->id = id;
- new->x = x;
- new->y = y;
- new->type = type;
-
- return new;
-}
-
-static void destroyRadarItem(radar_item_t *p)
-{
- assert( p != NULL );
- free(p);
-}
-
-void addToRadar(int id, int x, int y, int type)
-{
- int i;
-
- for( i = 0 ; i < listRadar->count ; i++ )
- {
- radar_item_t *thisRadarItem;
-
- thisRadarItem = (radar_item_t *)listRadar->list[i];
-
- if( thisRadarItem->id == id )
- {
- thisRadarItem->x = x;
- thisRadarItem->y = y;
- thisRadarItem->type = type;
- return;
- }
- }
-
- addList(listRadar, newRadarItem(id, x, y, type) );
-}
-
-void delFromRadar(int id)
-{
- int i;
-
- for( i = 0 ; i < listRadar->count ; i++ )
- {
- radar_item_t *thisRadarItem;
-
- thisRadarItem = (radar_item_t *)listRadar->list[i];
-
- if( thisRadarItem->id == id )
- {
- delListItem(listRadar, i, destroyRadarItem);
- return;
- }
- }
-}
-
-void initRadar()
-{
- assert( isImageInicialized() == TRUE );
- assert( isInterfaceInicialized() == TRUE );
-
- g_radar = addImageData("radar.png", IMAGE_NO_ALPHA, "radar", IMAGE_GROUP_USER);
- listRadar = newList();
-}
-
-void drawRadar(arena_t *arena)
-{
- int i;
-
- drawImage(g_radar, RADAR_LOCATION_X, RADAR_LOCATION_Y, 0, 0, RADAR_SIZE_X+2, RADAR_SIZE_Y+2);
-
- for( i = 0 ; i < listRadar->count ; i++ )
- {
- radar_item_t *thisRadarItem;
- int x, y;
-
- thisRadarItem = (radar_item_t *)listRadar->list[i];
-
- x = ( ( (float)RADAR_SIZE_X) / ( (float)arena->w ) ) * ( (float)thisRadarItem->x );
- y = ( ( (float)RADAR_SIZE_Y) / ( (float)arena->h ) ) * ( (float)thisRadarItem->y );
-
- if( x >= 0 && x <= RADAR_SIZE_X && y >= 0 && y <= RADAR_SIZE_Y )
- {
- drawImage(g_radar,
- RADAR_LOCATION_X+1+x, RADAR_LOCATION_Y+1+y,
- 2*thisRadarItem->type, RADAR_SIZE_Y+2, 2, 2);
- }
- }
-}
-
-void quitRadar()
-{
- destroyListItem(listRadar, destroyRadarItem);
-}
diff --git a/src/client/saveDialog.c b/src/client/saveDialog.c
index 125d681..37a3d8f 100644
--- a/src/client/saveDialog.c
+++ b/src/client/saveDialog.c
@@ -30,118 +30,118 @@ static widget_t *widgetTextFieldName;
static widget_t *widgetButtonSave;
static widget_t *widgetButtonBack;
-static void
-switchTerm()
+static void switchTerm()
{
- if (activeSaveDialog == TRUE) {
- activeSaveDialog = FALSE;
- }
- else {
- activeSaveDialog = TRUE;
- }
+ if( activeSaveDialog == TRUE )
+ {
+ activeSaveDialog = FALSE;
+ }
+ else
+ {
+ activeSaveDialog = TRUE;
+ }
}
-static void
-eventWidget(void *p)
+static void eventWidget(void *p)
{
- widget_t *button;
+ widget_t *button;
- button = (widget_t *) p;
+ button = (widget_t *)p;
- if (button == widgetButtonSave) {
- saveArena(getTextFromWidgetTextfield(widgetTextFieldName),
- getCurrentArena());
- switchTerm();
- }
+ if( button == widgetButtonSave )
+ {
+ saveArena(getTextFromWidgetTextfield(widgetTextFieldName), getCurrentArena());
+ switchTerm();
+ }
- if (button == widgetButtonBack) {
- switchTerm();
- }
+ if( button == widgetButtonBack )
+ {
+ switchTerm();
+ }
}
-static void
-hotkey_saveDialog()
+static void hotkey_saveDialog()
{
- switchTerm();
+ switchTerm();
}
-void
-initSaveDialog()
+void initSaveDialog()
{
- activeSaveDialog = FALSE;
-
- g_background = getImage(IMAGE_GROUP_BASE, "screen_main");
-
- widgetLabelMsg = newWidgetLabel("name",
- SAVE_DIALOG_LOCATIN_X + 20,
- SAVE_DIALOG_LOCATIN_Y + 20,
- WIDGET_LABEL_LEFT);
-
- widgetTextFieldName = newWidgetTextfield("noname",
- WIDGET_TEXTFIELD_FILTER_ALPHANUM,
- widgetLabelMsg->x +
- widgetLabelMsg->w + 10,
- widgetLabelMsg->y);
-
- widgetButtonSave = newWidgetButton("Save",
- SAVE_DIALOG_LOCATIN_X + 20,
- SAVE_DIALOG_LOCATIN_Y + 60,
- eventWidget);
-
- widgetButtonBack = newWidgetButton("Back",
- SAVE_DIALOG_LOCATIN_X + 20 +
- WIDGET_BUTTON_WIDTH + 20,
- SAVE_DIALOG_LOCATIN_Y + 60,
- eventWidget);
-
- registerHotKey(SDLK_F2, hotkey_saveDialog);
+ activeSaveDialog = FALSE;
+
+ g_background = getImage(IMAGE_GROUP_BASE, "screen_main");
+
+ widgetLabelMsg = newWidgetLabel(
+ "name",
+ SAVE_DIALOG_LOCATIN_X+20,
+ SAVE_DIALOG_LOCATIN_Y+20,
+ WIDGET_LABEL_LEFT);
+
+ widgetTextFieldName = newWidgetTextfield(
+ "noname",
+ WIDGET_TEXTFIELD_FILTER_ALPHANUM,
+ widgetLabelMsg->x+widgetLabelMsg->w+10,
+ widgetLabelMsg->y);
+
+ widgetButtonSave = newWidgetButton(
+ "Save",
+ SAVE_DIALOG_LOCATIN_X+20,
+ SAVE_DIALOG_LOCATIN_Y+60,
+ eventWidget);
+
+ widgetButtonBack = newWidgetButton(
+ "Back",
+ SAVE_DIALOG_LOCATIN_X+20+WIDGET_BUTTON_WIDTH+20,
+ SAVE_DIALOG_LOCATIN_Y+60,
+ eventWidget);
+
+ registerHotKey(SDLK_F2, hotkey_saveDialog);
}
-bool_t
-isSaveDialogActive()
+bool_t isSaveDialogActive()
{
- return activeSaveDialog;
+ return activeSaveDialog;
}
-void
-drawSaveDialog()
+void drawSaveDialog()
{
- if (activeSaveDialog == FALSE) {
- return;
- }
-
- drawImage(g_background,
- SAVE_DIALOG_LOCATIN_X,
- SAVE_DIALOG_LOCATIN_Y,
- SAVE_DIALOG_LOCATIN_X,
- SAVE_DIALOG_LOCATIN_Y, SAVE_DIALOG_SIZE_X, SAVE_DIALOG_SIZE_Y);
-
- drawWidgetLabel(widgetLabelMsg);
- drawWidgetTextfield(widgetTextFieldName);
- drawWidgetButton(widgetButtonSave);
- drawWidgetButton(widgetButtonBack);
+ if( activeSaveDialog == FALSE )
+ {
+ return;
+ }
+
+ drawImage(g_background,
+ SAVE_DIALOG_LOCATIN_X,
+ SAVE_DIALOG_LOCATIN_Y,
+ SAVE_DIALOG_LOCATIN_X,
+ SAVE_DIALOG_LOCATIN_Y,
+ SAVE_DIALOG_SIZE_X, SAVE_DIALOG_SIZE_Y);
+
+ drawWidgetLabel(widgetLabelMsg);
+ drawWidgetTextfield(widgetTextFieldName);
+ drawWidgetButton(widgetButtonSave);
+ drawWidgetButton(widgetButtonBack);
}
-void
-eventSaveDialog()
+void eventSaveDialog()
{
- if (activeSaveDialog == FALSE) {
- return;
- }
+ if( activeSaveDialog == FALSE )
+ {
+ return;
+ }
- eventWidgetTextfield(widgetTextFieldName);
- eventWidgetButton(widgetButtonSave);
- eventWidgetButton(widgetButtonBack);
+ eventWidgetTextfield(widgetTextFieldName);
+ eventWidgetButton(widgetButtonSave);
+ eventWidgetButton(widgetButtonBack);
}
-void
-quitSaveDialog()
+void quitSaveDialog()
{
- unregisterHotKey(SDLK_F2);
+ unregisterHotKey(SDLK_F2);
- destroyWidgetLabel(widgetLabelMsg);
- destroyWidgetTextfield(widgetTextFieldName);
- destroyWidgetButton(widgetButtonSave);
- destroyWidgetButton(widgetButtonBack);
+ destroyWidgetLabel(widgetLabelMsg);
+ destroyWidgetTextfield(widgetTextFieldName);
+ destroyWidgetButton(widgetButtonSave);
+ destroyWidgetButton(widgetButtonBack);
}
diff --git a/src/client/saveDialog.c~ b/src/client/saveDialog.c~
deleted file mode 100644
index 37a3d8f..0000000
--- a/src/client/saveDialog.c~
+++ /dev/null
@@ -1,147 +0,0 @@
-
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "tux.h"
-#include "space.h"
-#include "arena.h"
-#include "net_multiplayer.h"
-
-#include "interface.h"
-#include "saveDialog.h"
-#include "image.h"
-#include "font.h"
-#include "saveLoad.h"
-#include "hotKey.h"
-
-#include "widget.h"
-#include "widget_label.h"
-#include "widget_button.h"
-#include "widget_textfield.h"
-
-static image_t *g_background;
-static bool_t activeSaveDialog;
-
-static widget_t *widgetLabelMsg;
-static widget_t *widgetTextFieldName;
-
-static widget_t *widgetButtonSave;
-static widget_t *widgetButtonBack;
-
-static void switchTerm()
-{
- if( activeSaveDialog == TRUE )
- {
- activeSaveDialog = FALSE;
- }
- else
- {
- activeSaveDialog = TRUE;
- }
-}
-
-static void eventWidget(void *p)
-{
- widget_t *button;
-
- button = (widget_t *)p;
-
- if( button == widgetButtonSave )
- {
- saveArena(getTextFromWidgetTextfield(widgetTextFieldName), getCurrentArena());
- switchTerm();
- }
-
- if( button == widgetButtonBack )
- {
- switchTerm();
- }
-}
-
-static void hotkey_saveDialog()
-{
- switchTerm();
-}
-
-void initSaveDialog()
-{
- activeSaveDialog = FALSE;
-
- g_background = getImage(IMAGE_GROUP_BASE, "screen_main");
-
- widgetLabelMsg = newWidgetLabel(
- "name",
- SAVE_DIALOG_LOCATIN_X+20,
- SAVE_DIALOG_LOCATIN_Y+20,
- WIDGET_LABEL_LEFT);
-
- widgetTextFieldName = newWidgetTextfield(
- "noname",
- WIDGET_TEXTFIELD_FILTER_ALPHANUM,
- widgetLabelMsg->x+widgetLabelMsg->w+10,
- widgetLabelMsg->y);
-
- widgetButtonSave = newWidgetButton(
- "Save",
- SAVE_DIALOG_LOCATIN_X+20,
- SAVE_DIALOG_LOCATIN_Y+60,
- eventWidget);
-
- widgetButtonBack = newWidgetButton(
- "Back",
- SAVE_DIALOG_LOCATIN_X+20+WIDGET_BUTTON_WIDTH+20,
- SAVE_DIALOG_LOCATIN_Y+60,
- eventWidget);
-
- registerHotKey(SDLK_F2, hotkey_saveDialog);
-}
-
-bool_t isSaveDialogActive()
-{
- return activeSaveDialog;
-}
-
-void drawSaveDialog()
-{
- if( activeSaveDialog == FALSE )
- {
- return;
- }
-
- drawImage(g_background,
- SAVE_DIALOG_LOCATIN_X,
- SAVE_DIALOG_LOCATIN_Y,
- SAVE_DIALOG_LOCATIN_X,
- SAVE_DIALOG_LOCATIN_Y,
- SAVE_DIALOG_SIZE_X, SAVE_DIALOG_SIZE_Y);
-
- drawWidgetLabel(widgetLabelMsg);
- drawWidgetTextfield(widgetTextFieldName);
- drawWidgetButton(widgetButtonSave);
- drawWidgetButton(widgetButtonBack);
-}
-
-void eventSaveDialog()
-{
- if( activeSaveDialog == FALSE )
- {
- return;
- }
-
- eventWidgetTextfield(widgetTextFieldName);
- eventWidgetButton(widgetButtonSave);
- eventWidgetButton(widgetButtonBack);
-
-}
-
-void quitSaveDialog()
-{
- unregisterHotKey(SDLK_F2);
-
- destroyWidgetLabel(widgetLabelMsg);
- destroyWidgetTextfield(widgetTextFieldName);
- destroyWidgetButton(widgetButtonSave);
- destroyWidgetButton(widgetButtonBack);
-}
diff --git a/src/client/saveLoad.c b/src/client/saveLoad.c
index 5b5a4b7..be7933b 100644
--- a/src/client/saveLoad.c
+++ b/src/client/saveLoad.c
@@ -19,254 +19,252 @@
#include "screen_choiceArena.h"
#include "screen_world.h"
-static void
-action_saveTux(space_t * space, tux_t * tux, textFile_t * textFile)
+static void action_saveTux(space_t *space, tux_t *tux, textFile_t *textFile)
{
- char str[STR_PROTO_SIZE];
-
- snprintf(str, STR_PROTO_SIZE,
- "TUX %d %d %d %d %d %d %d %d %s %d %d %d %d %d %d %d %d %d %d %d",
- tux->id, tux->x, tux->y, tux->status, tux->position, tux->control,
- tux->frame, tux->score, tux->name, tux->gun, tux->bonus,
- tux->shot[GUN_SIMPLE], tux->shot[GUN_DUAL_SIMPLE],
- tux->shot[GUN_SCATTER], tux->shot[GUN_TOMMY],
- tux->shot[GUN_LASSER], tux->shot[GUN_MINE],
- tux->shot[GUN_BOMBBALL], tux->bonus_time, tux->pickup_time);
-
- addList(textFile->text, strdup(str));
+ char str[STR_PROTO_SIZE];
+
+ snprintf(str, STR_PROTO_SIZE,
+ "TUX %d %d %d %d %d %d %d %d %s %d %d %d %d %d %d %d %d %d %d %d",
+ tux->id, tux->x, tux->y, tux->status, tux->position ,tux->control, tux->frame, tux->score, tux->name,
+ tux->gun, tux->bonus, tux->shot[GUN_SIMPLE], tux->shot[GUN_DUAL_SIMPLE],
+ tux->shot[GUN_SCATTER], tux->shot[GUN_TOMMY], tux->shot[GUN_LASSER],
+ tux->shot[GUN_MINE], tux->shot[GUN_BOMBBALL],
+ tux->bonus_time, tux->pickup_time);
+
+ addList(textFile->text, strdup(str));
}
-static void
-action_saveShot(space_t * space, shot_t * shot, textFile_t * textFile)
+static void action_saveShot(space_t *space, shot_t *shot, textFile_t *textFile)
{
- char str[STR_PROTO_SIZE];
+ char str[STR_PROTO_SIZE];
- snprintf(str, STR_PROTO_SIZE, "SHOT %d %d %d %d %d %d %d %d %d",
- shot->id, shot->x, shot->y, shot->px, shot->py,
- shot->position, shot->gun, shot->author_id,
- shot->isCanKillAuthor);
+ snprintf(str, STR_PROTO_SIZE, "SHOT %d %d %d %d %d %d %d %d %d",
+ shot->id, shot->x, shot->y, shot->px, shot->py,
+ shot->position, shot->gun, shot->author_id, shot->isCanKillAuthor);
- addList(textFile->text, strdup(str));
+ addList(textFile->text, strdup(str));
}
-static void
-action_saveItem(space_t * space, item_t * item, textFile_t * textFile)
+static void action_saveItem(space_t *space, item_t *item, textFile_t *textFile)
{
- char str[STR_PROTO_SIZE];
+ char str[STR_PROTO_SIZE];
- snprintf(str, STR_PROTO_SIZE, "ITEM %d %d %d %d %d %d %d",
- item->id, item->type, item->x, item->y,
- item->count, item->frame, item->author_id);
+ snprintf(str, STR_PROTO_SIZE, "ITEM %d %d %d %d %d %d %d",
+ item->id, item->type, item->x, item->y,
+ item->count, item->frame, item->author_id);
- addList(textFile->text, strdup(str));
+ addList(textFile->text, strdup(str));
}
-static void
-saveContextArenaToTextFile(textFile_t * textFile, arena_t * arena)
+static void saveContextArenaToTextFile(textFile_t *textFile, arena_t *arena)
{
- char str[STR_PROTO_SIZE];
+ char str[STR_PROTO_SIZE];
- sprintf(str, "ARENA %s %d %d",
- getArenaNetName(getChoiceArena()),
- arena->countRound, arena->max_countRound);
+ sprintf(str, "ARENA %s %d %d",
+ getArenaNetName(getChoiceArena()),
+ arena->countRound,
+ arena->max_countRound);
- addList(textFile->text, strdup(str));
+ addList(textFile->text, strdup(str));
- actionSpace(arena->spaceTux, action_saveTux, textFile);
- actionSpace(arena->spaceShot, action_saveShot, textFile);
- actionSpace(arena->spaceItem, action_saveItem, textFile);
+ actionSpace(arena->spaceTux, action_saveTux, textFile);
+ actionSpace(arena->spaceShot, action_saveShot, textFile);
+ actionSpace(arena->spaceItem, action_saveItem, textFile);
}
-void
-saveArena(char *filename, arena_t * arena)
+void saveArena(char *filename, arena_t *arena)
{
- textFile_t *textFile;
- char path[STR_PATH_SIZE];
+ textFile_t *textFile;
+ char path[STR_PATH_SIZE];
- sprintf(path, "%s/%s.sav", getHomeDirector(), filename);
+ sprintf(path, "%s/%s.sav", getHomeDirector(), filename);
#ifdef DEBUG
- printf(_("Saving game to: \"%s\"\n"), path);
+ printf(_("Saving game to: \"%s\"\n"), path);
#endif
- textFile = newTextFile(path);
-
- if (textFile != NULL) {
- saveContextArenaToTextFile(textFile, arena);
- saveTextFile(textFile);
- destroyTextFile(textFile);
- }
- else {
- fprintf(stderr, _("I was unable to save: \"%s\"\n"), path);
- }
+ textFile = newTextFile(path);
+
+ if( textFile != NULL )
+ {
+ saveContextArenaToTextFile(textFile, arena);
+ saveTextFile(textFile);
+ destroyTextFile(textFile);
+ }
+ else
+ {
+ fprintf(stderr, _("I was unable to save: \"%s\"\n"), path);
+ }
}
-static arena_t *
-loadArenaFromLine(char *line)
+static arena_t* loadArenaFromLine(char *line)
{
- char cmd[STR_SIZE];
- char name[STR_SIZE];
- int countRound;
- int max_countRound;
- arena_t *arena;
+ char cmd[STR_SIZE];
+ char name[STR_SIZE];
+ int countRound;
+ int max_countRound;
+ arena_t *arena;
- sscanf(line, "%s %s %d %d", cmd, name, &countRound, &max_countRound);
+ sscanf(line, "%s %s %d %d", cmd, name, &countRound, &max_countRound);
- setWorldArena(getArenaFileFormNetName(name));
+ setWorldArena( getArenaFileFormNetName(name) );
- arena = getCurrentArena();
- arena->max_countRound = max_countRound;
- arena->countRound = countRound;
+ arena = getCurrentArena();
+ arena->max_countRound = max_countRound;
+ arena->countRound = countRound;
- return arena;
+ return arena;
}
-static void
-loadTuxFromLine(char *line, arena_t * arena)
+static void loadTuxFromLine(char *line, arena_t *arena)
{
- char cmd[STR_PROTO_SIZE];
- char name[STR_NAME_SIZE];
- int id, x, y, status, position, frame, score, control;
- int myGun, myBonus;
- int gun1, gun2, gun3, gun4, gun5, gun6, gun7;
- int time1, time2;
- tux_t *tux;
-
- sscanf(line,
- "%s %d %d %d %d %d %d %d %d %s %d %d %d %d %d %d %d %d %d %d %d",
- cmd, &id, &x, &y, &status, &position, &control, &frame, &score,
- name, &myGun, &myBonus, &gun1, &gun2, &gun3, &gun4, &gun5, &gun6,
- &gun7, &time1, &time2);
-
- tux = newTux();
- replaceTuxID(tux, id);
- addObjectToSpace(arena->spaceTux, tux);
-
- tux->control = control;
-
- if (tux->control == TUX_CONTROL_KEYBOARD_RIGHT) {
- setControlTux(tux, TUX_CONTROL_KEYBOARD_RIGHT);
- }
-
- if (tux->control == TUX_CONTROL_KEYBOARD_LEFT) {
- setControlTux(tux, TUX_CONTROL_KEYBOARD_LEFT);
- }
-
- if (tux->control == TUX_CONTROL_AI) {
- loadModule("libmodAI");
- setControlTux(tux, TUX_CONTROL_KEYBOARD_LEFT);
- }
-
- moveObjectInSpace(arena->spaceTux, tux, x, y);
- tux->status = status;
- tux->position = position;
- tux->frame = frame;
- tux->score = score;
- strcpy(tux->name, name);
- tux->gun = myGun;
- tux->bonus = myBonus;
- tux->shot[GUN_SIMPLE] = gun1;
- tux->shot[GUN_DUAL_SIMPLE] = gun2;
- tux->shot[GUN_SCATTER] = gun3;
- tux->shot[GUN_TOMMY] = gun4;
- tux->shot[GUN_LASSER] = gun5;
- tux->shot[GUN_MINE] = gun6;
- tux->shot[GUN_BOMBBALL] = gun7;
- tux->bonus_time = time1;
- tux->pickup_time = time2;
+ char cmd[STR_PROTO_SIZE];
+ char name[STR_NAME_SIZE];
+ int id, x, y, status, position, frame, score, control;
+ int myGun, myBonus;
+ int gun1, gun2, gun3, gun4, gun5, gun6, gun7;
+ int time1, time2;
+ tux_t *tux;
+
+ sscanf(line, "%s %d %d %d %d %d %d %d %d %s %d %d %d %d %d %d %d %d %d %d %d",
+ cmd, &id, &x, &y, &status, &position, &control, &frame, &score, name,
+ &myGun, &myBonus, &gun1, &gun2, &gun3, &gun4, &gun5, &gun6, &gun7, &time1, &time2);
+
+ tux = newTux();
+ replaceTuxID(tux, id);
+ addObjectToSpace(arena->spaceTux, tux);
+
+ tux->control = control;
+
+ if( tux->control == TUX_CONTROL_KEYBOARD_RIGHT )
+ {
+ setControlTux(tux, TUX_CONTROL_KEYBOARD_RIGHT);
+ }
+
+ if( tux->control == TUX_CONTROL_KEYBOARD_LEFT )
+ {
+ setControlTux(tux, TUX_CONTROL_KEYBOARD_LEFT);
+ }
+
+ if( tux->control == TUX_CONTROL_AI )
+ {
+ loadModule("libmodAI");
+ setControlTux(tux, TUX_CONTROL_KEYBOARD_LEFT);
+ }
+
+ moveObjectInSpace(arena->spaceTux, tux, x, y);
+ tux->status = status;
+ tux->position = position;
+ tux->frame = frame;
+ tux->score = score;
+ strcpy(tux->name, name);
+ tux->gun = myGun;
+ tux->bonus = myBonus;
+ tux->shot[GUN_SIMPLE] = gun1;
+ tux->shot[GUN_DUAL_SIMPLE] = gun2;
+ tux->shot[GUN_SCATTER] = gun3;
+ tux->shot[GUN_TOMMY] = gun4;
+ tux->shot[GUN_LASSER] = gun5;
+ tux->shot[GUN_MINE] = gun6;
+ tux->shot[GUN_BOMBBALL] = gun7;
+ tux->bonus_time = time1;
+ tux->pickup_time = time2;
}
-static void
-loadShotFromLine(char *line, arena_t * arena)
+static void loadShotFromLine(char *line, arena_t *arena)
{
- char cmd[STR_PROTO_SIZE];
- int x, y, px, py, position, gun, shot_id, author_id, isCanKillAuthor;
- shot_t *shot;
+ char cmd[STR_PROTO_SIZE];
+ int x, y, px, py, position, gun, shot_id, author_id, isCanKillAuthor;
+ shot_t *shot;
- sscanf(line, "%s %d %d %d %d %d %d %d %d %d",
- cmd, &shot_id, &x, &y, &px, &py, &position, &gun, &author_id,
- &isCanKillAuthor);
+ sscanf(line, "%s %d %d %d %d %d %d %d %d %d",
+ cmd, &shot_id, &x, &y, &px, &py, &position, &gun, &author_id, &isCanKillAuthor);
- shot = newShot(x, y, px, py, gun, author_id);
+ shot = newShot(x, y, px, py, gun, author_id);
- replaceShotID(shot, shot_id);
- shot->isCanKillAuthor = isCanKillAuthor;
- shot->position = position;
+ replaceShotID(shot, shot_id);
+ shot->isCanKillAuthor = isCanKillAuthor;
+ shot->position = position;
- if (shot->gun == GUN_LASSER) {
- transformOnlyLasser(shot);
- }
+ if( shot->gun == GUN_LASSER )
+ {
+ transformOnlyLasser(shot);
+ }
- addObjectToSpace(arena->spaceShot, shot);
+ addObjectToSpace(arena->spaceShot, shot);
}
-static void
-loadItemFromLine(char *line, arena_t * arena)
+static void loadItemFromLine(char *line, arena_t *arena)
{
- char cmd[STR_PROTO_SIZE];
- int id, type, x, y, count, frame, author_id, check_id;
- item_t *item;
+ char cmd[STR_PROTO_SIZE];
+ int id, type, x, y, count, frame, author_id, check_id;
+ item_t *item;
- sscanf(line, "%s %d %d %d %d %d %d %d %d",
- cmd, &id, &type, &x, &y, &count, &frame, &author_id, &check_id);
+ sscanf(line, "%s %d %d %d %d %d %d %d %d",
+ cmd, &id, &type, &x, &y, &count, &frame, &author_id, &check_id);
- item = newItem(x, y, type, author_id);
+ item = newItem(x, y, type, author_id);
- replaceItemID(item, id);
- item->count = count;
- item->frame = frame;
+ replaceItemID(item, id);
+ item->count = count;
+ item->frame = frame;
- addObjectToSpace(arena->spaceItem, item);
+ addObjectToSpace(arena->spaceItem, item);
}
-static arena_t *
-loadContextArenaFromTextFile(textFile_t * textFile)
+static arena_t* loadContextArenaFromTextFile(textFile_t *textFile)
{
- arena_t *arena;
- int i;
-
- arena = NULL;
-
- for (i = 0; i < textFile->text->count; i++) {
- char *line;
-
- line = (char *) textFile->text->list[i];
-
- if (strncmp(line, "ARENA", 5) == 0) {
- arena = loadArenaFromLine(line);
- }
-
- if (strncmp(line, "TUX", 3) == 0) {
- loadTuxFromLine(line, arena);
- }
-
- if (strncmp(line, "SHOT", 4) == 0) {
- loadShotFromLine(line, arena);
- }
-
- if (strncmp(line, "ITEM", 4) == 0) {
- loadItemFromLine(line, arena);
- }
- }
-
- return arena;
+ arena_t *arena;
+ int i;
+
+ arena = NULL;
+
+ for( i = 0 ; i < textFile->text->count ; i++ )
+ {
+ char *line;
+
+ line = (char *)textFile->text->list[i];
+
+ if( strncmp(line, "ARENA", 5) == 0 )
+ {
+ arena = loadArenaFromLine(line);
+ }
+
+ if( strncmp(line, "TUX", 3) == 0 )
+ {
+ loadTuxFromLine(line, arena);
+ }
+
+ if( strncmp(line, "SHOT", 4) == 0 )
+ {
+ loadShotFromLine(line, arena);
+ }
+
+ if( strncmp(line, "ITEM", 4) == 0 )
+ {
+ loadItemFromLine(line, arena);
+ }
+ }
+
+ return arena;
}
-void
-loadArena(char *filename)
+void loadArena(char *filename)
{
- textFile_t *textFile;
- char path[STR_PATH_SIZE];
+ textFile_t *textFile;
+ char path[STR_PATH_SIZE];
- sprintf(path, "%s/%s", getHomeDirector(), filename);
+ sprintf(path, "%s/%s", getHomeDirector(), filename);
#ifdef DEBUG
- printf(_("Loadig game from file: \"%s\"\n"), path);
+ printf(_("Loadig game from file: \"%s\"\n"), path);
#endif
- textFile = loadTextFile(path);
-
- if (textFile != NULL) {
- loadContextArenaFromTextFile(textFile);
- destroyTextFile(textFile);
- }
- else {
- fprintf(stderr, _("Unable to load save: \"%s\"\n"), path);
- }
+ textFile = loadTextFile(path);
+
+ if( textFile != NULL )
+ {
+ loadContextArenaFromTextFile(textFile);
+ destroyTextFile(textFile);
+ }
+ else
+ {
+ fprintf(stderr, _("Unable to load save: \"%s\"\n"), path);
+ }
}
diff --git a/src/client/saveLoad.c~ b/src/client/saveLoad.c~
deleted file mode 100644
index be7933b..0000000
--- a/src/client/saveLoad.c~
+++ /dev/null
@@ -1,270 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "textFile.h"
-#include "homeDirector.h"
-
-#include "arena.h"
-#include "arenaFile.h"
-#include "tux.h"
-#include "shot.h"
-#include "item.h"
-#include "modules.h"
-
-#include "saveLoad.h"
-
-#include "screen_choiceArena.h"
-#include "screen_world.h"
-
-static void action_saveTux(space_t *space, tux_t *tux, textFile_t *textFile)
-{
- char str[STR_PROTO_SIZE];
-
- snprintf(str, STR_PROTO_SIZE,
- "TUX %d %d %d %d %d %d %d %d %s %d %d %d %d %d %d %d %d %d %d %d",
- tux->id, tux->x, tux->y, tux->status, tux->position ,tux->control, tux->frame, tux->score, tux->name,
- tux->gun, tux->bonus, tux->shot[GUN_SIMPLE], tux->shot[GUN_DUAL_SIMPLE],
- tux->shot[GUN_SCATTER], tux->shot[GUN_TOMMY], tux->shot[GUN_LASSER],
- tux->shot[GUN_MINE], tux->shot[GUN_BOMBBALL],
- tux->bonus_time, tux->pickup_time);
-
- addList(textFile->text, strdup(str));
-}
-
-static void action_saveShot(space_t *space, shot_t *shot, textFile_t *textFile)
-{
- char str[STR_PROTO_SIZE];
-
- snprintf(str, STR_PROTO_SIZE, "SHOT %d %d %d %d %d %d %d %d %d",
- shot->id, shot->x, shot->y, shot->px, shot->py,
- shot->position, shot->gun, shot->author_id, shot->isCanKillAuthor);
-
- addList(textFile->text, strdup(str));
-}
-
-static void action_saveItem(space_t *space, item_t *item, textFile_t *textFile)
-{
- char str[STR_PROTO_SIZE];
-
- snprintf(str, STR_PROTO_SIZE, "ITEM %d %d %d %d %d %d %d",
- item->id, item->type, item->x, item->y,
- item->count, item->frame, item->author_id);
-
- addList(textFile->text, strdup(str));
-}
-
-static void saveContextArenaToTextFile(textFile_t *textFile, arena_t *arena)
-{
- char str[STR_PROTO_SIZE];
-
- sprintf(str, "ARENA %s %d %d",
- getArenaNetName(getChoiceArena()),
- arena->countRound,
- arena->max_countRound);
-
- addList(textFile->text, strdup(str));
-
- actionSpace(arena->spaceTux, action_saveTux, textFile);
- actionSpace(arena->spaceShot, action_saveShot, textFile);
- actionSpace(arena->spaceItem, action_saveItem, textFile);
-}
-
-void saveArena(char *filename, arena_t *arena)
-{
- textFile_t *textFile;
- char path[STR_PATH_SIZE];
-
- sprintf(path, "%s/%s.sav", getHomeDirector(), filename);
-#ifdef DEBUG
- printf(_("Saving game to: \"%s\"\n"), path);
-#endif
- textFile = newTextFile(path);
-
- if( textFile != NULL )
- {
- saveContextArenaToTextFile(textFile, arena);
- saveTextFile(textFile);
- destroyTextFile(textFile);
- }
- else
- {
- fprintf(stderr, _("I was unable to save: \"%s\"\n"), path);
- }
-}
-
-static arena_t* loadArenaFromLine(char *line)
-{
- char cmd[STR_SIZE];
- char name[STR_SIZE];
- int countRound;
- int max_countRound;
- arena_t *arena;
-
- sscanf(line, "%s %s %d %d", cmd, name, &countRound, &max_countRound);
-
- setWorldArena( getArenaFileFormNetName(name) );
-
- arena = getCurrentArena();
- arena->max_countRound = max_countRound;
- arena->countRound = countRound;
-
- return arena;
-}
-
-static void loadTuxFromLine(char *line, arena_t *arena)
-{
- char cmd[STR_PROTO_SIZE];
- char name[STR_NAME_SIZE];
- int id, x, y, status, position, frame, score, control;
- int myGun, myBonus;
- int gun1, gun2, gun3, gun4, gun5, gun6, gun7;
- int time1, time2;
- tux_t *tux;
-
- sscanf(line, "%s %d %d %d %d %d %d %d %d %s %d %d %d %d %d %d %d %d %d %d %d",
- cmd, &id, &x, &y, &status, &position, &control, &frame, &score, name,
- &myGun, &myBonus, &gun1, &gun2, &gun3, &gun4, &gun5, &gun6, &gun7, &time1, &time2);
-
- tux = newTux();
- replaceTuxID(tux, id);
- addObjectToSpace(arena->spaceTux, tux);
-
- tux->control = control;
-
- if( tux->control == TUX_CONTROL_KEYBOARD_RIGHT )
- {
- setControlTux(tux, TUX_CONTROL_KEYBOARD_RIGHT);
- }
-
- if( tux->control == TUX_CONTROL_KEYBOARD_LEFT )
- {
- setControlTux(tux, TUX_CONTROL_KEYBOARD_LEFT);
- }
-
- if( tux->control == TUX_CONTROL_AI )
- {
- loadModule("libmodAI");
- setControlTux(tux, TUX_CONTROL_KEYBOARD_LEFT);
- }
-
- moveObjectInSpace(arena->spaceTux, tux, x, y);
- tux->status = status;
- tux->position = position;
- tux->frame = frame;
- tux->score = score;
- strcpy(tux->name, name);
- tux->gun = myGun;
- tux->bonus = myBonus;
- tux->shot[GUN_SIMPLE] = gun1;
- tux->shot[GUN_DUAL_SIMPLE] = gun2;
- tux->shot[GUN_SCATTER] = gun3;
- tux->shot[GUN_TOMMY] = gun4;
- tux->shot[GUN_LASSER] = gun5;
- tux->shot[GUN_MINE] = gun6;
- tux->shot[GUN_BOMBBALL] = gun7;
- tux->bonus_time = time1;
- tux->pickup_time = time2;
-}
-
-static void loadShotFromLine(char *line, arena_t *arena)
-{
- char cmd[STR_PROTO_SIZE];
- int x, y, px, py, position, gun, shot_id, author_id, isCanKillAuthor;
- shot_t *shot;
-
- sscanf(line, "%s %d %d %d %d %d %d %d %d %d",
- cmd, &shot_id, &x, &y, &px, &py, &position, &gun, &author_id, &isCanKillAuthor);
-
- shot = newShot(x, y, px, py, gun, author_id);
-
- replaceShotID(shot, shot_id);
- shot->isCanKillAuthor = isCanKillAuthor;
- shot->position = position;
-
- if( shot->gun == GUN_LASSER )
- {
- transformOnlyLasser(shot);
- }
-
- addObjectToSpace(arena->spaceShot, shot);
-}
-
-static void loadItemFromLine(char *line, arena_t *arena)
-{
- char cmd[STR_PROTO_SIZE];
- int id, type, x, y, count, frame, author_id, check_id;
- item_t *item;
-
- sscanf(line, "%s %d %d %d %d %d %d %d %d",
- cmd, &id, &type, &x, &y, &count, &frame, &author_id, &check_id);
-
- item = newItem(x, y, type, author_id);
-
- replaceItemID(item, id);
- item->count = count;
- item->frame = frame;
-
- addObjectToSpace(arena->spaceItem, item);
-}
-
-static arena_t* loadContextArenaFromTextFile(textFile_t *textFile)
-{
- arena_t *arena;
- int i;
-
- arena = NULL;
-
- for( i = 0 ; i < textFile->text->count ; i++ )
- {
- char *line;
-
- line = (char *)textFile->text->list[i];
-
- if( strncmp(line, "ARENA", 5) == 0 )
- {
- arena = loadArenaFromLine(line);
- }
-
- if( strncmp(line, "TUX", 3) == 0 )
- {
- loadTuxFromLine(line, arena);
- }
-
- if( strncmp(line, "SHOT", 4) == 0 )
- {
- loadShotFromLine(line, arena);
- }
-
- if( strncmp(line, "ITEM", 4) == 0 )
- {
- loadItemFromLine(line, arena);
- }
- }
-
- return arena;
-}
-
-void loadArena(char *filename)
-{
- textFile_t *textFile;
- char path[STR_PATH_SIZE];
-
- sprintf(path, "%s/%s", getHomeDirector(), filename);
-#ifdef DEBUG
- printf(_("Loadig game from file: \"%s\"\n"), path);
-#endif
- textFile = loadTextFile(path);
-
- if( textFile != NULL )
- {
- loadContextArenaFromTextFile(textFile);
- destroyTextFile(textFile);
- }
- else
- {
- fprintf(stderr, _("Unable to load save: \"%s\"\n"), path);
- }
-}
diff --git a/src/client/screen.c b/src/client/screen.c
index 903e431..db08260 100644
--- a/src/client/screen.c
+++ b/src/client/screen.c
@@ -19,182 +19,175 @@ static list_t *listScreen;
static bool_t isScreenInit = FALSE;
-bool_t
-isScreenInicialized()
+bool_t isScreenInicialized()
{
- return isScreenInit;
+ return isScreenInit;
}
-screen_t *
-newScreen(char *name,
- void (*fce_start) (), void (*fce_event) (),
- void (*fce_draw) (), void (*fce_stop) ())
+screen_t* newScreen(char *name,
+ void (*fce_start)(), void (*fce_event)(),
+ void (*fce_draw)(), void (*fce_stop)())
{
- screen_t *new;
-
- assert(name != NULL);
- assert(fce_start != NULL);
- assert(fce_event != NULL);
- assert(fce_draw != NULL);
- assert(fce_stop != NULL);
-
- new = malloc(sizeof(screen_t));
- new->name = strdup(name);
- new->fce_start = fce_start;
- new->fce_event = fce_event;
- new->fce_draw = fce_draw;
- new->fce_stop = fce_stop;
-
- return new;
+ screen_t *new;
+
+ assert( name != NULL );
+ assert( fce_start != NULL );
+ assert( fce_event != NULL );
+ assert( fce_draw != NULL );
+ assert( fce_stop != NULL );
+
+ new = malloc( sizeof(screen_t) );
+ new->name = strdup(name);
+ new->fce_start = fce_start;
+ new->fce_event = fce_event;
+ new->fce_draw = fce_draw;
+ new->fce_stop = fce_stop;
+
+ return new;
}
-void
-destroyScreen(screen_t * p)
+void destroyScreen(screen_t *p)
{
- assert(p != NULL);
+ assert( p != NULL );
- free(p->name);
- free(p);
+ free(p->name);
+ free(p);
}
-void
-registerScreen(screen_t * p)
+void registerScreen(screen_t *p)
{
- assert(p != NULL);
+ assert( p != NULL );
#ifdef DEBUG
- printf(_("Registering screen: \"%s\"\n"), p->name);
+ printf(_("Registering screen: \"%s\"\n"), p->name);
#endif
- addList(listScreen, p);
+ addList(listScreen, p);
}
-void
-initScreen()
+void initScreen()
{
- listScreen = newList();
+ listScreen = newList();
- currentScreen = NULL;
- futureScreen = NULL;
+ currentScreen = NULL;
+ futureScreen = NULL;
- isScreenInit = TRUE;
+ isScreenInit = TRUE;
}
-static screen_t *
-findScreen(char *name)
+static screen_t* findScreen(char *name)
{
- screen_t *this;
- int i;
+ screen_t *this;
+ int i;
- for (i = 0; i < listScreen->count; i++) {
- this = (screen_t *) (listScreen->list[i]);
- assert(this != NULL);
+ for( i = 0 ; i < listScreen->count ; i++ )
+ {
+ this = (screen_t *) (listScreen->list[i]);
+ assert( this != NULL );
- if (strcmp(name, this->name) == 0) {
- return this;
- }
- }
+ if( strcmp(name, this->name) == 0 )
+ {
+ return this;
+ }
+ }
- return NULL;
+ return NULL;
}
-void
-setScreen(char *name)
+void setScreen(char *name)
{
- futureScreen = findScreen(name);
- assert(futureScreen != NULL);
+ futureScreen = findScreen(name);
+ assert( futureScreen != NULL );
}
-void
-switchScreen()
+void switchScreen()
{
- if (futureScreen == NULL) {
- return;
- }
+ if( futureScreen == NULL )
+ {
+ return;
+ }
- flushLayer();
+ flushLayer();
- if (currentScreen != NULL) {
+ if( currentScreen != NULL )
+ {
#ifdef DEBUG
- printf(_("Stopping screen:\" %s\"\n"), currentScreen->name);
+ printf(_("Stopping screen:\" %s\"\n"), currentScreen->name);
#endif
- currentScreen->fce_stop();
- }
+ currentScreen->fce_stop();
+ }
- currentScreen = futureScreen;
- futureScreen = NULL;
+ currentScreen = futureScreen;
+ futureScreen = NULL;
- //printf("switch screen %s..\n", currentScreen->name);
+ //printf("switch screen %s..\n", currentScreen->name);
#ifdef DEBUG
- printf(_("Starting screen: \"%s\"\n"), currentScreen->name);
+ printf(_("Starting screen: \"%s\"\n"), currentScreen->name);
#endif
- currentScreen->fce_start();
+ currentScreen->fce_start();
}
-void
-startScreen(char *name)
+void startScreen(char *name)
{
- setScreen(name);
- switchScreen();
+ setScreen(name);
+ switchScreen();
}
-char *
-getScreen()
+char* getScreen()
{
- assert(currentScreen != NULL);
- return currentScreen->name;
+ assert( currentScreen != NULL );
+ return currentScreen->name;
}
-void
-drawScreen()
+void drawScreen()
{
- static int count = 0;
-
- count++;
-
- if (count == 1) {
- count = 0;
-
- assert(currentScreen != NULL);
-
-#ifdef DEBUG_TIME_DRAW
- my_time_t prev;
-
- prev = getMyTimeMicro();
-#endif
-
- currentScreen->fce_draw();
-
- interfaceRefresh();
-
-#ifdef DEBUG_TIME_DRAW
- printf("c draw time = %d\n", getMyTimeMicro() - prev);
-#endif
- }
+ static int count = 0;
+
+ count++;
+
+ if( count == 1 )
+ {
+ count = 0;
+
+ assert( currentScreen != NULL );
+
+ #ifdef DEBUG_TIME_DRAW
+ my_time_t prev;
+
+ prev = getMyTimeMicro();
+ #endif
+
+ currentScreen->fce_draw();
+
+ interfaceRefresh();
+
+ #ifdef DEBUG_TIME_DRAW
+ printf("c draw time = %d\n", getMyTimeMicro() - prev );
+ #endif
+ }
}
-void
-eventScreen()
+void eventScreen()
{
- assert(currentScreen != NULL);
+ assert( currentScreen != NULL );
#ifdef DEBUG_TIME_EVENT
- my_time_t prev;
+ my_time_t prev;
- prev = getMyTimeMicro();
+ prev = getMyTimeMicro();
#endif
- currentScreen->fce_event();
+ currentScreen->fce_event();
#ifdef DEBUG_TIME_EVENT
- printf("c event time = %d\n", getMyTimeMicro() - prev);
+ printf("c event time = %d\n", getMyTimeMicro() - prev );
#endif
}
-void
-quitScreen()
+void quitScreen()
{
- assert(listScreen != NULL);
+ assert( listScreen != NULL );
- destroyListItem(listScreen, destroyScreen);
- isScreenInit = FALSE;
+ destroyListItem(listScreen, destroyScreen);
+ isScreenInit = FALSE;
}
+
diff --git a/src/client/screen.c~ b/src/client/screen.c~
deleted file mode 100644
index db08260..0000000
--- a/src/client/screen.c~
+++ /dev/null
@@ -1,193 +0,0 @@
-
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-
-#include "interface.h"
-#include "screen.h"
-#include "layer.h"
-#include "myTimer.h"
-
-//#define DEBUG_TIME_DRAW
-
-static screen_t *currentScreen;
-static screen_t *futureScreen;
-
-static list_t *listScreen;
-
-static bool_t isScreenInit = FALSE;
-
-bool_t isScreenInicialized()
-{
- return isScreenInit;
-}
-
-screen_t* newScreen(char *name,
- void (*fce_start)(), void (*fce_event)(),
- void (*fce_draw)(), void (*fce_stop)())
-{
- screen_t *new;
-
- assert( name != NULL );
- assert( fce_start != NULL );
- assert( fce_event != NULL );
- assert( fce_draw != NULL );
- assert( fce_stop != NULL );
-
- new = malloc( sizeof(screen_t) );
- new->name = strdup(name);
- new->fce_start = fce_start;
- new->fce_event = fce_event;
- new->fce_draw = fce_draw;
- new->fce_stop = fce_stop;
-
- return new;
-}
-
-void destroyScreen(screen_t *p)
-{
- assert( p != NULL );
-
- free(p->name);
- free(p);
-}
-
-void registerScreen(screen_t *p)
-{
- assert( p != NULL );
-#ifdef DEBUG
- printf(_("Registering screen: \"%s\"\n"), p->name);
-#endif
- addList(listScreen, p);
-}
-
-void initScreen()
-{
- listScreen = newList();
-
- currentScreen = NULL;
- futureScreen = NULL;
-
- isScreenInit = TRUE;
-}
-
-static screen_t* findScreen(char *name)
-{
- screen_t *this;
- int i;
-
- for( i = 0 ; i < listScreen->count ; i++ )
- {
- this = (screen_t *) (listScreen->list[i]);
- assert( this != NULL );
-
- if( strcmp(name, this->name) == 0 )
- {
- return this;
- }
- }
-
- return NULL;
-}
-
-void setScreen(char *name)
-{
- futureScreen = findScreen(name);
- assert( futureScreen != NULL );
-}
-
-void switchScreen()
-{
- if( futureScreen == NULL )
- {
- return;
- }
-
- flushLayer();
-
- if( currentScreen != NULL )
- {
-#ifdef DEBUG
- printf(_("Stopping screen:\" %s\"\n"), currentScreen->name);
-#endif
- currentScreen->fce_stop();
- }
-
- currentScreen = futureScreen;
- futureScreen = NULL;
-
- //printf("switch screen %s..\n", currentScreen->name);
-#ifdef DEBUG
- printf(_("Starting screen: \"%s\"\n"), currentScreen->name);
-#endif
- currentScreen->fce_start();
-}
-
-void startScreen(char *name)
-{
- setScreen(name);
- switchScreen();
-}
-
-char* getScreen()
-{
- assert( currentScreen != NULL );
- return currentScreen->name;
-}
-
-void drawScreen()
-{
- static int count = 0;
-
- count++;
-
- if( count == 1 )
- {
- count = 0;
-
- assert( currentScreen != NULL );
-
- #ifdef DEBUG_TIME_DRAW
- my_time_t prev;
-
- prev = getMyTimeMicro();
- #endif
-
- currentScreen->fce_draw();
-
- interfaceRefresh();
-
- #ifdef DEBUG_TIME_DRAW
- printf("c draw time = %d\n", getMyTimeMicro() - prev );
- #endif
- }
-}
-
-
-void eventScreen()
-{
- assert( currentScreen != NULL );
-
-#ifdef DEBUG_TIME_EVENT
- my_time_t prev;
-
- prev = getMyTimeMicro();
-#endif
-
- currentScreen->fce_event();
-
-#ifdef DEBUG_TIME_EVENT
- printf("c event time = %d\n", getMyTimeMicro() - prev );
-#endif
-}
-
-void quitScreen()
-{
- assert( listScreen != NULL );
-
- destroyListItem(listScreen, destroyScreen);
- isScreenInit = FALSE;
-}
-
diff --git a/src/client/term.c b/src/client/term.c
index 7619900..6cad4d4 100644
--- a/src/client/term.c
+++ b/src/client/term.c
@@ -18,151 +18,139 @@ static bool_t activeTerm;
static my_time_t lastActive;
static my_time_t lastRefresh;
-void
-initTerm()
+void initTerm()
{
- listText = newList();
+ listText = newList();
- activeTerm = FALSE;
- lastActive = getMyTime();
- lastRefresh = lastActive;
+ activeTerm = FALSE;
+ lastActive = getMyTime();
+ lastRefresh = lastActive;
}
-static char *
-getStrGun(int gun)
+static char* getStrGun(int gun)
{
- switch (gun) {
- case GUN_SIMPLE:
- return "revolver";
- case GUN_DUAL_SIMPLE:
- return "dual revolver";
- case GUN_SCATTER:
- return "scatter";
- case GUN_TOMMY:
- return "tommy";
- case GUN_LASSER:
- return "lasser";
- case GUN_MINE:
- return "mine";
- case GUN_BOMBBALL:
- return "bombball";
- default:
- return "none";
- }
-
- return "gun_unknow";
+ switch( gun )
+ {
+ case GUN_SIMPLE : return "revolver";
+ case GUN_DUAL_SIMPLE : return "dual revolver";
+ case GUN_SCATTER : return "scatter";
+ case GUN_TOMMY : return "tommy";
+ case GUN_LASSER : return "lasser";
+ case GUN_MINE : return "mine";
+ case GUN_BOMBBALL : return "bombball";
+ default : return "none";
+ }
+
+ return "gun_unknow";
}
-static char *
-getStrBonus(int bonus)
+static char* getStrBonus(int bonus)
{
- switch (bonus) {
- case BONUS_SPEED:
- return "speed";
- case BONUS_SHOT:
- return "shot";
- case BONUS_TELEPORT:
- return "teleport";
- case BONUS_GHOST:
- return "ghost";
- case BONUS_4X:
- return "4X";
- case BONUS_HIDDEN:
- return "hidden";
- default:
- return "none";
- }
-
- return "bonus_unknow";
+ switch( bonus )
+ {
+ case BONUS_SPEED : return "speed";
+ case BONUS_SHOT : return "shot";
+ case BONUS_TELEPORT : return "teleport";
+ case BONUS_GHOST : return "ghost";
+ case BONUS_4X : return "4X";
+ case BONUS_HIDDEN : return "hidden";
+ default : return "none";
+ }
+
+ return "bonus_unknow";
}
-static void
-action_refreshTerm(space_t * space, tux_t * tux, void *p)
+static void action_refreshTerm(space_t *space, tux_t *tux, void *p)
{
- char str[STR_SIZE];
-
- sprintf(str,
- "name: %s "
- "score: %d "
- "gun: %s "
- "shot: %d "
- "bonus: %s",
- tux->name, tux->score,
- getStrGun(tux->gun), tux->shot[tux->gun], getStrBonus(tux->bonus)
- );
-
- addList(listText, strdup(str));
+ char str[STR_SIZE];
+
+ sprintf(str,
+ "name: %s "
+ "score: %d "
+ "gun: %s "
+ "shot: %d "
+ "bonus: %s",
+
+ tux->name, tux->score,
+ getStrGun(tux->gun),
+ tux->shot[tux->gun],
+ getStrBonus(tux->bonus)
+ );
+
+ addList(listText, strdup(str) );
}
-static void
-refreshTerm()
+static void refreshTerm()
{
- arena_t *arena;
+ arena_t *arena;
- arena = getCurrentArena();
+ arena = getCurrentArena();
- destroyListItem(listText, free);
- listText = newList();
+ destroyListItem(listText, free);
+ listText = newList();
- actionSpace(arena->spaceTux, action_refreshTerm, NULL);
+ actionSpace(arena->spaceTux, action_refreshTerm, NULL);
- //printf("refresh term..\n");
+ //printf("refresh term..\n");
}
-void
-drawTerm()
+void drawTerm()
{
- int i;
+ int i;
- if (activeTerm == FALSE) {
- return;
- }
+ if( activeTerm == FALSE )
+ {
+ return;
+ }
- for (i = 0; i < listText->count; i++) {
- char *line;
+ for( i = 0 ; i < listText->count ; i++ )
+ {
+ char *line;
- line = (char *) listText->list[i];
- drawFont(line, 10, 10 + i * 20, COLOR_WHITE);
- }
+ line = (char *) listText->list[i];
+ drawFont(line, 10, 10 + i*20, COLOR_WHITE);
+ }
}
-static void
-switchTerm()
+static void switchTerm()
{
- if (activeTerm == TRUE) {
- activeTerm = FALSE;
- }
- else {
- activeTerm = TRUE;
- }
+ if( activeTerm == TRUE )
+ {
+ activeTerm = FALSE;
+ }
+ else
+ {
+ activeTerm = TRUE;
+ }
}
-void
-eventTerm()
+void eventTerm()
{
- my_time_t currentTime;
- Uint8 *mapa;
-
- mapa = SDL_GetKeyState(NULL);
-
- currentTime = getMyTime();
-
- if (currentTime - lastRefresh > TERM_REFRESH_TIME_INTERVAL) {
- lastRefresh = currentTime;
- refreshTerm();
- }
-
- if (mapa[SDLK_TAB] == SDL_PRESSED) {
- if (currentTime - lastActive > TERM_ACTIVE_TIME_INTERVAL) {
- lastActive = currentTime;
- switchTerm();
- }
- }
+ my_time_t currentTime;
+ Uint8 *mapa;
+
+ mapa = SDL_GetKeyState(NULL);
+
+ currentTime = getMyTime();
+
+ if( currentTime - lastRefresh > TERM_REFRESH_TIME_INTERVAL )
+ {
+ lastRefresh = currentTime;
+ refreshTerm();
+ }
+
+ if( mapa[SDLK_TAB] == SDL_PRESSED )
+ {
+ if( currentTime - lastActive > TERM_ACTIVE_TIME_INTERVAL )
+ {
+ lastActive = currentTime;
+ switchTerm();
+ }
+ }
}
-void
-quitTerm()
+void quitTerm()
{
- assert(listText != NULL);
- destroyListItem(listText, free);
+ assert( listText != NULL );
+ destroyListItem(listText, free);
}
diff --git a/src/client/term.c~ b/src/client/term.c~
deleted file mode 100644
index 6cad4d4..0000000
--- a/src/client/term.c~
+++ /dev/null
@@ -1,156 +0,0 @@
-
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "myTimer.h"
-#include "tux.h"
-#include "space.h"
-#include "arena.h"
-
-#include "interface.h"
-#include "term.h"
-#include "font.h"
-
-static list_t *listText;
-static bool_t activeTerm;
-static my_time_t lastActive;
-static my_time_t lastRefresh;
-
-void initTerm()
-{
- listText = newList();
-
- activeTerm = FALSE;
- lastActive = getMyTime();
- lastRefresh = lastActive;
-}
-
-static char* getStrGun(int gun)
-{
- switch( gun )
- {
- case GUN_SIMPLE : return "revolver";
- case GUN_DUAL_SIMPLE : return "dual revolver";
- case GUN_SCATTER : return "scatter";
- case GUN_TOMMY : return "tommy";
- case GUN_LASSER : return "lasser";
- case GUN_MINE : return "mine";
- case GUN_BOMBBALL : return "bombball";
- default : return "none";
- }
-
- return "gun_unknow";
-}
-
-static char* getStrBonus(int bonus)
-{
- switch( bonus )
- {
- case BONUS_SPEED : return "speed";
- case BONUS_SHOT : return "shot";
- case BONUS_TELEPORT : return "teleport";
- case BONUS_GHOST : return "ghost";
- case BONUS_4X : return "4X";
- case BONUS_HIDDEN : return "hidden";
- default : return "none";
- }
-
- return "bonus_unknow";
-}
-
-static void action_refreshTerm(space_t *space, tux_t *tux, void *p)
-{
- char str[STR_SIZE];
-
- sprintf(str,
- "name: %s "
- "score: %d "
- "gun: %s "
- "shot: %d "
- "bonus: %s",
-
- tux->name, tux->score,
- getStrGun(tux->gun),
- tux->shot[tux->gun],
- getStrBonus(tux->bonus)
- );
-
- addList(listText, strdup(str) );
-}
-
-static void refreshTerm()
-{
- arena_t *arena;
-
- arena = getCurrentArena();
-
- destroyListItem(listText, free);
- listText = newList();
-
- actionSpace(arena->spaceTux, action_refreshTerm, NULL);
-
- //printf("refresh term..\n");
-}
-
-void drawTerm()
-{
- int i;
-
- if( activeTerm == FALSE )
- {
- return;
- }
-
- for( i = 0 ; i < listText->count ; i++ )
- {
- char *line;
-
- line = (char *) listText->list[i];
- drawFont(line, 10, 10 + i*20, COLOR_WHITE);
- }
-}
-
-static void switchTerm()
-{
- if( activeTerm == TRUE )
- {
- activeTerm = FALSE;
- }
- else
- {
- activeTerm = TRUE;
- }
-}
-
-void eventTerm()
-{
- my_time_t currentTime;
- Uint8 *mapa;
-
- mapa = SDL_GetKeyState(NULL);
-
- currentTime = getMyTime();
-
- if( currentTime - lastRefresh > TERM_REFRESH_TIME_INTERVAL )
- {
- lastRefresh = currentTime;
- refreshTerm();
- }
-
- if( mapa[SDLK_TAB] == SDL_PRESSED )
- {
- if( currentTime - lastActive > TERM_ACTIVE_TIME_INTERVAL )
- {
- lastActive = currentTime;
- switchTerm();
- }
- }
-}
-
-void quitTerm()
-{
- assert( listText != NULL );
- destroyListItem(listText, free);
-}
diff --git a/src/downserver/downServer.c b/src/downserver/downServer.c
index 3402dab..ae1c314 100644
--- a/src/downserver/downServer.c
+++ b/src/downserver/downServer.c
@@ -34,329 +34,343 @@ static textFile_t *configFile;
typedef struct
{
- int status;
+ int status;
- FILE *file;
- int fileSize;
- int fileOffset;
+ FILE *file;
+ int fileSize;
+ int fileOffset;
- sock_tcp_t *socket;
- buffer_t *recvBuffer;
- buffer_t *sendBuffer;
+ sock_tcp_t *socket;
+ buffer_t *recvBuffer;
+ buffer_t *sendBuffer;
} client_t;
-static client_t *
-newClient(sock_tcp_t * sock)
+static client_t* newClient(sock_tcp_t *sock)
{
- client_t *new;
+ client_t *new;
- new = malloc(sizeof(client_t));
- new->socket = sock;
- new->status = NET_STATUS_OK;
- new->file = NULL;
- new->recvBuffer = newBuffer(CLIENT_LIMIT_BUFFER);
- new->sendBuffer = newBuffer(CLIENT_LIMIT_BUFFER);
+ new = malloc( sizeof(client_t) );
+ new->socket = sock;
+ new->status = NET_STATUS_OK;
+ new->file = NULL;
+ new->recvBuffer = newBuffer(CLIENT_LIMIT_BUFFER);
+ new->sendBuffer = newBuffer(CLIENT_LIMIT_BUFFER);
- return new;
+ return new;
}
-static void
-destroyClient(client_t * client)
+static void destroyClient(client_t *client)
{
- if (client->file != NULL)
- fclose(client->file);
- closeTcpSocket(client->socket);
- destroyBuffer(client->recvBuffer);
- destroyBuffer(client->sendBuffer);
- free(client);
+ if( client->file != NULL )fclose(client->file);
+ closeTcpSocket(client->socket);
+ destroyBuffer(client->recvBuffer);
+ destroyBuffer(client->sendBuffer);
+ free(client);
}
-int
-getFileSize(char *s)
+int getFileSize(char *s)
{
- struct stat buf;
+ struct stat buf;
- if (lstat(s, &buf) < 0) {
- return -1;
- }
+ if( lstat(s, &buf) < 0 )
+ {
+ return -1;
+ }
- return buf.st_size;
+ return buf.st_size;
}
-static char *
-getFileFromArenaNetName(char *s)
+static char* getFileFromArenaNetName(char *s)
{
- int i;
+ int i;
- for (i = 0; i < configFile->text->count; i++) {
- char path[STR_PATH_SIZE];
- char arena[STR_ARENA_NET_NAME_SIZE];
- char *line;
- int len;
+ for( i = 0 ; i < configFile->text->count ; i++ )
+ {
+ char path[STR_PATH_SIZE];
+ char arena[STR_ARENA_NET_NAME_SIZE];
+ char *line;
+ int len;
- line = configFile->text->list[i];
+ line = configFile->text->list[i];
- sscanf(line, "%s %s", path, arena);
- len = strlen(arena);
+ sscanf(line, "%s %s", path, arena);
+ len = strlen(arena);
- if (strncmp(arena, s, len) == 0) {
- return strdup(path);
- }
- }
+ if( strncmp(arena, s, len) == 0 )
+ {
+ return strdup(path);
+ }
+ }
- return NULL;
+ return NULL;
}
-static void
-proto_getarena(client_t * client, char *msg)
+static void proto_getarena(client_t *client, char *msg)
{
- char msg_out[PROTO_SIZE];
- char *path;
-
- path = getFileFromArenaNetName(msg);
-
- if (path != NULL) {
- client->file = fopen(path, "rb");
- client->fileSize = getFileSize(path);
- client->fileOffset = 0;
- free(path);
-
- if (client->file == NULL || client->fileSize < 0) {
- client->file = NULL;
- client->fileSize = 0;
- sprintf(msg_out, "ERR server has a problem !\n");
- }
- else {
- sprintf(msg_out, "OK %d\n", client->fileSize);
- }
- }
- else {
- sprintf(msg_out, "ERR arena not found\n");
- }
-
- addBuffer(client->sendBuffer, msg_out, strlen(msg_out));
+ char msg_out[PROTO_SIZE];
+ char *path;
+
+ path = getFileFromArenaNetName(msg);
+
+ if( path != NULL )
+ {
+ client->file = fopen(path, "rb");
+ client->fileSize = getFileSize(path);
+ client->fileOffset = 0;
+ free(path);
+
+ if( client->file == NULL || client->fileSize < 0 )
+ {
+ client->file = NULL;
+ client->fileSize = 0;
+ sprintf(msg_out, "ERR server has a problem !\n");
+ }
+ else
+ {
+ sprintf(msg_out, "OK %d\n", client->fileSize);
+ }
+ }
+ else
+ {
+ sprintf(msg_out, "ERR arena not found\n");
+ }
+
+ addBuffer(client->sendBuffer, msg_out, strlen(msg_out));
}
-static void
-doProto(client_t * client, char *msg)
+static void doProto(client_t *client, char *msg)
{
- printf("hmm msg = %s\n", msg);
+ printf("hmm msg = %s\n", msg);
- if (strncmp(msg, "GETARENA", 8) == 0 && client->file == NULL) {
- proto_getarena(client, msg + 9);
- }
+ if( strncmp(msg, "GETARENA", 8) == 0 && client->file == NULL )
+ {
+ proto_getarena(client, msg+9);
+ }
}
-static int
-initDownServer(char *ip, int port)
+static int initDownServer(char *ip, int port)
{
- sock_server_tcp = bindTcpSocket(ip, port, PROTO_TCPv4);
+ sock_server_tcp = bindTcpSocket(ip, port, PROTO_TCPv4);
- listClient = newList();
+ listClient = newList();
- configFile = loadTextFile("arena.conf");
+ configFile = loadTextFile("arena.conf");
- return 0;
+ return 0;
}
-static void
-eventNewClient(sock_tcp_t * server_sock)
+static void eventNewClient(sock_tcp_t *server_sock)
{
- sock_tcp_t *sock;
- client_t *client;
+ sock_tcp_t *sock;
+ client_t *client;
- sock = getTcpNewClient(server_sock);
- setTcpSockNonBlock(sock);
+ sock = getTcpNewClient(server_sock);
+ setTcpSockNonBlock(sock);
- client = newClient(sock);
- addList(listClient, client);
+ client = newClient(sock);
+ addList(listClient, client);
}
-static void
-eventRecvClient(client_t * client)
+static void eventRecvClient(client_t *client)
{
- char buffer[BUFFER_SIZE];
- char line[PROTO_SIZE];
- int ret;
-
- memset(buffer, 0, BUFFER_SIZE);
-
- ret = readTcpSocket(client->socket, buffer, BUFFER_SIZE - 1);
- //printf("readTcpSocket = %d\n", ret);
-
- if (ret <= 0) {
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
-
- if (addBuffer(client->recvBuffer, buffer, ret) < 0) {
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
-
- while (getBufferLine(client->recvBuffer, line, PROTO_SIZE) >= 0) {
- doProto(client, line);
- }
+ char buffer[BUFFER_SIZE];
+ char line[PROTO_SIZE];
+ int ret;
+
+ memset(buffer, 0, BUFFER_SIZE);
+
+ ret = readTcpSocket(client->socket, buffer, BUFFER_SIZE-1);
+ //printf("readTcpSocket = %d\n", ret);
+
+ if( ret <= 0 )
+ {
+ client->status = NET_STATUS_ZOMBIE;
+ return;
+ }
+
+ if( addBuffer(client->recvBuffer, buffer, ret) < 0 )
+ {
+ client->status = NET_STATUS_ZOMBIE;
+ return;
+ }
+
+ while( getBufferLine(client->recvBuffer, line, PROTO_SIZE) >= 0 )
+ {
+ doProto(client, line);
+ }
}
-static void
-eventSendClient(client_t * client)
+static void eventSendClient(client_t *client)
{
- void *data;
- int len;
- int res;
+ void *data;
+ int len;
+ int res;
- len = getBufferSize(client->sendBuffer);
+ len = getBufferSize(client->sendBuffer);
- if (len == 0) {
- return;
- }
+ if( len == 0 )
+ {
+ return;
+ }
- data = getBufferData(client->sendBuffer);
+ data = getBufferData(client->sendBuffer);
- res = writeTcpSocket(client->socket, data, len);
- //printf("send = %d\n", res);
- //printf("writeTcpSocket = %d\n", res);
+ res = writeTcpSocket(client->socket, data, len);
+ //printf("send = %d\n", res);
+ //printf("writeTcpSocket = %d\n", res);
- if (res < 0) {
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
+ if( res < 0 )
+ {
+ client->status = NET_STATUS_ZOMBIE;
+ return;
+ }
- cutBuffer(client->sendBuffer, res);
+ cutBuffer(client->sendBuffer, res);
}
-static void
-eventClient(client_t * client)
+static void eventClient(client_t *client)
{
- if (client->file != NULL && getBufferSize(client->sendBuffer) == 0) {
- char buffer[BUFFER_SEND_FILE_SIZE];
- int count;
- int ret;
-
- count = client->fileSize - client->fileOffset;
-
- if (count > BUFFER_SEND_FILE_SIZE) {
- count = BUFFER_SEND_FILE_SIZE;
- }
-
- ret = fread(buffer, count, 1, client->file);
- //printf("read = %d\n", count);
-
- if (ret == 1) {
- if (addBuffer(client->sendBuffer, buffer, count) < 0) {
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
-
- client->fileOffset += count;
- }
- else {
- client->status = NET_STATUS_ZOMBIE;
- }
- }
+ if( client->file != NULL && getBufferSize(client->sendBuffer) == 0 )
+ {
+ char buffer[BUFFER_SEND_FILE_SIZE];
+ int count;
+ int ret;
+
+ count = client->fileSize - client->fileOffset;
+
+ if( count > BUFFER_SEND_FILE_SIZE )
+ {
+ count = BUFFER_SEND_FILE_SIZE;
+ }
+
+ ret = fread(buffer, count, 1, client->file);
+ //printf("read = %d\n", count);
+
+ if( ret == 1 )
+ {
+ if( addBuffer(client->sendBuffer, buffer, count) < 0 )
+ {
+ client->status = NET_STATUS_ZOMBIE;
+ return;
+ }
+
+ client->fileOffset += count;
+ }
+ else
+ {
+ client->status = NET_STATUS_ZOMBIE;
+ }
+ }
}
-void
-startDownServer()
+void startDownServer()
{
- struct timeval tv;
- fd_set readfds;
- fd_set writefds;
- int max_fd;
- int ret;
- int i;
-
- tv.tv_sec = 1;
- tv.tv_usec = 0;
- FD_ZERO(&readfds);
- FD_ZERO(&writefds);
-
- max_fd = sock_server_tcp->sock;
-
- FD_SET(sock_server_tcp->sock, &readfds);
-
- for (i = 0; i < listClient->count; i++) {
- client_t *client;
- int sock;
-
- client = (client_t *) listClient->list[i];
-
- if (client->status != NET_STATUS_ZOMBIE) {
- sock = client->socket->sock;
-
- if (sock > max_fd) {
- max_fd = sock;
- }
-
- FD_SET(sock, &readfds);
-
- if (getBufferSize(client->sendBuffer) > 0) {
- FD_SET(sock, &writefds);
- }
- }
- }
-
- ret = select(max_fd + 1, &readfds, &writefds, (fd_set *) NULL, &tv);
-
- if (ret > 0) {
- if (FD_ISSET(sock_server_tcp->sock, &readfds)) {
- eventNewClient(sock_server_tcp);
- }
-
- for (i = 0; i < listClient->count; i++) {
- client_t *client;
- int sock;
-
- client = (client_t *) listClient->list[i];
- sock = client->socket->sock;
-
- if (FD_ISSET(sock, &readfds)) {
- eventRecvClient(client);
- }
-
- if (FD_ISSET(sock, &writefds)) {
- eventSendClient(client);
- }
- }
- }
-
- for (i = 0; i < listClient->count; i++) {
- client_t *client;
-
- client = (client_t *) listClient->list[i];
-
- if (client->status == NET_STATUS_ZOMBIE) {
- delListItem(listClient, i, destroyClient);
- i--;
- continue;
- }
-
- eventClient(client);
- }
+ struct timeval tv;
+ fd_set readfds;
+ fd_set writefds;
+ int max_fd;
+ int ret;
+ int i;
+
+ tv.tv_sec = 1;
+ tv.tv_usec = 0;
+ FD_ZERO(&readfds);
+ FD_ZERO(&writefds);
+
+ max_fd = sock_server_tcp->sock;
+
+ FD_SET(sock_server_tcp->sock, &readfds);
+
+ for( i = 0 ; i < listClient->count ; i++ )
+ {
+ client_t *client;
+ int sock;
+
+ client = (client_t *)listClient->list[i];
+
+ if( client->status != NET_STATUS_ZOMBIE )
+ {
+ sock = client->socket->sock;
+
+ if( sock > max_fd )
+ {
+ max_fd = sock;
+ }
+
+ FD_SET(sock, &readfds);
+
+ if( getBufferSize(client->sendBuffer) > 0 )
+ {
+ FD_SET(sock, &writefds);
+ }
+ }
+ }
+
+ ret = select(max_fd+1, &readfds, &writefds, (fd_set *)NULL, &tv);
+
+ if( ret > 0 )
+ {
+ if( FD_ISSET(sock_server_tcp->sock, &readfds) )
+ {
+ eventNewClient(sock_server_tcp);
+ }
+
+ for( i = 0 ; i < listClient->count ; i++ )
+ {
+ client_t *client;
+ int sock;
+
+ client = (client_t *)listClient->list[i];
+ sock = client->socket->sock;
+
+ if( FD_ISSET(sock, &readfds) )
+ {
+ eventRecvClient(client);
+ }
+
+ if( FD_ISSET(sock, &writefds) )
+ {
+ eventSendClient(client);
+ }
+ }
+ }
+
+ for( i = 0 ; i < listClient->count ; i++ )
+ {
+ client_t *client;
+
+ client = (client_t *)listClient->list[i];
+
+ if( client->status == NET_STATUS_ZOMBIE )
+ {
+ delListItem(listClient, i, destroyClient);
+ i--;
+ continue;
+ }
+
+ eventClient(client);
+ }
}
-void
-quitDownServer()
+void quitDownServer()
{
- closeTcpSocket(sock_server_tcp);
- destroyListItem(listClient, destroyClient);
+ closeTcpSocket(sock_server_tcp);
+ destroyListItem(listClient, destroyClient);
}
-int
-isFillPath(const char *path)
+int isFillPath(const char *path)
{
- return 0;
+ return 0;
}
-int
-main(int argc, char **argv)
+int main(int argc, char **argv)
{
- signal(SIGPIPE, SIG_IGN);
+ signal(SIGPIPE, SIG_IGN);
- initDownServer("127.0.0.1", 2200);
+ initDownServer("127.0.0.1", 2200);
- while (1) {
- startDownServer();
- }
+ while(1)
+ {
+ startDownServer();
+ }
}
diff --git a/src/downserver/downServer.c~ b/src/downserver/downServer.c~
deleted file mode 100644
index ae1c314..0000000
--- a/src/downserver/downServer.c~
+++ /dev/null
@@ -1,376 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include <sys/types.h>
-
-#include <unistd.h>
-#include <fcntl.h>
-#include <signal.h>
-#include <sys/time.h>
-#include <sys/stat.h>
-
-#include "list.h"
-#include "tcp.h"
-#include "buffer.h"
-#include "textFile.h"
-
-#define CLIENT_LIMIT_BUFFER (4096+256)
-
-#define STR_PATH_SIZE 4096
-#define STR_ARENA_NET_NAME_SIZE 256
-#define BUFFER_SEND_FILE_SIZE 4096
-
-#define NET_STATUS_OK 0
-#define NET_STATUS_ZOMBIE 1
-
-#define BUFFER_SIZE 256
-#define PROTO_SIZE 256
-
-static sock_tcp_t *sock_server_tcp;
-static list_t *listClient;
-static textFile_t *configFile;
-
-typedef struct
-{
- int status;
-
- FILE *file;
- int fileSize;
- int fileOffset;
-
- sock_tcp_t *socket;
- buffer_t *recvBuffer;
- buffer_t *sendBuffer;
-} client_t;
-
-static client_t* newClient(sock_tcp_t *sock)
-{
- client_t *new;
-
- new = malloc( sizeof(client_t) );
- new->socket = sock;
- new->status = NET_STATUS_OK;
- new->file = NULL;
- new->recvBuffer = newBuffer(CLIENT_LIMIT_BUFFER);
- new->sendBuffer = newBuffer(CLIENT_LIMIT_BUFFER);
-
- return new;
-}
-
-static void destroyClient(client_t *client)
-{
- if( client->file != NULL )fclose(client->file);
- closeTcpSocket(client->socket);
- destroyBuffer(client->recvBuffer);
- destroyBuffer(client->sendBuffer);
- free(client);
-}
-
-int getFileSize(char *s)
-{
- struct stat buf;
-
- if( lstat(s, &buf) < 0 )
- {
- return -1;
- }
-
- return buf.st_size;
-}
-
-static char* getFileFromArenaNetName(char *s)
-{
- int i;
-
- for( i = 0 ; i < configFile->text->count ; i++ )
- {
- char path[STR_PATH_SIZE];
- char arena[STR_ARENA_NET_NAME_SIZE];
- char *line;
- int len;
-
- line = configFile->text->list[i];
-
- sscanf(line, "%s %s", path, arena);
- len = strlen(arena);
-
- if( strncmp(arena, s, len) == 0 )
- {
- return strdup(path);
- }
- }
-
- return NULL;
-}
-
-static void proto_getarena(client_t *client, char *msg)
-{
- char msg_out[PROTO_SIZE];
- char *path;
-
- path = getFileFromArenaNetName(msg);
-
- if( path != NULL )
- {
- client->file = fopen(path, "rb");
- client->fileSize = getFileSize(path);
- client->fileOffset = 0;
- free(path);
-
- if( client->file == NULL || client->fileSize < 0 )
- {
- client->file = NULL;
- client->fileSize = 0;
- sprintf(msg_out, "ERR server has a problem !\n");
- }
- else
- {
- sprintf(msg_out, "OK %d\n", client->fileSize);
- }
- }
- else
- {
- sprintf(msg_out, "ERR arena not found\n");
- }
-
- addBuffer(client->sendBuffer, msg_out, strlen(msg_out));
-}
-
-static void doProto(client_t *client, char *msg)
-{
- printf("hmm msg = %s\n", msg);
-
- if( strncmp(msg, "GETARENA", 8) == 0 && client->file == NULL )
- {
- proto_getarena(client, msg+9);
- }
-}
-
-static int initDownServer(char *ip, int port)
-{
- sock_server_tcp = bindTcpSocket(ip, port, PROTO_TCPv4);
-
- listClient = newList();
-
- configFile = loadTextFile("arena.conf");
-
- return 0;
-}
-
-static void eventNewClient(sock_tcp_t *server_sock)
-{
- sock_tcp_t *sock;
- client_t *client;
-
- sock = getTcpNewClient(server_sock);
- setTcpSockNonBlock(sock);
-
- client = newClient(sock);
- addList(listClient, client);
-}
-
-static void eventRecvClient(client_t *client)
-{
- char buffer[BUFFER_SIZE];
- char line[PROTO_SIZE];
- int ret;
-
- memset(buffer, 0, BUFFER_SIZE);
-
- ret = readTcpSocket(client->socket, buffer, BUFFER_SIZE-1);
- //printf("readTcpSocket = %d\n", ret);
-
- if( ret <= 0 )
- {
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
-
- if( addBuffer(client->recvBuffer, buffer, ret) < 0 )
- {
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
-
- while( getBufferLine(client->recvBuffer, line, PROTO_SIZE) >= 0 )
- {
- doProto(client, line);
- }
-}
-
-static void eventSendClient(client_t *client)
-{
- void *data;
- int len;
- int res;
-
- len = getBufferSize(client->sendBuffer);
-
- if( len == 0 )
- {
- return;
- }
-
- data = getBufferData(client->sendBuffer);
-
- res = writeTcpSocket(client->socket, data, len);
- //printf("send = %d\n", res);
- //printf("writeTcpSocket = %d\n", res);
-
- if( res < 0 )
- {
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
-
- cutBuffer(client->sendBuffer, res);
-}
-
-static void eventClient(client_t *client)
-{
- if( client->file != NULL && getBufferSize(client->sendBuffer) == 0 )
- {
- char buffer[BUFFER_SEND_FILE_SIZE];
- int count;
- int ret;
-
- count = client->fileSize - client->fileOffset;
-
- if( count > BUFFER_SEND_FILE_SIZE )
- {
- count = BUFFER_SEND_FILE_SIZE;
- }
-
- ret = fread(buffer, count, 1, client->file);
- //printf("read = %d\n", count);
-
- if( ret == 1 )
- {
- if( addBuffer(client->sendBuffer, buffer, count) < 0 )
- {
- client->status = NET_STATUS_ZOMBIE;
- return;
- }
-
- client->fileOffset += count;
- }
- else
- {
- client->status = NET_STATUS_ZOMBIE;
- }
- }
-}
-
-void startDownServer()
-{
- struct timeval tv;
- fd_set readfds;
- fd_set writefds;
- int max_fd;
- int ret;
- int i;
-
- tv.tv_sec = 1;
- tv.tv_usec = 0;
- FD_ZERO(&readfds);
- FD_ZERO(&writefds);
-
- max_fd = sock_server_tcp->sock;
-
- FD_SET(sock_server_tcp->sock, &readfds);
-
- for( i = 0 ; i < listClient->count ; i++ )
- {
- client_t *client;
- int sock;
-
- client = (client_t *)listClient->list[i];
-
- if( client->status != NET_STATUS_ZOMBIE )
- {
- sock = client->socket->sock;
-
- if( sock > max_fd )
- {
- max_fd = sock;
- }
-
- FD_SET(sock, &readfds);
-
- if( getBufferSize(client->sendBuffer) > 0 )
- {
- FD_SET(sock, &writefds);
- }
- }
- }
-
- ret = select(max_fd+1, &readfds, &writefds, (fd_set *)NULL, &tv);
-
- if( ret > 0 )
- {
- if( FD_ISSET(sock_server_tcp->sock, &readfds) )
- {
- eventNewClient(sock_server_tcp);
- }
-
- for( i = 0 ; i < listClient->count ; i++ )
- {
- client_t *client;
- int sock;
-
- client = (client_t *)listClient->list[i];
- sock = client->socket->sock;
-
- if( FD_ISSET(sock, &readfds) )
- {
- eventRecvClient(client);
- }
-
- if( FD_ISSET(sock, &writefds) )
- {
- eventSendClient(client);
- }
- }
- }
-
- for( i = 0 ; i < listClient->count ; i++ )
- {
- client_t *client;
-
- client = (client_t *)listClient->list[i];
-
- if( client->status == NET_STATUS_ZOMBIE )
- {
- delListItem(listClient, i, destroyClient);
- i--;
- continue;
- }
-
- eventClient(client);
- }
-}
-
-void quitDownServer()
-{
- closeTcpSocket(sock_server_tcp);
- destroyListItem(listClient, destroyClient);
-}
-
-int isFillPath(const char *path)
-{
- return 0;
-}
-
-int main(int argc, char **argv)
-{
- signal(SIGPIPE, SIG_IGN);
-
- initDownServer("127.0.0.1", 2200);
-
- while(1)
- {
- startDownServer();
- }
-}
diff --git a/src/modules/modAI.c b/src/modules/modAI.c
index d758813..372e8cb 100755
--- a/src/modules/modAI.c
+++ b/src/modules/modAI.c
@@ -13,319 +13,326 @@
#include "space.h"
#ifndef PUBLIC_SERVER
-#include "interface.h"
-#include "image.h"
+ #include "interface.h"
+ #include "image.h"
#else
-#include "publicServer.h"
+ #include "publicServer.h"
#endif
static export_fce_t *export_fce;
typedef struct alternative_struct
{
- int first;
- int route;
- int step;
- int x, y;
+ int first;
+ int route;
+ int step;
+ int x, y;
} alternative_t;
-alternative_t *
-newAlternative(int route, int x, int y)
+alternative_t* newAlternative(int route, int x, int y)
{
- alternative_t *new;
+ alternative_t *new;
- new = malloc(sizeof(alternative_t));
- new->first = route;
- new->route = route;
- new->x = x;
- new->y = y;
- new->step = 0;
+ new = malloc( sizeof(alternative_t) );
+ new->first = route;
+ new->route = route;
+ new->x = x;
+ new->y = y;
+ new->step = 0;
- return new;
+ return new;
}
-alternative_t *
-cloneAlternative(alternative_t * p, int route, int x, int y)
+alternative_t* cloneAlternative(alternative_t *p, int route, int x, int y)
{
- alternative_t *new;
+ alternative_t *new;
- assert(p != NULL);
+ assert( p != NULL );
+
+ new = newAlternative(route, p->x, p->y);
+ new->first = p->first;
+ new->step = p->step;
- new = newAlternative(route, p->x, p->y);
- new->first = p->first;
- new->step = p->step;
-
- return new;
+ return new;
}
-void
-forkAlternative(list_t * list, alternative_t * p, int w, int h)
+void forkAlternative(list_t *list, alternative_t *p, int w, int h)
{
- int x, y;
-
- assert(list != NULL);
- assert(p != NULL);
-
- x = p->x;
- y = p->y;
-
- switch (p->route) {
- case TUX_UP:
- addList(list, cloneAlternative(p, TUX_RIGHT, x + (w + 5), y));
- addList(list, cloneAlternative(p, TUX_LEFT, x - (w + 5), y));
- break;
- case TUX_RIGHT:
- addList(list, cloneAlternative(p, TUX_UP, x, y - (h + 5)));
- addList(list, cloneAlternative(p, TUX_DOWN, x, y + (h + 5)));
- break;
- case TUX_LEFT:
- addList(list, cloneAlternative(p, TUX_UP, x, y - (h + 5)));
- addList(list, cloneAlternative(p, TUX_DOWN, x, y + (h + 5)));
- break;
- case TUX_DOWN:
- addList(list, cloneAlternative(p, TUX_RIGHT, x + (w + 5), y));
- addList(list, cloneAlternative(p, TUX_LEFT, x - (w + 5), y));
- break;
- }
+ int x, y;
+
+ assert( list != NULL );
+ assert( p != NULL );
+
+ x = p->x;
+ y = p->y;
+
+ switch( p->route )
+ {
+ case TUX_UP :
+ addList(list, cloneAlternative(p, TUX_RIGHT, x+(w+5), y ) );
+ addList(list, cloneAlternative(p, TUX_LEFT, x-(w+5), y ) );
+ break;
+ case TUX_RIGHT :
+ addList(list, cloneAlternative(p, TUX_UP, x, y-(h+5) ) );
+ addList(list, cloneAlternative(p, TUX_DOWN, x, y+(h+5) ) );
+ break;
+ case TUX_LEFT :
+ addList(list, cloneAlternative(p, TUX_UP, x, y-(h+5) ) );
+ addList(list, cloneAlternative(p, TUX_DOWN, x, y+(h+5) ) );
+ break;
+ case TUX_DOWN :
+ addList(list, cloneAlternative(p, TUX_RIGHT, x+(w+5), y ) );
+ addList(list, cloneAlternative(p, TUX_LEFT, x-(w+5), y ) );
+ break;
+ }
}
-void
-moveAlternative(alternative_t * p, int offset)
+void moveAlternative(alternative_t *p, int offset)
{
- assert(p != NULL);
-
- p->step++;
-
- //printf("move %d %d %d\n", p->x, p->y, p->step);
-
- switch (p->route) {
- case TUX_UP:
- p->y -= offset;
- break;
- case TUX_RIGHT:
- p->x += offset;
- break;
- case TUX_LEFT:
- p->x -= offset;
- break;
- case TUX_DOWN:
- p->y += offset;
- break;
- }
+ assert( p != NULL );
+
+ p->step++;
+
+ //printf("move %d %d %d\n", p->x, p->y, p->step);
+
+ switch( p->route )
+ {
+ case TUX_UP :
+ p->y -= offset;
+ break;
+ case TUX_RIGHT :
+ p->x += offset;
+ break;
+ case TUX_LEFT :
+ p->x -= offset;
+ break;
+ case TUX_DOWN :
+ p->y += offset;
+ break;
+ }
}
-void
-destroyAlternative(alternative_t * p)
+void destroyAlternative(alternative_t *p)
{
- assert(p != NULL);
- free(p);
+ assert( p != NULL );
+ free(p);
}
-static void
-cmd_ai(char *line)
+static void cmd_ai(char *line)
{
}
-int
-init(export_fce_t * p)
+int init(export_fce_t *p)
{
- export_fce = p;
+ export_fce = p;
- return 0;
+ return 0;
}
#ifndef PUBLIC_SERVER
-int
-draw(int x, int y, int w, int h)
+int draw(int x, int y, int w, int h)
{
- return 0;
+ return 0;
}
#endif
-tux_t *
-findOtherTux(space_t * space)
+tux_t *findOtherTux(space_t *space)
{
- int i;
+ int i;
- for (i = 0; i < getSpaceCount(space); i++) {
- tux_t *thisTux;
+ for( i = 0 ; i < getSpaceCount(space) ; i++ )
+ {
+ tux_t *thisTux;
- thisTux = getItemFromSpace(space, i);
+ thisTux = getItemFromSpace(space, i);
- if (thisTux->control != TUX_CONTROL_AI) {
- return thisTux;
- }
- }
+ if( thisTux->control != TUX_CONTROL_AI )
+ {
+ return thisTux;
+ }
+ }
- return NULL;
+ return NULL;
}
-static void
-shotTux(arena_t * arena, tux_t * tux_ai, tux_t * tux_rival)
+static void shotTux(arena_t *arena, tux_t *tux_ai, tux_t *tux_rival)
{
- const int limit = 20;
- int x_ai, y_ai;
- int x_rival, y_rival;
- int w, h;
-
- export_fce->fce_getTuxProportion(tux_ai, &x_ai, &y_ai, &w, &h);
- export_fce->fce_getTuxProportion(tux_rival, &x_rival, &y_rival, &w, &h);
-
- if (y_rival < y_ai && x_rival > x_ai && x_rival < x_ai + limit) {
- export_fce->fce_actionTux(tux_ai, TUX_UP);
- export_fce->fce_actionTux(tux_ai, TUX_SHOT);
- }
-
- if (x_rival > x_ai && y_rival > y_ai && y_rival < y_ai + limit) {
- export_fce->fce_actionTux(tux_ai, TUX_RIGHT);
- export_fce->fce_actionTux(tux_ai, TUX_SHOT);
- }
-
- if (x_rival < x_ai && y_rival > y_ai && y_rival < y_ai + limit) {
- export_fce->fce_actionTux(tux_ai, TUX_LEFT);
- export_fce->fce_actionTux(tux_ai, TUX_SHOT);
- }
-
- if (y_rival > y_ai && x_rival > x_ai && x_rival < x_ai + limit) {
- export_fce->fce_actionTux(tux_ai, TUX_DOWN);
- export_fce->fce_actionTux(tux_ai, TUX_SHOT);
- }
-}
+ const int limit = 20;
+ int x_ai, y_ai;
+ int x_rival, y_rival;
+ int w, h;
-static void
-eventTuxAI(tux_t * tux)
-{
- arena_t *arena;
- tux_t *rivalTux;
+ export_fce->fce_getTuxProportion(tux_ai, &x_ai, &y_ai, &w, &h);
+ export_fce->fce_getTuxProportion(tux_rival, &x_rival, &y_rival, &w, &h);
- list_t *listAlternative;
- list_t *listDst;
- list_t *listFork;
+ if( y_rival < y_ai && x_rival > x_ai && x_rival < x_ai+limit )
+ {
+ export_fce->fce_actionTux(tux_ai, TUX_UP);
+ export_fce->fce_actionTux(tux_ai, TUX_SHOT);
+ }
- int x, y, w, h;
- int rival_x, rival_y;
- int i, index;
+ if( x_rival > x_ai && y_rival > y_ai && y_rival < y_ai+limit )
+ {
+ export_fce->fce_actionTux(tux_ai, TUX_RIGHT);
+ export_fce->fce_actionTux(tux_ai, TUX_SHOT);
+ }
- int countFork = 0;
- int countDel = 0;
- int countLimit = 0;
- int countDo = 0;
+ if( x_rival < x_ai && y_rival > y_ai && y_rival < y_ai+limit )
+ {
+ export_fce->fce_actionTux(tux_ai, TUX_LEFT);
+ export_fce->fce_actionTux(tux_ai, TUX_SHOT);
+ }
- export_fce->fce_getTuxProportion(tux, &x, &y, &w, &h);
- //printf("tux AI %d %d\n", x, y);
+ if( y_rival > y_ai && x_rival > x_ai && x_rival < x_ai+limit )
+ {
+ export_fce->fce_actionTux(tux_ai, TUX_DOWN);
+ export_fce->fce_actionTux(tux_ai, TUX_SHOT);
+ }
+}
- arena = export_fce->fce_getCurrentArena();
+static void eventTuxAI(tux_t *tux)
+{
+ arena_t *arena;
+ tux_t *rivalTux;
- rivalTux = findOtherTux(arena->spaceTux);
+ list_t *listAlternative;
+ list_t *listDst;
+ list_t *listFork;
- if (rivalTux == NULL || rivalTux->status != TUX_STATUS_ALIVE) {
- return;
- }
+ int x, y, w, h;
+ int rival_x, rival_y;
+ int i, index;
- listAlternative = newList();
- listDst = newList();
- listFork = newList();
+ int countFork = 0;
+ int countDel = 0;
+ int countLimit = 0;
+ int countDo = 0;
- shotTux(arena, tux, rivalTux);
+ export_fce->fce_getTuxProportion(tux, &x, &y, &w, &h);
+ //printf("tux AI %d %d\n", x, y);
- export_fce->fce_getTuxProportion(rivalTux, &rival_x, &rival_y, NULL, NULL);
- //printf("tux rival %d %d\n", rival_x, rival_y);
+ arena = export_fce->fce_getCurrentArena();
- addList(listAlternative, newAlternative(TUX_UP, x, y - (h + 10)));
- addList(listAlternative, newAlternative(TUX_RIGHT, x + (w + 10), y));
- addList(listAlternative, newAlternative(TUX_LEFT, x - (w + 10), y));
- addList(listAlternative, newAlternative(TUX_DOWN, x, y + (h + 10)));
+ rivalTux = findOtherTux(arena->spaceTux);
- index = -1;
- while (1) {
- alternative_t *this;
+ if( rivalTux == NULL || rivalTux->status != TUX_STATUS_ALIVE )
+ {
+ return;
+ }
- index++;
- if (index < 0 || index >= listAlternative->count) {
+ listAlternative = newList();
+ listDst = newList();
+ listFork = newList();
- int j;
+ shotTux(arena, tux, rivalTux);
- //printf("listFork->count = %d\n", listFork->count);
+ export_fce->fce_getTuxProportion(rivalTux, &rival_x, &rival_y, NULL, NULL);
+ //printf("tux rival %d %d\n", rival_x, rival_y);
- for (j = 0; j < listFork->count; j++) {
- addList(listAlternative, listFork->list[j]);
- }
+ addList(listAlternative, newAlternative(TUX_UP, x, y-(h+10)) );
+ addList(listAlternative, newAlternative(TUX_RIGHT, x+(w+10), y) );
+ addList(listAlternative, newAlternative(TUX_LEFT, x-(w+10), y) );
+ addList(listAlternative, newAlternative(TUX_DOWN, x, y+(h+10)) );
- listDoEmpty(listFork);
+ index = -1;
+ while(1)
+ {
+ alternative_t *this;
- index = 0;
- }
+ index++;
+ if( index < 0 || index >= listAlternative->count )
+ {
- if (listAlternative->count == 0) {
- break;
- }
+ int j;
- this = (alternative_t *) listAlternative->list[index];
+ //printf("listFork->count = %d\n", listFork->count);
- if (++countDo == 100)
- break;
+ for( j = 0; j < listFork->count ; j++ )
+ {
+ addList(listAlternative, listFork->list[j]);
+ }
- if (this->step > 100) {
- delListItem(listAlternative, index, destroyAlternative);
- countLimit++;
- index--;
- continue;
- }
+ listDoEmpty(listFork);
- moveAlternative(this, w * 2);
+ index = 0;
+ }
- if (export_fce->fce_isFreeSpace(arena, this->x, this->y, w, h) == 1) {
- forkAlternative(listFork, this, 2 * w, 2 * h);
- countFork++;
- continue;
- }
+ if( listAlternative->count == 0 )
+ {
+ break;
+ }
- if (export_fce->
- fce_conflictSpace(this->x, this->y, w, h, rival_x, rival_y, w, h)) {
- //printf("this->step = %d\n", this->step);
+ this = (alternative_t *)listAlternative->list[index];
+
+ if( ++countDo == 100 )break;
- delList(listAlternative, index);
- addList(listDst, this);
- index--;
- //continue;
- break;
- }
+ if( this->step > 100 )
+ {
+ delListItem(listAlternative, index, destroyAlternative);
+ countLimit++;
+ index--;
+ continue;
+ }
- if (export_fce->fce_isFreeSpace(arena, this->x, this->y, w, h) == 0) {
- //forkAlternative(listFork, this, w*2, h*2);
- delListItem(listAlternative, index, destroyAlternative);
- index--;
- countDel++;
+ moveAlternative(this, w*2);
- continue;
- }
+ if( export_fce->fce_isFreeSpace(arena, this->x, this->y, w, h) == 1 )
+ {
+ forkAlternative(listFork, this, 2*w, 2*h);
+ countFork++;
+ continue;
+ }
+
+ if( export_fce->fce_conflictSpace(this->x, this->y, w, h, rival_x, rival_y, w, h) )
+ {
+ //printf("this->step = %d\n", this->step);
+
+ delList(listAlternative, index);
+ addList(listDst, this);
+ index--;
+ //continue;
+ break;
+ }
+
+ if( export_fce->fce_isFreeSpace(arena, this->x, this->y, w, h) == 0 )
+ {
+ //forkAlternative(listFork, this, w*2, h*2);
+ delListItem(listAlternative, index, destroyAlternative);
+ index--;
+ countDel++;
+
+ continue;
+ }
- }
+ }
- int minStep = 1000;
- int recRoute = 0;
+ int minStep = 1000;
+ int recRoute = 0;
- //printf("------------\n");
- for (i = 0; i < listDst->count; i++) {
- alternative_t *this;
+ //printf("------------\n");
+ for( i = 0 ; i < listDst->count ; i++ )
+ {
+ alternative_t *this;
- this = (alternative_t *) listDst->list[i];
+ this = (alternative_t *)listDst->list[i];
- //printf("XXX step %d route = %d\n", this->step, this->first);
- if (this->step < minStep) {
- minStep = this->step;
- recRoute = this->first;
- }
- }
+ //printf("XXX step %d route = %d\n", this->step, this->first);
+ if( this->step < minStep )
+ {
+ minStep = this->step;
+ recRoute = this->first;
+ }
+ }
- if (recRoute != 0) {
- export_fce->fce_actionTux(tux, recRoute);
- }
+ if( recRoute != 0 )
+ {
+ export_fce->fce_actionTux(tux, recRoute);
+ }
- destroyListItem(listFork, destroyAlternative);
- destroyListItem(listAlternative, destroyAlternative);
- destroyListItem(listDst, destroyAlternative);
+ destroyListItem(listFork, destroyAlternative);
+ destroyListItem(listAlternative, destroyAlternative);
+ destroyListItem(listDst, destroyAlternative);
/*
printf("countFork = %d\n", countFork);
printf("countDel = %d\n", countDel);
@@ -334,45 +341,48 @@ eventTuxAI(tux_t * tux)
*/
}
-static void
-action_tuxAI(space_t * space, tux_t * tux, void *p)
+static void action_tuxAI(space_t *space, tux_t *tux, void *p)
{
- if (tux->control == TUX_CONTROL_AI && tux->status == TUX_STATUS_ALIVE) {
- eventTuxAI(tux);
- }
+ if( tux->control == TUX_CONTROL_AI &&
+ tux->status == TUX_STATUS_ALIVE )
+ {
+ eventTuxAI(tux);
+ }
}
-int
-event()
+int event()
{
- static my_time_t lastEvent = 0;
- my_time_t curentTime;
- arena_t *arena;
- int countTuxAI;
- //int i;
+ static my_time_t lastEvent = 0;
+ my_time_t curentTime;
+ arena_t *arena;
+ int countTuxAI;
+ //int i;
- if (lastEvent == 0) {
- lastEvent = export_fce->fce_getMyTime();
- }
+ if( lastEvent == 0 )
+ {
+ lastEvent = export_fce->fce_getMyTime();
+ }
- curentTime = export_fce->fce_getMyTime();
+ curentTime = export_fce->fce_getMyTime();
- if (curentTime - lastEvent < 25) {
- return 0;
- }
+ if( curentTime - lastEvent < 25 )
+ {
+ return 0;
+ }
- lastEvent = export_fce->fce_getMyTime();
- //printf("event AI\n");
+ lastEvent = export_fce->fce_getMyTime();
+ //printf("event AI\n");
- arena = export_fce->fce_getCurrentArena();
+ arena = export_fce->fce_getCurrentArena();
- if (arena == NULL) {
- return 0;
- }
+ if( arena == NULL )
+ {
+ return 0;
+ }
- countTuxAI = 0;
+ countTuxAI = 0;
- actionSpace(arena->spaceTux, action_tuxAI, NULL);
+ actionSpace(arena->spaceTux, action_tuxAI, NULL);
/*
for( i = 0 ; i < arena->spaceTux->list->count ; i++ )
{
@@ -388,29 +398,24 @@ event()
}
}
*/
- return 0;
+ return 0;
}
-int
-isConflict(int x, int y, int w, int h)
+int isConflict(int x, int y, int w, int h)
{
- return 0;
+ return 0;
}
-void
-cmdArena(char *line)
+void cmdArena(char *line)
{
- if (strncmp(line, "ai", 2) == 0)
- cmd_ai(line);
+ if( strncmp(line, "ai", 2) == 0 )cmd_ai(line);
}
-void
-recvMsg(char *msg)
+void recvMsg(char *msg)
{
}
-int
-destroy()
+int destroy()
{
- return 0;
+ return 0;
}
diff --git a/src/modules/modAI.c~ b/src/modules/modAI.c~
deleted file mode 100644
index 372e8cb..0000000
--- a/src/modules/modAI.c~
+++ /dev/null
@@ -1,421 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "modules.h"
-#include "tux.h"
-#include "shot.h"
-#include "list.h"
-#include "gun.h"
-#include "space.h"
-
-#ifndef PUBLIC_SERVER
- #include "interface.h"
- #include "image.h"
-#else
- #include "publicServer.h"
-#endif
-
-static export_fce_t *export_fce;
-
-typedef struct alternative_struct
-{
- int first;
- int route;
- int step;
- int x, y;
-} alternative_t;
-
-alternative_t* newAlternative(int route, int x, int y)
-{
- alternative_t *new;
-
- new = malloc( sizeof(alternative_t) );
- new->first = route;
- new->route = route;
- new->x = x;
- new->y = y;
- new->step = 0;
-
- return new;
-}
-
-alternative_t* cloneAlternative(alternative_t *p, int route, int x, int y)
-{
- alternative_t *new;
-
- assert( p != NULL );
-
- new = newAlternative(route, p->x, p->y);
- new->first = p->first;
- new->step = p->step;
-
- return new;
-}
-
-void forkAlternative(list_t *list, alternative_t *p, int w, int h)
-{
- int x, y;
-
- assert( list != NULL );
- assert( p != NULL );
-
- x = p->x;
- y = p->y;
-
- switch( p->route )
- {
- case TUX_UP :
- addList(list, cloneAlternative(p, TUX_RIGHT, x+(w+5), y ) );
- addList(list, cloneAlternative(p, TUX_LEFT, x-(w+5), y ) );
- break;
- case TUX_RIGHT :
- addList(list, cloneAlternative(p, TUX_UP, x, y-(h+5) ) );
- addList(list, cloneAlternative(p, TUX_DOWN, x, y+(h+5) ) );
- break;
- case TUX_LEFT :
- addList(list, cloneAlternative(p, TUX_UP, x, y-(h+5) ) );
- addList(list, cloneAlternative(p, TUX_DOWN, x, y+(h+5) ) );
- break;
- case TUX_DOWN :
- addList(list, cloneAlternative(p, TUX_RIGHT, x+(w+5), y ) );
- addList(list, cloneAlternative(p, TUX_LEFT, x-(w+5), y ) );
- break;
- }
-
-}
-
-void moveAlternative(alternative_t *p, int offset)
-{
- assert( p != NULL );
-
- p->step++;
-
- //printf("move %d %d %d\n", p->x, p->y, p->step);
-
- switch( p->route )
- {
- case TUX_UP :
- p->y -= offset;
- break;
- case TUX_RIGHT :
- p->x += offset;
- break;
- case TUX_LEFT :
- p->x -= offset;
- break;
- case TUX_DOWN :
- p->y += offset;
- break;
- }
-}
-
-void destroyAlternative(alternative_t *p)
-{
- assert( p != NULL );
- free(p);
-}
-
-static void cmd_ai(char *line)
-{
-}
-
-int init(export_fce_t *p)
-{
- export_fce = p;
-
- return 0;
-}
-
-#ifndef PUBLIC_SERVER
-int draw(int x, int y, int w, int h)
-{
- return 0;
-}
-#endif
-
-tux_t *findOtherTux(space_t *space)
-{
- int i;
-
- for( i = 0 ; i < getSpaceCount(space) ; i++ )
- {
- tux_t *thisTux;
-
- thisTux = getItemFromSpace(space, i);
-
- if( thisTux->control != TUX_CONTROL_AI )
- {
- return thisTux;
- }
- }
-
- return NULL;
-}
-
-static void shotTux(arena_t *arena, tux_t *tux_ai, tux_t *tux_rival)
-{
- const int limit = 20;
- int x_ai, y_ai;
- int x_rival, y_rival;
- int w, h;
-
- export_fce->fce_getTuxProportion(tux_ai, &x_ai, &y_ai, &w, &h);
- export_fce->fce_getTuxProportion(tux_rival, &x_rival, &y_rival, &w, &h);
-
- if( y_rival < y_ai && x_rival > x_ai && x_rival < x_ai+limit )
- {
- export_fce->fce_actionTux(tux_ai, TUX_UP);
- export_fce->fce_actionTux(tux_ai, TUX_SHOT);
- }
-
- if( x_rival > x_ai && y_rival > y_ai && y_rival < y_ai+limit )
- {
- export_fce->fce_actionTux(tux_ai, TUX_RIGHT);
- export_fce->fce_actionTux(tux_ai, TUX_SHOT);
- }
-
- if( x_rival < x_ai && y_rival > y_ai && y_rival < y_ai+limit )
- {
- export_fce->fce_actionTux(tux_ai, TUX_LEFT);
- export_fce->fce_actionTux(tux_ai, TUX_SHOT);
- }
-
- if( y_rival > y_ai && x_rival > x_ai && x_rival < x_ai+limit )
- {
- export_fce->fce_actionTux(tux_ai, TUX_DOWN);
- export_fce->fce_actionTux(tux_ai, TUX_SHOT);
- }
-}
-
-static void eventTuxAI(tux_t *tux)
-{
- arena_t *arena;
- tux_t *rivalTux;
-
- list_t *listAlternative;
- list_t *listDst;
- list_t *listFork;
-
- int x, y, w, h;
- int rival_x, rival_y;
- int i, index;
-
- int countFork = 0;
- int countDel = 0;
- int countLimit = 0;
- int countDo = 0;
-
- export_fce->fce_getTuxProportion(tux, &x, &y, &w, &h);
- //printf("tux AI %d %d\n", x, y);
-
- arena = export_fce->fce_getCurrentArena();
-
- rivalTux = findOtherTux(arena->spaceTux);
-
- if( rivalTux == NULL || rivalTux->status != TUX_STATUS_ALIVE )
- {
- return;
- }
-
- listAlternative = newList();
- listDst = newList();
- listFork = newList();
-
- shotTux(arena, tux, rivalTux);
-
- export_fce->fce_getTuxProportion(rivalTux, &rival_x, &rival_y, NULL, NULL);
- //printf("tux rival %d %d\n", rival_x, rival_y);
-
- addList(listAlternative, newAlternative(TUX_UP, x, y-(h+10)) );
- addList(listAlternative, newAlternative(TUX_RIGHT, x+(w+10), y) );
- addList(listAlternative, newAlternative(TUX_LEFT, x-(w+10), y) );
- addList(listAlternative, newAlternative(TUX_DOWN, x, y+(h+10)) );
-
- index = -1;
- while(1)
- {
- alternative_t *this;
-
- index++;
- if( index < 0 || index >= listAlternative->count )
- {
-
- int j;
-
- //printf("listFork->count = %d\n", listFork->count);
-
- for( j = 0; j < listFork->count ; j++ )
- {
- addList(listAlternative, listFork->list[j]);
- }
-
- listDoEmpty(listFork);
-
- index = 0;
- }
-
- if( listAlternative->count == 0 )
- {
- break;
- }
-
- this = (alternative_t *)listAlternative->list[index];
-
- if( ++countDo == 100 )break;
-
- if( this->step > 100 )
- {
- delListItem(listAlternative, index, destroyAlternative);
- countLimit++;
- index--;
- continue;
- }
-
- moveAlternative(this, w*2);
-
- if( export_fce->fce_isFreeSpace(arena, this->x, this->y, w, h) == 1 )
- {
- forkAlternative(listFork, this, 2*w, 2*h);
- countFork++;
- continue;
- }
-
- if( export_fce->fce_conflictSpace(this->x, this->y, w, h, rival_x, rival_y, w, h) )
- {
- //printf("this->step = %d\n", this->step);
-
- delList(listAlternative, index);
- addList(listDst, this);
- index--;
- //continue;
- break;
- }
-
- if( export_fce->fce_isFreeSpace(arena, this->x, this->y, w, h) == 0 )
- {
- //forkAlternative(listFork, this, w*2, h*2);
- delListItem(listAlternative, index, destroyAlternative);
- index--;
- countDel++;
-
- continue;
- }
-
- }
-
- int minStep = 1000;
- int recRoute = 0;
-
- //printf("------------\n");
- for( i = 0 ; i < listDst->count ; i++ )
- {
- alternative_t *this;
-
- this = (alternative_t *)listDst->list[i];
-
- //printf("XXX step %d route = %d\n", this->step, this->first);
- if( this->step < minStep )
- {
- minStep = this->step;
- recRoute = this->first;
- }
- }
-
- if( recRoute != 0 )
- {
- export_fce->fce_actionTux(tux, recRoute);
- }
-
- destroyListItem(listFork, destroyAlternative);
- destroyListItem(listAlternative, destroyAlternative);
- destroyListItem(listDst, destroyAlternative);
-/*
- printf("countFork = %d\n", countFork);
- printf("countDel = %d\n", countDel);
- printf("countLimit = %d\n", countLimit);
- printf("countDo = %d\n", countDo);
-*/
-}
-
-static void action_tuxAI(space_t *space, tux_t *tux, void *p)
-{
- if( tux->control == TUX_CONTROL_AI &&
- tux->status == TUX_STATUS_ALIVE )
- {
- eventTuxAI(tux);
- }
-}
-
-int event()
-{
- static my_time_t lastEvent = 0;
- my_time_t curentTime;
- arena_t *arena;
- int countTuxAI;
- //int i;
-
- if( lastEvent == 0 )
- {
- lastEvent = export_fce->fce_getMyTime();
- }
-
- curentTime = export_fce->fce_getMyTime();
-
- if( curentTime - lastEvent < 25 )
- {
- return 0;
- }
-
- lastEvent = export_fce->fce_getMyTime();
- //printf("event AI\n");
-
- arena = export_fce->fce_getCurrentArena();
-
- if( arena == NULL )
- {
- return 0;
- }
-
- countTuxAI = 0;
-
- actionSpace(arena->spaceTux, action_tuxAI, NULL);
-/*
- for( i = 0 ; i < arena->spaceTux->list->count ; i++ )
- {
- tux_t *thisTux;
-
- thisTux = arena->spaceTux->list->list[i];
-
- if( thisTux->control == TUX_CONTROL_AI &&
- thisTux->status == TUX_STATUS_ALIVE )
- {
- eventTux(thisTux);
- countTuxAI = 0;
- }
- }
-*/
- return 0;
-}
-
-int isConflict(int x, int y, int w, int h)
-{
- return 0;
-}
-
-void cmdArena(char *line)
-{
- if( strncmp(line, "ai", 2) == 0 )cmd_ai(line);
-}
-
-void recvMsg(char *msg)
-{
-}
-
-int destroy()
-{
- return 0;
-}
diff --git a/src/modules/modBasic.c b/src/modules/modBasic.c
index d50c8f8..8329b14 100755
--- a/src/modules/modBasic.c
+++ b/src/modules/modBasic.c
@@ -23,61 +23,53 @@
static export_fce_t *export_fce;
-int
-init(export_fce_t * p)
+int init(export_fce_t *p)
{
- export_fce = p;
+ export_fce = p;
- printf("Initializing Basic module.\n");
- return 0;
+ printf("Initializing Basic module.\n");
+ return 0;
}
#ifndef PUBLIC_SERVER
-int
-draw(int x, int y, int w, int h)
+int draw(int x, int y, int w, int h)
{
- printf("Drawing Basic module.\n");
- return 0;
+ printf("Drawing Basic module.\n");
+ return 0;
}
#endif
-int
-event()
+int event()
{
- printf("Basic module catch event.\n");
- return 0;
+ printf("Basic module catch event.\n");
+ return 0;
}
-int
-isConflict(int x, int y, int w, int h)
+int isConflict(int x, int y, int w, int h)
{
- printf("isConflict(%d, %d, %d, %d) in Basic module.\n", x, y, w, h);
- return 0;
+ printf("isConflict(%d, %d, %d, %d) in Basic module.\n", x, y, w, h);
+ return 0;
}
-static void
-cmd_basic(char *line)
+static void cmd_basic(char *line)
{
- printf("cmd_basic(%s) in Basic module.\n", line);
+ printf("cmd_basic(%s) in Basic module.\n", line);
}
-void
-cmdArena(char *line)
+void cmdArena(char *line)
{
- if (strncmp(line, "basic", 5) == 0)
- cmd_basic(line);
+ if (strncmp(line, "basic", 5) == 0)
+ cmd_basic(line);
}
-void
-recvMsg(char *msg)
+void recvMsg(char *msg)
{
- printf("recvMsg(%s) in Basic module.\n", msg);
+ printf("recvMsg(%s) in Basic module.\n", msg);
}
-int
-destroy()
+int destroy()
{
- printf("Destroying Basic module.\n");
- return 0;
+ printf("Destroying Basic module.\n");
+ return 0;
}
diff --git a/src/modules/modBasic.c~ b/src/modules/modBasic.c~
deleted file mode 100644
index 8329b14..0000000
--- a/src/modules/modBasic.c~
+++ /dev/null
@@ -1,75 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "modules.h"
-#include "tux.h"
-#include "shot.h"
-#include "list.h"
-#include "gun.h"
-#include "space.h"
-
-#ifndef PUBLIC_SERVER
-#include "interface.h"
-#include "image.h"
-#endif
-
-#ifdef PUBLIC_SERVER
-#include "publicServer.h"
-#endif
-
-static export_fce_t *export_fce;
-
-int init(export_fce_t *p)
-{
- export_fce = p;
-
- printf("Initializing Basic module.\n");
- return 0;
-}
-
-#ifndef PUBLIC_SERVER
-
-int draw(int x, int y, int w, int h)
-{
- printf("Drawing Basic module.\n");
- return 0;
-}
-#endif
-
-int event()
-{
- printf("Basic module catch event.\n");
- return 0;
-}
-
-int isConflict(int x, int y, int w, int h)
-{
- printf("isConflict(%d, %d, %d, %d) in Basic module.\n", x, y, w, h);
- return 0;
-}
-
-static void cmd_basic(char *line)
-{
- printf("cmd_basic(%s) in Basic module.\n", line);
-}
-
-void cmdArena(char *line)
-{
- if (strncmp(line, "basic", 5) == 0)
- cmd_basic(line);
-}
-
-void recvMsg(char *msg)
-{
- printf("recvMsg(%s) in Basic module.\n", msg);
-}
-
-int destroy()
-{
- printf("Destroying Basic module.\n");
- return 0;
-}
diff --git a/src/modules/modMove.c b/src/modules/modMove.c
index 6cfd59a..34222a6 100755
--- a/src/modules/modMove.c
+++ b/src/modules/modMove.c
@@ -24,237 +24,216 @@
static export_fce_t *export_fce;
-static void
-move_tux(tux_t * tux, int x, int y, int w, int h)
+static void move_tux(tux_t *tux, int x, int y, int w, int h)
{
- int dist_x = 0, dist_y = 0; // no warnning
-
- if (tux->bonus == BONUS_GHOST ||
- export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_CLIENT)
- return;
- switch (tux->position) {
- case TUX_UP:
- dist_x = x + w / 2;
- dist_y = y - (TUX_HEIGHT + 20);
- break;
- case TUX_LEFT:
- dist_x = x - (TUX_WIDTH + 20);
- dist_y = y + h / 2;
- break;
- case TUX_RIGHT:
- dist_x = x + w + 20;
- dist_y = y + h / 2;
- break;
- case TUX_DOWN:
- dist_x = x + w / 2;
- dist_y = y + h + 20;
- break;
- default:
- assert(!"Variable p->control has a really wierd value!");
- break;
- }
- if (export_fce->
- fce_isFreeSpace(export_fce->fce_getCurrentArena(), dist_x, dist_y,
- TUX_WIDTH, TUX_HEIGHT)) {
- moveObjectInSpace(export_fce->fce_getCurrentArena()->spaceTux, tux,
- dist_x, dist_y);
+ int dist_x = 0, dist_y = 0; // no warnning
+
+ if (tux->bonus == BONUS_GHOST ||
+ export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_CLIENT)
+ return;
+ switch (tux->position) {
+ case TUX_UP :
+ dist_x = x + w/2;
+ dist_y = y - ( TUX_HEIGHT + 20 );
+ break;
+ case TUX_LEFT :
+ dist_x = x - ( TUX_WIDTH + 20 );
+ dist_y = y + h/2;
+ break;
+ case TUX_RIGHT :
+ dist_x = x + w + 20;
+ dist_y = y + h/2;
+ break;
+ case TUX_DOWN :
+ dist_x = x + w/2;
+ dist_y = y + h + 20;
+ break;
+ default :
+ assert( ! "Variable p->control has a really wierd value!" );
+ break;
+ }
+ if (export_fce->fce_isFreeSpace(export_fce->fce_getCurrentArena(), dist_x, dist_y, TUX_WIDTH, TUX_HEIGHT)) {
+ moveObjectInSpace(export_fce->fce_getCurrentArena()->spaceTux, tux, dist_x, dist_y);
#ifndef PUBLIC_SERVER
- //playSound("teleport", SOUND_GROUP_BASE);
+ //playSound("teleport", SOUND_GROUP_BASE);
#endif
- if (export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_SERVER) {
- char msg[STR_PROTO_SIZE];
- sprintf(msg, "movetux %d %d %d", tux->id, dist_x, dist_y);
- if (tux->bonus == BONUS_HIDDEN)
- export_fce->fce_proto_send_module_server(PROTO_SEND_ONE,
- (client_t *) tux->client,
- msg);
- else
- export_fce->fce_proto_send_module_server(PROTO_SEND_ALL, NULL,
- msg);
- }
- }
+ if (export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_SERVER) {
+ char msg[STR_PROTO_SIZE];
+ sprintf(msg, "movetux %d %d %d", tux->id, dist_x, dist_y);
+ if( tux->bonus == BONUS_HIDDEN )
+ export_fce->fce_proto_send_module_server(PROTO_SEND_ONE, (client_t *)tux->client, msg);
+ else
+ export_fce->fce_proto_send_module_server(PROTO_SEND_ALL, NULL, msg);
+ }
+ }
}
-static int
-myAbs(int n)
+static int myAbs(int n)
{
- return (n > 0 ? n : -n);
+ return ( n > 0 ? n : -n );
}
-static int
-getSppedShot(shot_t * shot)
+static int getSppedShot(shot_t *shot)
{
- return (myAbs(shot->px) >
- myAbs(shot->py) ? myAbs(shot->px) : myAbs(shot->py));
+ return ( myAbs(shot->px) > myAbs(shot->py) ? myAbs(shot->px) : myAbs(shot->py) );
}
-static void
-transformShot(shot_t * shot, int position)
+static void transformShot(shot_t *shot, int position)
{
- int speed;
-
- speed = getSppedShot(shot);
- switch (position) {
- case TUX_UP:
- shot->px = 0;
- shot->py = -speed;
- break;
- case TUX_LEFT:
- shot->px = -speed;
- shot->py = 0;
- break;
- case TUX_RIGHT:
- shot->px = speed;
- shot->py = 0;
- break;
- case TUX_DOWN:
- shot->px = 0;
- shot->py = +speed;
- break;
- }
- shot->position = position;
- shot->isCanKillAuthor = TRUE;
- if (shot->gun == GUN_LASSER)
- export_fce->fce_transformOnlyLasser(shot);
+ int speed;
+
+ speed = getSppedShot(shot);
+ switch (position) {
+ case TUX_UP :
+ shot->px = 0;
+ shot->py = -speed;
+ break;
+ case TUX_LEFT :
+ shot->px = -speed;
+ shot->py = 0;
+ break;
+ case TUX_RIGHT :
+ shot->px = speed;
+ shot->py = 0;
+ break;
+ case TUX_DOWN :
+ shot->px = 0;
+ shot->py = +speed;
+ break;
+ }
+ shot->position = position;
+ shot->isCanKillAuthor = TRUE;
+ if( shot->gun == GUN_LASSER )
+ export_fce->fce_transformOnlyLasser(shot);
}
-static void
-move_shot(shot_t * shot, int position, int src_x, int src_y,
- int dist_x, int dist_y, int dist_w, int dist_h)
+static void move_shot(shot_t *shot, int position, int src_x, int src_y,
+ int dist_x, int dist_y, int dist_w, int dist_h)
{
- int offset = 0;
- int new_x = 0, new_y = 0; // no warninng
-
- //printf("move_shot\n");
- switch (shot->position) {
- case TUX_UP:
- case TUX_DOWN:
- offset = shot->x - src_x;
- break;
- case TUX_RIGHT:
- case TUX_LEFT:
- offset = shot->y - src_y;
- break;
- }
- transformShot(shot, position);
- switch (shot->position) {
- case TUX_UP:
- new_x = dist_x + offset;
- new_y = dist_y - (shot->h + 5);
- break;
- case TUX_LEFT:
- new_x = dist_x - (shot->w + 5);
- new_y = dist_y + offset;
- break;
- case TUX_RIGHT:
- new_x = dist_x + dist_w + 5;
- new_y = dist_y + offset;
- break;
- case TUX_DOWN:
- new_x = dist_x + offset;
- new_y = dist_y + dist_h + 5;
- break;
- }
- moveObjectInSpace(export_fce->fce_getCurrentArena()->spaceShot, shot,
- new_x, new_y);
- if (export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_SERVER) {
- char msg[STR_PROTO_SIZE];
-
- sprintf(msg, "moveshot %d %d %d %d %d %d",
- shot->id, shot->x, shot->y, shot->px, shot->py, shot->position);
- export_fce->fce_proto_send_module_server(PROTO_SEND_ALL, NULL, msg);
- }
+ int offset = 0;
+ int new_x = 0, new_y = 0; // no warninng
+
+ //printf("move_shot\n");
+ switch (shot->position) {
+ case TUX_UP :
+ case TUX_DOWN :
+ offset = shot->x - src_x;
+ break;
+ case TUX_RIGHT :
+ case TUX_LEFT :
+ offset = shot->y - src_y;
+ break;
+ }
+ transformShot(shot, position);
+ switch (shot->position) {
+ case TUX_UP :
+ new_x = dist_x + offset;
+ new_y = dist_y - ( shot->h + 5 );
+ break;
+ case TUX_LEFT :
+ new_x = dist_x - ( shot->w + 5 );
+ new_y = dist_y + offset;
+ break;
+ case TUX_RIGHT :
+ new_x = dist_x + dist_w + 5;
+ new_y = dist_y + offset;
+ break;
+ case TUX_DOWN :
+ new_x = dist_x + offset;
+ new_y = dist_y + dist_h + 5;
+ break;
+ }
+ moveObjectInSpace(export_fce->fce_getCurrentArena()->spaceShot, shot, new_x, new_y);
+ if (export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_SERVER) {
+ char msg[STR_PROTO_SIZE];
+
+ sprintf(msg, "moveshot %d %d %d %d %d %d",
+ shot->id, shot->x, shot->y, shot->px, shot->py, shot->position);
+ export_fce->fce_proto_send_module_server(PROTO_SEND_ALL, NULL, msg);
+ }
}
-int
-init(export_fce_t * p)
+int init(export_fce_t *p)
{
- export_fce = p;
- export_fce->fce_addToShareFce("move_tux", (void *) move_tux);
- export_fce->fce_addToShareFce("move_shot", (void *) move_shot);
- return 0;
+ export_fce = p;
+ export_fce->fce_addToShareFce("move_tux", (void *)move_tux);
+ export_fce->fce_addToShareFce("move_shot", (void *)move_shot);
+ return 0;
}
-static void
-proto_movetux(char *msg)
+static void proto_movetux(char *msg)
{
- char cmd[STR_PROTO_SIZE];
- int id, x, y;
- space_t *space;
- tux_t *tux;
-
- assert(msg != NULL);
- sscanf(msg, "%s %d %d %d", cmd, &id, &x, &y);
- space = export_fce->fce_getCurrentArena()->spaceTux;
- tux = getObjectFromSpaceWithID(space, id);
- if (tux != NULL)
- moveObjectInSpace(space, tux, x, y);
+ char cmd[STR_PROTO_SIZE];
+ int id, x, y;
+ space_t *space;
+ tux_t *tux;
+
+ assert( msg != NULL );
+ sscanf(msg, "%s %d %d %d",
+ cmd, &id, &x, &y);
+ space = export_fce->fce_getCurrentArena()->spaceTux;
+ tux = getObjectFromSpaceWithID(space, id);
+ if (tux != NULL)
+ moveObjectInSpace(space, tux, x, y);
}
-static void
-proto_moveshot(char *msg)
+static void proto_moveshot(char *msg)
{
- char cmd[STR_PROTO_SIZE];
- int shot_id, x, y, px, py, position;
- space_t *space;
- shot_t *shot;
-
- assert(msg != NULL);
- sscanf(msg, "%s %d %d %d %d %d %d",
- cmd, &shot_id, &x, &y, &px, &py, &position);
- space = export_fce->fce_getCurrentArena()->spaceShot;
- if ((shot = getObjectFromSpaceWithID(space, shot_id)) == NULL)
- return;
- moveObjectInSpace(space, shot, x, y);
- shot->isCanKillAuthor = 1;
- shot->position = position;
- shot->px = px;
- shot->py = py;
- if (shot->gun == GUN_LASSER)
- export_fce->fce_transformOnlyLasser(shot);
+ char cmd[STR_PROTO_SIZE];
+ int shot_id, x, y, px, py, position;
+ space_t *space;
+ shot_t *shot;
+
+ assert( msg != NULL );
+ sscanf(msg, "%s %d %d %d %d %d %d",
+ cmd, &shot_id, &x, &y, &px, &py, &position);
+ space = export_fce->fce_getCurrentArena()->spaceShot;
+ if ((shot = getObjectFromSpaceWithID(space, shot_id)) == NULL)
+ return;
+ moveObjectInSpace(space, shot, x, y);
+ shot->isCanKillAuthor = 1;
+ shot->position = position;
+ shot->px = px;
+ shot->py = py;
+ if (shot->gun == GUN_LASSER)
+ export_fce->fce_transformOnlyLasser(shot);
}
#ifndef PUBLIC_SERVER
-int
-draw(int x, int y, int w, int h)
+int draw(int x, int y, int w, int h)
{
- return 0;
+ return 0;
}
#endif
-int
-event()
+int event()
{
- return 0;
+ return 0;
}
-int
-isConflict(int x, int y, int w, int h)
+int isConflict(int x, int y, int w, int h)
{
- return 0;
+ return 0;
}
-void
-cmdArena(char *line)
+void cmdArena(char *line)
{
}
-void
-recvMsg(char *msg)
+void recvMsg(char *msg)
{
- if (export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_SERVER)
- return;
- if (strncmp(msg, "movetux", 7) == 0)
- proto_movetux(msg);
- if (strncmp(msg, "moveshot", 8) == 0)
- proto_moveshot(msg);
+ if (export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_SERVER)
+ return;
+ if (strncmp(msg, "movetux", 7) == 0)
+ proto_movetux(msg);
+ if (strncmp(msg, "moveshot", 8) == 0)
+ proto_moveshot(msg);
}
-int
-destroy()
+int destroy()
{
- return 0;
+ return 0;
}
diff --git a/src/modules/modMove.c~ b/src/modules/modMove.c~
deleted file mode 100644
index 34222a6..0000000
--- a/src/modules/modMove.c~
+++ /dev/null
@@ -1,239 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "modules.h"
-#include "tux.h"
-#include "shot.h"
-#include "list.h"
-#include "gun.h"
-#include "space.h"
-#include "serverSendMsg.h"
-
-#ifndef PUBLIC_SERVER
-#include "interface.h"
-#include "image.h"
-#endif
-
-#ifdef PUBLIC_SERVER
-#include "publicServer.h"
-#endif
-
-static export_fce_t *export_fce;
-
-static void move_tux(tux_t *tux, int x, int y, int w, int h)
-{
- int dist_x = 0, dist_y = 0; // no warnning
-
- if (tux->bonus == BONUS_GHOST ||
- export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_CLIENT)
- return;
- switch (tux->position) {
- case TUX_UP :
- dist_x = x + w/2;
- dist_y = y - ( TUX_HEIGHT + 20 );
- break;
- case TUX_LEFT :
- dist_x = x - ( TUX_WIDTH + 20 );
- dist_y = y + h/2;
- break;
- case TUX_RIGHT :
- dist_x = x + w + 20;
- dist_y = y + h/2;
- break;
- case TUX_DOWN :
- dist_x = x + w/2;
- dist_y = y + h + 20;
- break;
- default :
- assert( ! "Variable p->control has a really wierd value!" );
- break;
- }
- if (export_fce->fce_isFreeSpace(export_fce->fce_getCurrentArena(), dist_x, dist_y, TUX_WIDTH, TUX_HEIGHT)) {
- moveObjectInSpace(export_fce->fce_getCurrentArena()->spaceTux, tux, dist_x, dist_y);
-#ifndef PUBLIC_SERVER
- //playSound("teleport", SOUND_GROUP_BASE);
-#endif
- if (export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_SERVER) {
- char msg[STR_PROTO_SIZE];
- sprintf(msg, "movetux %d %d %d", tux->id, dist_x, dist_y);
- if( tux->bonus == BONUS_HIDDEN )
- export_fce->fce_proto_send_module_server(PROTO_SEND_ONE, (client_t *)tux->client, msg);
- else
- export_fce->fce_proto_send_module_server(PROTO_SEND_ALL, NULL, msg);
- }
- }
-}
-
-static int myAbs(int n)
-{
- return ( n > 0 ? n : -n );
-}
-
-
-static int getSppedShot(shot_t *shot)
-{
- return ( myAbs(shot->px) > myAbs(shot->py) ? myAbs(shot->px) : myAbs(shot->py) );
-}
-
-static void transformShot(shot_t *shot, int position)
-{
- int speed;
-
- speed = getSppedShot(shot);
- switch (position) {
- case TUX_UP :
- shot->px = 0;
- shot->py = -speed;
- break;
- case TUX_LEFT :
- shot->px = -speed;
- shot->py = 0;
- break;
- case TUX_RIGHT :
- shot->px = speed;
- shot->py = 0;
- break;
- case TUX_DOWN :
- shot->px = 0;
- shot->py = +speed;
- break;
- }
- shot->position = position;
- shot->isCanKillAuthor = TRUE;
- if( shot->gun == GUN_LASSER )
- export_fce->fce_transformOnlyLasser(shot);
-}
-
-static void move_shot(shot_t *shot, int position, int src_x, int src_y,
- int dist_x, int dist_y, int dist_w, int dist_h)
-{
- int offset = 0;
- int new_x = 0, new_y = 0; // no warninng
-
- //printf("move_shot\n");
- switch (shot->position) {
- case TUX_UP :
- case TUX_DOWN :
- offset = shot->x - src_x;
- break;
- case TUX_RIGHT :
- case TUX_LEFT :
- offset = shot->y - src_y;
- break;
- }
- transformShot(shot, position);
- switch (shot->position) {
- case TUX_UP :
- new_x = dist_x + offset;
- new_y = dist_y - ( shot->h + 5 );
- break;
- case TUX_LEFT :
- new_x = dist_x - ( shot->w + 5 );
- new_y = dist_y + offset;
- break;
- case TUX_RIGHT :
- new_x = dist_x + dist_w + 5;
- new_y = dist_y + offset;
- break;
- case TUX_DOWN :
- new_x = dist_x + offset;
- new_y = dist_y + dist_h + 5;
- break;
- }
- moveObjectInSpace(export_fce->fce_getCurrentArena()->spaceShot, shot, new_x, new_y);
- if (export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_SERVER) {
- char msg[STR_PROTO_SIZE];
-
- sprintf(msg, "moveshot %d %d %d %d %d %d",
- shot->id, shot->x, shot->y, shot->px, shot->py, shot->position);
- export_fce->fce_proto_send_module_server(PROTO_SEND_ALL, NULL, msg);
- }
-}
-
-int init(export_fce_t *p)
-{
- export_fce = p;
- export_fce->fce_addToShareFce("move_tux", (void *)move_tux);
- export_fce->fce_addToShareFce("move_shot", (void *)move_shot);
- return 0;
-}
-
-static void proto_movetux(char *msg)
-{
- char cmd[STR_PROTO_SIZE];
- int id, x, y;
- space_t *space;
- tux_t *tux;
-
- assert( msg != NULL );
- sscanf(msg, "%s %d %d %d",
- cmd, &id, &x, &y);
- space = export_fce->fce_getCurrentArena()->spaceTux;
- tux = getObjectFromSpaceWithID(space, id);
- if (tux != NULL)
- moveObjectInSpace(space, tux, x, y);
-}
-
-static void proto_moveshot(char *msg)
-{
- char cmd[STR_PROTO_SIZE];
- int shot_id, x, y, px, py, position;
- space_t *space;
- shot_t *shot;
-
- assert( msg != NULL );
- sscanf(msg, "%s %d %d %d %d %d %d",
- cmd, &shot_id, &x, &y, &px, &py, &position);
- space = export_fce->fce_getCurrentArena()->spaceShot;
- if ((shot = getObjectFromSpaceWithID(space, shot_id)) == NULL)
- return;
- moveObjectInSpace(space, shot, x, y);
- shot->isCanKillAuthor = 1;
- shot->position = position;
- shot->px = px;
- shot->py = py;
- if (shot->gun == GUN_LASSER)
- export_fce->fce_transformOnlyLasser(shot);
-}
-
-#ifndef PUBLIC_SERVER
-
-int draw(int x, int y, int w, int h)
-{
- return 0;
-}
-
-#endif
-
-int event()
-{
- return 0;
-}
-
-int isConflict(int x, int y, int w, int h)
-{
- return 0;
-}
-
-void cmdArena(char *line)
-{
-}
-
-void recvMsg(char *msg)
-{
- if (export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_SERVER)
- return;
- if (strncmp(msg, "movetux", 7) == 0)
- proto_movetux(msg);
- if (strncmp(msg, "moveshot", 8) == 0)
- proto_moveshot(msg);
-}
-
-int destroy()
-{
- return 0;
-}
diff --git a/src/modules/modPipe.c b/src/modules/modPipe.c
index 9099dd6..efe3b7a 100755
--- a/src/modules/modPipe.c
+++ b/src/modules/modPipe.c
@@ -23,336 +23,313 @@
typedef struct pipe_struct
{
- int x; // poloha steny
- int y;
+ int x; // poloha steny
+ int y;
- int w; // rozmery steny
- int h;
+ int w; // rozmery steny
+ int h;
- int id;
- int id_out;
- int position;
+ int id;
+ int id_out;
+ int position;
- int layer; // vrstva
+ int layer; // vrstva
-#ifndef PUBLIC_SERVER
- image_t *img; //obrazok
+#ifndef PUBLIC_SERVER
+ image_t *img; //obrazok
#endif
} pipe_t;
-static void (*fce_move_shot) (shot_t * shot, int position, int src_x,
- int src_y, int dist_x, int dist_y, int dist_w,
- int dist_h);
+static void (*fce_move_shot)(shot_t *shot, int position, int src_x, int src_y,
+ int dist_x, int dist_y, int dist_w, int dist_h);
static export_fce_t *export_fce;
static list_t *listPipe;
static space_t *spacePipe;
-#ifndef PUBLIC_SERVER
-static pipe_t *
-newPipe(int x, int y, int w, int h, int layer, int id, int id_out,
- int position, image_t * img)
+#ifndef PUBLIC_SERVER
+static pipe_t* newPipe(int x, int y, int w, int h, int layer, int id, int id_out, int position, image_t *img)
#endif
-#ifdef PUBLIC_SERVER
- static pipe_t *newPipe(int x, int y, int w, int h, int layer, int id,
- int id_out, int position)
+
+#ifdef PUBLIC_SERVER
+static pipe_t* newPipe(int x, int y, int w, int h, int layer, int id, int id_out, int position)
#endif
-{
- pipe_t *new;
-#ifndef PUBLIC_SERVER
- assert(img != NULL);
+{
+ pipe_t *new;
+
+#ifndef PUBLIC_SERVER
+ assert( img != NULL );
#endif
- new = malloc(sizeof(pipe_t));
- assert(new != NULL);
-
- new->x = x;
- new->y = y;
- new->w = w;
- new->h = h;
- new->layer = layer;
- new->id = id;
- new->id_out = id_out;
- new->position = position;
-#ifndef PUBLIC_SERVER
- new->img = img;
+ new = malloc( sizeof(pipe_t) );
+ assert( new != NULL );
+
+ new->x = x;
+ new->y = y;
+ new->w = w;
+ new->h = h;
+ new->layer = layer;
+ new->id = id;
+ new->id_out = id_out;
+ new->position = position;
+#ifndef PUBLIC_SERVER
+ new->img = img;
#endif
- return new;
+ return new;
}
-static void
-setStatusPipe(void *p, int x, int y, int w, int h)
+static void setStatusPipe(void *p, int x, int y, int w, int h)
{
- pipe_t *pipe;
+ pipe_t *pipe;
- pipe = p;
+ pipe = p;
- pipe->x = x;
- pipe->y = y;
- pipe->w = w;
- pipe->h = h;
+ pipe->x = x;
+ pipe->y = y;
+ pipe->w = w;
+ pipe->h = h;
}
-static void
-getStatusPipe(void *p, int *id, int *x, int *y, int *w, int *h)
+static void getStatusPipe(void *p, int *id, int *x, int *y, int *w, int *h)
{
- pipe_t *pipe;
+ pipe_t *pipe;
- pipe = p;
+ pipe = p;
- *id = pipe->id;
- *x = pipe->x;
- *y = pipe->y;
- *w = pipe->w;
- *h = pipe->h;
+ *id = pipe->id;
+ *x = pipe->x;
+ *y = pipe->y;
+ *w = pipe->w;
+ *h = pipe->h;
}
-#ifndef PUBLIC_SERVER
+#ifndef PUBLIC_SERVER
-static void
-drawPipe(pipe_t * p)
+static void drawPipe(pipe_t *p)
{
- assert(p != NULL);
+ assert( p != NULL );
- export_fce->fce_addLayer(p->img, p->x, p->y, 0, 0, p->img->w, p->img->h,
- p->layer);
+ export_fce->fce_addLayer(p->img, p->x, p->y, 0, 0, p->img->w, p->img->h, p->layer);
}
#endif
-static void
-destroyPipe(pipe_t * p)
+static void destroyPipe(pipe_t *p)
{
- assert(p != NULL);
- free(p);
+ assert( p != NULL );
+ free(p);
}
-static void
-cmd_teleport(char *line)
+static void cmd_teleport(char *line)
{
- char str_x[STR_NUM_SIZE];
- char str_y[STR_NUM_SIZE];
- char str_w[STR_NUM_SIZE];
- char str_h[STR_NUM_SIZE];
- char str_id[STR_NUM_SIZE];
- char str_id_out[STR_NUM_SIZE];
- char str_position[STR_NUM_SIZE];
- char str_layer[STR_NUM_SIZE];
- char str_image[STR_SIZE];
- pipe_t *new;
-
- if (export_fce->fce_getValue(line, "x", str_x, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "y", str_y, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "w", str_w, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "h", str_h, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "id", str_id, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "id_out", str_id_out, STR_NUM_SIZE) !=
- 0)
- return;
- if (export_fce->
- fce_getValue(line, "position", str_position, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "layer", str_layer, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "image", str_image, STR_SIZE) != 0)
- return;
+ char str_x[STR_NUM_SIZE];
+ char str_y[STR_NUM_SIZE];
+ char str_w[STR_NUM_SIZE];
+ char str_h[STR_NUM_SIZE];
+ char str_id[STR_NUM_SIZE];
+ char str_id_out[STR_NUM_SIZE];
+ char str_position[STR_NUM_SIZE];
+ char str_layer[STR_NUM_SIZE];
+ char str_image[STR_SIZE];
+ pipe_t *new;
+
+ if( export_fce->fce_getValue(line, "x", str_x, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "y", str_y, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "w", str_w, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "h", str_h, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "id", str_id, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "id_out", str_id_out, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "position", str_position, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "layer", str_layer, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "image", str_image, STR_SIZE) != 0 )return;
#ifndef PUBLIC_SERVER
- new = newPipe(atoi(str_x), atoi(str_y),
- atoi(str_w), atoi(str_h),
- atoi(str_layer), atoi(str_id), atoi(str_id_out),
- atoi(str_position),
- export_fce->fce_getImage(IMAGE_GROUP_USER, str_image));
+ new = newPipe(atoi(str_x), atoi(str_y),
+ atoi(str_w), atoi(str_h),
+ atoi(str_layer), atoi(str_id), atoi(str_id_out), atoi(str_position),
+ export_fce->fce_getImage(IMAGE_GROUP_USER, str_image) );
#endif
#ifdef PUBLIC_SERVER
- new = newPipe(atoi(str_x), atoi(str_y),
- atoi(str_w), atoi(str_h),
- atoi(str_layer), atoi(str_id), atoi(str_id_out),
- atoi(str_position));
+ new = newPipe(atoi(str_x), atoi(str_y),
+ atoi(str_w), atoi(str_h),
+ atoi(str_layer), atoi(str_id), atoi(str_id_out), atoi(str_position) );
#endif
- if (spacePipe == NULL) {
- spacePipe =
- newSpace(export_fce->fce_getCurrentArena()->w,
- export_fce->fce_getCurrentArena()->h, 320, 240,
- getStatusPipe, setStatusPipe);
- }
+ if( spacePipe == NULL )
+ {
+ spacePipe = newSpace(export_fce->fce_getCurrentArena()->w, export_fce->fce_getCurrentArena()->h,
+ 320, 240, getStatusPipe, setStatusPipe);
+ }
- addObjectToSpace(spacePipe, new);
+ addObjectToSpace(spacePipe, new);
}
-static void
-moveShotFromPipe(shot_t * shot, pipe_t * pipe)
+static void moveShotFromPipe(shot_t *shot, pipe_t *pipe)
{
- pipe_t *distPipe;
+ pipe_t *distPipe;
- distPipe = getObjectFromSpaceWithID(spacePipe, pipe->id_out);
+ distPipe = getObjectFromSpaceWithID(spacePipe, pipe->id_out);
- if (distPipe == NULL) {
- fprintf(stderr, "Pipe ID for pipe \"%d\" was not found\n", pipe->id);
- return;
- }
+ if( distPipe == NULL )
+ {
+ fprintf(stderr, "Pipe ID for pipe \"%d\" was not found\n", pipe->id);
+ return;
+ }
- fce_move_shot(shot, distPipe->position, pipe->x, pipe->y,
- distPipe->x, distPipe->y, distPipe->w, distPipe->h);
+ fce_move_shot(shot, distPipe->position, pipe->x, pipe->y,
+ distPipe->x, distPipe->y, distPipe->w, distPipe->h);
}
-int
-init(export_fce_t * p)
+int init(export_fce_t *p)
{
- export_fce = p;
+ export_fce = p;
- listPipe = newList();
+ listPipe = newList();
- if (export_fce->fce_loadDepModule("libmodMove") != 0) {
- return -1;
- }
+ if( export_fce->fce_loadDepModule("libmodMove") != 0 )
+ {
+ return -1;
+ }
- if ((fce_move_shot = export_fce->fce_getShareFce("move_shot")) == NULL) {
- return -1;
- }
+ if( ( fce_move_shot = export_fce->fce_getShareFce("move_shot") ) == NULL )
+ {
+ return -1;
+ }
- return 0;
+ return 0;
}
#ifndef PUBLIC_SERVER
-static void
-action_drawpipe(space_t * space, pipe_t * pipe, void *p)
+static void action_drawpipe(space_t *space, pipe_t *pipe, void *p)
{
- drawPipe(pipe);
+ drawPipe(pipe);
}
-int
-draw(int x, int y, int w, int h)
+int draw(int x, int y, int w, int h)
{
- if (spacePipe == NULL) {
- return 0;
- }
+ if( spacePipe == NULL )
+ {
+ return 0;
+ }
- actionSpaceFromLocation(spacePipe, action_drawpipe, NULL, x, y, w, h);
- //printSpace(spacePipe);
+ actionSpaceFromLocation(spacePipe, action_drawpipe, NULL, x, y, w, h);
+ //printSpace(spacePipe);
- return 0;
+ return 0;
}
#endif
-static int
-negPosition(int n)
+static int negPosition(int n)
{
- switch (n) {
- case TUX_UP:
- return TUX_DOWN;
+ switch( n )
+ {
+ case TUX_UP :
+ return TUX_DOWN;
- case TUX_LEFT:
- return TUX_RIGHT;
+ case TUX_LEFT :
+ return TUX_RIGHT;
- case TUX_RIGHT:
- return TUX_LEFT;
+ case TUX_RIGHT :
+ return TUX_LEFT;
- case TUX_DOWN:
- return TUX_UP;
+ case TUX_DOWN :
+ return TUX_UP;
- default:
- assert(!"Tux is moving in another dimension maybe!");
- break;
- }
+ default :
+ assert( ! "Tux is moving in another dimension maybe!" );
+ break;
+ }
- return -1; // no warnning
+ return -1; // no warnning
}
-static void
-action_eventpipe(space_t * space, pipe_t * pipe, shot_t * shot)
+static void action_eventpipe(space_t *space, pipe_t *pipe, shot_t *shot)
{
- arena_t *arena;
- tux_t *author;
-
- arena = export_fce->fce_getCurrentArena();
-
- author = getObjectFromSpaceWithID(arena->spaceTux, shot->author_id);
-
- if (author != NULL &&
- author->bonus == BONUS_GHOST && author->bonus_time > 0) {
- return;
- }
-
- if (negPosition(shot->position) == pipe->position &&
- export_fce->fce_getNetTypeGame() != NET_GAME_TYPE_CLIENT) {
- moveShotFromPipe(shot, pipe);
- }
- else {
- if (shot->gun == GUN_BOMBBALL &&
- export_fce->fce_getNetTypeGame() != NET_GAME_TYPE_CLIENT) {
- export_fce->fce_boundBombBall(shot);
- }
- else {
- //delObjectFromSpaceWithObject(arena->spaceShot, shot, export_fce->fce_destroyShot);
- shot->del = TRUE;
- }
- }
+ arena_t *arena;
+ tux_t *author;
+
+ arena = export_fce->fce_getCurrentArena();
+
+ author = getObjectFromSpaceWithID(arena->spaceTux, shot->author_id);
+
+ if( author != NULL &&
+ author->bonus == BONUS_GHOST &&
+ author->bonus_time > 0 )
+ {
+ return;
+ }
+
+ if( negPosition( shot->position ) == pipe->position &&
+ export_fce->fce_getNetTypeGame() != NET_GAME_TYPE_CLIENT )
+ {
+ moveShotFromPipe(shot, pipe);
+ }
+ else
+ {
+ if( shot->gun == GUN_BOMBBALL &&
+ export_fce->fce_getNetTypeGame() != NET_GAME_TYPE_CLIENT )
+ {
+ export_fce->fce_boundBombBall(shot);
+ }
+ else
+ {
+ //delObjectFromSpaceWithObject(arena->spaceShot, shot, export_fce->fce_destroyShot);
+ shot->del = TRUE;
+ }
+ }
}
-static void
-action_eventshot(space_t * space, shot_t * shot, space_t * spacePipe)
+static void action_eventshot(space_t *space, shot_t *shot, space_t *spacePipe)
{
- actionSpaceFromLocation(spacePipe, action_eventpipe, shot, shot->x,
- shot->y, shot->w, shot->h);
+ actionSpaceFromLocation(spacePipe, action_eventpipe, shot, shot->x, shot->y, shot->w, shot->h);
- if (shot->del == TRUE) {
- delObjectFromSpaceWithObject(space, shot, export_fce->fce_destroyShot);
- }
+ if( shot->del == TRUE )
+ {
+ delObjectFromSpaceWithObject(space, shot, export_fce->fce_destroyShot);
+ }
}
-int
-event()
+int event()
{
- if (spacePipe == NULL) {
- return 0;
- }
+ if( spacePipe == NULL )
+ {
+ return 0;
+ }
- actionSpace(export_fce->fce_getCurrentArena()->spaceShot, action_eventshot,
- spacePipe);
+ actionSpace(export_fce->fce_getCurrentArena()->spaceShot, action_eventshot, spacePipe);
- return 0;
+ return 0;
}
-int
-isConflict(int x, int y, int w, int h)
+int isConflict(int x, int y, int w, int h)
{
- if (spacePipe == NULL) {
- return 0;
- }
+ if( spacePipe == NULL )
+ {
+ return 0;
+ }
- return isConflictWithObjectFromSpace(spacePipe, x, y, w, h);
+ return isConflictWithObjectFromSpace(spacePipe, x, y, w, h);
}
-void
-cmdArena(char *line)
+void cmdArena(char *line)
{
- if (strncmp(line, "pipe", 4) == 0)
- cmd_teleport(line);
+ if( strncmp(line, "pipe", 4) == 0 )cmd_teleport(line);
}
-void
-recvMsg(char *msg)
+void recvMsg(char *msg)
{
}
-int
-destroy()
+int destroy()
{
- destroySpaceWithObject(spacePipe, destroyPipe);
- destroyList(listPipe);
+ destroySpaceWithObject(spacePipe, destroyPipe);
+ destroyList(listPipe);
- return 0;
+ return 0;
}
diff --git a/src/modules/modPipe.c~ b/src/modules/modPipe.c~
deleted file mode 100644
index efe3b7a..0000000
--- a/src/modules/modPipe.c~
+++ /dev/null
@@ -1,335 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "modules.h"
-#include "tux.h"
-#include "shot.h"
-#include "list.h"
-#include "gun.h"
-#include "space.h"
-
-#ifndef PUBLIC_SERVER
-#include "interface.h"
-#include "image.h"
-#endif
-
-#ifdef PUBLIC_SERVER
-#include "publicServer.h"
-#endif
-
-typedef struct pipe_struct
-{
- int x; // poloha steny
- int y;
-
- int w; // rozmery steny
- int h;
-
- int id;
- int id_out;
- int position;
-
- int layer; // vrstva
-
-#ifndef PUBLIC_SERVER
- image_t *img; //obrazok
-#endif
-} pipe_t;
-
-static void (*fce_move_shot)(shot_t *shot, int position, int src_x, int src_y,
- int dist_x, int dist_y, int dist_w, int dist_h);
-
-static export_fce_t *export_fce;
-
-static list_t *listPipe;
-static space_t *spacePipe;
-
-#ifndef PUBLIC_SERVER
-static pipe_t* newPipe(int x, int y, int w, int h, int layer, int id, int id_out, int position, image_t *img)
-#endif
-
-#ifdef PUBLIC_SERVER
-static pipe_t* newPipe(int x, int y, int w, int h, int layer, int id, int id_out, int position)
-#endif
-
-{
- pipe_t *new;
-
-#ifndef PUBLIC_SERVER
- assert( img != NULL );
-#endif
-
- new = malloc( sizeof(pipe_t) );
- assert( new != NULL );
-
- new->x = x;
- new->y = y;
- new->w = w;
- new->h = h;
- new->layer = layer;
- new->id = id;
- new->id_out = id_out;
- new->position = position;
-#ifndef PUBLIC_SERVER
- new->img = img;
-#endif
- return new;
-}
-
-static void setStatusPipe(void *p, int x, int y, int w, int h)
-{
- pipe_t *pipe;
-
- pipe = p;
-
- pipe->x = x;
- pipe->y = y;
- pipe->w = w;
- pipe->h = h;
-}
-
-static void getStatusPipe(void *p, int *id, int *x, int *y, int *w, int *h)
-{
- pipe_t *pipe;
-
- pipe = p;
-
- *id = pipe->id;
- *x = pipe->x;
- *y = pipe->y;
- *w = pipe->w;
- *h = pipe->h;
-}
-
-#ifndef PUBLIC_SERVER
-
-static void drawPipe(pipe_t *p)
-{
- assert( p != NULL );
-
- export_fce->fce_addLayer(p->img, p->x, p->y, 0, 0, p->img->w, p->img->h, p->layer);
-}
-
-#endif
-
-static void destroyPipe(pipe_t *p)
-{
- assert( p != NULL );
- free(p);
-}
-
-
-static void cmd_teleport(char *line)
-{
- char str_x[STR_NUM_SIZE];
- char str_y[STR_NUM_SIZE];
- char str_w[STR_NUM_SIZE];
- char str_h[STR_NUM_SIZE];
- char str_id[STR_NUM_SIZE];
- char str_id_out[STR_NUM_SIZE];
- char str_position[STR_NUM_SIZE];
- char str_layer[STR_NUM_SIZE];
- char str_image[STR_SIZE];
- pipe_t *new;
-
- if( export_fce->fce_getValue(line, "x", str_x, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "y", str_y, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "w", str_w, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "h", str_h, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "id", str_id, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "id_out", str_id_out, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "position", str_position, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "layer", str_layer, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "image", str_image, STR_SIZE) != 0 )return;
-
-#ifndef PUBLIC_SERVER
- new = newPipe(atoi(str_x), atoi(str_y),
- atoi(str_w), atoi(str_h),
- atoi(str_layer), atoi(str_id), atoi(str_id_out), atoi(str_position),
- export_fce->fce_getImage(IMAGE_GROUP_USER, str_image) );
-#endif
-
-#ifdef PUBLIC_SERVER
- new = newPipe(atoi(str_x), atoi(str_y),
- atoi(str_w), atoi(str_h),
- atoi(str_layer), atoi(str_id), atoi(str_id_out), atoi(str_position) );
-#endif
-
- if( spacePipe == NULL )
- {
- spacePipe = newSpace(export_fce->fce_getCurrentArena()->w, export_fce->fce_getCurrentArena()->h,
- 320, 240, getStatusPipe, setStatusPipe);
- }
-
- addObjectToSpace(spacePipe, new);
-}
-
-static void moveShotFromPipe(shot_t *shot, pipe_t *pipe)
-{
- pipe_t *distPipe;
-
- distPipe = getObjectFromSpaceWithID(spacePipe, pipe->id_out);
-
- if( distPipe == NULL )
- {
- fprintf(stderr, "Pipe ID for pipe \"%d\" was not found\n", pipe->id);
- return;
- }
-
- fce_move_shot(shot, distPipe->position, pipe->x, pipe->y,
- distPipe->x, distPipe->y, distPipe->w, distPipe->h);
-}
-
-int init(export_fce_t *p)
-{
- export_fce = p;
-
- listPipe = newList();
-
- if( export_fce->fce_loadDepModule("libmodMove") != 0 )
- {
- return -1;
- }
-
- if( ( fce_move_shot = export_fce->fce_getShareFce("move_shot") ) == NULL )
- {
- return -1;
- }
-
- return 0;
-}
-
-#ifndef PUBLIC_SERVER
-
-static void action_drawpipe(space_t *space, pipe_t *pipe, void *p)
-{
- drawPipe(pipe);
-}
-
-int draw(int x, int y, int w, int h)
-{
- if( spacePipe == NULL )
- {
- return 0;
- }
-
- actionSpaceFromLocation(spacePipe, action_drawpipe, NULL, x, y, w, h);
- //printSpace(spacePipe);
-
- return 0;
-}
-#endif
-
-static int negPosition(int n)
-{
- switch( n )
- {
- case TUX_UP :
- return TUX_DOWN;
-
- case TUX_LEFT :
- return TUX_RIGHT;
-
- case TUX_RIGHT :
- return TUX_LEFT;
-
- case TUX_DOWN :
- return TUX_UP;
-
- default :
- assert( ! "Tux is moving in another dimension maybe!" );
- break;
- }
-
- return -1; // no warnning
-}
-
-static void action_eventpipe(space_t *space, pipe_t *pipe, shot_t *shot)
-{
- arena_t *arena;
- tux_t *author;
-
- arena = export_fce->fce_getCurrentArena();
-
- author = getObjectFromSpaceWithID(arena->spaceTux, shot->author_id);
-
- if( author != NULL &&
- author->bonus == BONUS_GHOST &&
- author->bonus_time > 0 )
- {
- return;
- }
-
- if( negPosition( shot->position ) == pipe->position &&
- export_fce->fce_getNetTypeGame() != NET_GAME_TYPE_CLIENT )
- {
- moveShotFromPipe(shot, pipe);
- }
- else
- {
- if( shot->gun == GUN_BOMBBALL &&
- export_fce->fce_getNetTypeGame() != NET_GAME_TYPE_CLIENT )
- {
- export_fce->fce_boundBombBall(shot);
- }
- else
- {
- //delObjectFromSpaceWithObject(arena->spaceShot, shot, export_fce->fce_destroyShot);
- shot->del = TRUE;
- }
- }
-}
-
-static void action_eventshot(space_t *space, shot_t *shot, space_t *spacePipe)
-{
- actionSpaceFromLocation(spacePipe, action_eventpipe, shot, shot->x, shot->y, shot->w, shot->h);
-
- if( shot->del == TRUE )
- {
- delObjectFromSpaceWithObject(space, shot, export_fce->fce_destroyShot);
- }
-}
-
-int event()
-{
- if( spacePipe == NULL )
- {
- return 0;
- }
-
- actionSpace(export_fce->fce_getCurrentArena()->spaceShot, action_eventshot, spacePipe);
-
- return 0;
-}
-
-int isConflict(int x, int y, int w, int h)
-{
- if( spacePipe == NULL )
- {
- return 0;
- }
-
- return isConflictWithObjectFromSpace(spacePipe, x, y, w, h);
-}
-
-void cmdArena(char *line)
-{
- if( strncmp(line, "pipe", 4) == 0 )cmd_teleport(line);
-}
-
-void recvMsg(char *msg)
-{
-
-}
-
-int destroy()
-{
- destroySpaceWithObject(spacePipe, destroyPipe);
- destroyList(listPipe);
-
- return 0;
-}
diff --git a/src/modules/modTeleport.c b/src/modules/modTeleport.c
index ff014ae..dfd983a 100755
--- a/src/modules/modTeleport.c
+++ b/src/modules/modTeleport.c
@@ -23,18 +23,18 @@
typedef struct teleport_struct
{
- int id;
+ int id;
- int x; // poloha steny
- int y;
+ int x; // poloha steny
+ int y;
- int w; // rozmery steny
- int h;
+ int w; // rozmery steny
+ int h;
- int layer; // vrstva
+ int layer; // vrstva
-#ifndef PUBLIC_SERVER
- image_t *img; //obrazok
+#ifndef PUBLIC_SERVER
+ image_t *img; //obrazok
#endif
} teleport_t;
@@ -43,331 +43,302 @@ static export_fce_t *export_fce;
static space_t *spaceTeleport;
static list_t *listTeleport;
-static void (*fce_move_tux) (tux_t * tux, int x, int y, int w, int h);
-static void (*fce_move_shot) (shot_t * shot, int position, int src_x,
- int src_y, int dist_x, int dist_y, int dist_w,
- int dist_h);
+static void (*fce_move_tux)(tux_t *tux, int x, int y, int w, int h);
+static void (*fce_move_shot)(shot_t *shot, int position, int src_x, int src_y,
+ int dist_x, int dist_y, int dist_w, int dist_h);
-#ifndef PUBLIC_SERVER
-teleport_t *
-newTeleport(int x, int y, int w, int h, int layer, image_t * img)
+#ifndef PUBLIC_SERVER
+teleport_t* newTeleport(int x, int y, int w, int h, int layer, image_t *img)
#endif
-#ifdef PUBLIC_SERVER
- teleport_t *newTeleport(int x, int y, int w, int h, int layer)
+
+#ifdef PUBLIC_SERVER
+teleport_t* newTeleport(int x, int y, int w, int h, int layer)
#endif
{
- static int last_id = 0;
-
- teleport_t *new;
+ static int last_id = 0;
-#ifndef PUBLIC_SERVER
- assert(img != NULL);
+ teleport_t *new;
+
+#ifndef PUBLIC_SERVER
+ assert( img != NULL );
#endif
- new = malloc(sizeof(teleport_t));
- assert(new != NULL);
-
- new->id = ++last_id;
- new->x = x;
- new->y = y;
- new->w = w;
- new->h = h;
- new->layer = layer;
-#ifndef PUBLIC_SERVER
- new->img = img;
+ new = malloc( sizeof(teleport_t) );
+ assert( new != NULL );
+
+ new->id = ++last_id;
+ new->x = x;
+ new->y = y;
+ new->w = w;
+ new->h = h;
+ new->layer = layer;
+#ifndef PUBLIC_SERVER
+ new->img = img;
#endif
- return new;
+ return new;
}
-static void
-setStatusTeleport(void *p, int x, int y, int w, int h)
+static void setStatusTeleport(void *p, int x, int y, int w, int h)
{
- teleport_t *teleport;
+ teleport_t *teleport;
- teleport = p;
+ teleport = p;
- teleport->x = x;
- teleport->y = y;
- teleport->w = w;
- teleport->h = h;
+ teleport->x = x;
+ teleport->y = y;
+ teleport->w = w;
+ teleport->h = h;
}
-static void
-getStatusTeleport(void *p, int *id, int *x, int *y, int *w, int *h)
+static void getStatusTeleport(void *p, int *id, int *x, int *y, int *w, int *h)
{
- teleport_t *teleport;
- teleport = p;
-
- *id = teleport->id;
- *x = teleport->x;
- *y = teleport->y;
- *w = teleport->w;
- *h = teleport->h;
+ teleport_t *teleport;
+ teleport = p;
+
+ *id = teleport->id;
+ *x = teleport->x;
+ *y = teleport->y;
+ *w = teleport->w;
+ *h = teleport->h;
}
#ifndef PUBLIC_SERVER
-static void
-drawTeleport(teleport_t * p)
+static void drawTeleport(teleport_t *p)
{
- assert(p != NULL);
+ assert( p != NULL );
- export_fce->fce_addLayer(p->img, p->x, p->y, 0, 0, p->img->w, p->img->h,
- p->layer);
+ export_fce->fce_addLayer(p->img, p->x, p->y, 0, 0, p->img->w, p->img->h, p->layer);
}
#endif
-static void
-destroyTeleport(teleport_t * p)
+static void destroyTeleport(teleport_t *p)
{
- assert(p != NULL);
- free(p);
+ assert( p != NULL );
+ free(p);
}
-static void
-cmd_teleport(char *line)
+static void cmd_teleport(char *line)
{
- char str_x[STR_NUM_SIZE];
- char str_y[STR_NUM_SIZE];
- char str_w[STR_NUM_SIZE];
- char str_h[STR_NUM_SIZE];
- char str_layer[STR_NUM_SIZE];
- char str_image[STR_SIZE];
- teleport_t *new;
-
- if (export_fce->fce_getValue(line, "x", str_x, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "y", str_y, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "w", str_w, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "h", str_h, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "layer", str_layer, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "image", str_image, STR_SIZE) != 0)
- return;
+ char str_x[STR_NUM_SIZE];
+ char str_y[STR_NUM_SIZE];
+ char str_w[STR_NUM_SIZE];
+ char str_h[STR_NUM_SIZE];
+ char str_layer[STR_NUM_SIZE];
+ char str_image[STR_SIZE];
+ teleport_t *new;
+
+ if( export_fce->fce_getValue(line, "x", str_x, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "y", str_y, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "w", str_w, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "h", str_h, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "layer", str_layer, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "image", str_image, STR_SIZE) != 0 )return;
#ifndef PUBLIC_SERVER
- new = newTeleport(atoi(str_x), atoi(str_y),
- atoi(str_w), atoi(str_h),
- atoi(str_layer),
- export_fce->fce_getImage(IMAGE_GROUP_USER, str_image));
+ new = newTeleport(atoi(str_x), atoi(str_y),
+ atoi(str_w), atoi(str_h),
+ atoi(str_layer), export_fce->fce_getImage(IMAGE_GROUP_USER, str_image) );
#endif
#ifdef PUBLIC_SERVER
- new = newTeleport(atoi(str_x), atoi(str_y),
- atoi(str_w), atoi(str_h), atoi(str_layer));
+ new = newTeleport(atoi(str_x), atoi(str_y),
+ atoi(str_w), atoi(str_h),
+ atoi(str_layer) );
#endif
- if (spaceTeleport == NULL) {
- spaceTeleport =
- newSpace(export_fce->fce_getCurrentArena()->w,
- export_fce->fce_getCurrentArena()->h, 320, 240,
- getStatusTeleport, setStatusTeleport);
- }
+ if( spaceTeleport == NULL )
+ {
+ spaceTeleport = newSpace(export_fce->fce_getCurrentArena()->w, export_fce->fce_getCurrentArena()->h,
+ 320, 240, getStatusTeleport, setStatusTeleport);
+ }
- addObjectToSpace(spaceTeleport, new);
+ addObjectToSpace(spaceTeleport, new);
}
-static teleport_t *
-getRandomTeleportBut(space_t * space, teleport_t * teleport)
+static teleport_t* getRandomTeleportBut(space_t *space, teleport_t *teleport)
{
- int index;
+ int index;
- do {
- index = random() % getSpaceCount(space);
- } while (getItemFromSpace(space, index) == teleport);
+ do{
+ index = random() % getSpaceCount(space);
+ }while( getItemFromSpace(space, index) == teleport );
- return (teleport_t *) getItemFromSpace(space, index);
+ return (teleport_t *) getItemFromSpace(space, index);
}
-static int
-getRandomPosition()
+static int getRandomPosition()
{
- switch (random() % 4) {
- case 0:
- return TUX_UP;
+ switch( random() % 4 )
+ {
+ case 0 :
+ return TUX_UP;
- case 1:
- return TUX_LEFT;
+ case 1 :
+ return TUX_LEFT;
- case 2:
- return TUX_RIGHT;
+ case 2 :
+ return TUX_RIGHT;
- case 3:
- return TUX_DOWN;
- }
+ case 3 :
+ return TUX_DOWN;
+ }
- assert
- (!"When generating random value in range 0 to 3 i got some other value?!");
+ assert( ! "When generating random value in range 0 to 3 i got some other value?!" );
- return -1; // no warnning
+ return -1; // no warnning
}
-static void
-teleportTux(tux_t * tux, teleport_t * teleport)
+static void teleportTux(tux_t *tux, teleport_t *teleport)
{
- teleport_t *distTeleport;
+ teleport_t *distTeleport;
- if (tux->bonus == BONUS_GHOST ||
- export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_CLIENT) {
- return;
- }
+ if( tux->bonus == BONUS_GHOST ||
+ export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_CLIENT )
+ {
+ return;
+ }
- distTeleport = getRandomTeleportBut(spaceTeleport, teleport);
+ distTeleport = getRandomTeleportBut(spaceTeleport, teleport);
- fce_move_tux(tux, distTeleport->x, distTeleport->y, distTeleport->w,
- distTeleport->h);
+ fce_move_tux(tux, distTeleport->x, distTeleport->y, distTeleport->w, distTeleport->h);
}
-static void
-moveShotFromTeleport(shot_t * shot, teleport_t * teleport, space_t * space)
+static void moveShotFromTeleport(shot_t *shot, teleport_t *teleport, space_t *space)
{
- teleport_t *distTeleport;
+ teleport_t *distTeleport;
- distTeleport = getRandomTeleportBut(space, teleport);
+ distTeleport = getRandomTeleportBut(space, teleport);
- fce_move_shot(shot, getRandomPosition(), teleport->x, teleport->y,
- distTeleport->x, distTeleport->y, distTeleport->w,
- distTeleport->h);
+ fce_move_shot(shot, getRandomPosition(), teleport->x, teleport->y,
+ distTeleport->x, distTeleport->y, distTeleport->w, distTeleport->h);
}
-int
-init(export_fce_t * p)
+int init(export_fce_t *p)
{
- export_fce = p;
+ export_fce = p;
- listTeleport = newList();
+ listTeleport = newList();
- if (export_fce->fce_loadDepModule("libmodMove") != 0) {
- return -1;
- }
+ if( export_fce->fce_loadDepModule("libmodMove") != 0 )
+ {
+ return -1;
+ }
- if ((fce_move_tux = export_fce->fce_getShareFce("move_tux")) == NULL) {
- return -1;
- }
+ if( ( fce_move_tux = export_fce->fce_getShareFce("move_tux") ) == NULL )
+ {
+ return -1;
+ }
- if ((fce_move_shot = export_fce->fce_getShareFce("move_shot")) == NULL) {
- return -1;
- }
+ if( ( fce_move_shot = export_fce->fce_getShareFce("move_shot") ) == NULL )
+ {
+ return -1;
+ }
- return 0;
+ return 0;
}
#ifndef PUBLIC_SERVER
-static void
-action_drawteleport(space_t * space, teleport_t * teleport, void *p)
+static void action_drawteleport(space_t *space, teleport_t *teleport, void *p)
{
- drawTeleport(teleport);
+ drawTeleport(teleport);
}
-int
-draw(int x, int y, int w, int h)
+int draw(int x, int y, int w, int h)
{
- if (spaceTeleport == NULL) {
- return 0;
- }
+ if( spaceTeleport == NULL )
+ {
+ return 0;
+ }
- actionSpaceFromLocation(spaceTeleport, action_drawteleport, NULL, x, y, w,
- h);
+ actionSpaceFromLocation(spaceTeleport, action_drawteleport, NULL, x, y, w, h);
- return 0;
+ return 0;
}
#endif
-static void
-action_eventteleportshot(space_t * space, teleport_t * teleport,
- shot_t * shot)
+static void action_eventteleportshot(space_t *space, teleport_t *teleport, shot_t *shot)
{
- arena_t *arena;
- tux_t *author;
-
- arena = export_fce->fce_getCurrentArena();
+ arena_t *arena;
+ tux_t *author;
- author = getObjectFromSpaceWithID(arena->spaceTux, shot->author_id);
+ arena = export_fce->fce_getCurrentArena();
- if (author != NULL &&
- author->bonus == BONUS_GHOST && author->bonus_time > 0) {
- return;
- }
+ author = getObjectFromSpaceWithID(arena->spaceTux, shot->author_id);
+
+ if( author != NULL &&
+ author->bonus == BONUS_GHOST &&
+ author->bonus_time > 0 )
+ {
+ return;
+ }
- moveShotFromTeleport(shot, teleport, spaceTeleport);
+ moveShotFromTeleport(shot, teleport, spaceTeleport);
}
-static void
-action_eventshot(space_t * space, shot_t * shot, space_t * spaceTeleport)
+static void action_eventshot(space_t *space, shot_t *shot, space_t *spaceTeleport)
{
- actionSpaceFromLocation(spaceTeleport, action_eventteleportshot, shot,
- shot->x, shot->y, shot->w, shot->h);
+ actionSpaceFromLocation(spaceTeleport, action_eventteleportshot, shot, shot->x, shot->y, shot->w, shot->h);
}
-static void
-action_eventteleporttux(space_t * space, teleport_t * teleport, tux_t * tux)
+static void action_eventteleporttux(space_t *space, teleport_t *teleport, tux_t *tux)
{
- teleportTux(tux, teleport);
+ teleportTux(tux, teleport);
}
-static void
-action_eventtux(space_t * space, tux_t * tux, space_t * spaceTeleport)
+static void action_eventtux(space_t *space, tux_t *tux, space_t *spaceTeleport)
{
- int x, y, w, h;
+ int x, y, w, h;
- export_fce->fce_getTuxProportion(tux, &x, &y, &w, &h);
+ export_fce->fce_getTuxProportion(tux, &x, &y, &w, &h);
- actionSpaceFromLocation(spaceTeleport, action_eventteleporttux, tux, x, y,
- w, h);
+ actionSpaceFromLocation(spaceTeleport, action_eventteleporttux, tux, x, y, w, h);
}
-int
-event()
+int event()
{
- if (spaceTeleport == NULL) {
- return 0;
- }
+ if( spaceTeleport == NULL )
+ {
+ return 0;
+ }
- if (export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_CLIENT) {
- return 0;
- }
+ if( export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_CLIENT )
+ {
+ return 0;
+ }
- actionSpace(export_fce->fce_getCurrentArena()->spaceShot, action_eventshot,
- spaceTeleport);
- actionSpace(export_fce->fce_getCurrentArena()->spaceTux, action_eventtux,
- spaceTeleport);
+ actionSpace(export_fce->fce_getCurrentArena()->spaceShot, action_eventshot, spaceTeleport);
+ actionSpace(export_fce->fce_getCurrentArena()->spaceTux, action_eventtux, spaceTeleport);
- return 0;
+ return 0;
}
-int
-isConflict(int x, int y, int w, int h)
+int isConflict(int x, int y, int w, int h)
{
- if (spaceTeleport == NULL) {
- return 0;
- }
+ if( spaceTeleport == NULL )
+ {
+ return 0;
+ }
- return 0;
+ return 0;
}
-void
-cmdArena(char *line)
+void cmdArena(char *line)
{
- if (strncmp(line, "teleport", 8) == 0)
- cmd_teleport(line);
+ if( strncmp(line, "teleport", 8) == 0 )cmd_teleport(line);
}
-void
-recvMsg(char *msg)
+void recvMsg(char *msg)
{
}
-int
-destroy()
+int destroy()
{
- destroySpaceWithObject(spaceTeleport, destroyTeleport);
- destroyList(listTeleport);
- return 0;
+ destroySpaceWithObject(spaceTeleport, destroyTeleport);
+ destroyList(listTeleport);
+ return 0;
}
diff --git a/src/modules/modTeleport.c~ b/src/modules/modTeleport.c~
deleted file mode 100644
index dfd983a..0000000
--- a/src/modules/modTeleport.c~
+++ /dev/null
@@ -1,344 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "modules.h"
-#include "tux.h"
-#include "shot.h"
-#include "list.h"
-#include "gun.h"
-#include "space.h"
-
-#ifndef PUBLIC_SERVER
-#include "interface.h"
-#include "image.h"
-#endif
-
-#ifdef PUBLIC_SERVER
-#include "publicServer.h"
-#endif
-
-typedef struct teleport_struct
-{
- int id;
-
- int x; // poloha steny
- int y;
-
- int w; // rozmery steny
- int h;
-
- int layer; // vrstva
-
-#ifndef PUBLIC_SERVER
- image_t *img; //obrazok
-#endif
-} teleport_t;
-
-static export_fce_t *export_fce;
-
-static space_t *spaceTeleport;
-static list_t *listTeleport;
-
-static void (*fce_move_tux)(tux_t *tux, int x, int y, int w, int h);
-static void (*fce_move_shot)(shot_t *shot, int position, int src_x, int src_y,
- int dist_x, int dist_y, int dist_w, int dist_h);
-
-#ifndef PUBLIC_SERVER
-teleport_t* newTeleport(int x, int y, int w, int h, int layer, image_t *img)
-#endif
-
-#ifdef PUBLIC_SERVER
-teleport_t* newTeleport(int x, int y, int w, int h, int layer)
-#endif
-{
- static int last_id = 0;
-
- teleport_t *new;
-
-#ifndef PUBLIC_SERVER
- assert( img != NULL );
-#endif
-
- new = malloc( sizeof(teleport_t) );
- assert( new != NULL );
-
- new->id = ++last_id;
- new->x = x;
- new->y = y;
- new->w = w;
- new->h = h;
- new->layer = layer;
-#ifndef PUBLIC_SERVER
- new->img = img;
-#endif
-
- return new;
-}
-
-static void setStatusTeleport(void *p, int x, int y, int w, int h)
-{
- teleport_t *teleport;
-
- teleport = p;
-
- teleport->x = x;
- teleport->y = y;
- teleport->w = w;
- teleport->h = h;
-}
-
-static void getStatusTeleport(void *p, int *id, int *x, int *y, int *w, int *h)
-{
- teleport_t *teleport;
- teleport = p;
-
- *id = teleport->id;
- *x = teleport->x;
- *y = teleport->y;
- *w = teleport->w;
- *h = teleport->h;
-}
-
-#ifndef PUBLIC_SERVER
-
-static void drawTeleport(teleport_t *p)
-{
- assert( p != NULL );
-
- export_fce->fce_addLayer(p->img, p->x, p->y, 0, 0, p->img->w, p->img->h, p->layer);
-}
-
-#endif
-
-static void destroyTeleport(teleport_t *p)
-{
- assert( p != NULL );
- free(p);
-}
-
-
-static void cmd_teleport(char *line)
-{
- char str_x[STR_NUM_SIZE];
- char str_y[STR_NUM_SIZE];
- char str_w[STR_NUM_SIZE];
- char str_h[STR_NUM_SIZE];
- char str_layer[STR_NUM_SIZE];
- char str_image[STR_SIZE];
- teleport_t *new;
-
- if( export_fce->fce_getValue(line, "x", str_x, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "y", str_y, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "w", str_w, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "h", str_h, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "layer", str_layer, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "image", str_image, STR_SIZE) != 0 )return;
-
-#ifndef PUBLIC_SERVER
- new = newTeleport(atoi(str_x), atoi(str_y),
- atoi(str_w), atoi(str_h),
- atoi(str_layer), export_fce->fce_getImage(IMAGE_GROUP_USER, str_image) );
-#endif
-
-#ifdef PUBLIC_SERVER
- new = newTeleport(atoi(str_x), atoi(str_y),
- atoi(str_w), atoi(str_h),
- atoi(str_layer) );
-#endif
-
- if( spaceTeleport == NULL )
- {
- spaceTeleport = newSpace(export_fce->fce_getCurrentArena()->w, export_fce->fce_getCurrentArena()->h,
- 320, 240, getStatusTeleport, setStatusTeleport);
- }
-
- addObjectToSpace(spaceTeleport, new);
-}
-
-static teleport_t* getRandomTeleportBut(space_t *space, teleport_t *teleport)
-{
- int index;
-
- do{
- index = random() % getSpaceCount(space);
- }while( getItemFromSpace(space, index) == teleport );
-
- return (teleport_t *) getItemFromSpace(space, index);
-}
-
-static int getRandomPosition()
-{
- switch( random() % 4 )
- {
- case 0 :
- return TUX_UP;
-
- case 1 :
- return TUX_LEFT;
-
- case 2 :
- return TUX_RIGHT;
-
- case 3 :
- return TUX_DOWN;
- }
-
- assert( ! "When generating random value in range 0 to 3 i got some other value?!" );
-
- return -1; // no warnning
-}
-
-static void teleportTux(tux_t *tux, teleport_t *teleport)
-{
- teleport_t *distTeleport;
-
- if( tux->bonus == BONUS_GHOST ||
- export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_CLIENT )
- {
- return;
- }
-
- distTeleport = getRandomTeleportBut(spaceTeleport, teleport);
-
- fce_move_tux(tux, distTeleport->x, distTeleport->y, distTeleport->w, distTeleport->h);
-}
-
-static void moveShotFromTeleport(shot_t *shot, teleport_t *teleport, space_t *space)
-{
- teleport_t *distTeleport;
-
- distTeleport = getRandomTeleportBut(space, teleport);
-
- fce_move_shot(shot, getRandomPosition(), teleport->x, teleport->y,
- distTeleport->x, distTeleport->y, distTeleport->w, distTeleport->h);
-}
-
-int init(export_fce_t *p)
-{
- export_fce = p;
-
- listTeleport = newList();
-
- if( export_fce->fce_loadDepModule("libmodMove") != 0 )
- {
- return -1;
- }
-
- if( ( fce_move_tux = export_fce->fce_getShareFce("move_tux") ) == NULL )
- {
- return -1;
- }
-
- if( ( fce_move_shot = export_fce->fce_getShareFce("move_shot") ) == NULL )
- {
- return -1;
- }
-
- return 0;
-}
-
-#ifndef PUBLIC_SERVER
-
-static void action_drawteleport(space_t *space, teleport_t *teleport, void *p)
-{
- drawTeleport(teleport);
-}
-
-int draw(int x, int y, int w, int h)
-{
- if( spaceTeleport == NULL )
- {
- return 0;
- }
-
- actionSpaceFromLocation(spaceTeleport, action_drawteleport, NULL, x, y, w, h);
-
- return 0;
-}
-#endif
-
-static void action_eventteleportshot(space_t *space, teleport_t *teleport, shot_t *shot)
-{
- arena_t *arena;
- tux_t *author;
-
- arena = export_fce->fce_getCurrentArena();
-
- author = getObjectFromSpaceWithID(arena->spaceTux, shot->author_id);
-
- if( author != NULL &&
- author->bonus == BONUS_GHOST &&
- author->bonus_time > 0 )
- {
- return;
- }
-
- moveShotFromTeleport(shot, teleport, spaceTeleport);
-}
-
-static void action_eventshot(space_t *space, shot_t *shot, space_t *spaceTeleport)
-{
- actionSpaceFromLocation(spaceTeleport, action_eventteleportshot, shot, shot->x, shot->y, shot->w, shot->h);
-}
-
-static void action_eventteleporttux(space_t *space, teleport_t *teleport, tux_t *tux)
-{
- teleportTux(tux, teleport);
-}
-
-static void action_eventtux(space_t *space, tux_t *tux, space_t *spaceTeleport)
-{
- int x, y, w, h;
-
- export_fce->fce_getTuxProportion(tux, &x, &y, &w, &h);
-
- actionSpaceFromLocation(spaceTeleport, action_eventteleporttux, tux, x, y, w, h);
-}
-
-int event()
-{
- if( spaceTeleport == NULL )
- {
- return 0;
- }
-
- if( export_fce->fce_getNetTypeGame() == NET_GAME_TYPE_CLIENT )
- {
- return 0;
- }
-
- actionSpace(export_fce->fce_getCurrentArena()->spaceShot, action_eventshot, spaceTeleport);
- actionSpace(export_fce->fce_getCurrentArena()->spaceTux, action_eventtux, spaceTeleport);
-
- return 0;
-}
-
-int isConflict(int x, int y, int w, int h)
-{
- if( spaceTeleport == NULL )
- {
- return 0;
- }
-
- return 0;
-}
-
-void cmdArena(char *line)
-{
- if( strncmp(line, "teleport", 8) == 0 )cmd_teleport(line);
-}
-
-void recvMsg(char *msg)
-{
-}
-
-int destroy()
-{
- destroySpaceWithObject(spaceTeleport, destroyTeleport);
- destroyList(listTeleport);
- return 0;
-}
diff --git a/src/modules/modWall.c b/src/modules/modWall.c
index 05f3cef..e1d3083 100755
--- a/src/modules/modWall.c
+++ b/src/modules/modWall.c
@@ -23,21 +23,21 @@
typedef struct wall_struct
{
- int id;
+ int id;
- int x; // poloha steny
- int y;
+ int x; // poloha steny
+ int y;
- int w; // rozmery steny
- int h;
+ int w; // rozmery steny
+ int h;
- int img_x; // poloha obrazka
- int img_y;
+ int img_x; // poloha obrazka
+ int img_y;
- int layer; // vrstva
+ int layer; // vrstva
-#ifndef PUBLIC_SERVER
- image_t *img; //obrazok
+#ifndef PUBLIC_SERVER
+ image_t *img; //obrazok
#endif
} wall_t;
@@ -45,325 +45,299 @@ static export_fce_t *export_fce;
static space_t *spaceWall;
-#ifndef PUBLIC_SERVER
+#ifndef PUBLIC_SERVER
static space_t *spaceImgWall;
#endif
static list_t *listWall;
-#ifndef PUBLIC_SERVER
-wall_t *
-newWall(int x, int y, int w, int h,
- int img_x, int img_y, int layer, image_t * img)
+#ifndef PUBLIC_SERVER
+wall_t* newWall(int x, int y, int w, int h,
+ int img_x, int img_y, int layer, image_t *img)
#endif
-#ifdef PUBLIC_SERVER
- wall_t *newWall(int x, int y, int w, int h,
- int img_x, int img_y, int layer)
+
+#ifdef PUBLIC_SERVER
+wall_t* newWall(int x, int y, int w, int h,
+ int img_x, int img_y, int layer)
#endif
{
- static int last_id = 0;
- wall_t *new;
-
-#ifndef PUBLIC_SERVER
- assert(img != NULL);
+ static int last_id = 0;
+ wall_t *new;
+
+#ifndef PUBLIC_SERVER
+ assert( img != NULL );
#endif
- new = malloc(sizeof(wall_t));
- assert(new != NULL);
-
- new->id = ++last_id;
- new->x = x;
- new->y = y;
- new->w = w;
- new->h = h;
- new->img_x = img_x;
- new->img_y = img_y;
- new->layer = layer;
+ new = malloc( sizeof(wall_t) );
+ assert( new != NULL );
+
+ new->id = ++last_id;
+ new->x = x;
+ new->y = y;
+ new->w = w;
+ new->h = h;
+ new->img_x = img_x;
+ new->img_y = img_y;
+ new->layer = layer;
#ifndef PUBLIC_SERVER
- new->img = img;
+ new->img = img;
#endif
- return new;
+ return new;
}
-#ifndef PUBLIC_SERVER
+#ifndef PUBLIC_SERVER
-void
-drawWall(wall_t * p)
+void drawWall(wall_t *p)
{
- assert(p != NULL);
+ assert( p != NULL );
- export_fce->fce_addLayer(p->img, p->img_x, p->img_y, 0, 0, p->img->w,
- p->img->h, p->layer);
+ export_fce->fce_addLayer(p->img, p->img_x, p->img_y, 0, 0, p->img->w, p->img->h, p->layer);
}
-void
-drawListWall(list_t * list)
+void drawListWall(list_t *list)
{
- wall_t *thisWall;
- int i;
+ wall_t *thisWall;
+ int i;
- assert(list != NULL);
+ assert( list != NULL );
- for (i = 0; i < list->count; i++) {
- thisWall = (wall_t *) list->list[i];
- assert(thisWall != NULL);
- drawWall(thisWall);
- }
+ for( i = 0 ; i < list->count ; i++ )
+ {
+ thisWall = (wall_t *)list->list[i];
+ assert( thisWall != NULL );
+ drawWall(thisWall);
+ }
}
#endif
-void
-destroyWall(wall_t * p)
+void destroyWall(wall_t *p)
{
- assert(p != NULL);
- free(p);
+ assert( p != NULL );
+ free(p);
}
-static void
-getStatusWall(void *p, int *id, int *x, int *y, int *w, int *h)
+static void getStatusWall(void *p, int *id, int *x, int *y, int *w, int *h)
{
- wall_t *wall;
+ wall_t *wall;
- wall = p;
+ wall = p;
- *id = wall->id;
- *x = wall->x;
- *y = wall->y;
- *w = wall->w;
- *h = wall->h;
+ *id = wall->id;
+ *x = wall->x;
+ *y = wall->y;
+ *w = wall->w;
+ *h = wall->h;
}
-static void
-setStatusWall(void *p, int x, int y, int w, int h)
+static void setStatusWall(void *p, int x, int y, int w, int h)
{
- wall_t *wall;
+ wall_t *wall;
- wall = p;
+ wall = p;
- wall->x = x;
- wall->y = y;
- wall->w = w;
- wall->h = h;
+ wall->x = x;
+ wall->y = y;
+ wall->w = w;
+ wall->h = h;
}
-#ifndef PUBLIC_SERVER
+#ifndef PUBLIC_SERVER
-static void
-getStatusImgWall(void *p, int *id, int *x, int *y, int *w, int *h)
+static void getStatusImgWall(void *p, int *id, int *x, int *y, int *w, int *h)
{
- wall_t *wall;
+ wall_t *wall;
- wall = p;
+ wall = p;
- *id = wall->id;
- *x = wall->img_x;
- *y = wall->img_y;
- *w = wall->img->w;
- *h = wall->img->h;
+ *id = wall->id;
+ *x = wall->img_x;
+ *y = wall->img_y;
+ *w = wall->img->w;
+ *h = wall->img->h;
}
-static void
-setStatusImgWall(void *p, int x, int y, int w, int h)
+static void setStatusImgWall(void *p, int x, int y, int w, int h)
{
}
#endif
-static void
-cmd_wall(char *line)
+static void cmd_wall(char *line)
{
- char str_x[STR_NUM_SIZE];
- char str_y[STR_NUM_SIZE];
- char str_img_x[STR_NUM_SIZE];
- char str_img_y[STR_NUM_SIZE];
- char str_w[STR_NUM_SIZE];
- char str_h[STR_NUM_SIZE];
- char str_layer[STR_NUM_SIZE];
- char str_image[STR_SIZE];
- char str_rel[STR_SIZE];
- int x, y, w, h, img_x, img_y, layer;
- int rel;
- wall_t *new;
-
- rel = 0;
-
- if (export_fce->fce_getValue(line, "rel", str_rel, STR_NUM_SIZE) != 0)
- strcpy(str_rel, "0");
- if (export_fce->fce_getValue(line, "x", str_x, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "y", str_y, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "w", str_w, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "h", str_h, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "img_x", str_img_x, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "img_y", str_img_y, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "layer", str_layer, STR_NUM_SIZE) != 0)
- return;
- if (export_fce->fce_getValue(line, "image", str_image, STR_SIZE) != 0)
- return;
-
- rel = atoi(str_rel);
- x = atoi(str_x);
- y = atoi(str_y);
- w = atoi(str_w);
- h = atoi(str_h);
- img_x = atoi(str_img_x);
- img_y = atoi(str_img_y);
- layer = atoi(str_layer);
-
- if (rel == 1) {
- img_x += x;
- img_y += y;
- }
+ char str_x[STR_NUM_SIZE];
+ char str_y[STR_NUM_SIZE];
+ char str_img_x[STR_NUM_SIZE];
+ char str_img_y[STR_NUM_SIZE];
+ char str_w[STR_NUM_SIZE];
+ char str_h[STR_NUM_SIZE];
+ char str_layer[STR_NUM_SIZE];
+ char str_image[STR_SIZE];
+ char str_rel[STR_SIZE];
+ int x, y, w, h, img_x, img_y, layer;
+ int rel;
+ wall_t *new;
+
+ rel = 0;
+
+ if( export_fce->fce_getValue(line, "rel", str_rel, STR_NUM_SIZE) != 0 )strcpy(str_rel, "0");
+ if( export_fce->fce_getValue(line, "x", str_x, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "y", str_y, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "w", str_w, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "h", str_h, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "img_x", str_img_x, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "img_y", str_img_y, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "layer", str_layer, STR_NUM_SIZE) != 0 )return;
+ if( export_fce->fce_getValue(line, "image", str_image, STR_SIZE) != 0 )return;
+
+ rel = atoi(str_rel);
+ x = atoi(str_x);
+ y = atoi(str_y);
+ w = atoi(str_w);
+ h = atoi(str_h);
+ img_x = atoi(str_img_x);
+ img_y = atoi(str_img_y);
+ layer = atoi(str_layer);
+
+ if( rel == 1 )
+ {
+ img_x += x;
+ img_y += y;
+ }
#ifndef PUBLIC_SERVER
- new =
- newWall(x, y, w, h, img_x, img_y, layer,
- export_fce->fce_getImage(IMAGE_GROUP_USER, str_image));
+ new = newWall(x, y, w, h, img_x, img_y, layer, export_fce->fce_getImage(IMAGE_GROUP_USER, str_image) );
#endif
#ifdef PUBLIC_SERVER
- new = newWall(x, y, w, h, img_x, img_y, layer);
+ new = newWall(x, y, w, h, img_x, img_y, layer);
#endif
- if (spaceWall == NULL) {
- spaceWall =
- newSpace(export_fce->fce_getCurrentArena()->w,
- export_fce->fce_getCurrentArena()->h, 320, 240,
- getStatusWall, setStatusWall);
+ if( spaceWall == NULL )
+ {
+ spaceWall = newSpace(export_fce->fce_getCurrentArena()->w, export_fce->fce_getCurrentArena()->h,
+ 320, 240, getStatusWall, setStatusWall);
-#ifndef PUBLIC_SERVER
- spaceImgWall =
- newSpace(export_fce->fce_getCurrentArena()->w,
- export_fce->fce_getCurrentArena()->h, 320, 240,
- getStatusImgWall, setStatusImgWall);
+#ifndef PUBLIC_SERVER
+ spaceImgWall = newSpace(export_fce->fce_getCurrentArena()->w, export_fce->fce_getCurrentArena()->h,
+ 320, 240, getStatusImgWall, setStatusImgWall);
#endif
- }
+ }
- addObjectToSpace(spaceWall, new);
+ addObjectToSpace(spaceWall, new);
-#ifndef PUBLIC_SERVER
- addObjectToSpace(spaceImgWall, new);
+#ifndef PUBLIC_SERVER
+ addObjectToSpace(spaceImgWall, new);
#endif
}
-int
-init(export_fce_t * p)
+int init(export_fce_t *p)
{
- export_fce = p;
- listWall = newList();
+ export_fce = p;
+ listWall = newList();
- return 0;
+ return 0;
}
#ifndef PUBLIC_SERVER
-static void
-action_drawwall(space_t * space, wall_t * wall, void *p)
+static void action_drawwall(space_t *space, wall_t *wall, void *p)
{
- drawWall(wall);
+ drawWall(wall);
}
-int
-draw(int x, int y, int w, int h)
+int draw(int x, int y, int w, int h)
{
- if (spaceWall == NULL) {
- return 0;
- }
+ if( spaceWall == NULL )
+ {
+ return 0;
+ }
- actionSpaceFromLocation(spaceImgWall, action_drawwall, NULL, x, y, w, h);
+ actionSpaceFromLocation(spaceImgWall, action_drawwall, NULL, x, y, w, h);
- //printSpace(spaceWall);
+ //printSpace(spaceWall);
- return 0;
+ return 0;
}
#endif
-static void
-action_eventwall(space_t * space, wall_t * wall, shot_t * shot)
+static void action_eventwall(space_t *space, wall_t *wall, shot_t *shot)
{
- arena_t *arena;
- tux_t *author;
+ arena_t *arena;
+ tux_t *author;
- arena = export_fce->fce_getCurrentArena();
+ arena = export_fce->fce_getCurrentArena();
- author = getObjectFromSpaceWithID(arena->spaceTux, shot->author_id);
+ author = getObjectFromSpaceWithID(arena->spaceTux, shot->author_id );
- if (author != NULL &&
- author->bonus == BONUS_GHOST && author->bonus_time > 0) {
- return;
- }
+ if( author != NULL &&
+ author->bonus == BONUS_GHOST &&
+ author->bonus_time > 0 )
+ {
+ return;
+ }
- if (shot->gun == GUN_BOMBBALL) {
- if (export_fce->fce_getNetTypeGame() != NET_GAME_TYPE_CLIENT) {
- export_fce->fce_boundBombBall(shot);
- }
+ if( shot->gun == GUN_BOMBBALL)
+ {
+ if( export_fce->fce_getNetTypeGame() != NET_GAME_TYPE_CLIENT )
+ {
+ export_fce->fce_boundBombBall(shot);
+ }
- return;
- }
+ return;
+ }
- //delObjectFromSpaceWithObject(arena->spaceShot, shot, export_fce->fce_destroyShot);
- shot->del = TRUE;
+ //delObjectFromSpaceWithObject(arena->spaceShot, shot, export_fce->fce_destroyShot);
+ shot->del = TRUE;
}
-static void
-action_eventshot(space_t * space, shot_t * shot, space_t * spaceWall)
+static void action_eventshot(space_t *space, shot_t *shot, space_t *spaceWall)
{
- actionSpaceFromLocation(spaceWall, action_eventwall, shot, shot->x,
- shot->y, shot->w, shot->h);
+ actionSpaceFromLocation(spaceWall, action_eventwall, shot, shot->x, shot->y, shot->w, shot->h);
- if (shot->del == TRUE) {
- delObjectFromSpaceWithObject(space, shot, export_fce->fce_destroyShot);
- }
+ if( shot->del == TRUE )
+ {
+ delObjectFromSpaceWithObject(space, shot, export_fce->fce_destroyShot);
+ }
}
-int
-event()
+int event()
{
- if (spaceWall == NULL) {
- return 0;
- }
+ if( spaceWall == NULL )
+ {
+ return 0;
+ }
- actionSpace(export_fce->fce_getCurrentArena()->spaceShot, action_eventshot,
- spaceWall);
+ actionSpace(export_fce->fce_getCurrentArena()->spaceShot, action_eventshot, spaceWall);
- return 0;
+ return 0;
}
-int
-isConflict(int x, int y, int w, int h)
+int isConflict(int x, int y, int w, int h)
{
- if (spaceWall == NULL) {
- return 0;
- }
+ if( spaceWall == NULL )
+ {
+ return 0;
+ }
- return isConflictWithObjectFromSpace(spaceWall, x, y, w, h);
+ return isConflictWithObjectFromSpace(spaceWall, x, y, w, h);
}
-void
-cmdArena(char *line)
+void cmdArena(char *line)
{
- if (strncmp(line, "wall", 4) == 0)
- cmd_wall(line);
+ if( strncmp(line, "wall", 4) == 0 )cmd_wall(line);
}
-void
-recvMsg(char *msg)
+void recvMsg(char *msg)
{
}
-int
-destroy()
+int destroy()
{
- destroySpaceWithObject(spaceWall, destroyWall);
-#ifndef PUBLIC_SERVER
- destroySpace(spaceImgWall);
+ destroySpaceWithObject(spaceWall, destroyWall);
+#ifndef PUBLIC_SERVER
+ destroySpace(spaceImgWall);
#endif
- destroyList(listWall);
- return 0;
+ destroyList(listWall);
+ return 0;
}
diff --git a/src/modules/modWall.c~ b/src/modules/modWall.c~
deleted file mode 100644
index e1d3083..0000000
--- a/src/modules/modWall.c~
+++ /dev/null
@@ -1,343 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "modules.h"
-#include "tux.h"
-#include "shot.h"
-#include "list.h"
-#include "gun.h"
-#include "space.h"
-
-#ifndef PUBLIC_SERVER
-#include "interface.h"
-#include "image.h"
-#endif
-
-#ifdef PUBLIC_SERVER
-#include "publicServer.h"
-#endif
-
-typedef struct wall_struct
-{
- int id;
-
- int x; // poloha steny
- int y;
-
- int w; // rozmery steny
- int h;
-
- int img_x; // poloha obrazka
- int img_y;
-
- int layer; // vrstva
-
-#ifndef PUBLIC_SERVER
- image_t *img; //obrazok
-#endif
-} wall_t;
-
-static export_fce_t *export_fce;
-
-static space_t *spaceWall;
-
-#ifndef PUBLIC_SERVER
-static space_t *spaceImgWall;
-#endif
-
-static list_t *listWall;
-
-#ifndef PUBLIC_SERVER
-wall_t* newWall(int x, int y, int w, int h,
- int img_x, int img_y, int layer, image_t *img)
-#endif
-
-#ifdef PUBLIC_SERVER
-wall_t* newWall(int x, int y, int w, int h,
- int img_x, int img_y, int layer)
-#endif
-{
- static int last_id = 0;
- wall_t *new;
-
-#ifndef PUBLIC_SERVER
- assert( img != NULL );
-#endif
- new = malloc( sizeof(wall_t) );
- assert( new != NULL );
-
- new->id = ++last_id;
- new->x = x;
- new->y = y;
- new->w = w;
- new->h = h;
- new->img_x = img_x;
- new->img_y = img_y;
- new->layer = layer;
-#ifndef PUBLIC_SERVER
- new->img = img;
-#endif
-
- return new;
-}
-
-#ifndef PUBLIC_SERVER
-
-void drawWall(wall_t *p)
-{
- assert( p != NULL );
-
- export_fce->fce_addLayer(p->img, p->img_x, p->img_y, 0, 0, p->img->w, p->img->h, p->layer);
-}
-
-void drawListWall(list_t *list)
-{
- wall_t *thisWall;
- int i;
-
- assert( list != NULL );
-
- for( i = 0 ; i < list->count ; i++ )
- {
- thisWall = (wall_t *)list->list[i];
- assert( thisWall != NULL );
- drawWall(thisWall);
- }
-}
-
-#endif
-
-void destroyWall(wall_t *p)
-{
- assert( p != NULL );
- free(p);
-}
-
-static void getStatusWall(void *p, int *id, int *x, int *y, int *w, int *h)
-{
- wall_t *wall;
-
- wall = p;
-
- *id = wall->id;
- *x = wall->x;
- *y = wall->y;
- *w = wall->w;
- *h = wall->h;
-}
-
-static void setStatusWall(void *p, int x, int y, int w, int h)
-{
- wall_t *wall;
-
- wall = p;
-
- wall->x = x;
- wall->y = y;
- wall->w = w;
- wall->h = h;
-}
-
-#ifndef PUBLIC_SERVER
-
-static void getStatusImgWall(void *p, int *id, int *x, int *y, int *w, int *h)
-{
- wall_t *wall;
-
- wall = p;
-
- *id = wall->id;
- *x = wall->img_x;
- *y = wall->img_y;
- *w = wall->img->w;
- *h = wall->img->h;
-}
-
-static void setStatusImgWall(void *p, int x, int y, int w, int h)
-{
-}
-
-#endif
-
-static void cmd_wall(char *line)
-{
- char str_x[STR_NUM_SIZE];
- char str_y[STR_NUM_SIZE];
- char str_img_x[STR_NUM_SIZE];
- char str_img_y[STR_NUM_SIZE];
- char str_w[STR_NUM_SIZE];
- char str_h[STR_NUM_SIZE];
- char str_layer[STR_NUM_SIZE];
- char str_image[STR_SIZE];
- char str_rel[STR_SIZE];
- int x, y, w, h, img_x, img_y, layer;
- int rel;
- wall_t *new;
-
- rel = 0;
-
- if( export_fce->fce_getValue(line, "rel", str_rel, STR_NUM_SIZE) != 0 )strcpy(str_rel, "0");
- if( export_fce->fce_getValue(line, "x", str_x, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "y", str_y, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "w", str_w, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "h", str_h, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "img_x", str_img_x, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "img_y", str_img_y, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "layer", str_layer, STR_NUM_SIZE) != 0 )return;
- if( export_fce->fce_getValue(line, "image", str_image, STR_SIZE) != 0 )return;
-
- rel = atoi(str_rel);
- x = atoi(str_x);
- y = atoi(str_y);
- w = atoi(str_w);
- h = atoi(str_h);
- img_x = atoi(str_img_x);
- img_y = atoi(str_img_y);
- layer = atoi(str_layer);
-
- if( rel == 1 )
- {
- img_x += x;
- img_y += y;
- }
-
-#ifndef PUBLIC_SERVER
- new = newWall(x, y, w, h, img_x, img_y, layer, export_fce->fce_getImage(IMAGE_GROUP_USER, str_image) );
-#endif
-
-#ifdef PUBLIC_SERVER
- new = newWall(x, y, w, h, img_x, img_y, layer);
-#endif
-
- if( spaceWall == NULL )
- {
- spaceWall = newSpace(export_fce->fce_getCurrentArena()->w, export_fce->fce_getCurrentArena()->h,
- 320, 240, getStatusWall, setStatusWall);
-
-#ifndef PUBLIC_SERVER
- spaceImgWall = newSpace(export_fce->fce_getCurrentArena()->w, export_fce->fce_getCurrentArena()->h,
- 320, 240, getStatusImgWall, setStatusImgWall);
-#endif
- }
-
- addObjectToSpace(spaceWall, new);
-
-#ifndef PUBLIC_SERVER
- addObjectToSpace(spaceImgWall, new);
-#endif
-}
-
-int init(export_fce_t *p)
-{
- export_fce = p;
- listWall = newList();
-
- return 0;
-}
-
-#ifndef PUBLIC_SERVER
-
-static void action_drawwall(space_t *space, wall_t *wall, void *p)
-{
- drawWall(wall);
-}
-
-int draw(int x, int y, int w, int h)
-{
- if( spaceWall == NULL )
- {
- return 0;
- }
-
- actionSpaceFromLocation(spaceImgWall, action_drawwall, NULL, x, y, w, h);
-
- //printSpace(spaceWall);
-
- return 0;
-}
-#endif
-
-static void action_eventwall(space_t *space, wall_t *wall, shot_t *shot)
-{
- arena_t *arena;
- tux_t *author;
-
- arena = export_fce->fce_getCurrentArena();
-
- author = getObjectFromSpaceWithID(arena->spaceTux, shot->author_id );
-
- if( author != NULL &&
- author->bonus == BONUS_GHOST &&
- author->bonus_time > 0 )
- {
- return;
- }
-
- if( shot->gun == GUN_BOMBBALL)
- {
- if( export_fce->fce_getNetTypeGame() != NET_GAME_TYPE_CLIENT )
- {
- export_fce->fce_boundBombBall(shot);
- }
-
- return;
- }
-
- //delObjectFromSpaceWithObject(arena->spaceShot, shot, export_fce->fce_destroyShot);
- shot->del = TRUE;
-}
-
-static void action_eventshot(space_t *space, shot_t *shot, space_t *spaceWall)
-{
- actionSpaceFromLocation(spaceWall, action_eventwall, shot, shot->x, shot->y, shot->w, shot->h);
-
- if( shot->del == TRUE )
- {
- delObjectFromSpaceWithObject(space, shot, export_fce->fce_destroyShot);
- }
-}
-
-int event()
-{
- if( spaceWall == NULL )
- {
- return 0;
- }
-
- actionSpace(export_fce->fce_getCurrentArena()->spaceShot, action_eventshot, spaceWall);
-
- return 0;
-}
-
-int isConflict(int x, int y, int w, int h)
-{
- if( spaceWall == NULL )
- {
- return 0;
- }
-
- return isConflictWithObjectFromSpace(spaceWall, x, y, w, h);
-}
-
-void cmdArena(char *line)
-{
- if( strncmp(line, "wall", 4) == 0 )cmd_wall(line);
-}
-
-void recvMsg(char *msg)
-{
-}
-
-int destroy()
-{
- destroySpaceWithObject(spaceWall, destroyWall);
-#ifndef PUBLIC_SERVER
- destroySpace(spaceImgWall);
-#endif
- destroyList(listWall);
- return 0;
-}
diff --git a/src/net/dns.c b/src/net/dns.c
index 98e6be9..84c917a 100644
--- a/src/net/dns.c
+++ b/src/net/dns.c
@@ -1,5 +1,5 @@
#ifndef __WIN32__
-# include <sys/socket.h>
+# include <sys/socket.h>
# include <netinet/in.h>
# include <arpa/inet.h>
# include <netdb.h>
@@ -12,16 +12,16 @@
#include "main.h"
-char *
-getIPFormDNS(char *domain)
+char* getIPFormDNS(char *domain)
{
- struct hostent *host;
+ struct hostent *host;
- host = gethostbyname(domain);
+ host = gethostbyname(domain);
- if (host == NULL || host->h_addr_list[0] == NULL) {
- return NULL;
- }
+ if( host == NULL || host->h_addr_list[0] == NULL )
+ {
+ return NULL;
+ }
- return strdup(inet_ntoa(*((struct in_addr *) host->h_addr_list[0])));
+ return strdup( inet_ntoa( * ( (struct in_addr *) host->h_addr_list[0] ) ) );
}
diff --git a/src/net/dns.c~ b/src/net/dns.c~
deleted file mode 100644
index 84c917a..0000000
--- a/src/net/dns.c~
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef __WIN32__
-# include <sys/socket.h>
-# include <netinet/in.h>
-# include <arpa/inet.h>
-# include <netdb.h>
-#else
-# include <windows.h>
-# include <wininet.h>
-#endif
-
-#include <string.h>
-
-#include "main.h"
-
-char* getIPFormDNS(char *domain)
-{
- struct hostent *host;
-
- host = gethostbyname(domain);
-
- if( host == NULL || host->h_addr_list[0] == NULL )
- {
- return NULL;
- }
-
- return strdup( inet_ntoa( * ( (struct in_addr *) host->h_addr_list[0] ) ) );
-}
diff --git a/src/net/tcp.c b/src/net/tcp.c
index 87c97ba..aae5e3c 100755
--- a/src/net/tcp.c
+++ b/src/net/tcp.c
@@ -16,371 +16,386 @@
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
-#include <netinet/tcp.h>
+#include <netinet/tcp.h>
#include <fcntl.h>
#include "tcp.h"
-sock_tcp_t *
-newSockTcp(int proto)
+sock_tcp_t* newSockTcp(int proto)
{
- sock_tcp_t *new;
+ sock_tcp_t *new;
- new = malloc(sizeof(sock_tcp_t));
- memset(new, 0, sizeof(sock_tcp_t));
- new->proto = proto;
+ new = malloc( sizeof(sock_tcp_t) );
+ memset(new, 0, sizeof(sock_tcp_t));
+ new->proto = proto;
- return new;
+ return new;
}
-void
-destroySockTcp(sock_tcp_t * p)
+void destroySockTcp(sock_tcp_t *p)
{
- assert(p != NULL);
- free(p);
+ assert( p != NULL );
+ free(p);
}
-sock_tcp_t *
-bindTcpSocket(char *address, int port, int proto)
+sock_tcp_t* bindTcpSocket(char *address, int port, int proto)
{
- sock_tcp_t *new;
- unsigned long param_setsock = 1;
- int len;
- int ret;
+ sock_tcp_t *new;
+ unsigned long param_setsock = 1;
+ int len;
+ int ret;
- assert(port > 0 && port < 65535);
+ assert( port > 0 && port < 65535 );
- new = newSockTcp(proto);
- ret = -1; // no Warnnings
+ new = newSockTcp(proto);
+ ret = -1; // no Warnnings
- assert(new != NULL);
+ assert( new != NULL );
- if (new->proto == PROTO_TCPv4) {
- new->sock = socket(AF_INET, SOCK_STREAM, 0);
- }
+ if( new->proto == PROTO_TCPv4 )
+ {
+ new->sock = socket(AF_INET, SOCK_STREAM, 0);
+ }
#ifdef SUPPORT_IPv6
- if (new->proto == PROTO_TCPv6) {
- new->sock = socket(AF_INET6, SOCK_STREAM, 0);
- }
-#endif
-
- if (new->sock < 0) {
- fprintf(stderr, _("Unable to create socket when connecting!\n"));
- destroySockTcp(new);
- return NULL;
- }
-
- setsockopt(new->sock, SOL_SOCKET, SO_REUSEADDR, (char *) &param_setsock,
- sizeof(param_setsock));
-
- if (new->proto == PROTO_TCPv4) {
- new->sockAddr.sin_family = AF_INET;
- inet_pton(AF_INET, address, &(new->sockAddr.sin_addr));
- new->sockAddr.sin_port = htons(port);
-
- len = sizeof(new->sockAddr);
- ret = bind(new->sock, (struct sockaddr *) &new->sockAddr, len);
- }
+ if( new->proto == PROTO_TCPv6 )
+ {
+ new->sock = socket(AF_INET6, SOCK_STREAM, 0);
+ }
+#endif
+
+ if( new->sock < 0 )
+ {
+ fprintf(stderr, _("Unable to create socket when connecting!\n"));
+ destroySockTcp(new);
+ return NULL;
+ }
+
+ setsockopt(new->sock, SOL_SOCKET, SO_REUSEADDR, (char *) &param_setsock, sizeof (param_setsock));
+
+ if( new->proto == PROTO_TCPv4 )
+ {
+ new->sockAddr.sin_family = AF_INET;
+ inet_pton(AF_INET, address, &(new->sockAddr.sin_addr));
+ new->sockAddr.sin_port = htons(port);
+
+ len = sizeof(new->sockAddr);
+ ret = bind(new->sock, (struct sockaddr *)&new->sockAddr, len);
+ }
#ifdef SUPPORT_IPv6
- if (new->proto == PROTO_TCPv6) {
- new->sockAddr6.sin6_family = AF_INET6;
- //new->sockAddr.sin_addr.s_addr = htonl(INADDR_ANY);
- inet_pton(AF_INET6, address, &(new->sockAddr6.sin6_addr));
- new->sockAddr6.sin6_port = htons(port);
-
- len = sizeof(new->sockAddr6);
- ret = bind(new->sock, (struct sockaddr *) &new->sockAddr6, len);
- }
+ if( new->proto == PROTO_TCPv6 )
+ {
+ new->sockAddr6.sin6_family = AF_INET6;
+ //new->sockAddr.sin_addr.s_addr = htonl(INADDR_ANY);
+ inet_pton(AF_INET6, address, &(new->sockAddr6.sin6_addr));
+ new->sockAddr6.sin6_port = htons(port);
+
+ len = sizeof(new->sockAddr6);
+ ret = bind(new->sock, (struct sockaddr *)&new->sockAddr6, len);
+ }
#endif
- if (ret < 0) {
- fprintf(stderr, _("Unable to bint to port: %d\n"), port);
- destroySockTcp(new);
- return NULL;
- }
+ if( ret < 0 )
+ {
+ fprintf(stderr, _("Unable to bint to port: %d\n"), port);
+ destroySockTcp(new);
+ return NULL;
+ }
- listen(new->sock, 5);
+ listen(new->sock, 5);
- return new;
+ return new;
}
-sock_tcp_t *
-getTcpNewClient(sock_tcp_t * p)
+sock_tcp_t* getTcpNewClient(sock_tcp_t *p)
{
- sock_tcp_t *new;
- int client_len;
-
- assert(p != NULL);
- assert(p->sock >= 0);
+ sock_tcp_t *new;
+ int client_len;
- new = newSockTcp(p->proto);
+ assert( p != NULL );
+ assert( p->sock >= 0 );
- if (new->proto == PROTO_TCPv4) {
- client_len = sizeof(new->sockAddr);
+ new = newSockTcp(p->proto);
- new->sock = accept(p->sock, (struct sockaddr *) &new->sockAddr,
- (socklen_t *) & client_len);
- }
+ if( new->proto == PROTO_TCPv4 )
+ {
+ client_len = sizeof(new->sockAddr);
+
+ new->sock = accept(p->sock, (struct sockaddr *)&new->sockAddr,
+ (socklen_t *)&client_len);
+ }
#ifdef SUPPORT_IPv6
- if (new->proto == PROTO_TCPv6) {
- client_len = sizeof(new->sockAddr6);
-
- new->sock = accept(p->sock, (struct sockaddr *) &new->sockAddr6,
- (socklen_t *) & client_len);
- }
+ if( new->proto == PROTO_TCPv6 )
+ {
+ client_len = sizeof(new->sockAddr6);
+
+ new->sock = accept(p->sock, (struct sockaddr *)&new->sockAddr6,
+ (socklen_t *)&client_len);
+ }
#endif
- if (new->sock < 0) {
- //printf("XXX\n");
- destroySockTcp(new);
- return NULL;
- }
+ if( new->sock < 0 )
+ {
+ //printf("XXX\n");
+ destroySockTcp(new);
+ return NULL;
+ }
- return new;
+ return new;
}
-void
-getSockTcpIp(sock_tcp_t * p, char *str_ip, int len)
+void getSockTcpIp(sock_tcp_t *p, char *str_ip, int len)
{
- assert(p != NULL);
- assert(str_ip != NULL);
-
+ assert( p != NULL );
+ assert( str_ip != NULL );
- if (p->proto == PROTO_TCPv4) {
- inet_ntop(AF_INET, &(p->sockAddr.sin_addr), str_ip, len);
- strcpy(str_ip, inet_ntoa(p->sockAddr.sin_addr));
- //printf("strcpy(str_ip, inet_ntoa(p->sockAddr.sin_addr));\n");
- }
+
+ if( p->proto == PROTO_TCPv4 )
+ {
+ inet_ntop(AF_INET, &(p->sockAddr.sin_addr), str_ip, len);
+ strcpy(str_ip, inet_ntoa(p->sockAddr.sin_addr));
+ //printf("strcpy(str_ip, inet_ntoa(p->sockAddr.sin_addr));\n");
+ }
#ifdef SUPPORT_IPv6
- if (p->proto == PROTO_TCPv6) {
- inet_ntop(AF_INET6, &(p->sockAddr6.sin6_addr), str_ip, len);
- }
+ if( p->proto == PROTO_TCPv6 )
+ {
+ inet_ntop(AF_INET6, &(p->sockAddr6.sin6_addr), str_ip, len);
+ }
#endif
}
-int
-getSockTcpPort(sock_tcp_t * p)
+int getSockTcpPort(sock_tcp_t *p)
{
- assert(p != NULL);
+ assert( p != NULL );
- if (p->proto == PROTO_TCPv4) {
- return htons(p->sockAddr.sin_port);
- }
+ if( p->proto == PROTO_TCPv4 )
+ {
+ return htons(p->sockAddr.sin_port);
+ }
#ifdef SUPPORT_IPv6
- if (p->proto == PROTO_TCPv6) {
- return htons(p->sockAddr6.sin6_port);
- }
+ if( p->proto == PROTO_TCPv6 )
+ {
+ return htons(p->sockAddr6.sin6_port);
+ }
#endif
- assert(!_("Bad IP proto!"));
+ assert( ! _("Bad IP proto!") );
- return -1;
+ return -1;
}
-sock_tcp_t *
-connectTcpSocket(char *ip, int port, int proto)
+sock_tcp_t* connectTcpSocket(char *ip, int port, int proto)
{
- sock_tcp_t *new;
- int len;
- int ret;
+ sock_tcp_t *new;
+ int len;
+ int ret;
- assert(ip != NULL);
- assert(port > 0 && port < 65535);
+ assert( ip != NULL );
+ assert( port > 0 && port < 65535 );
- new = newSockTcp(proto);
- ret = -1; // no Warnnings
+ new = newSockTcp(proto);
+ ret = -1; // no Warnnings
- if (new->proto == PROTO_TCPv4) {
- new->sock = socket(AF_INET, SOCK_STREAM, 0);
- }
+ if( new->proto == PROTO_TCPv4 )
+ {
+ new->sock = socket(AF_INET, SOCK_STREAM, 0);
+ }
#ifdef SUPPORT_IPv6
- if (new->proto == PROTO_TCPv6) {
- new->sock = socket(AF_INET6, SOCK_STREAM, 0);
- }
-#endif
-
- if (new->sock < 0) {
- fprintf(stderr, _("Unable to create TCP socket!\n"));
- destroySockTcp(new);
- return NULL;
- }
-
- if (new->proto == PROTO_TCPv4) {
- new->sockAddr.sin_family = AF_INET;
- new->sockAddr.sin_addr.s_addr = inet_addr(ip);
- new->sockAddr.sin_port = htons(port);
-
- len = sizeof(new->sockAddr);
- ret = connect(new->sock, (struct sockaddr *) &new->sockAddr, len);
- }
+ if( new->proto == PROTO_TCPv6 )
+ {
+ new->sock = socket(AF_INET6, SOCK_STREAM, 0);
+ }
+#endif
+
+ if( new->sock < 0 )
+ {
+ fprintf(stderr, _("Unable to create TCP socket!\n"));
+ destroySockTcp(new);
+ return NULL;
+ }
+
+ if( new->proto == PROTO_TCPv4 )
+ {
+ new->sockAddr.sin_family = AF_INET;
+ new->sockAddr.sin_addr.s_addr = inet_addr(ip);
+ new->sockAddr.sin_port = htons(port);
+
+ len = sizeof(new->sockAddr);
+ ret = connect(new->sock, (struct sockaddr *)&new->sockAddr, len);
+ }
#ifdef SUPPORT_IPv6
- if (new->proto == PROTO_TCPv6) {
- new->sockAddr6.sin6_family = AF_INET6;
- inet_pton(AF_INET6, ip, &(new->sockAddr6.sin6_addr));
- new->sockAddr6.sin6_port = htons(port);
-
- len = sizeof(new->sockAddr6);
- ret = connect(new->sock, (struct sockaddr *) &new->sockAddr6, len);
- }
+ if( new->proto == PROTO_TCPv6 )
+ {
+ new->sockAddr6.sin6_family = AF_INET6;
+ inet_pton(AF_INET6, ip, &(new->sockAddr6.sin6_addr));
+ new->sockAddr6.sin6_port = htons(port);
+
+ len = sizeof(new->sockAddr6);
+ ret = connect(new->sock, (struct sockaddr *)&new->sockAddr6, len);
+ }
#endif
- if (ret < 0) {
- fprintf(stderr, "Unable to connect on: \"%s\" port: \"%d\"\n", ip,
- port);
- destroySockTcp(new);
- return NULL;
- }
+ if( ret < 0 )
+ {
+ fprintf(stderr, "Unable to connect on: \"%s\" port: \"%d\"\n", ip, port);
+ destroySockTcp(new);
+ return NULL;
+ }
- return new;
+ return new;
}
-int
-disableNagle(sock_tcp_t * p)
+int disableNagle(sock_tcp_t *p)
{
- int flag = 1;
-
- int result;
-
- result = setsockopt(p->sock, /* socket affected */
- IPPROTO_TCP, /* set option at TCP level */
- TCP_NODELAY, /* name of option */
- (char *) &flag, /* the cast is historical cruft */
- sizeof(int)); /* length of option value */
-
+ int flag = 1;
+
+ int result;
+
+ result = setsockopt(p->sock, /* socket affected */
+ IPPROTO_TCP, /* set option at TCP level */
+ TCP_NODELAY, /* name of option */
+ (char *) &flag, /* the cast is historical cruft */
+ sizeof(int)); /* length of option value */
+
#if 0
- if (result < 0) {
- printf("disabled nagle error\n");
- }
- else {
- printf("disabled nagle OK\n");
- }
+ if( result < 0 )
+ {
+ printf("disabled nagle error\n");
+ }
+ else
+ {
+ printf("disabled nagle OK\n");
+ }
#endif
- return result;
+ return result;
}
-int
-setTcpSockNonBlock(sock_tcp_t * p)
+int setTcpSockNonBlock(sock_tcp_t *p)
{
- /* Set to nonblocking socket mode */
+ /* Set to nonblocking socket mode */
#ifndef __WIN32__
- int oldFlag;
+ int oldFlag;
- oldFlag = fcntl(p->sock, F_GETFL, 0);
+ oldFlag = fcntl (p->sock, F_GETFL, 0);
- if (fcntl(p->sock, F_SETFL, oldFlag | O_NONBLOCK) == -1) {
- //printf("error setTcpSockNonBlock\n");
- return -1;
- }
+ if( fcntl(p->sock, F_SETFL, oldFlag | O_NONBLOCK) == -1 )
+ {
+ //printf("error setTcpSockNonBlock\n");
+ return -1;
+ }
- //printf("setTcpSockNonBlock OK\n");
+ //printf("setTcpSockNonBlock OK\n");
#else
- unsigned long arg = 1;
- // Operation is FIONBIO. Parameter is pointer on non-zero number.
- if (ioctlsocket(p->sock, FIONBIO, &arg) == SOCKET_ERROR) {
- WSACleanup();
- return -1;
- }
+ unsigned long arg = 1;
+ // Operation is FIONBIO. Parameter is pointer on non-zero number.
+ if( ioctlsocket(p->sock, FIONBIO, &arg) == SOCKET_ERROR )
+ {
+ WSACleanup();
+ return -1;
+ }
#endif
- return 0;
+ return 0;
}
-int
-readTcpSocket(sock_tcp_t * p, void *address, int len)
+int readTcpSocket(sock_tcp_t *p, void *address, int len)
{
- assert(p != NULL);
- assert(address != NULL);
+ assert( p != NULL );
+ assert( address != NULL );
- return read(p->sock, address, len);
+ return read(p->sock, address, len);
}
-int
-writeTcpSocket(sock_tcp_t * p, void *address, int len)
+int writeTcpSocket(sock_tcp_t *p, void *address, int len)
{
- assert(p != NULL);
- assert(address != NULL);
+ assert( p != NULL );
+ assert( address != NULL );
- return write(p->sock, address, len);
+ return write(p->sock, address, len);
}
-void
-closeTcpSocket(sock_tcp_t * p)
+void closeTcpSocket(sock_tcp_t *p)
{
- assert(p != NULL);
+ assert( p != NULL );
- close(p->sock);
- destroySockTcp(p);
+ close(p->sock);
+ destroySockTcp(p);
}
#if 0
#define MAX_CLIENTS 32
#define BUF_SIZE 512
-int
-main(int argc, char **argv)
+int main(int argc, char **argv)
{
- sock_tcp_t *sock;
- sock_tcp_t *client[MAX_CLIENTS];
- int count_client;
- int changed, i;
- struct pollfd *tmp;
-
- sock = bindTcpSocket("127.0.0.1", 2200, PROTO_TCPv4);
- disableNagle(sock);
- count_client = 0;
-
- for (;;) {
- tmp = malloc((count_client + 1) * sizeof(struct pollfd));
-
- tmp[0].fd = sock->sock;
- tmp[0].events = POLLIN;
- tmp[0].revents = 0;
-
- for (i = 0; i < count_client; i++) {
- tmp[1 + i].fd = client[i]->sock;
- tmp[1 + i].events = POLLIN;
- tmp[1 + i].revents = 0;
- }
-
- changed = poll(tmp, count_client + 1, 1000);
-
- if (tmp[0].revents & POLLIN != 0) {
- client[count_client] = getTcpNewClient(sock);
- disableNagle(client[count_client]);
- count_client++;
- }
-
- for (i = 0; i < count_client; i++) {
- if (tmp[1 + i].revents & POLLIN != 0) {
- char buf[BUF_SIZE];
- int ret;
-
- ret = read(client[i]->sock, buf, BUF_SIZE);
-
- if (ret <= 0) {
- closeTcpSocket(client[i]);
-
- memmove(client + i,
- client + (i + 1),
- ((count_client - 1) - i) * sizeof(sock_tcp_t *));
-
- count_client--;
- continue;
- }
-
- write(client[i]->sock, buf, ret);
- }
- }
-
- free(tmp);
- }
+ sock_tcp_t *sock;
+ sock_tcp_t *client[MAX_CLIENTS];
+ int count_client;
+ int changed, i;
+ struct pollfd *tmp;
+
+ sock = bindTcpSocket( "127.0.0.1", 2200, PROTO_TCPv4 );
+ disableNagle(sock);
+ count_client = 0;
+
+ for(;;)
+ {
+ tmp = malloc( (count_client+1) * sizeof(struct pollfd) );
+
+ tmp[0].fd = sock->sock;
+ tmp[0].events = POLLIN;
+ tmp[0].revents = 0;
+
+ for( i = 0 ; i < count_client ; i++ )
+ {
+ tmp[1+i].fd = client[i]->sock;
+ tmp[1+i].events = POLLIN;
+ tmp[1+i].revents = 0;
+ }
+
+ changed = poll(tmp, count_client+1, 1000);
+
+ if( tmp[0].revents & POLLIN != 0 )
+ {
+ client[count_client] = getTcpNewClient(sock);
+ disableNagle(client[count_client]);
+ count_client++;
+ }
+
+ for( i = 0 ; i < count_client ; i++ )
+ {
+ if( tmp[1+i].revents & POLLIN != 0 )
+ {
+ char buf[BUF_SIZE];
+ int ret;
+
+ ret = read(client[i]->sock, buf, BUF_SIZE);
+
+ if( ret <= 0 )
+ {
+ closeTcpSocket(client[i]);
+
+ memmove(client + i,
+ client + (i+1),
+ ((count_client-1) - i) * sizeof(sock_tcp_t *) );
+
+ count_client--;
+ continue;
+ }
+
+ write(client[i]->sock, buf, ret);
+ }
+ }
+
+ free(tmp);
+ }
}
#endif
+
diff --git a/src/net/tcp.c~ b/src/net/tcp.c~
deleted file mode 100644
index aae5e3c..0000000
--- a/src/net/tcp.c~
+++ /dev/null
@@ -1,401 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include <sys/poll.h>
-#include <sys/types.h>
-#include <sys/time.h>
-#include <sys/socket.h>
-#include <sys/select.h>
-#include <stdio.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <unistd.h>
-#include <assert.h>
-#include <netdb.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <netinet/tcp.h>
-#include <fcntl.h>
-
-#include "tcp.h"
-
-sock_tcp_t* newSockTcp(int proto)
-{
- sock_tcp_t *new;
-
- new = malloc( sizeof(sock_tcp_t) );
- memset(new, 0, sizeof(sock_tcp_t));
- new->proto = proto;
-
- return new;
-}
-
-void destroySockTcp(sock_tcp_t *p)
-{
- assert( p != NULL );
- free(p);
-}
-
-sock_tcp_t* bindTcpSocket(char *address, int port, int proto)
-{
- sock_tcp_t *new;
- unsigned long param_setsock = 1;
- int len;
- int ret;
-
- assert( port > 0 && port < 65535 );
-
- new = newSockTcp(proto);
- ret = -1; // no Warnnings
-
- assert( new != NULL );
-
- if( new->proto == PROTO_TCPv4 )
- {
- new->sock = socket(AF_INET, SOCK_STREAM, 0);
- }
-
-#ifdef SUPPORT_IPv6
- if( new->proto == PROTO_TCPv6 )
- {
- new->sock = socket(AF_INET6, SOCK_STREAM, 0);
- }
-#endif
-
- if( new->sock < 0 )
- {
- fprintf(stderr, _("Unable to create socket when connecting!\n"));
- destroySockTcp(new);
- return NULL;
- }
-
- setsockopt(new->sock, SOL_SOCKET, SO_REUSEADDR, (char *) &param_setsock, sizeof (param_setsock));
-
- if( new->proto == PROTO_TCPv4 )
- {
- new->sockAddr.sin_family = AF_INET;
- inet_pton(AF_INET, address, &(new->sockAddr.sin_addr));
- new->sockAddr.sin_port = htons(port);
-
- len = sizeof(new->sockAddr);
- ret = bind(new->sock, (struct sockaddr *)&new->sockAddr, len);
- }
-
-#ifdef SUPPORT_IPv6
- if( new->proto == PROTO_TCPv6 )
- {
- new->sockAddr6.sin6_family = AF_INET6;
- //new->sockAddr.sin_addr.s_addr = htonl(INADDR_ANY);
- inet_pton(AF_INET6, address, &(new->sockAddr6.sin6_addr));
- new->sockAddr6.sin6_port = htons(port);
-
- len = sizeof(new->sockAddr6);
- ret = bind(new->sock, (struct sockaddr *)&new->sockAddr6, len);
- }
-#endif
-
- if( ret < 0 )
- {
- fprintf(stderr, _("Unable to bint to port: %d\n"), port);
- destroySockTcp(new);
- return NULL;
- }
-
- listen(new->sock, 5);
-
- return new;
-}
-
-sock_tcp_t* getTcpNewClient(sock_tcp_t *p)
-{
- sock_tcp_t *new;
- int client_len;
-
- assert( p != NULL );
- assert( p->sock >= 0 );
-
- new = newSockTcp(p->proto);
-
- if( new->proto == PROTO_TCPv4 )
- {
- client_len = sizeof(new->sockAddr);
-
- new->sock = accept(p->sock, (struct sockaddr *)&new->sockAddr,
- (socklen_t *)&client_len);
- }
-
-#ifdef SUPPORT_IPv6
- if( new->proto == PROTO_TCPv6 )
- {
- client_len = sizeof(new->sockAddr6);
-
- new->sock = accept(p->sock, (struct sockaddr *)&new->sockAddr6,
- (socklen_t *)&client_len);
- }
-#endif
-
- if( new->sock < 0 )
- {
- //printf("XXX\n");
- destroySockTcp(new);
- return NULL;
- }
-
- return new;
-}
-
-void getSockTcpIp(sock_tcp_t *p, char *str_ip, int len)
-{
- assert( p != NULL );
- assert( str_ip != NULL );
-
-
- if( p->proto == PROTO_TCPv4 )
- {
- inet_ntop(AF_INET, &(p->sockAddr.sin_addr), str_ip, len);
- strcpy(str_ip, inet_ntoa(p->sockAddr.sin_addr));
- //printf("strcpy(str_ip, inet_ntoa(p->sockAddr.sin_addr));\n");
- }
-
-#ifdef SUPPORT_IPv6
- if( p->proto == PROTO_TCPv6 )
- {
- inet_ntop(AF_INET6, &(p->sockAddr6.sin6_addr), str_ip, len);
- }
-#endif
-}
-
-int getSockTcpPort(sock_tcp_t *p)
-{
- assert( p != NULL );
-
- if( p->proto == PROTO_TCPv4 )
- {
- return htons(p->sockAddr.sin_port);
- }
-
-#ifdef SUPPORT_IPv6
- if( p->proto == PROTO_TCPv6 )
- {
- return htons(p->sockAddr6.sin6_port);
- }
-#endif
-
- assert( ! _("Bad IP proto!") );
-
- return -1;
-}
-
-sock_tcp_t* connectTcpSocket(char *ip, int port, int proto)
-{
- sock_tcp_t *new;
- int len;
- int ret;
-
- assert( ip != NULL );
- assert( port > 0 && port < 65535 );
-
- new = newSockTcp(proto);
- ret = -1; // no Warnnings
-
- if( new->proto == PROTO_TCPv4 )
- {
- new->sock = socket(AF_INET, SOCK_STREAM, 0);
- }
-
-#ifdef SUPPORT_IPv6
- if( new->proto == PROTO_TCPv6 )
- {
- new->sock = socket(AF_INET6, SOCK_STREAM, 0);
- }
-#endif
-
- if( new->sock < 0 )
- {
- fprintf(stderr, _("Unable to create TCP socket!\n"));
- destroySockTcp(new);
- return NULL;
- }
-
- if( new->proto == PROTO_TCPv4 )
- {
- new->sockAddr.sin_family = AF_INET;
- new->sockAddr.sin_addr.s_addr = inet_addr(ip);
- new->sockAddr.sin_port = htons(port);
-
- len = sizeof(new->sockAddr);
- ret = connect(new->sock, (struct sockaddr *)&new->sockAddr, len);
- }
-
-#ifdef SUPPORT_IPv6
- if( new->proto == PROTO_TCPv6 )
- {
- new->sockAddr6.sin6_family = AF_INET6;
- inet_pton(AF_INET6, ip, &(new->sockAddr6.sin6_addr));
- new->sockAddr6.sin6_port = htons(port);
-
- len = sizeof(new->sockAddr6);
- ret = connect(new->sock, (struct sockaddr *)&new->sockAddr6, len);
- }
-#endif
-
- if( ret < 0 )
- {
- fprintf(stderr, "Unable to connect on: \"%s\" port: \"%d\"\n", ip, port);
- destroySockTcp(new);
- return NULL;
- }
-
-
- return new;
-}
-
-int disableNagle(sock_tcp_t *p)
-{
- int flag = 1;
-
- int result;
-
- result = setsockopt(p->sock, /* socket affected */
- IPPROTO_TCP, /* set option at TCP level */
- TCP_NODELAY, /* name of option */
- (char *) &flag, /* the cast is historical cruft */
- sizeof(int)); /* length of option value */
-
-#if 0
- if( result < 0 )
- {
- printf("disabled nagle error\n");
- }
- else
- {
- printf("disabled nagle OK\n");
- }
-#endif
-
- return result;
-}
-
-int setTcpSockNonBlock(sock_tcp_t *p)
-{
- /* Set to nonblocking socket mode */
-#ifndef __WIN32__
- int oldFlag;
-
- oldFlag = fcntl (p->sock, F_GETFL, 0);
-
- if( fcntl(p->sock, F_SETFL, oldFlag | O_NONBLOCK) == -1 )
- {
- //printf("error setTcpSockNonBlock\n");
- return -1;
- }
-
- //printf("setTcpSockNonBlock OK\n");
-#else
- unsigned long arg = 1;
- // Operation is FIONBIO. Parameter is pointer on non-zero number.
- if( ioctlsocket(p->sock, FIONBIO, &arg) == SOCKET_ERROR )
- {
- WSACleanup();
- return -1;
- }
-#endif
- return 0;
-}
-
-int readTcpSocket(sock_tcp_t *p, void *address, int len)
-{
- assert( p != NULL );
- assert( address != NULL );
-
- return read(p->sock, address, len);
-}
-
-int writeTcpSocket(sock_tcp_t *p, void *address, int len)
-{
- assert( p != NULL );
- assert( address != NULL );
-
- return write(p->sock, address, len);
-}
-
-void closeTcpSocket(sock_tcp_t *p)
-{
- assert( p != NULL );
-
- close(p->sock);
- destroySockTcp(p);
-}
-
-#if 0
-#define MAX_CLIENTS 32
-#define BUF_SIZE 512
-
-int main(int argc, char **argv)
-{
- sock_tcp_t *sock;
- sock_tcp_t *client[MAX_CLIENTS];
- int count_client;
- int changed, i;
- struct pollfd *tmp;
-
- sock = bindTcpSocket( "127.0.0.1", 2200, PROTO_TCPv4 );
- disableNagle(sock);
- count_client = 0;
-
- for(;;)
- {
- tmp = malloc( (count_client+1) * sizeof(struct pollfd) );
-
- tmp[0].fd = sock->sock;
- tmp[0].events = POLLIN;
- tmp[0].revents = 0;
-
- for( i = 0 ; i < count_client ; i++ )
- {
- tmp[1+i].fd = client[i]->sock;
- tmp[1+i].events = POLLIN;
- tmp[1+i].revents = 0;
- }
-
- changed = poll(tmp, count_client+1, 1000);
-
- if( tmp[0].revents & POLLIN != 0 )
- {
- client[count_client] = getTcpNewClient(sock);
- disableNagle(client[count_client]);
- count_client++;
- }
-
- for( i = 0 ; i < count_client ; i++ )
- {
- if( tmp[1+i].revents & POLLIN != 0 )
- {
- char buf[BUF_SIZE];
- int ret;
-
- ret = read(client[i]->sock, buf, BUF_SIZE);
-
- if( ret <= 0 )
- {
- closeTcpSocket(client[i]);
-
- memmove(client + i,
- client + (i+1),
- ((count_client-1) - i) * sizeof(sock_tcp_t *) );
-
- count_client--;
- continue;
- }
-
- write(client[i]->sock, buf, ret);
- }
- }
-
- free(tmp);
- }
-}
-#endif
-
diff --git a/src/net/udp.c b/src/net/udp.c
index 6852834..f654a75 100644
--- a/src/net/udp.c
+++ b/src/net/udp.c
@@ -26,389 +26,390 @@
#include "udp.h"
-sock_udp_t *
-newSockUdp(int proto)
+sock_udp_t* newSockUdp(int proto)
{
- sock_udp_t *new;
+ sock_udp_t *new;
- new = malloc(sizeof(sock_udp_t));
- memset(new, 0, sizeof(sock_udp_t));
- new->proto = proto;
+ new = malloc( sizeof(sock_udp_t) );
+ memset(new, 0, sizeof(sock_udp_t));
+ new->proto = proto;
- return new;
+ return new;
}
-void
-destroySockUdp(sock_udp_t * p)
+void destroySockUdp(sock_udp_t *p)
{
- assert(p != NULL);
- free(p);
+ assert( p != NULL );
+ free(p);
}
-sock_udp_t *
-bindUdpSocket(char *address, int port, int proto)
+sock_udp_t* bindUdpSocket(char *address, int port, int proto)
{
- sock_udp_t *new;
- int res = -1; // no warninng
+ sock_udp_t *new;
+ int res = -1; // no warninng
- assert(port > 0 && port < 65535);
+ assert( port > 0 && port < 65535 );
- new = newSockUdp(proto);
+ new = newSockUdp(proto);
- assert(new != NULL);
+ assert( new != NULL );
- if (new->proto == PROTO_UDPv4) {
- new->sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
- }
+ if( new->proto == PROTO_UDPv4 )
+ {
+ new->sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
+ }
#ifdef SUPPORT_IPv6
- if (new->proto == PROTO_UDPv6) {
- new->sock = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP);
- }
+ if( new->proto == PROTO_UDPv6 )
+ {
+ new->sock = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP);
+ }
#endif
- if (new->sock < 0) {
- fprintf(stderr, _("Unable to create socket when binding!\n"));
- destroySockUdp(new);
+ if( new->sock < 0 )
+ {
+ fprintf(stderr, _("Unable to create socket when binding!\n"));
+ destroySockUdp(new);
#ifdef __WIN32__
- WSACleanup();
+ WSACleanup();
#endif
- return NULL;
- }
+ return NULL;
+ }
- memset(&(new->sockAddr), 0, sizeof(new->sockAddr));
+ memset(&(new->sockAddr), 0, sizeof(new->sockAddr));
- if (new->proto == PROTO_UDPv4) {
- new->sockAddr.sin_family = AF_INET;
- new->sockAddr.sin_port = htons(port);
- new->sockAddr.sin_addr.s_addr = inet_addr(address);
+ if( new->proto == PROTO_UDPv4 )
+ {
+ new->sockAddr.sin_family = AF_INET;
+ new->sockAddr.sin_port = htons(port);
+ new->sockAddr.sin_addr.s_addr = inet_addr(address);
- res =
- bind(new->sock, (struct sockaddr *) &(new->sockAddr),
- sizeof(new->sockAddr));
- }
+ res = bind(new->sock, (struct sockaddr *)&(new->sockAddr), sizeof(new->sockAddr));
+ }
#ifdef SUPPORT_IPv6
- if (new->proto == PROTO_UDPv6) {
- new->sockAddr6.sin6_family = AF_INET6;
- new->sockAddr6.sin6_port = htons(port);
- inet_pton(AF_INET6, address, &(new->sockAddr6.sin6_addr));
-
- res =
- bind(new->sock, (struct sockaddr *) &(new->sockAddr6),
- sizeof(new->sockAddr6));
- }
+ if( new->proto == PROTO_UDPv6 )
+ {
+ new->sockAddr6.sin6_family = AF_INET6;
+ new->sockAddr6.sin6_port = htons(port);
+ inet_pton(AF_INET6, address, &(new->sockAddr6.sin6_addr));
+
+ res = bind(new->sock, (struct sockaddr *)&(new->sockAddr6), sizeof(new->sockAddr6));
+ }
#endif
- if (res < 0) {
- fprintf(stderr, _("Unable to set socket %s %d!\n"), address, port);
- destroySockUdp(new);
+ if( res < 0 )
+ {
+ fprintf(stderr, _("Unable to set socket %s %d!\n"), address, port);
+ destroySockUdp(new);
#ifdef __WIN32__
- WSACleanup();
+ WSACleanup();
#endif
- return NULL;
- }
+ return NULL;
+ }
- return new;
+ return new;
}
-sock_udp_t *
-connectUdpSocket(char *address, int port, int proto)
+sock_udp_t* connectUdpSocket(char *address, int port, int proto)
{
- sock_udp_t *new;
+ sock_udp_t *new;
- assert(address != NULL);
- assert(port > 0 && port < 65536);
+ assert( address != NULL );
+ assert( port > 0 && port < 65536 );
- new = newSockUdp(proto);
+ new = newSockUdp(proto);
- assert(new != NULL);
+ assert( new != NULL );
- if (new->proto == PROTO_UDPv4) {
- new->sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
- }
+ if( new->proto == PROTO_UDPv4 )
+ {
+ new->sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
+ }
#ifdef SUPPORT_IPv6
- if (new->proto == PROTO_UDPv6) {
- new->sock = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP);
- }
+ if( new->proto == PROTO_UDPv6 )
+ {
+ new->sock = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP);
+ }
#endif
- if (new->sock < 0) {
- fprintf(stderr, _("Unable to create socket when connecting!\n"));
- destroySockUdp(new);
+ if( new->sock < 0 )
+ {
+ fprintf(stderr, _("Unable to create socket when connecting!\n"));
+ destroySockUdp(new);
#ifdef __WIN32__
- WSACleanup();
+ WSACleanup();
#endif
- return NULL;
- }
+ return NULL;
+ }
- memset(&(new->sockAddr), 0, sizeof(new->sockAddr));
+ memset(&(new->sockAddr), 0, sizeof(new->sockAddr));
- if (new->proto == PROTO_UDPv4) {
- new->sockAddr.sin_family = AF_INET;
- new->sockAddr.sin_port = htons(port);
- new->sockAddr.sin_addr.s_addr = inet_addr(address);
- }
+ if( new->proto == PROTO_UDPv4 )
+ {
+ new->sockAddr.sin_family = AF_INET;
+ new->sockAddr.sin_port = htons(port);
+ new->sockAddr.sin_addr.s_addr = inet_addr(address);
+ }
#ifdef SUPPORT_IPv6
- if (new->proto == PROTO_UDPv6) {
- new->sockAddr6.sin6_family = AF_INET6;
- new->sockAddr6.sin6_port = htons(port);
- inet_pton(AF_INET6, address, &(new->sockAddr6.sin6_addr));
- }
+ if( new->proto == PROTO_UDPv6 )
+ {
+ new->sockAddr6.sin6_family = AF_INET6;
+ new->sockAddr6.sin6_port = htons(port);
+ inet_pton(AF_INET6, address, &(new->sockAddr6.sin6_addr));
+ }
#endif
- return new;
+ return new;
}
-int
-setUdpSockNonBlock(sock_udp_t * p)
+int setUdpSockNonBlock(sock_udp_t *p)
{
- /* Set to nonblocking socket mode */
+ /* Set to nonblocking socket mode */
#ifndef __WIN32__
- int oldFlag;
+ int oldFlag;
- oldFlag = fcntl(p->sock, F_GETFL, 0);
+ oldFlag = fcntl (p->sock, F_GETFL, 0);
- if (fcntl(p->sock, F_SETFL, oldFlag | O_NONBLOCK) == -1) {
- return -1;
- }
+ if( fcntl(p->sock, F_SETFL, oldFlag | O_NONBLOCK) == -1 )
+ {
+ return -1;
+ }
#else
- unsigned long arg = 1;
- // Operation is FIONBIO. Parameter is pointer on non-zero number.
- if (ioctlsocket(p->sock, FIONBIO, &arg) == SOCKET_ERROR) {
- WSACleanup();
- return -1;
- }
+ unsigned long arg = 1;
+ // Operation is FIONBIO. Parameter is pointer on non-zero number.
+ if( ioctlsocket(p->sock, FIONBIO, &arg) == SOCKET_ERROR )
+ {
+ WSACleanup();
+ return -1;
+ }
#endif
- return 0;
+ return 0;
}
-int
-readUdpSocket(sock_udp_t * src, sock_udp_t * dst, void *address, int len)
+int readUdpSocket(sock_udp_t *src, sock_udp_t *dst, void *address, int len)
{
- int addrlen;
- int size = -1; // no warninng
+ int addrlen;
+ int size = -1; // no warninng
- assert(src != NULL);
- assert(dst != NULL);
- assert(address != NULL);
+ assert( src != NULL );
+ assert( dst != NULL );
+ assert( address != NULL );
- if (dst->proto == PROTO_UDPv4) {
- addrlen = sizeof(src->sockAddr);
+ if( dst->proto == PROTO_UDPv4 )
+ {
+ addrlen = sizeof(src->sockAddr);
#ifndef __WIN32
- size =
- recvfrom(src->sock, address, len, 0,
- (struct sockaddr *) &dst->sockAddr,
- (socklen_t *) & addrlen);
+ size = recvfrom(src->sock, address, len, 0, (struct sockaddr *)&dst->sockAddr, (socklen_t *)&addrlen);
#else
- size =
- recvfrom(src->sock, address, len, 0,
- (struct sockaddr *) &dst->sockAddr, (int *) &addrlen);
+ size = recvfrom(src->sock, address, len, 0, (struct sockaddr *)&dst->sockAddr, (int *)&addrlen);
#endif
- }
+ }
#ifdef SUPPORT_IPv6
- if (dst->proto == PROTO_UDPv6) {
- addrlen = sizeof(src->sockAddr6);
+ if( dst->proto == PROTO_UDPv6 )
+ {
+ addrlen = sizeof(src->sockAddr6);
- size = recvfrom(src->sock, address, len, 0,
- (struct sockaddr *) &dst->sockAddr6,
- (socklen_t *) & addrlen);
- }
+ size = recvfrom(src->sock, address, len, 0,
+ (struct sockaddr *)&dst->sockAddr6, (socklen_t *)&addrlen);
+ }
#endif
- dst->sock = src->sock;
+ dst->sock = src->sock;
- if (size < 0) {
- char str_ip[STR_IP_SIZE];
+ if( size < 0 )
+ {
+ char str_ip[STR_IP_SIZE];
- getSockUdpIp(dst, str_ip, STR_IP_SIZE);
+ getSockUdpIp(dst, str_ip, STR_IP_SIZE);
- fprintf(stderr, _("Unable to read form socket %d %s %d!\n"), size,
- str_ip, getSockUdpPort(dst));
+ fprintf(stderr, _("Unable to read form socket %d %s %d!\n"), size, str_ip, getSockUdpPort(dst));
#ifdef __WIN32__
- WSACleanup();
+ WSACleanup();
#endif
- return -1;
- }
+ return -1;
+ }
- return size;
+ return size;
}
-int
-writeUdpSocket(sock_udp_t * src, sock_udp_t * dst, void *address, int len)
+int writeUdpSocket(sock_udp_t *src, sock_udp_t *dst, void *address, int len)
{
- int addrlen;
- int size = -1; // no warninng
+ int addrlen;
+ int size = -1; // no warninng
- assert(src != NULL);
- assert(dst != NULL);
- assert(address != NULL);
+ assert( src != NULL );
+ assert( dst != NULL );
+ assert( address != NULL );
- if (dst->proto == PROTO_UDPv4) {
- addrlen = sizeof(src->sockAddr);
+ if( dst->proto == PROTO_UDPv4 )
+ {
+ addrlen = sizeof(src->sockAddr);
- size =
- sendto(src->sock, address, len, 0,
- (struct sockaddr *) &dst->sockAddr, addrlen);
- }
+ size = sendto(src->sock, address, len, 0, (struct sockaddr *)&dst->sockAddr, addrlen);
+ }
#ifdef SUPPORT_IPv6
- if (dst->proto == PROTO_UDPv6) {
- addrlen = sizeof(src->sockAddr6);
+ if( dst->proto == PROTO_UDPv6 )
+ {
+ addrlen = sizeof(src->sockAddr6);
- size =
- sendto(src->sock, address, len, 0,
- (struct sockaddr *) &dst->sockAddr6, addrlen);
- }
+ size = sendto(src->sock, address, len, 0, (struct sockaddr *)&dst->sockAddr6, addrlen);
+ }
#endif
- if (size < 0) {
- char str_ip[STR_IP_SIZE];
+ if( size < 0 )
+ {
+ char str_ip[STR_IP_SIZE];
- getSockUdpIp(dst, str_ip, STR_IP_SIZE);
+ getSockUdpIp(dst, str_ip, STR_IP_SIZE);
- fprintf(stderr, _("Unable to write on socket %d %s %d!\n"), size,
- str_ip, getSockUdpPort(dst));
+ fprintf(stderr, _("Unable to write on socket %d %s %d!\n"), size, str_ip, getSockUdpPort(dst));
#ifdef __WIN32__
- WSACleanup();
+ WSACleanup();
#endif
- return -1;
- }
+ return -1;
+ }
- return size;
+ return size;
}
-void
-getSockUdpIp(sock_udp_t * p, char *str_ip, int len)
+void getSockUdpIp(sock_udp_t *p, char *str_ip, int len)
{
- assert(p != NULL);
- assert(str_ip != NULL);
+ assert( p != NULL );
+ assert( str_ip != NULL );
-
- if (p->proto == PROTO_UDPv4) {
+
+ if( p->proto == PROTO_UDPv4 )
+ {
#ifndef __WIN32__
- inet_ntop(AF_INET, &(p->sockAddr.sin_addr), str_ip, len);
+ inet_ntop(AF_INET, &(p->sockAddr.sin_addr), str_ip, len);
#else
- strcpy(str_ip, inet_ntoa(p->sockAddr.sin_addr));
- //printf("strcpy(str_ip, inet_ntoa(p->sockAddr.sin_addr));\n");
+ strcpy(str_ip, inet_ntoa(p->sockAddr.sin_addr));
+ //printf("strcpy(str_ip, inet_ntoa(p->sockAddr.sin_addr));\n");
#endif
- }
+ }
#ifdef SUPPORT_IPv6
- if (p->proto == PROTO_UDPv6) {
- inet_ntop(AF_INET6, &(p->sockAddr6.sin6_addr), str_ip, len);
- }
+ if( p->proto == PROTO_UDPv6 )
+ {
+ inet_ntop(AF_INET6, &(p->sockAddr6.sin6_addr), str_ip, len);
+ }
#endif
}
-int
-getSockUdpPort(sock_udp_t * p)
+int getSockUdpPort(sock_udp_t *p)
{
- assert(p != NULL);
+ assert( p != NULL );
- if (p->proto == PROTO_UDPv4) {
- return htons(p->sockAddr.sin_port);
- }
+ if( p->proto == PROTO_UDPv4 )
+ {
+ return htons(p->sockAddr.sin_port);
+ }
#ifdef SUPPORT_IPv6
- if (p->proto == PROTO_UDPv6) {
- return htons(p->sockAddr6.sin6_port);
- }
+ if( p->proto == PROTO_UDPv6 )
+ {
+ return htons(p->sockAddr6.sin6_port);
+ }
#endif
- assert(!_("Bad IP proto!"));
+ assert( ! _("Bad IP proto!") );
- return -1;
+ return -1;
}
-void
-closeUdpSocket(sock_udp_t * p)
+void closeUdpSocket(sock_udp_t *p)
{
- assert(p != NULL);
+ assert( p != NULL );
#ifndef __WIN32__
- close(p->sock);
+ close(p->sock);
#else
- closesocket(p->sock);
- //WSACleanup(); //kdyz ukoncime socket dobre neni treba cleanup
+ closesocket(p->sock);
+ //WSACleanup(); //kdyz ukoncime socket dobre neni treba cleanup
#endif
- destroySockUdp(p);
+ destroySockUdp(p);
}
#if 0
-static int
-myWait(sock_udp_t * p)
+static int myWait(sock_udp_t *p)
{
- fd_set readfds;
- fd_set errorfds;
- struct timeval tv;
- int max_fd;
-
- tv.tv_sec = 1;
- tv.tv_usec = 0;
-
- FD_ZERO(&readfds);
- FD_ZERO(&errorfds);
- max_fd = p->sock;
-
- FD_SET(p->sock, &readfds);
- FD_SET(p->sock, &errorfds);
-
- select(max_fd + 1, &readfds, (fd_set *) 0, &errorfds, &tv);
-
- if (FD_ISSET(p->sock, &readfds)) {
- FD_CLR(p->sock, &readfds);
- return 1;
- }
-
- return 0;
+ fd_set readfds;
+ fd_set errorfds;
+ struct timeval tv;
+ int max_fd;
+
+ tv.tv_sec = 1;
+ tv.tv_usec = 0;
+
+ FD_ZERO(&readfds);
+ FD_ZERO(&errorfds);
+ max_fd = p->sock;
+
+ FD_SET(p->sock, &readfds);
+ FD_SET(p->sock, &errorfds);
+
+ select(max_fd+1, &readfds, (fd_set *)0, &errorfds, &tv);
+
+ if( FD_ISSET(p->sock, &readfds) )
+ {
+ FD_CLR(p->sock, &readfds);
+ return 1;
+ }
+
+ return 0;
}
-int
-main(int argc, char *argv[])
+int main(int argc, char *argv[])
{
- sock_udp_t *sock;
- char buf[BUFSIZE];
- int ret;
-
- if (strcmp(argv[1], "s") == 0) {
- sock_udp_t *cli;
-
- //sock = bindUdpSocket("::1", atoi(argv[2]), PROTO_UDPv6 );
- sock = bindUdpSocket("127.0.0.1", atoi(argv[2]), PROTO_UDPv4);
-
- //cli = newSockUdp(PROTO_UDPv6);
- cli = newSockUdp(PROTO_UDPv4);
-
- while (1) {
- while (myWait(sock) == 0);
-
- memset(buf, 0, BUFSIZE);
- ret = readUdpSocket(sock, cli, buf, BUFSIZE);
- writeUdpSocket(sock, cli, buf, ret);
- }
- }
-
- if (strcmp(argv[1], "c") == 0) {
- //sock = connectUdpSocket("::1", atoi(argv[2]), PROTO_UDPv6);
- sock = connectUdpSocket("127.0.0.1", atoi(argv[2]), PROTO_UDPv4);
-
- strcpy(buf, "Hello world !\n");
- writeUdpSocket(sock, sock, buf, strlen(buf));
-
- memset(buf, 0, BUFSIZE);
- readUdpSocket(sock, sock, buf, BUFSIZE);
-
- printf("buf = %s", buf);
- //while(1)sleep(1);
- closeUdpSocket(sock);
- }
-
- return 0;
+ sock_udp_t *sock;
+ char buf[BUFSIZE];
+ int ret;
+
+ if( strcmp(argv[1], "s") == 0 )
+ {
+ sock_udp_t *cli;
+
+ //sock = bindUdpSocket("::1", atoi(argv[2]), PROTO_UDPv6 );
+ sock = bindUdpSocket("127.0.0.1", atoi(argv[2]), PROTO_UDPv4 );
+
+ //cli = newSockUdp(PROTO_UDPv6);
+ cli = newSockUdp(PROTO_UDPv4);
+
+ while(1)
+ {
+ while( myWait(sock) == 0 )
+ ;
+
+ memset(buf, 0, BUFSIZE);
+ ret = readUdpSocket(sock, cli, buf, BUFSIZE);
+ writeUdpSocket(sock, cli, buf, ret);
+ }
+ }
+
+ if( strcmp(argv[1], "c") == 0 )
+ {
+ //sock = connectUdpSocket("::1", atoi(argv[2]), PROTO_UDPv6);
+ sock = connectUdpSocket("127.0.0.1", atoi(argv[2]), PROTO_UDPv4);
+
+ strcpy(buf, "Hello world !\n");
+ writeUdpSocket(sock, sock, buf, strlen(buf));
+
+ memset(buf, 0, BUFSIZE);
+ readUdpSocket(sock, sock, buf, BUFSIZE);
+
+ printf("buf = %s", buf);
+ //while(1)sleep(1);
+ closeUdpSocket(sock);
+ }
+
+ return 0;
}
#endif
+
diff --git a/src/net/udp.c~ b/src/net/udp.c~
deleted file mode 100644
index f654a75..0000000
--- a/src/net/udp.c~
+++ /dev/null
@@ -1,415 +0,0 @@
-
-
-#ifndef __WIN32__
-# include <sys/socket.h>
-# include <sys/types.h>
-# include <netinet/in.h>
-# include <arpa/inet.h>
-# include <netdb.h>
-#else
-# include <windows.h>
-# include <wininet.h>
-#endif
-
-#include <unistd.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <assert.h>
-#include <fcntl.h>
-
-
-#define BUFSIZE 1000
-
-#include "main.h"
-#include "net_multiplayer.h"
-
-#include "udp.h"
-
-sock_udp_t* newSockUdp(int proto)
-{
- sock_udp_t *new;
-
- new = malloc( sizeof(sock_udp_t) );
- memset(new, 0, sizeof(sock_udp_t));
- new->proto = proto;
-
- return new;
-}
-
-void destroySockUdp(sock_udp_t *p)
-{
- assert( p != NULL );
- free(p);
-}
-
-sock_udp_t* bindUdpSocket(char *address, int port, int proto)
-{
- sock_udp_t *new;
- int res = -1; // no warninng
-
- assert( port > 0 && port < 65535 );
-
- new = newSockUdp(proto);
-
- assert( new != NULL );
-
- if( new->proto == PROTO_UDPv4 )
- {
- new->sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
- }
-
-#ifdef SUPPORT_IPv6
- if( new->proto == PROTO_UDPv6 )
- {
- new->sock = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP);
- }
-#endif
-
- if( new->sock < 0 )
- {
- fprintf(stderr, _("Unable to create socket when binding!\n"));
- destroySockUdp(new);
-#ifdef __WIN32__
- WSACleanup();
-#endif
- return NULL;
- }
-
- memset(&(new->sockAddr), 0, sizeof(new->sockAddr));
-
- if( new->proto == PROTO_UDPv4 )
- {
- new->sockAddr.sin_family = AF_INET;
- new->sockAddr.sin_port = htons(port);
- new->sockAddr.sin_addr.s_addr = inet_addr(address);
-
- res = bind(new->sock, (struct sockaddr *)&(new->sockAddr), sizeof(new->sockAddr));
- }
-
-#ifdef SUPPORT_IPv6
- if( new->proto == PROTO_UDPv6 )
- {
- new->sockAddr6.sin6_family = AF_INET6;
- new->sockAddr6.sin6_port = htons(port);
- inet_pton(AF_INET6, address, &(new->sockAddr6.sin6_addr));
-
- res = bind(new->sock, (struct sockaddr *)&(new->sockAddr6), sizeof(new->sockAddr6));
- }
-#endif
-
- if( res < 0 )
- {
- fprintf(stderr, _("Unable to set socket %s %d!\n"), address, port);
- destroySockUdp(new);
-#ifdef __WIN32__
- WSACleanup();
-#endif
- return NULL;
- }
-
- return new;
-}
-
-sock_udp_t* connectUdpSocket(char *address, int port, int proto)
-{
- sock_udp_t *new;
-
- assert( address != NULL );
- assert( port > 0 && port < 65536 );
-
- new = newSockUdp(proto);
-
- assert( new != NULL );
-
- if( new->proto == PROTO_UDPv4 )
- {
- new->sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
- }
-
-#ifdef SUPPORT_IPv6
- if( new->proto == PROTO_UDPv6 )
- {
- new->sock = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP);
- }
-#endif
-
- if( new->sock < 0 )
- {
- fprintf(stderr, _("Unable to create socket when connecting!\n"));
- destroySockUdp(new);
-#ifdef __WIN32__
- WSACleanup();
-#endif
- return NULL;
- }
-
- memset(&(new->sockAddr), 0, sizeof(new->sockAddr));
-
- if( new->proto == PROTO_UDPv4 )
- {
- new->sockAddr.sin_family = AF_INET;
- new->sockAddr.sin_port = htons(port);
- new->sockAddr.sin_addr.s_addr = inet_addr(address);
- }
-
-#ifdef SUPPORT_IPv6
- if( new->proto == PROTO_UDPv6 )
- {
- new->sockAddr6.sin6_family = AF_INET6;
- new->sockAddr6.sin6_port = htons(port);
- inet_pton(AF_INET6, address, &(new->sockAddr6.sin6_addr));
- }
-#endif
- return new;
-}
-
-int setUdpSockNonBlock(sock_udp_t *p)
-{
- /* Set to nonblocking socket mode */
-#ifndef __WIN32__
- int oldFlag;
-
- oldFlag = fcntl (p->sock, F_GETFL, 0);
-
- if( fcntl(p->sock, F_SETFL, oldFlag | O_NONBLOCK) == -1 )
- {
- return -1;
- }
-#else
- unsigned long arg = 1;
- // Operation is FIONBIO. Parameter is pointer on non-zero number.
- if( ioctlsocket(p->sock, FIONBIO, &arg) == SOCKET_ERROR )
- {
- WSACleanup();
- return -1;
- }
-#endif
- return 0;
-}
-
-int readUdpSocket(sock_udp_t *src, sock_udp_t *dst, void *address, int len)
-{
- int addrlen;
- int size = -1; // no warninng
-
- assert( src != NULL );
- assert( dst != NULL );
- assert( address != NULL );
-
- if( dst->proto == PROTO_UDPv4 )
- {
- addrlen = sizeof(src->sockAddr);
-
-#ifndef __WIN32
- size = recvfrom(src->sock, address, len, 0, (struct sockaddr *)&dst->sockAddr, (socklen_t *)&addrlen);
-#else
- size = recvfrom(src->sock, address, len, 0, (struct sockaddr *)&dst->sockAddr, (int *)&addrlen);
-#endif
- }
-
-#ifdef SUPPORT_IPv6
- if( dst->proto == PROTO_UDPv6 )
- {
- addrlen = sizeof(src->sockAddr6);
-
- size = recvfrom(src->sock, address, len, 0,
- (struct sockaddr *)&dst->sockAddr6, (socklen_t *)&addrlen);
- }
-#endif
-
- dst->sock = src->sock;
-
- if( size < 0 )
- {
- char str_ip[STR_IP_SIZE];
-
- getSockUdpIp(dst, str_ip, STR_IP_SIZE);
-
- fprintf(stderr, _("Unable to read form socket %d %s %d!\n"), size, str_ip, getSockUdpPort(dst));
-#ifdef __WIN32__
- WSACleanup();
-#endif
- return -1;
- }
-
- return size;
-}
-
-int writeUdpSocket(sock_udp_t *src, sock_udp_t *dst, void *address, int len)
-{
- int addrlen;
- int size = -1; // no warninng
-
- assert( src != NULL );
- assert( dst != NULL );
- assert( address != NULL );
-
- if( dst->proto == PROTO_UDPv4 )
- {
- addrlen = sizeof(src->sockAddr);
-
- size = sendto(src->sock, address, len, 0, (struct sockaddr *)&dst->sockAddr, addrlen);
- }
-
-#ifdef SUPPORT_IPv6
- if( dst->proto == PROTO_UDPv6 )
- {
- addrlen = sizeof(src->sockAddr6);
-
- size = sendto(src->sock, address, len, 0, (struct sockaddr *)&dst->sockAddr6, addrlen);
- }
-#endif
-
- if( size < 0 )
- {
- char str_ip[STR_IP_SIZE];
-
- getSockUdpIp(dst, str_ip, STR_IP_SIZE);
-
- fprintf(stderr, _("Unable to write on socket %d %s %d!\n"), size, str_ip, getSockUdpPort(dst));
-#ifdef __WIN32__
- WSACleanup();
-#endif
- return -1;
- }
-
- return size;
-}
-
-void getSockUdpIp(sock_udp_t *p, char *str_ip, int len)
-{
- assert( p != NULL );
- assert( str_ip != NULL );
-
-
- if( p->proto == PROTO_UDPv4 )
- {
-#ifndef __WIN32__
- inet_ntop(AF_INET, &(p->sockAddr.sin_addr), str_ip, len);
-#else
- strcpy(str_ip, inet_ntoa(p->sockAddr.sin_addr));
- //printf("strcpy(str_ip, inet_ntoa(p->sockAddr.sin_addr));\n");
-#endif
- }
-
-#ifdef SUPPORT_IPv6
- if( p->proto == PROTO_UDPv6 )
- {
- inet_ntop(AF_INET6, &(p->sockAddr6.sin6_addr), str_ip, len);
- }
-#endif
-}
-
-int getSockUdpPort(sock_udp_t *p)
-{
- assert( p != NULL );
-
- if( p->proto == PROTO_UDPv4 )
- {
- return htons(p->sockAddr.sin_port);
- }
-
-#ifdef SUPPORT_IPv6
- if( p->proto == PROTO_UDPv6 )
- {
- return htons(p->sockAddr6.sin6_port);
- }
-#endif
-
- assert( ! _("Bad IP proto!") );
-
- return -1;
-}
-
-
-void closeUdpSocket(sock_udp_t *p)
-{
- assert( p != NULL );
-
-#ifndef __WIN32__
- close(p->sock);
-#else
- closesocket(p->sock);
- //WSACleanup(); //kdyz ukoncime socket dobre neni treba cleanup
-#endif
- destroySockUdp(p);
-}
-
-#if 0
-
-static int myWait(sock_udp_t *p)
-{
- fd_set readfds;
- fd_set errorfds;
- struct timeval tv;
- int max_fd;
-
- tv.tv_sec = 1;
- tv.tv_usec = 0;
-
- FD_ZERO(&readfds);
- FD_ZERO(&errorfds);
- max_fd = p->sock;
-
- FD_SET(p->sock, &readfds);
- FD_SET(p->sock, &errorfds);
-
- select(max_fd+1, &readfds, (fd_set *)0, &errorfds, &tv);
-
- if( FD_ISSET(p->sock, &readfds) )
- {
- FD_CLR(p->sock, &readfds);
- return 1;
- }
-
- return 0;
-}
-
-int main(int argc, char *argv[])
-{
- sock_udp_t *sock;
- char buf[BUFSIZE];
- int ret;
-
- if( strcmp(argv[1], "s") == 0 )
- {
- sock_udp_t *cli;
-
- //sock = bindUdpSocket("::1", atoi(argv[2]), PROTO_UDPv6 );
- sock = bindUdpSocket("127.0.0.1", atoi(argv[2]), PROTO_UDPv4 );
-
- //cli = newSockUdp(PROTO_UDPv6);
- cli = newSockUdp(PROTO_UDPv4);
-
- while(1)
- {
- while( myWait(sock) == 0 )
- ;
-
- memset(buf, 0, BUFSIZE);
- ret = readUdpSocket(sock, cli, buf, BUFSIZE);
- writeUdpSocket(sock, cli, buf, ret);
- }
- }
-
- if( strcmp(argv[1], "c") == 0 )
- {
- //sock = connectUdpSocket("::1", atoi(argv[2]), PROTO_UDPv6);
- sock = connectUdpSocket("127.0.0.1", atoi(argv[2]), PROTO_UDPv4);
-
- strcpy(buf, "Hello world !\n");
- writeUdpSocket(sock, sock, buf, strlen(buf));
-
- memset(buf, 0, BUFSIZE);
- readUdpSocket(sock, sock, buf, BUFSIZE);
-
- printf("buf = %s", buf);
- //while(1)sleep(1);
- closeUdpSocket(sock);
- }
-
- return 0;
-}
-#endif
-
diff --git a/src/screen/screen_analyze.c b/src/screen/screen_analyze.c
index 5f14c7e..ee42a90 100644
--- a/src/screen/screen_analyze.c
+++ b/src/screen/screen_analyze.c
@@ -31,165 +31,150 @@ static widget_t *widgetLabelMsg;
static widget_t *button_ok;
-static analyze_t *
-newAnalyze(char *name, int score)
+static analyze_t* newAnalyze(char *name, int score)
{
- analyze_t *new;
+ analyze_t *new;
- new = malloc(sizeof(analyze_t));
- new->name = strdup(name);
- new->score = score;
+ new = malloc( sizeof(analyze_t) );
+ new->name = strdup(name);
+ new->score = score;
- return new;
+ return new;
}
-static void
-destroyAnalyze(analyze_t * p)
+static void destroyAnalyze(analyze_t *p)
{
- free(p->name);
- free(p);
+ free(p->name);
+ free(p);
}
-void
-startScreenAnalyze()
+void startScreenAnalyze()
{
#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
+ playMusic("menu", MUSIC_GROUP_BASE);
#endif
}
-void
-drawScreenAnalyze()
+void drawScreenAnalyze()
{
- widget_t *this;
- int i;
+ widget_t *this;
+ int i;
- drawWidgetImage(image_backgorund);
+ drawWidgetImage(image_backgorund);
- for (i = 0; i < listWidgetLabelName->count; i++) {
- this = (widget_t *) (listWidgetLabelName->list[i]);
- drawWidgetLabel(this);
- }
+ for( i = 0 ; i < listWidgetLabelName->count ; i++ )
+ {
+ this = (widget_t *)(listWidgetLabelName->list[i]);
+ drawWidgetLabel(this);
+ }
- for (i = 0; i < listWidgetLabelScore->count; i++) {
- this = (widget_t *) (listWidgetLabelScore->list[i]);
- drawWidgetLabel(this);
- }
+ for( i = 0 ; i < listWidgetLabelScore->count ; i++ )
+ {
+ this = (widget_t *)(listWidgetLabelScore->list[i]);
+ drawWidgetLabel(this);
+ }
- drawWidgetLabel(widgetLabelMsg);
- drawWidgetButton(button_ok);
+ drawWidgetLabel(widgetLabelMsg);
+ drawWidgetButton(button_ok);
}
-void
-eventScreenAnalyze()
+void eventScreenAnalyze()
{
- eventWidgetButton(button_ok);
+ eventWidgetButton(button_ok);
}
-void
-stopScreenAnalyze()
+void stopScreenAnalyze()
{
- destroyWidgetLabel(widgetLabelMsg);
- widgetLabelMsg =
- newWidgetLabel("", WINDOW_SIZE_X / 2, 250, WIDGET_LABEL_CENTER);
+ destroyWidgetLabel(widgetLabelMsg);
+ widgetLabelMsg = newWidgetLabel("", WINDOW_SIZE_X / 2 , 250, WIDGET_LABEL_CENTER);
}
-static void
-eventWidget(void *p)
+static void eventWidget(void *p)
{
- widget_t *button;
-
- button = (widget_t *) (p);
-
- if (button == button_ok) {
- setScreen("mainMenu");
- }
+ widget_t *button;
+
+ button = (widget_t *)(p);
+
+ if( button == button_ok )
+ {
+ setScreen("mainMenu");
+ }
}
-void
-restartAnalyze()
+void restartAnalyze()
{
- destroyListItem(listWidgetLabelName, destroyWidgetLabel);
- destroyListItem(listWidgetLabelScore, destroyWidgetLabel);
- destroyListItem(listAnalyze, destroyAnalyze);
+ destroyListItem(listWidgetLabelName, destroyWidgetLabel);
+ destroyListItem(listWidgetLabelScore, destroyWidgetLabel);
+ destroyListItem(listAnalyze, destroyAnalyze);
- listWidgetLabelName = newList();
- listWidgetLabelScore = newList();
- listAnalyze = newList();
+ listWidgetLabelName = newList();
+ listWidgetLabelScore = newList();
+ listAnalyze = newList();
}
-void
-addAnalyze(char *name, int score)
+void addAnalyze(char *name, int score)
{
- addList(listAnalyze, newAnalyze(name, score));
+ addList(listAnalyze, newAnalyze(name, score) );
}
-void
-setMsgToAnalyze(char *msg)
+void setMsgToAnalyze(char *msg)
{
- destroyWidgetLabel(widgetLabelMsg);
- widgetLabelMsg =
- newWidgetLabel(msg, WINDOW_SIZE_X / 2, 250, WIDGET_LABEL_CENTER);
+ destroyWidgetLabel(widgetLabelMsg);
+ widgetLabelMsg = newWidgetLabel(msg, WINDOW_SIZE_X / 2 , 250, WIDGET_LABEL_CENTER);
}
-void
-endAnalyze()
+void endAnalyze()
{
- int i;
+ int i;
- for (i = 0; i < listAnalyze->count; i++) {
- analyze_t *this;
- char *str;
+ for( i = 0 ; i < listAnalyze->count ; i++ )
+ {
+ analyze_t *this;
+ char *str;
- this = (analyze_t *) (listAnalyze->list[i]);
+ this = (analyze_t *)(listAnalyze->list[i]);
- addList(listWidgetLabelName, newWidgetLabel(this->name,
- 100, 200 + 20 * i,
- WIDGET_LABEL_LEFT));
+ addList(listWidgetLabelName, newWidgetLabel(this->name,
+ 100, 200 + 20*i, WIDGET_LABEL_LEFT) );
- str = getString(this->score);
+ str = getString(this->score);
- addList(listWidgetLabelScore, newWidgetLabel(str,
- WINDOW_SIZE_X - 100,
- 200 + 20 * i,
- WIDGET_LABEL_RIGHT));
+ addList(listWidgetLabelScore, newWidgetLabel(str,
+ WINDOW_SIZE_X - 100, 200 + 20*i, WIDGET_LABEL_RIGHT) );
- free(str);
- }
+ free(str);
+ }
}
-void
-initScreenAnalyze()
+void initScreenAnalyze()
{
- image_t *image;
+ image_t *image;
- image = getImage(IMAGE_GROUP_BASE, "screen_main");
- image_backgorund = newWidgetImage(0, 0, image);
+ image = getImage(IMAGE_GROUP_BASE, "screen_main");
+ image_backgorund = newWidgetImage(0, 0, image);
- listWidgetLabelName = newList();
- listWidgetLabelScore = newList();
- listAnalyze = newList();
+ listWidgetLabelName = newList();
+ listWidgetLabelScore = newList();
+ listAnalyze = newList();
- button_ok =
- newWidgetButton("OK", WINDOW_SIZE_X / 2 - WIDGET_BUTTON_WIDTH / 2,
- WINDOW_SIZE_Y - 100, eventWidget);
+ button_ok = newWidgetButton("OK", WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2,
+ WINDOW_SIZE_Y-100, eventWidget);
- registerScreen(newScreen("analyze", startScreenAnalyze, eventScreenAnalyze,
- drawScreenAnalyze, stopScreenAnalyze));
+ registerScreen( newScreen("analyze", startScreenAnalyze, eventScreenAnalyze,
+ drawScreenAnalyze, stopScreenAnalyze) );
- widgetLabelMsg =
- newWidgetLabel("", WINDOW_SIZE_X / 2, 250, WIDGET_LABEL_CENTER);
+ widgetLabelMsg = newWidgetLabel("", WINDOW_SIZE_X / 2 , 250, WIDGET_LABEL_CENTER);
}
-void
-quitScreenAnalyze()
+void quitScreenAnalyze()
{
- destroyWidgetImage(image_backgorund);
+ destroyWidgetImage(image_backgorund);
- destroyListItem(listWidgetLabelName, destroyWidgetLabel);
- destroyListItem(listWidgetLabelScore, destroyWidgetLabel);
- destroyListItem(listAnalyze, destroyAnalyze);
+ destroyListItem(listWidgetLabelName, destroyWidgetLabel);
+ destroyListItem(listWidgetLabelScore, destroyWidgetLabel);
+ destroyListItem(listAnalyze, destroyAnalyze);
- destroyWidgetButton(button_ok);
- destroyWidgetLabel(widgetLabelMsg);
+ destroyWidgetButton(button_ok);
+ destroyWidgetLabel(widgetLabelMsg);
}
+
diff --git a/src/screen/screen_analyze.c~ b/src/screen/screen_analyze.c~
deleted file mode 100644
index ee42a90..0000000
--- a/src/screen/screen_analyze.c~
+++ /dev/null
@@ -1,180 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-
-#include "interface.h"
-#include "screen.h"
-#include "image.h"
-
-#ifndef NO_SOUND
-#include "music.h"
-#endif
-
-#include "screen_mainMenu.h"
-#include "screen_analyze.h"
-
-#include "widget.h"
-#include "widget_label.h"
-#include "widget_button.h"
-#include "widget_image.h"
-
-static widget_t *image_backgorund;
-
-static list_t *listWidgetLabelName;
-static list_t *listWidgetLabelScore;
-static list_t *listAnalyze;
-static widget_t *widgetLabelMsg;
-
-static widget_t *button_ok;
-
-static analyze_t* newAnalyze(char *name, int score)
-{
- analyze_t *new;
-
- new = malloc( sizeof(analyze_t) );
- new->name = strdup(name);
- new->score = score;
-
- return new;
-}
-
-static void destroyAnalyze(analyze_t *p)
-{
- free(p->name);
- free(p);
-}
-
-void startScreenAnalyze()
-{
-#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
-#endif
-}
-
-void drawScreenAnalyze()
-{
- widget_t *this;
- int i;
-
- drawWidgetImage(image_backgorund);
-
- for( i = 0 ; i < listWidgetLabelName->count ; i++ )
- {
- this = (widget_t *)(listWidgetLabelName->list[i]);
- drawWidgetLabel(this);
- }
-
- for( i = 0 ; i < listWidgetLabelScore->count ; i++ )
- {
- this = (widget_t *)(listWidgetLabelScore->list[i]);
- drawWidgetLabel(this);
- }
-
- drawWidgetLabel(widgetLabelMsg);
- drawWidgetButton(button_ok);
-}
-
-void eventScreenAnalyze()
-{
- eventWidgetButton(button_ok);
-}
-
-void stopScreenAnalyze()
-{
- destroyWidgetLabel(widgetLabelMsg);
- widgetLabelMsg = newWidgetLabel("", WINDOW_SIZE_X / 2 , 250, WIDGET_LABEL_CENTER);
-}
-
-static void eventWidget(void *p)
-{
- widget_t *button;
-
- button = (widget_t *)(p);
-
- if( button == button_ok )
- {
- setScreen("mainMenu");
- }
-}
-
-void restartAnalyze()
-{
- destroyListItem(listWidgetLabelName, destroyWidgetLabel);
- destroyListItem(listWidgetLabelScore, destroyWidgetLabel);
- destroyListItem(listAnalyze, destroyAnalyze);
-
- listWidgetLabelName = newList();
- listWidgetLabelScore = newList();
- listAnalyze = newList();
-}
-
-void addAnalyze(char *name, int score)
-{
- addList(listAnalyze, newAnalyze(name, score) );
-}
-
-void setMsgToAnalyze(char *msg)
-{
- destroyWidgetLabel(widgetLabelMsg);
- widgetLabelMsg = newWidgetLabel(msg, WINDOW_SIZE_X / 2 , 250, WIDGET_LABEL_CENTER);
-}
-
-void endAnalyze()
-{
- int i;
-
- for( i = 0 ; i < listAnalyze->count ; i++ )
- {
- analyze_t *this;
- char *str;
-
- this = (analyze_t *)(listAnalyze->list[i]);
-
- addList(listWidgetLabelName, newWidgetLabel(this->name,
- 100, 200 + 20*i, WIDGET_LABEL_LEFT) );
-
- str = getString(this->score);
-
- addList(listWidgetLabelScore, newWidgetLabel(str,
- WINDOW_SIZE_X - 100, 200 + 20*i, WIDGET_LABEL_RIGHT) );
-
- free(str);
- }
-}
-
-void initScreenAnalyze()
-{
- image_t *image;
-
- image = getImage(IMAGE_GROUP_BASE, "screen_main");
- image_backgorund = newWidgetImage(0, 0, image);
-
- listWidgetLabelName = newList();
- listWidgetLabelScore = newList();
- listAnalyze = newList();
-
- button_ok = newWidgetButton("OK", WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2,
- WINDOW_SIZE_Y-100, eventWidget);
-
- registerScreen( newScreen("analyze", startScreenAnalyze, eventScreenAnalyze,
- drawScreenAnalyze, stopScreenAnalyze) );
-
- widgetLabelMsg = newWidgetLabel("", WINDOW_SIZE_X / 2 , 250, WIDGET_LABEL_CENTER);
-}
-
-void quitScreenAnalyze()
-{
- destroyWidgetImage(image_backgorund);
-
- destroyListItem(listWidgetLabelName, destroyWidgetLabel);
- destroyListItem(listWidgetLabelScore, destroyWidgetLabel);
- destroyListItem(listAnalyze, destroyAnalyze);
-
- destroyWidgetButton(button_ok);
- destroyWidgetLabel(widgetLabelMsg);
-}
-
diff --git a/src/screen/screen_browser.c b/src/screen/screen_browser.c
index a6abe05..9d82ffe 100644
--- a/src/screen/screen_browser.c
+++ b/src/screen/screen_browser.c
@@ -68,666 +68,649 @@ static widget_t *select_server;
static server_t server_list;
/* function prototypes */
-static int LoadServers();
-static int RefreshServers();
-static server_t *server_getcurr();
+static int LoadServers ();
+static int RefreshServers ();
+static server_t *server_getcurr ();
-void
-startScreenBrowser()
+void startScreenBrowser()
{
#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
+ playMusic("menu", MUSIC_GROUP_BASE);
#endif
- LoadServers();
+ LoadServers ();
}
-void
-drawScreenBrowser()
+void drawScreenBrowser()
{
- drawWidgetImage(image_backgorund);
+ drawWidgetImage(image_backgorund);
- drawWidgetLabel(label_server);
- drawWidgetLabel(label_version);
- drawWidgetLabel(label_address);
- drawWidgetLabel(label_arena);
- drawWidgetLabel(label_players);
- drawWidgetLabel(label_ping);
+ drawWidgetLabel(label_server);
+ drawWidgetLabel(label_version);
+ drawWidgetLabel(label_address);
+ drawWidgetLabel(label_arena);
+ drawWidgetLabel(label_players);
+ drawWidgetLabel(label_ping);
- drawWidgetSelect(select_server);
+ drawWidgetSelect(select_server);
- drawWidgetButton(button_play);
- drawWidgetButton(button_back);
- drawWidgetButton(button_refresh);
+ drawWidgetButton(button_play);
+ drawWidgetButton(button_back);
+ drawWidgetButton(button_refresh);
}
-void
-eventScreenBrowser()
+void eventScreenBrowser()
{
- eventWidgetSelect(select_server);
+ eventWidgetSelect(select_server);
- eventWidgetButton(button_play);
- eventWidgetButton(button_back);
- eventWidgetButton(button_refresh);
+ eventWidgetButton(button_play);
+ eventWidgetButton(button_back);
+ eventWidgetButton(button_refresh);
}
-void
-stopScreenBrowser()
+void stopScreenBrowser()
{
- unsigned i = 0;
- server_t *server;
+ unsigned i = 0;
+ server_t *server;
- //destroyListItem(select_server->list, free);
- //select_server->list = newList();
- removeAllFromWidgetSelect(select_server);
+ //destroyListItem(select_server->list, free);
+ //select_server->list = newList();
+ removeAllFromWidgetSelect(select_server);
- while (1) {
- i = 0;
- for (server = server_list.next; server != &server_list;
- server = server->next) {
- server->next->prev = server->prev;
- server->prev->next = server->next;
+ while (1) {
+ i = 0;
+ for (server = server_list.next; server != &server_list; server = server->next) {
+ server->next->prev = server->prev;
+ server->prev->next = server->next;
- if (server->name)
- free(server->name);
+ if (server->name)
+ free (server->name);
- if (server->version)
- free(server->version);
+ if (server->version)
+ free (server->version);
- if (server->arena)
- free(server->arena);
+ if (server->arena)
+ free (server->arena);
- free(server);
+ free (server);
- i++;
- break;
- }
+ i ++;
+ break;
+ }
- if (!i)
- return;
- }
+ if (!i)
+ return;
+ }
}
-static void
-eventWidget(void *p)
+static void eventWidget(void *p)
{
- widget_t *button;
+ widget_t *button;
+
+ button = (widget_t *)(p);
- button = (widget_t *) (p);
+ if( button == button_play )
+ {
+ server_t *server = server_getcurr ();
- if (button == button_play) {
- server_t *server = server_getcurr();
+ if (!server)
+ return;
- if (!server)
- return;
+ /* server je offline */
+ if (!server->state)
+ return;
- /* server je offline */
- if (!server->state)
- return;
+ struct in_addr srv;
+ srv.s_addr = server->ip;
- struct in_addr srv;
- srv.s_addr = server->ip;
+ char *address = (char *) inet_ntoa (srv);
- char *address = (char *) inet_ntoa(srv);
+ setSettingGameType (NET_GAME_TYPE_CLIENT);
+ setSettingIP(address);
+ setSettingPort(server->port);
- setSettingGameType(NET_GAME_TYPE_CLIENT);
- setSettingIP(address);
- setSettingPort(server->port);
+ setScreen("world");
+ }
- setScreen("world");
- }
+ if( button == button_back )
+ {
+ setScreen("gameType");
+ }
- if (button == button_back) {
- setScreen("gameType");
- }
-
- if (button == button_refresh) {
- RefreshServers();
- }
+ if( button == button_refresh )
+ {
+ RefreshServers ();
+ }
}
-server_t *
-server_getcurr()
+server_t *server_getcurr ()
{
- unsigned i = 0;
- server_t *server;
+ unsigned i = 0;
+ server_t *server;
- for (server = server_list.next; server != &server_list;
- server = server->next) {
- if (i == getWidgetSelectIndex(select_server))
- return server;
+ for (server = server_list.next; server != &server_list; server = server->next) {
+ if (i == getWidgetSelectIndex(select_server))
+ return server;
- i++;
- }
+ i ++;
+ }
- return 0;
+ return 0;
}
-int
-server_getinfo(server_t * server)
+int server_getinfo (server_t *server)
{
- struct sockaddr_in srv;
- int mySocket;
+ struct sockaddr_in srv;
+ int mySocket;
- if ((mySocket = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1) {
- return -1;
- }
+ if ((mySocket = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1) {
+ return -1;
+ }
#ifndef __WIN32__
- // Lets make socket non-blocking
- int oldFlag = fcntl(mySocket, F_GETFL, 0);
- if (fcntl(mySocket, F_SETFL, oldFlag | O_NONBLOCK) == -1) {
- return -1;
- }
+ // Lets make socket non-blocking
+ int oldFlag = fcntl (mySocket, F_GETFL, 0);
+ if (fcntl (mySocket, F_SETFL, oldFlag | O_NONBLOCK) == -1) {
+ return -1;
+ }
#else
- unsigned long arg = 1;
- // Operation is FIONBIO. Parameter is pointer on non-zero number.
- if (ioctlsocket(mySocket, FIONBIO, &arg) == SOCKET_ERROR) {
- WSACleanup();
- return -1;
- }
+ unsigned long arg = 1;
+ // Operation is FIONBIO. Parameter is pointer on non-zero number.
+ if (ioctlsocket (mySocket, FIONBIO, &arg) == SOCKET_ERROR) {
+ WSACleanup();
+ return -1;
+ }
#endif
- struct timeval tv;
+ struct timeval tv;
- fd_set myset;
- FD_ZERO(&myset);
- FD_SET(mySocket, &myset);
+ fd_set myset;
+ FD_ZERO(&myset);
+ FD_SET(mySocket, &myset);
- tv.tv_sec = 2;
- tv.tv_usec = 0;
+ tv.tv_sec = 2;
+ tv.tv_usec = 0;
- srv.sin_family = AF_INET;
- srv.sin_port = htons(server->port);
- srv.sin_addr.s_addr = server->ip;
+ srv.sin_family = AF_INET;
+ srv.sin_port = htons (server->port);
+ srv.sin_addr.s_addr = server->ip;
- if (connect(mySocket, (struct sockaddr *) &srv, sizeof(srv)) == -1) {
+ if (connect (mySocket, (struct sockaddr *) &srv, sizeof (srv)) == -1) {
#ifndef __WIN32__
- if (errno != EINPROGRESS)
- return -1;
+ if (errno != EINPROGRESS)
+ return -1;
#else
- if (WSAGetLastError() != WSAEWOULDBLOCK) {
- WSACleanup();
- return -1;
- }
+ if (WSAGetLastError() != WSAEWOULDBLOCK) {
+ WSACleanup();
+ return -1;
+ }
#endif
- }
+ }
- int ret = select(mySocket + 1, NULL, &myset, NULL, &tv);
+ int ret = select (mySocket+1, NULL, &myset, NULL, &tv);
- if (ret == -1)
- return 0;
+ if (ret == -1)
+ return 0;
- if (ret == 0)
- return -2;
+ if (ret == 0)
+ return -2;
- char request[8];
- memcpy(request, "status\n", 7);
+ char request[8];
+ memcpy (request, "status\n", 7);
- int r = send(mySocket, request, 7, 0);
+ int r = send (mySocket, request, 7, 0);
- if (r == -1)
- return -2;
+ if (r == -1)
+ return -2;
- FD_ZERO(&myset);
- FD_SET(mySocket, &myset);
- tv.tv_sec = 1;
- tv.tv_usec = 0;
+ FD_ZERO(&myset);
+ FD_SET(mySocket, &myset);
+ tv.tv_sec = 1;
+ tv.tv_usec = 0;
- char *str = (char *) malloc(sizeof(char) * 257);
+ char *str = (char *) malloc (sizeof (char) * 257);
- if (!str)
- return -1;
+ if (!str)
+ return -1;
- while (1) {
- int sel = select(mySocket + 1, &myset, NULL, NULL, &tv);
+ while (1) {
+ int sel = select (mySocket + 1, &myset, NULL, NULL, &tv);
- if (sel == 0) {
- free(str);
+ if (sel == 0) {
+ free (str);
#ifndef __WIN32__
- close(mySocket);
+ close (mySocket);
#else
- closesocket(mySocket);
- WSACleanup();
+ closesocket (mySocket);
+ WSACleanup();
#endif
- return -2;
- }
+ return -2;
+ }
- if (sel == -1) {
- free(str);
+ if (sel == -1) {
+ free (str);
#ifndef __WIN32__
- close(mySocket);
+ close (mySocket);
#else
- closesocket(mySocket);
- WSACleanup();
+ closesocket (mySocket);
+ WSACleanup();
#endif
- return -2;
- }
-
- if ((ret = recv(mySocket, str, 256, 0)) == -1) {
- free(str);
+ return -2;
+ }
+
+ if ((ret = recv(mySocket, str, 256, 0)) == -1) {
+ free (str);
#ifndef __WIN32__
- close(mySocket);
+ close (mySocket);
#else
- closesocket(mySocket);
- WSACleanup();
+ closesocket (mySocket);
+ WSACleanup();
#endif
- return -1;
- }
-
- if (ret > 0)
- break;
- }
+ return -1;
+ }
+
+ if (ret > 0)
+ break;
+ }
#ifndef __WIN32__
- close(mySocket);
+ close (mySocket);
#else
- closesocket(mySocket);
- WSACleanup();
+ closesocket (mySocket);
+ WSACleanup();
#endif
- server->ping = 1000 - (tv.tv_usec / 1000);
- /*
- ["name: F\n"] >= svn82
- "version: svnX\n"
- "clients: N\n"
- "maxclients: M\n"
- "uptime: D\n"
- */
-
- unsigned i = 0;
-
- while (i < ret) {
- if (str[i] == '\n')
- str[i] = '\0';
-
- i++;
- }
+ server->ping = 1000 - (tv.tv_usec/1000);
+ /*
+ ["name: F\n"] >= svn82
+ "version: svnX\n"
+ "clients: N\n"
+ "maxclients: M\n"
+ "uptime: D\n"
+ */
- unsigned name = 0;
+ unsigned i = 0;
- if (strstr(str, "name: "))
- name = 1;
+ while (i < ret) {
+ if (str[i] == '\n')
+ str[i] = '\0';
- int len = 0;
+ i ++;
+ }
- if (name) {
- len = strlen(str);
- if (!strncmp(str, "name: ", 6)) {
- unsigned name_len = strlen(str + 6);
- server->name = (char *) malloc(sizeof(char) * (name_len + 2));
+ unsigned name = 0;
- if (!server->name)
- return 0;
+ if (strstr (str, "name: "))
+ name = 1;
- memcpy(server->name, str + 6, name_len + 1);
- server->name[name_len + 1] = '\0';
- }
- }
+ int len = 0;
- /* HACK */
- if (!name)
- len = -1;
+ if (name) {
+ len = strlen (str);
+ if (!strncmp (str, "name: ", 6)) {
+ unsigned name_len = strlen (str+6);
+ server->name = (char *) malloc (sizeof (char) * (name_len + 2));
+
+ if (!server->name)
+ return 0;
+
+ memcpy (server->name, str+6, name_len+1);
+ server->name[name_len+1] = '\0';
+ }
+ }
- if (!strncmp(str + len + 1, "version: ", 9)) {
- unsigned ver_len = strlen(str + len + 10);
- server->version = (char *) malloc(sizeof(char) * (ver_len + 2));
+ /* HACK */
+ if (!name)
+ len = -1;
- if (!server->version)
- return 0;
+ if (!strncmp (str+len+1, "version: ", 9)) {
+ unsigned ver_len = strlen (str+len+10);
+ server->version = (char *) malloc (sizeof (char) * (ver_len + 2));
+
+ if (!server->version)
+ return 0;
+
+ memcpy (server->version, str+len+10, ver_len+1);
+ server->version[ver_len+1] = '\0';
+ }
- memcpy(server->version, str + len + 10, ver_len + 1);
- server->version[ver_len + 1] = '\0';
- }
+ len += strlen (str+len+1) + 1;
- len += strlen(str + len + 1) + 1;
+ if (!strncmp (str+len+1, "clients: ", 9))
+ server->clients = atoi (str+len+10);
- if (!strncmp(str + len + 1, "clients: ", 9))
- server->clients = atoi(str + len + 10);
+ len += strlen (str+len+1) + 1;
- len += strlen(str + len + 1) + 1;
+ if (!strncmp (str+len+1, "maxclients: ", 12))
+ server->maxclients = atoi (str+len+13);
- if (!strncmp(str + len + 1, "maxclients: ", 12))
- server->maxclients = atoi(str + len + 13);
+ len += strlen (str+len+1) + 1;
+
- len += strlen(str + len + 1) + 1;
+ if (!strncmp (str+len+1, "uptime: ", 8))
+ server->uptime = atoi (str+len+9);
+ len += strlen (str+len+1) + 1;
+
- if (!strncmp(str + len + 1, "uptime: ", 8))
- server->uptime = atoi(str + len + 9);
+ if (!strncmp (str+len+1, "arena: ", 7)) {
+ unsigned arena_len = strlen (str+len+9);
+ server->arena = (char *) malloc (sizeof (char) * (arena_len + 2));
+
+ if (!server->arena)
+ return 0;
+
+ memcpy (server->arena, str+len+8, arena_len+1);
+ server->arena[arena_len+1] = '\0';
+ }
- len += strlen(str + len + 1) + 1;
+ free (str);
- if (!strncmp(str + len + 1, "arena: ", 7)) {
- unsigned arena_len = strlen(str + len + 9);
- server->arena = (char *) malloc(sizeof(char) * (arena_len + 2));
+ server->state = 1;
- if (!server->arena)
- return 0;
-
- memcpy(server->arena, str + len + 8, arena_len + 1);
- server->arena[arena_len + 1] = '\0';
- }
-
-
- free(str);
-
- server->state = 1;
-
- return 1;
+ return 1;
}
-static int
-LoadServers()
+static int LoadServers ()
// Get server list
{
#ifndef __WIN32__
- int s;
+ int s;
#else
- SOCKET s;
+ SOCKET s;
#endif
- char buf[1025];
-
- /* TODO: dodelat TCP makro */
- struct sockaddr_in server;
- char *master_server_ip;
+ char buf[1025];
- master_server_ip = getIPFormDNS(NET_MASTER_SERVER_DOMAIN);
+ /* TODO: dodelat TCP makro */
+ struct sockaddr_in server;
+ char *master_server_ip;
- //printf("master_server_ip = %s\n", master_server_ip);
+ master_server_ip = getIPFormDNS (NET_MASTER_SERVER_DOMAIN);
- if (master_server_ip == NULL) // master server is down
- {
- return -1;
- }
+ //printf("master_server_ip = %s\n", master_server_ip);
- server.sin_family = AF_INET;
- server.sin_port = htons(NET_MASTER_PORT);
- server.sin_addr.s_addr = inet_addr(master_server_ip);
+ if( master_server_ip == NULL ) // master server is down
+ {
+ return -1;
+ }
+
+ server.sin_family = AF_INET;
+ server.sin_port = htons (NET_MASTER_PORT);
+ server.sin_addr.s_addr = inet_addr (master_server_ip);
+
+ free(master_server_ip);
- free(master_server_ip);
-
- if ((s = socket(AF_INET, SOCK_STREAM, 0)) < 0)
- return 0;
+ if ((s = socket (AF_INET, SOCK_STREAM, 0)) < 0)
+ return 0;
#ifndef __WIN32__
- // Lets make socket non-blocking
- int oldFlag = fcntl(s, F_GETFL, 0);
- if (fcntl(s, F_SETFL, oldFlag | O_NONBLOCK) == -1) {
- return -1;
- }
+ // Lets make socket non-blocking
+ int oldFlag = fcntl (s, F_GETFL, 0);
+ if (fcntl (s, F_SETFL, oldFlag | O_NONBLOCK) == -1) {
+ return -1;
+ }
#else
- unsigned long arg = 1;
- // Operation is FIONBIO. Parameter is pointer on non-zero number.
- if (ioctlsocket(s, FIONBIO, &arg) == SOCKET_ERROR) {
- WSACleanup();
- return -1;
- }
+ unsigned long arg = 1;
+ // Operation is FIONBIO. Parameter is pointer on non-zero number.
+ if (ioctlsocket (s, FIONBIO, &arg) == SOCKET_ERROR) {
+ WSACleanup();
+ return -1;
+ }
#endif
- if (connect(s, (struct sockaddr *) &server, sizeof(server)) == -1) {
+ if (connect (s, (struct sockaddr *) &server, sizeof (server)) == -1) {
#ifndef __WIN32__
- if (errno != EINPROGRESS)
- return -1;
+ if (errno != EINPROGRESS)
+ return -1;
#else
- if (WSAGetLastError() != WSAEWOULDBLOCK) {
- WSACleanup();
- return -1;
- }
+ if (WSAGetLastError() != WSAEWOULDBLOCK) {
+ WSACleanup();
+ return -1;
+ }
#endif
- }
+ }
- struct timeval tv;
+ struct timeval tv;
- fd_set myset;
+ fd_set myset;
- FD_ZERO(&myset);
- FD_SET(s, &myset);
+ FD_ZERO(&myset);
+ FD_SET(s, &myset);
- tv.tv_sec = 3;
- tv.tv_usec = 0;
+ tv.tv_sec = 3;
+ tv.tv_usec = 0;
- int ret = select(s + 1, NULL, &myset, NULL, &tv);
+ int ret = select (s+1, NULL, &myset, NULL, &tv);
- if (ret == -1)
- return 0;
+ if (ret == -1)
+ return 0;
- if (ret == 0)
- return -2;
+ if (ret == 0)
+ return -2;
- /* send request for server list */
- send(s, "l", 1, 0);
+ /* send request for server list */
+ send (s, "l", 1, 0);
- FD_ZERO(&myset);
- FD_SET(s, &myset);
+ FD_ZERO(&myset);
+ FD_SET(s, &myset);
- ret = select(s + 1, &myset, NULL, NULL, &tv);
+ ret = select (s+1, &myset, NULL, NULL, &tv);
- if (ret == -1)
- return 0;
+ if (ret == -1)
+ return 0;
- if (ret == 0)
- return -2;
+ if (ret == 0)
+ return -2;
- int len = recv(s, buf, 1024, 0);
+ int len = recv (s, buf, 1024, 0);
#ifndef __WIN32__
- close(s);
+ close (s);
#else
- closesocket(s);
- WSACleanup();
+ closesocket (s);
+ WSACleanup();
#endif
- if (len <= 0)
- return 0;
-
- unsigned i = 0;
- char list[256];
-
- struct in_addr srv;
+ if (len <= 0)
+ return 0;
- typedef struct
- {
- unsigned port;
- unsigned ip;
- } response_head;
+ unsigned i = 0;
+ char list[256];
- while (1) {
- response_head *header = (response_head *) ((char *) buf + i);
+ struct in_addr srv;
- server_t *ctx;
+ typedef struct {
+ unsigned port;
+ unsigned ip;
+ } response_head;
- // alloc and init context
- ctx = (server_t *) malloc(sizeof(server_t));
+ while (1) {
+ response_head *header = (response_head *) ((char *) buf + i);
- ctx->ip = header->ip;
- ctx->port = header->port;
- ctx->name = 0;
- ctx->version = 0;
- ctx->arena = 0;
+ server_t *ctx;
+
+ // alloc and init context
+ ctx = (server_t *) malloc (sizeof (server_t));
+
+ ctx->ip = header->ip;
+ ctx->port = header->port;
+ ctx->name = 0;
+ ctx->version = 0;
+ ctx->arena = 0;
- int ret = server_getinfo(ctx);
+ int ret = server_getinfo (ctx);
- srv.s_addr = ctx->ip;
+ srv.s_addr = ctx->ip;
- char *address = (char *) inet_ntoa(srv);
+ char *address = (char *) inet_ntoa (srv);
- memset(list, ' ', 254);
- list[255] = '\0';
+ memset (list, ' ', 254);
+ list[255] = '\0';
- if (ret == 1) {
- /*sprintf (list, "%s (%s) - %s:%d - %s - %d/%d - %dms", ctx->name ? ctx->name : "Unknown", ctx->version, address, ctx->port,
- ctx->arena ? ctx->arena : "Unknown", ctx->clients, ctx->maxclients, ctx->ping); */
+ if (ret == 1) {
+ /*sprintf (list, "%s (%s) - %s:%d - %s - %d/%d - %dms", ctx->name ? ctx->name : "Unknown", ctx->version, address, ctx->port,
+ ctx->arena ? ctx->arena : "Unknown", ctx->clients, ctx->maxclients, ctx->ping);*/
- if (ctx->name)
- memcpy(list, ctx->name, strlen(ctx->name));
- else
- memcpy(list, "Unknown", 7);
+ if (ctx->name)
+ memcpy (list, ctx->name, strlen (ctx->name));
+ else
+ memcpy (list, "Unknown", 7);
- memcpy(list + 30, ctx->version, strlen(ctx->version));
+ memcpy (list+30, ctx->version, strlen (ctx->version));
- unsigned a_len = strlen(address);
- memcpy(list + 38, address, a_len);
- memcpy(list + 38 + a_len, ":", 1);
+ unsigned a_len = strlen (address);
+ memcpy (list+38, address, a_len);
+ memcpy (list+38+a_len, ":", 1);
- sprintf(buf, "%d", ctx->port);
+ sprintf (buf, "%d", ctx->port);
- memcpy(list + 39 + a_len, buf, strlen(buf));
+ memcpy (list+39+a_len, buf, strlen (buf));
- memcpy(list + 60, ctx->arena, strlen(ctx->arena));
+ memcpy (list+60, ctx->arena, strlen (ctx->arena));
- sprintf(buf, "%d/%d", ctx->clients, ctx->maxclients);
+ sprintf (buf, "%d/%d", ctx->clients, ctx->maxclients);
- memcpy(list + 75, buf, strlen(buf));
+ memcpy (list+75, buf, strlen (buf));
- sprintf(buf, "%dms", ctx->ping);
+ sprintf (buf, "%dms", ctx->ping);
- memcpy(list + 83, buf, strlen(buf));
- }
+ memcpy (list+83, buf, strlen (buf));
+ }
- addToWidgetSelect(select_server, list);
+ addToWidgetSelect(select_server, list);
- // add into list
- ctx->next = &server_list;
- ctx->prev = server_list.prev;
- ctx->prev->next = ctx;
- ctx->next->prev = ctx;
+ // add into list
+ ctx->next = &server_list;
+ ctx->prev = server_list.prev;
+ ctx->prev->next = ctx;
+ ctx->next->prev = ctx;
- i += sizeof(response_head) + 1;
+ i += sizeof (response_head) + 1;
- if (buf[i - 1] != '\n' || (i + 1) > len)
- break;
- }
+ if (buf[i-1] != '\n' || (i+1) > len)
+ break;
+ }
- return 1;
+ return 1;
}
-static int
-RefreshServers()
+static int RefreshServers ()
{
/*
destroyListItem(select_server->list, free);
select_server->list = newList();
*/
- removeAllFromWidgetSelect(select_server);
+ removeAllFromWidgetSelect(select_server);
- struct in_addr srv;
+ struct in_addr srv;
- server_t *server;
- for (server = server_list.next; server != &server_list;
- server = server->next) {
- if (server->name)
- free(server->name);
+ server_t *server;
+ for (server = server_list.next; server != &server_list; server = server->next) {
+ if (server->name)
+ free (server->name);
- if (server->version)
- free(server->version);
+ if (server->version)
+ free (server->version);
- if (server->arena)
- free(server->arena);
+ if (server->arena)
+ free (server->arena);
- server->name = 0;
- server->version = 0;
- server->arena = 0;
+ server->name = 0;
+ server->version = 0;
+ server->arena = 0;
- char list[256];
- char buf[32];
+ char list[256];
+ char buf[32];
+
+ int ret = server_getinfo (server);
- int ret = server_getinfo(server);
+ srv.s_addr = server->ip;
- srv.s_addr = server->ip;
+ char *address = (char *) inet_ntoa (srv);
+
+ if (ret == 1) {
+ memset (list, ' ', 254);
+ list[255] = '\0';
- char *address = (char *) inet_ntoa(srv);
+ if (server->name)
+ memcpy (list, server->name, strlen (server->name));
+ else
+ memcpy (list, "Unknown", 7);
- if (ret == 1) {
- memset(list, ' ', 254);
- list[255] = '\0';
+ memcpy (list+30, server->version, strlen (server->version));
- if (server->name)
- memcpy(list, server->name, strlen(server->name));
- else
- memcpy(list, "Unknown", 7);
+ unsigned a_len = strlen (address);
+ memcpy (list+38, address, a_len);
+ memcpy (list+38+a_len, ":", 1);
- memcpy(list + 30, server->version, strlen(server->version));
+ sprintf (buf, "%d", server->port);
- unsigned a_len = strlen(address);
- memcpy(list + 38, address, a_len);
- memcpy(list + 38 + a_len, ":", 1);
+ memcpy (list+39+a_len, buf, strlen (buf));
- sprintf(buf, "%d", server->port);
+ memcpy (list+60, server->arena, strlen (server->arena));
- memcpy(list + 39 + a_len, buf, strlen(buf));
+ sprintf (buf, "%d/%d", server->clients, server->maxclients);
- memcpy(list + 60, server->arena, strlen(server->arena));
+ memcpy (list+75, buf, strlen (buf));
- sprintf(buf, "%d/%d", server->clients, server->maxclients);
+ sprintf (buf, "%dms", server->ping);
- memcpy(list + 75, buf, strlen(buf));
+ memcpy (list+83, buf, strlen (buf));
+ }
- sprintf(buf, "%dms", server->ping);
+ addToWidgetSelect(select_server, list);
- memcpy(list + 83, buf, strlen(buf));
- }
+ }
- addToWidgetSelect(select_server, list);
-
- }
-
- return 1;
+ return 1;
}
-void
-initScreenBrowser()
+void initScreenBrowser()
{
- image_t *image;
-
- image = getImage(IMAGE_GROUP_BASE, "screen_main");
- image_backgorund = newWidgetImage(0, 0, image);
-
- button_back =
- newWidgetButton(_("back"), 100, WINDOW_SIZE_Y - 100, eventWidget);
- button_play =
- newWidgetButton(_("Play"), WINDOW_SIZE_X - 200, WINDOW_SIZE_Y - 100,
- eventWidget);
- button_refresh =
- newWidgetButton(_("Refresh"), WINDOW_SIZE_X / 2 - 50,
- WINDOW_SIZE_Y - 100, eventWidget);
-
- label_server = newWidgetLabel(_("server"), 120, 145, WIDGET_LABEL_LEFT);
- label_version = newWidgetLabel(_("version"), 290, 145, WIDGET_LABEL_LEFT);
- label_address = newWidgetLabel(_("IP"), 400, 145, WIDGET_LABEL_LEFT);
- label_arena = newWidgetLabel(_("arena"), 550, 145, WIDGET_LABEL_LEFT);
- label_players = newWidgetLabel(_("clients"), 645, 145, WIDGET_LABEL_LEFT);
- label_ping = newWidgetLabel(_("ping"), 720, 145, WIDGET_LABEL_LEFT);
-
- select_server = newWidgetSelect(50, label_server->y + 40, eventWidget);
-
- registerScreen(newScreen("browser", startScreenBrowser, eventScreenBrowser,
- drawScreenBrowser, stopScreenBrowser));
-
- server_list.next = &server_list;
- server_list.prev = &server_list;
+ image_t *image;
+
+ image = getImage(IMAGE_GROUP_BASE, "screen_main");
+ image_backgorund = newWidgetImage(0, 0, image);
+
+ button_back = newWidgetButton(_("back"), 100, WINDOW_SIZE_Y-100, eventWidget);
+ button_play = newWidgetButton(_("Play"), WINDOW_SIZE_X-200, WINDOW_SIZE_Y-100, eventWidget);
+ button_refresh = newWidgetButton(_("Refresh"), WINDOW_SIZE_X/2-50, WINDOW_SIZE_Y-100, eventWidget);
+
+ label_server = newWidgetLabel(_("server"), 120, 145, WIDGET_LABEL_LEFT);
+ label_version = newWidgetLabel(_("version"), 290, 145, WIDGET_LABEL_LEFT);
+ label_address = newWidgetLabel(_("IP"), 400, 145, WIDGET_LABEL_LEFT);
+ label_arena = newWidgetLabel(_("arena"), 550, 145, WIDGET_LABEL_LEFT);
+ label_players = newWidgetLabel(_("clients"), 645, 145, WIDGET_LABEL_LEFT);
+ label_ping = newWidgetLabel(_("ping"), 720, 145, WIDGET_LABEL_LEFT);
+
+ select_server = newWidgetSelect(50, label_server->y+40, eventWidget);
+
+ registerScreen( newScreen("browser", startScreenBrowser, eventScreenBrowser,
+ drawScreenBrowser, stopScreenBrowser) );
+
+ server_list.next = &server_list;
+ server_list.prev = &server_list;
}
-void
-quitScreenBrowser()
+void quitScreenBrowser()
{
- destroyWidgetImage(image_backgorund);
+ destroyWidgetImage(image_backgorund);
- destroyWidgetButton(button_play);
- destroyWidgetButton(button_back);
- destroyWidgetButton(button_refresh);
+ destroyWidgetButton(button_play);
+ destroyWidgetButton(button_back);
+ destroyWidgetButton(button_refresh);
- destroyWidgetLabel(label_server);
- destroyWidgetLabel(label_version);
- destroyWidgetLabel(label_address);
- destroyWidgetLabel(label_arena);
- destroyWidgetLabel(label_players);
- destroyWidgetLabel(label_ping);
+ destroyWidgetLabel(label_server);
+ destroyWidgetLabel(label_version);
+ destroyWidgetLabel(label_address);
+ destroyWidgetLabel(label_arena);
+ destroyWidgetLabel(label_players);
+ destroyWidgetLabel(label_ping);
- destroyWidgetSelect(select_server);
+ destroyWidgetSelect(select_server);
}
diff --git a/src/screen/screen_browser.c~ b/src/screen/screen_browser.c~
deleted file mode 100644
index 9d82ffe..0000000
--- a/src/screen/screen_browser.c~
+++ /dev/null
@@ -1,716 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "textFile.h"
-#include "homeDirector.h"
-#include "net_multiplayer.h"
-
-#include "interface.h"
-#include "screen.h"
-#include "image.h"
-
-
-#ifndef __WIN32__
-#include <sys/socket.h>
-#include <sys/select.h>
-#include <sys/types.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <netdb.h>
-#else
-#include <windows.h>
-#include <wininet.h>
-#endif
-
-#include <unistd.h>
-#include <fcntl.h>
-#include <errno.h>
-
-#include "udp.h"
-#include "dns.h"
-
-extern int errno;
-
-#ifndef NO_SOUND
-#include "music.h"
-#endif
-
-#include "screen_gameType.h"
-#include "screen_browser.h"
-
-#include "widget.h"
-#include "widget_image.h"
-#include "widget_label.h"
-#include "widget_button.h"
-#include "widget_select.h"
-
-#define SERVER_TIMEOUT 200
-
-static widget_t *image_backgorund;
-
-static widget_t *button_play;
-static widget_t *button_back;
-static widget_t *button_refresh;
-
-static widget_t *label_server;
-static widget_t *label_version;
-static widget_t *label_address;
-static widget_t *label_arena;
-static widget_t *label_players;
-static widget_t *label_ping;
-
-static widget_t *select_server;
-
-static server_t server_list;
-
-/* function prototypes */
-static int LoadServers ();
-static int RefreshServers ();
-static server_t *server_getcurr ();
-
-
-void startScreenBrowser()
-{
-#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
-#endif
-
- LoadServers ();
-}
-
-void drawScreenBrowser()
-{
- drawWidgetImage(image_backgorund);
-
- drawWidgetLabel(label_server);
- drawWidgetLabel(label_version);
- drawWidgetLabel(label_address);
- drawWidgetLabel(label_arena);
- drawWidgetLabel(label_players);
- drawWidgetLabel(label_ping);
-
- drawWidgetSelect(select_server);
-
- drawWidgetButton(button_play);
- drawWidgetButton(button_back);
- drawWidgetButton(button_refresh);
-}
-
-void eventScreenBrowser()
-{
- eventWidgetSelect(select_server);
-
- eventWidgetButton(button_play);
- eventWidgetButton(button_back);
- eventWidgetButton(button_refresh);
-}
-
-void stopScreenBrowser()
-{
- unsigned i = 0;
- server_t *server;
-
- //destroyListItem(select_server->list, free);
- //select_server->list = newList();
- removeAllFromWidgetSelect(select_server);
-
- while (1) {
- i = 0;
- for (server = server_list.next; server != &server_list; server = server->next) {
- server->next->prev = server->prev;
- server->prev->next = server->next;
-
- if (server->name)
- free (server->name);
-
- if (server->version)
- free (server->version);
-
- if (server->arena)
- free (server->arena);
-
- free (server);
-
- i ++;
- break;
- }
-
- if (!i)
- return;
- }
-}
-
-static void eventWidget(void *p)
-{
- widget_t *button;
-
- button = (widget_t *)(p);
-
- if( button == button_play )
- {
- server_t *server = server_getcurr ();
-
- if (!server)
- return;
-
- /* server je offline */
- if (!server->state)
- return;
-
- struct in_addr srv;
- srv.s_addr = server->ip;
-
- char *address = (char *) inet_ntoa (srv);
-
- setSettingGameType (NET_GAME_TYPE_CLIENT);
- setSettingIP(address);
- setSettingPort(server->port);
-
- setScreen("world");
- }
-
- if( button == button_back )
- {
- setScreen("gameType");
- }
-
- if( button == button_refresh )
- {
- RefreshServers ();
- }
-}
-
-server_t *server_getcurr ()
-{
- unsigned i = 0;
- server_t *server;
-
- for (server = server_list.next; server != &server_list; server = server->next) {
- if (i == getWidgetSelectIndex(select_server))
- return server;
-
- i ++;
- }
-
- return 0;
-}
-
-int server_getinfo (server_t *server)
-{
- struct sockaddr_in srv;
- int mySocket;
-
- if ((mySocket = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1) {
- return -1;
- }
-
-#ifndef __WIN32__
- // Lets make socket non-blocking
- int oldFlag = fcntl (mySocket, F_GETFL, 0);
- if (fcntl (mySocket, F_SETFL, oldFlag | O_NONBLOCK) == -1) {
- return -1;
- }
-#else
- unsigned long arg = 1;
- // Operation is FIONBIO. Parameter is pointer on non-zero number.
- if (ioctlsocket (mySocket, FIONBIO, &arg) == SOCKET_ERROR) {
- WSACleanup();
- return -1;
- }
-#endif
-
- struct timeval tv;
-
- fd_set myset;
- FD_ZERO(&myset);
- FD_SET(mySocket, &myset);
-
- tv.tv_sec = 2;
- tv.tv_usec = 0;
-
- srv.sin_family = AF_INET;
- srv.sin_port = htons (server->port);
- srv.sin_addr.s_addr = server->ip;
-
- if (connect (mySocket, (struct sockaddr *) &srv, sizeof (srv)) == -1) {
-#ifndef __WIN32__
- if (errno != EINPROGRESS)
- return -1;
-#else
- if (WSAGetLastError() != WSAEWOULDBLOCK) {
- WSACleanup();
- return -1;
- }
-#endif
- }
-
- int ret = select (mySocket+1, NULL, &myset, NULL, &tv);
-
- if (ret == -1)
- return 0;
-
- if (ret == 0)
- return -2;
-
- char request[8];
- memcpy (request, "status\n", 7);
-
- int r = send (mySocket, request, 7, 0);
-
- if (r == -1)
- return -2;
-
- FD_ZERO(&myset);
- FD_SET(mySocket, &myset);
- tv.tv_sec = 1;
- tv.tv_usec = 0;
-
- char *str = (char *) malloc (sizeof (char) * 257);
-
- if (!str)
- return -1;
-
- while (1) {
- int sel = select (mySocket + 1, &myset, NULL, NULL, &tv);
-
- if (sel == 0) {
- free (str);
-#ifndef __WIN32__
- close (mySocket);
-#else
- closesocket (mySocket);
- WSACleanup();
-#endif
- return -2;
- }
-
- if (sel == -1) {
- free (str);
-#ifndef __WIN32__
- close (mySocket);
-#else
- closesocket (mySocket);
- WSACleanup();
-#endif
- return -2;
- }
-
- if ((ret = recv(mySocket, str, 256, 0)) == -1) {
- free (str);
-#ifndef __WIN32__
- close (mySocket);
-#else
- closesocket (mySocket);
- WSACleanup();
-#endif
- return -1;
- }
-
- if (ret > 0)
- break;
- }
-
-#ifndef __WIN32__
- close (mySocket);
-#else
- closesocket (mySocket);
- WSACleanup();
-#endif
-
- server->ping = 1000 - (tv.tv_usec/1000);
- /*
- ["name: F\n"] >= svn82
- "version: svnX\n"
- "clients: N\n"
- "maxclients: M\n"
- "uptime: D\n"
- */
-
- unsigned i = 0;
-
- while (i < ret) {
- if (str[i] == '\n')
- str[i] = '\0';
-
- i ++;
- }
-
- unsigned name = 0;
-
- if (strstr (str, "name: "))
- name = 1;
-
- int len = 0;
-
- if (name) {
- len = strlen (str);
- if (!strncmp (str, "name: ", 6)) {
- unsigned name_len = strlen (str+6);
- server->name = (char *) malloc (sizeof (char) * (name_len + 2));
-
- if (!server->name)
- return 0;
-
- memcpy (server->name, str+6, name_len+1);
- server->name[name_len+1] = '\0';
- }
- }
-
- /* HACK */
- if (!name)
- len = -1;
-
- if (!strncmp (str+len+1, "version: ", 9)) {
- unsigned ver_len = strlen (str+len+10);
- server->version = (char *) malloc (sizeof (char) * (ver_len + 2));
-
- if (!server->version)
- return 0;
-
- memcpy (server->version, str+len+10, ver_len+1);
- server->version[ver_len+1] = '\0';
- }
-
- len += strlen (str+len+1) + 1;
-
-
- if (!strncmp (str+len+1, "clients: ", 9))
- server->clients = atoi (str+len+10);
-
- len += strlen (str+len+1) + 1;
-
-
- if (!strncmp (str+len+1, "maxclients: ", 12))
- server->maxclients = atoi (str+len+13);
-
- len += strlen (str+len+1) + 1;
-
-
- if (!strncmp (str+len+1, "uptime: ", 8))
- server->uptime = atoi (str+len+9);
-
- len += strlen (str+len+1) + 1;
-
-
- if (!strncmp (str+len+1, "arena: ", 7)) {
- unsigned arena_len = strlen (str+len+9);
- server->arena = (char *) malloc (sizeof (char) * (arena_len + 2));
-
- if (!server->arena)
- return 0;
-
- memcpy (server->arena, str+len+8, arena_len+1);
- server->arena[arena_len+1] = '\0';
- }
-
-
- free (str);
-
- server->state = 1;
-
- return 1;
-}
-
-static int LoadServers ()
-// Get server list
-{
-#ifndef __WIN32__
- int s;
-#else
- SOCKET s;
-#endif
-
- char buf[1025];
-
- /* TODO: dodelat TCP makro */
- struct sockaddr_in server;
- char *master_server_ip;
-
- master_server_ip = getIPFormDNS (NET_MASTER_SERVER_DOMAIN);
-
- //printf("master_server_ip = %s\n", master_server_ip);
-
- if( master_server_ip == NULL ) // master server is down
- {
- return -1;
- }
-
- server.sin_family = AF_INET;
- server.sin_port = htons (NET_MASTER_PORT);
- server.sin_addr.s_addr = inet_addr (master_server_ip);
-
- free(master_server_ip);
-
- if ((s = socket (AF_INET, SOCK_STREAM, 0)) < 0)
- return 0;
-
-#ifndef __WIN32__
- // Lets make socket non-blocking
- int oldFlag = fcntl (s, F_GETFL, 0);
- if (fcntl (s, F_SETFL, oldFlag | O_NONBLOCK) == -1) {
- return -1;
- }
-#else
- unsigned long arg = 1;
- // Operation is FIONBIO. Parameter is pointer on non-zero number.
- if (ioctlsocket (s, FIONBIO, &arg) == SOCKET_ERROR) {
- WSACleanup();
- return -1;
- }
-#endif
-
- if (connect (s, (struct sockaddr *) &server, sizeof (server)) == -1) {
-#ifndef __WIN32__
- if (errno != EINPROGRESS)
- return -1;
-#else
- if (WSAGetLastError() != WSAEWOULDBLOCK) {
- WSACleanup();
- return -1;
- }
-#endif
- }
-
- struct timeval tv;
-
- fd_set myset;
-
- FD_ZERO(&myset);
- FD_SET(s, &myset);
-
- tv.tv_sec = 3;
- tv.tv_usec = 0;
-
- int ret = select (s+1, NULL, &myset, NULL, &tv);
-
- if (ret == -1)
- return 0;
-
- if (ret == 0)
- return -2;
-
- /* send request for server list */
- send (s, "l", 1, 0);
-
- FD_ZERO(&myset);
- FD_SET(s, &myset);
-
- ret = select (s+1, &myset, NULL, NULL, &tv);
-
- if (ret == -1)
- return 0;
-
- if (ret == 0)
- return -2;
-
- int len = recv (s, buf, 1024, 0);
-
-#ifndef __WIN32__
- close (s);
-#else
- closesocket (s);
- WSACleanup();
-#endif
-
- if (len <= 0)
- return 0;
-
- unsigned i = 0;
- char list[256];
-
- struct in_addr srv;
-
- typedef struct {
- unsigned port;
- unsigned ip;
- } response_head;
-
- while (1) {
- response_head *header = (response_head *) ((char *) buf + i);
-
- server_t *ctx;
-
- // alloc and init context
- ctx = (server_t *) malloc (sizeof (server_t));
-
- ctx->ip = header->ip;
- ctx->port = header->port;
- ctx->name = 0;
- ctx->version = 0;
- ctx->arena = 0;
-
- int ret = server_getinfo (ctx);
-
- srv.s_addr = ctx->ip;
-
- char *address = (char *) inet_ntoa (srv);
-
- memset (list, ' ', 254);
- list[255] = '\0';
-
- if (ret == 1) {
- /*sprintf (list, "%s (%s) - %s:%d - %s - %d/%d - %dms", ctx->name ? ctx->name : "Unknown", ctx->version, address, ctx->port,
- ctx->arena ? ctx->arena : "Unknown", ctx->clients, ctx->maxclients, ctx->ping);*/
-
- if (ctx->name)
- memcpy (list, ctx->name, strlen (ctx->name));
- else
- memcpy (list, "Unknown", 7);
-
- memcpy (list+30, ctx->version, strlen (ctx->version));
-
- unsigned a_len = strlen (address);
- memcpy (list+38, address, a_len);
- memcpy (list+38+a_len, ":", 1);
-
- sprintf (buf, "%d", ctx->port);
-
- memcpy (list+39+a_len, buf, strlen (buf));
-
- memcpy (list+60, ctx->arena, strlen (ctx->arena));
-
- sprintf (buf, "%d/%d", ctx->clients, ctx->maxclients);
-
- memcpy (list+75, buf, strlen (buf));
-
- sprintf (buf, "%dms", ctx->ping);
-
- memcpy (list+83, buf, strlen (buf));
- }
-
- addToWidgetSelect(select_server, list);
-
- // add into list
- ctx->next = &server_list;
- ctx->prev = server_list.prev;
- ctx->prev->next = ctx;
- ctx->next->prev = ctx;
-
- i += sizeof (response_head) + 1;
-
- if (buf[i-1] != '\n' || (i+1) > len)
- break;
- }
-
- return 1;
-}
-
-static int RefreshServers ()
-{
-/*
- destroyListItem(select_server->list, free);
- select_server->list = newList();
-*/
- removeAllFromWidgetSelect(select_server);
-
- struct in_addr srv;
-
- server_t *server;
- for (server = server_list.next; server != &server_list; server = server->next) {
- if (server->name)
- free (server->name);
-
- if (server->version)
- free (server->version);
-
- if (server->arena)
- free (server->arena);
-
- server->name = 0;
- server->version = 0;
- server->arena = 0;
-
- char list[256];
- char buf[32];
-
- int ret = server_getinfo (server);
-
- srv.s_addr = server->ip;
-
- char *address = (char *) inet_ntoa (srv);
-
- if (ret == 1) {
- memset (list, ' ', 254);
- list[255] = '\0';
-
- if (server->name)
- memcpy (list, server->name, strlen (server->name));
- else
- memcpy (list, "Unknown", 7);
-
- memcpy (list+30, server->version, strlen (server->version));
-
- unsigned a_len = strlen (address);
- memcpy (list+38, address, a_len);
- memcpy (list+38+a_len, ":", 1);
-
- sprintf (buf, "%d", server->port);
-
- memcpy (list+39+a_len, buf, strlen (buf));
-
- memcpy (list+60, server->arena, strlen (server->arena));
-
- sprintf (buf, "%d/%d", server->clients, server->maxclients);
-
- memcpy (list+75, buf, strlen (buf));
-
- sprintf (buf, "%dms", server->ping);
-
- memcpy (list+83, buf, strlen (buf));
- }
-
- addToWidgetSelect(select_server, list);
-
- }
-
- return 1;
-}
-
-void initScreenBrowser()
-{
- image_t *image;
-
- image = getImage(IMAGE_GROUP_BASE, "screen_main");
- image_backgorund = newWidgetImage(0, 0, image);
-
- button_back = newWidgetButton(_("back"), 100, WINDOW_SIZE_Y-100, eventWidget);
- button_play = newWidgetButton(_("Play"), WINDOW_SIZE_X-200, WINDOW_SIZE_Y-100, eventWidget);
- button_refresh = newWidgetButton(_("Refresh"), WINDOW_SIZE_X/2-50, WINDOW_SIZE_Y-100, eventWidget);
-
- label_server = newWidgetLabel(_("server"), 120, 145, WIDGET_LABEL_LEFT);
- label_version = newWidgetLabel(_("version"), 290, 145, WIDGET_LABEL_LEFT);
- label_address = newWidgetLabel(_("IP"), 400, 145, WIDGET_LABEL_LEFT);
- label_arena = newWidgetLabel(_("arena"), 550, 145, WIDGET_LABEL_LEFT);
- label_players = newWidgetLabel(_("clients"), 645, 145, WIDGET_LABEL_LEFT);
- label_ping = newWidgetLabel(_("ping"), 720, 145, WIDGET_LABEL_LEFT);
-
- select_server = newWidgetSelect(50, label_server->y+40, eventWidget);
-
- registerScreen( newScreen("browser", startScreenBrowser, eventScreenBrowser,
- drawScreenBrowser, stopScreenBrowser) );
-
- server_list.next = &server_list;
- server_list.prev = &server_list;
-}
-
-void quitScreenBrowser()
-{
- destroyWidgetImage(image_backgorund);
-
- destroyWidgetButton(button_play);
- destroyWidgetButton(button_back);
- destroyWidgetButton(button_refresh);
-
- destroyWidgetLabel(label_server);
- destroyWidgetLabel(label_version);
- destroyWidgetLabel(label_address);
- destroyWidgetLabel(label_arena);
- destroyWidgetLabel(label_players);
- destroyWidgetLabel(label_ping);
-
- destroyWidgetSelect(select_server);
-}
diff --git a/src/screen/screen_choiceArena.c b/src/screen/screen_choiceArena.c
index b604eb5..b6c66b5 100644
--- a/src/screen/screen_choiceArena.c
+++ b/src/screen/screen_choiceArena.c
@@ -29,169 +29,165 @@ static widget_t *button_play;
static widget_t *button_back;
static list_t *listWidgetButtonimage;
-static arenaFile_t *currentArena;
+static arenaFile_t* currentArena;
-void
-startScreenChoiceArena()
+void startScreenChoiceArena()
{
#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
+ playMusic("menu", MUSIC_GROUP_BASE);
#endif
}
-void
-drawScreenChoiceArena()
+void drawScreenChoiceArena()
{
- int i;
+ int i;
- drawWidgetImage(image_backgorund);
+ drawWidgetImage(image_backgorund);
- drawWidgetButton(button_play);
- drawWidgetButton(button_back);
+ drawWidgetButton(button_play);
+ drawWidgetButton(button_back);
- for (i = 0; i < listWidgetButtonimage->count; i++) {
- widget_t *this;
- this = (widget_t *) listWidgetButtonimage->list[i];
- drawWidgetButtonimage(this);
- }
+ for( i = 0 ; i < listWidgetButtonimage->count ; i++ )
+ {
+ widget_t *this;
+ this = (widget_t *) listWidgetButtonimage->list[i];
+ drawWidgetButtonimage(this);
+ }
}
-void
-eventScreenChoiceArena()
+void eventScreenChoiceArena()
{
- int i;
+ int i;
- eventWidgetButton(button_play);
- eventWidgetButton(button_back);
+ eventWidgetButton(button_play);
+ eventWidgetButton(button_back);
- for (i = 0; i < listWidgetButtonimage->count; i++) {
- widget_t *this;
- this = (widget_t *) listWidgetButtonimage->list[i];
- eventWidgetButtonimage(this);
- }
+ for( i = 0 ; i < listWidgetButtonimage->count ; i++ )
+ {
+ widget_t *this;
+ this = (widget_t *) listWidgetButtonimage->list[i];
+ eventWidgetButtonimage(this);
+ }
}
-void
-stopScreenChoiceArena()
+void stopScreenChoiceArena()
{
}
-static void
-eventWidgetButtonImage(void *p)
+static void eventWidgetButtonImage(void *p)
{
- widget_t *buttonimage;
- int i;
+ widget_t *buttonimage;
+ int i;
- buttonimage = (widget_t *) (p);
+ buttonimage = (widget_t *)(p);
- for (i = 0; i < listWidgetButtonimage->count; i++) {
- widget_t *this;
+ for( i = 0 ; i < listWidgetButtonimage->count ; i++ )
+ {
+ widget_t *this;
- this = (widget_t *) (listWidgetButtonimage->list[i]);
-
- if (buttonimage == this) {
- setWidgetButtonimageActive(this, TRUE);
- currentArena = getArenaFile(i);
- }
- else {
- setWidgetButtonimageActive(this, FALSE);
- }
- }
+ this = (widget_t *)(listWidgetButtonimage->list[i]);
+
+ if( buttonimage == this )
+ {
+ setWidgetButtonimageActive(this, TRUE);
+ currentArena = getArenaFile(i);
+ }
+ else
+ {
+ setWidgetButtonimageActive(this, FALSE);
+ }
+ }
}
-arenaFile_t *
-getChoiceArena()
+arenaFile_t* getChoiceArena()
{
- return currentArena;
+ return currentArena;
}
-void
-setChoiceArena(arenaFile_t * arenaFile)
+void setChoiceArena(arenaFile_t *arenaFile)
{
- widget_t *widget_buttonimage;
- int id;
+ widget_t *widget_buttonimage;
+ int id;
- id = getArenaFileID(arenaFile);
- currentArena = arenaFile;
+ id = getArenaFileID(arenaFile);
+ currentArena = arenaFile;
- if (id >= 0) {
- widget_buttonimage = (widget_t *) listWidgetButtonimage->list[id];
- setWidgetButtonimageActive(widget_buttonimage, TRUE);
- }
+ if( id >= 0 )
+ {
+ widget_buttonimage = (widget_t *)listWidgetButtonimage->list[id];
+ setWidgetButtonimageActive(widget_buttonimage, TRUE);
+ }
}
-static void
-eventWidget(void *p)
+static void eventWidget(void *p)
{
- widget_t *button;
-
- button = (widget_t *) (p);
-
- if (button == button_play) {
- setScreen("world");
- }
-
- if (button == button_back) {
- setScreen("gameType");
- }
+ widget_t *button;
+
+ button = (widget_t *)(p);
+
+ if( button == button_play )
+ {
+ setScreen("world");
+ }
+
+ if( button == button_back )
+ {
+ setScreen("gameType");
+ }
}
-void
-initScreenChoiceArena()
+void initScreenChoiceArena()
{
- image_t *image;
- int i;
-
- image = getImage(IMAGE_GROUP_BASE, "screen_main");
- image_backgorund = newWidgetImage(0, 0, image);
-
- button_back =
- newWidgetButton(_("back"), 100, WINDOW_SIZE_Y - 100, eventWidget);
- button_play =
- newWidgetButton(_("play"), WINDOW_SIZE_X - 200, WINDOW_SIZE_Y - 100,
- eventWidget);
-
- listWidgetButtonimage = newList();
- currentArena = NULL;
-
- for (i = 0; i < getArenaCount(); i++) {
- widget_t *widget_buttonimage;
- arenaFile_t *arenaFile;
- int x, y;
-
- arenaFile = getArenaFile(i);
- //image = addImageData(getArenaImage(i), IMAGE_NO_ALPHA, "none", IMAGE_GROUP_BASE);
- image = loadImageFromArena(arenaFile,
- getArenaImage(arenaFile),
- IMAGE_GROUP_BASE, "none", IMAGE_NO_ALPHA);
-
- x = 100 + 200 * (i - 3 * (i / 3));
- y = 150 + 200 * (i / 3);
-
- widget_buttonimage = newWidgetButtonimage(image,
- x, y, eventWidgetButtonImage);
+ image_t *image;
+ int i;
+
+ image = getImage(IMAGE_GROUP_BASE, "screen_main");
+ image_backgorund = newWidgetImage(0, 0, image);
+
+ button_back = newWidgetButton(_("back"), 100, WINDOW_SIZE_Y-100, eventWidget);
+ button_play = newWidgetButton(_("play"), WINDOW_SIZE_X-200, WINDOW_SIZE_Y-100, eventWidget);
+
+ listWidgetButtonimage = newList();
+ currentArena = NULL;
+
+ for( i = 0 ; i < getArenaCount() ; i++ )
+ {
+ widget_t *widget_buttonimage;
+ arenaFile_t* arenaFile;
+ int x, y;
+
+ arenaFile = getArenaFile(i);
+ //image = addImageData(getArenaImage(i), IMAGE_NO_ALPHA, "none", IMAGE_GROUP_BASE);
+ image = loadImageFromArena(arenaFile,
+ getArenaImage(arenaFile),
+ IMAGE_GROUP_BASE,
+ "none",
+ IMAGE_NO_ALPHA);
+
+ x = 100 + 200 * ( i - 3 * ( i/3 ) );
+ y = 150 + 200 * ( i/3 );
+
+ widget_buttonimage = newWidgetButtonimage(image,
+ x, y, eventWidgetButtonImage);
/*
if( i == choiceArenaId )
{
widget_buttonimage->active = 1;
}
*/
- addList(listWidgetButtonimage, widget_buttonimage);
- }
+ addList( listWidgetButtonimage, widget_buttonimage);
+ }
- registerScreen(newScreen
- ("chiceArena", startScreenChoiceArena,
- eventScreenChoiceArena, drawScreenChoiceArena,
- stopScreenChoiceArena));
+ registerScreen( newScreen("chiceArena", startScreenChoiceArena, eventScreenChoiceArena,
+ drawScreenChoiceArena, stopScreenChoiceArena) );
}
-void
-quitScreenChoiceArena()
+void quitScreenChoiceArena()
{
- destroyWidgetImage(image_backgorund);
+ destroyWidgetImage(image_backgorund);
- destroyWidgetButton(button_play);
- destroyWidgetButton(button_back);
+ destroyWidgetButton(button_play);
+ destroyWidgetButton(button_back);
- destroyListItem(listWidgetButtonimage, destroyWidgetButtonimage);
+ destroyListItem(listWidgetButtonimage, destroyWidgetButtonimage);
}
diff --git a/src/screen/screen_choiceArena.c~ b/src/screen/screen_choiceArena.c~
deleted file mode 100644
index b6c66b5..0000000
--- a/src/screen/screen_choiceArena.c~
+++ /dev/null
@@ -1,193 +0,0 @@
-
-#include <stdio.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "arenaFile.h"
-
-#include "interface.h"
-#include "screen.h"
-#include "image.h"
-
-#ifndef NO_SOUND
-#include "music.h"
-#endif
-
-#include "screen_mainMenu.h"
-#include "screen_choiceArena.h"
-
-#include "widget.h"
-#include "widget_label.h"
-#include "widget_button.h"
-#include "widget_image.h"
-#include "widget_buttonimage.h"
-
-static widget_t *image_backgorund;
-
-static widget_t *button_play;
-static widget_t *button_back;
-
-static list_t *listWidgetButtonimage;
-static arenaFile_t* currentArena;
-
-void startScreenChoiceArena()
-{
-#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
-#endif
-}
-
-void drawScreenChoiceArena()
-{
- int i;
-
- drawWidgetImage(image_backgorund);
-
- drawWidgetButton(button_play);
- drawWidgetButton(button_back);
-
- for( i = 0 ; i < listWidgetButtonimage->count ; i++ )
- {
- widget_t *this;
- this = (widget_t *) listWidgetButtonimage->list[i];
- drawWidgetButtonimage(this);
- }
-}
-
-void eventScreenChoiceArena()
-{
- int i;
-
- eventWidgetButton(button_play);
- eventWidgetButton(button_back);
-
- for( i = 0 ; i < listWidgetButtonimage->count ; i++ )
- {
- widget_t *this;
- this = (widget_t *) listWidgetButtonimage->list[i];
- eventWidgetButtonimage(this);
- }
-}
-
-void stopScreenChoiceArena()
-{
-}
-
-static void eventWidgetButtonImage(void *p)
-{
- widget_t *buttonimage;
- int i;
-
- buttonimage = (widget_t *)(p);
-
- for( i = 0 ; i < listWidgetButtonimage->count ; i++ )
- {
- widget_t *this;
-
- this = (widget_t *)(listWidgetButtonimage->list[i]);
-
- if( buttonimage == this )
- {
- setWidgetButtonimageActive(this, TRUE);
- currentArena = getArenaFile(i);
- }
- else
- {
- setWidgetButtonimageActive(this, FALSE);
- }
- }
-}
-
-arenaFile_t* getChoiceArena()
-{
- return currentArena;
-}
-
-void setChoiceArena(arenaFile_t *arenaFile)
-{
- widget_t *widget_buttonimage;
- int id;
-
- id = getArenaFileID(arenaFile);
- currentArena = arenaFile;
-
- if( id >= 0 )
- {
- widget_buttonimage = (widget_t *)listWidgetButtonimage->list[id];
- setWidgetButtonimageActive(widget_buttonimage, TRUE);
- }
-}
-
-static void eventWidget(void *p)
-{
- widget_t *button;
-
- button = (widget_t *)(p);
-
- if( button == button_play )
- {
- setScreen("world");
- }
-
- if( button == button_back )
- {
- setScreen("gameType");
- }
-}
-
-void initScreenChoiceArena()
-{
- image_t *image;
- int i;
-
- image = getImage(IMAGE_GROUP_BASE, "screen_main");
- image_backgorund = newWidgetImage(0, 0, image);
-
- button_back = newWidgetButton(_("back"), 100, WINDOW_SIZE_Y-100, eventWidget);
- button_play = newWidgetButton(_("play"), WINDOW_SIZE_X-200, WINDOW_SIZE_Y-100, eventWidget);
-
- listWidgetButtonimage = newList();
- currentArena = NULL;
-
- for( i = 0 ; i < getArenaCount() ; i++ )
- {
- widget_t *widget_buttonimage;
- arenaFile_t* arenaFile;
- int x, y;
-
- arenaFile = getArenaFile(i);
- //image = addImageData(getArenaImage(i), IMAGE_NO_ALPHA, "none", IMAGE_GROUP_BASE);
- image = loadImageFromArena(arenaFile,
- getArenaImage(arenaFile),
- IMAGE_GROUP_BASE,
- "none",
- IMAGE_NO_ALPHA);
-
- x = 100 + 200 * ( i - 3 * ( i/3 ) );
- y = 150 + 200 * ( i/3 );
-
- widget_buttonimage = newWidgetButtonimage(image,
- x, y, eventWidgetButtonImage);
-/*
- if( i == choiceArenaId )
- {
- widget_buttonimage->active = 1;
- }
-*/
- addList( listWidgetButtonimage, widget_buttonimage);
- }
-
- registerScreen( newScreen("chiceArena", startScreenChoiceArena, eventScreenChoiceArena,
- drawScreenChoiceArena, stopScreenChoiceArena) );
-}
-
-void quitScreenChoiceArena()
-{
- destroyWidgetImage(image_backgorund);
-
- destroyWidgetButton(button_play);
- destroyWidgetButton(button_back);
-
- destroyListItem(listWidgetButtonimage, destroyWidgetButtonimage);
-}
diff --git a/src/screen/screen_credits.c b/src/screen/screen_credits.c
index 67e39eb..0d65c07 100644
--- a/src/screen/screen_credits.c
+++ b/src/screen/screen_credits.c
@@ -28,131 +28,127 @@ static textFile_t *textFile;
static int offset;
static int creditExists;
-void
-startScreenCredits()
+void startScreenCredits()
{
#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
+ playMusic("menu", MUSIC_GROUP_BASE);
#endif
- offset = 0;
+ offset = 0;
}
-void
-drawScreenCredits()
+void drawScreenCredits()
{
- int i;
+ int i;
- drawWidgetImage(image_backgorund);
+ drawWidgetImage(image_backgorund);
- drawWidgetButton(button_back);
+ drawWidgetButton(button_back);
- for (i = 0; i < listWidgetLabel->count; i++) {
- int z;
+ for( i = 0 ; i < listWidgetLabel->count ; i++ )
+ {
+ int z;
- widget_t *this;
- this = (widget_t *) listWidgetLabel->list[i];
+ widget_t *this;
+ this = (widget_t *)listWidgetLabel->list[i];
+
+ z = this->y;
+ this->y += offset;
- z = this->y;
- this->y += offset;
+ if( this->y > SCREEN_CREDITS_OFFSET_MIN && this->y < SCREEN_CREDITS_OFFSET_MAX )
+ {
+ drawWidgetLabel(this);
+ }
- if (this->y > SCREEN_CREDITS_OFFSET_MIN
- && this->y < SCREEN_CREDITS_OFFSET_MAX) {
- drawWidgetLabel(this);
- }
-
- this->y = z;
- }
+ this->y = z;
+ }
}
-void
-eventScreenCredits()
+void eventScreenCredits()
{
- eventWidgetButton(button_back);
-
- offset -= SCREEN_CREDITS_OFFSET_SPEED;
+ eventWidgetButton(button_back);
+
+ offset -= SCREEN_CREDITS_OFFSET_SPEED;
- if (offset < SCREEN_CREDITS_OFFSET_RESTART) {
- offset = 0;
- }
+ if( offset < SCREEN_CREDITS_OFFSET_RESTART )
+ {
+ offset = 0;
+ }
- //printf("offset = %d\n", offset);
+ //printf("offset = %d\n", offset);
}
-void
-stopScreenCredits()
+void stopScreenCredits()
{
}
-static void
-eventWidget(void *p)
+static void eventWidget(void *p)
{
- widget_t *button;
-
- button = (widget_t *) (p);
-
- if (button == button_back) {
- setScreen("mainMenu");
- }
+ widget_t *button;
+
+ button = (widget_t *)(p);
+
+ if( button == button_back )
+ {
+ setScreen("mainMenu");
+ }
}
-void
-initScreenCredits()
+void initScreenCredits()
{
- image_t *image;
- int i;
-
- image = getImage(IMAGE_GROUP_BASE, "screen_main");
- image_backgorund = newWidgetImage(0, 0, image);
-
- button_back =
- newWidgetButton(_("back"), WINDOW_SIZE_X / 2 - WIDGET_BUTTON_WIDTH / 2,
- WINDOW_SIZE_Y - 80, eventWidget);
-
- listWidgetLabel = newList();
-
- if (tryExistFile(PATH_DOC SCREEN_CREDITS_FILE) == 0) {
- creditExists = 1;
- textFile = loadTextFile(PATH_DOC SCREEN_CREDITS_FILE);
- for (i = 0; i < textFile->text->count; i++) {
- widget_t *label;
- char *line;
- line = (char *) textFile->text->list[i];
- label = newWidgetLabel(line, WINDOW_SIZE_X / 2 - WINDOW_SIZE_X / 4,
- (WINDOW_SIZE_Y - 100) + i * 20,
- WIDGET_LABEL_LEFT);
-
- addList(listWidgetLabel, label);
- }
- }
- else {
- for (i = 0; i < 5; i++) {
- creditExists = 0;
- widget_t *label;
- char line[STR_SIZE];
- sprintf(line, _("Credit file not found... %s/%s"), PATH_DOC,
- SCREEN_CREDITS_FILE);
- label =
- newWidgetLabel(line, WINDOW_SIZE_X / 2,
- (WINDOW_SIZE_Y - 100) + i * 20,
- WIDGET_LABEL_CENTER);
-
- addList(listWidgetLabel, label);
- }
- }
-
- registerScreen(newScreen("credits", startScreenCredits, eventScreenCredits,
- drawScreenCredits, stopScreenCredits));
+ image_t *image;
+ int i;
+
+ image = getImage(IMAGE_GROUP_BASE, "screen_main");
+ image_backgorund = newWidgetImage(0, 0, image);
+
+ button_back = newWidgetButton(_("back"), WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2, WINDOW_SIZE_Y-80, eventWidget);
+
+ listWidgetLabel = newList();
+
+ if( tryExistFile(PATH_DOC SCREEN_CREDITS_FILE) == 0 )
+ {
+ creditExists = 1;
+ textFile = loadTextFile(PATH_DOC SCREEN_CREDITS_FILE);
+ for( i = 0 ; i < textFile->text->count ; i++ )
+ {
+ widget_t *label;
+ char *line;
+ line = (char *)textFile->text->list[i];
+ label = newWidgetLabel(line, WINDOW_SIZE_X/2-WINDOW_SIZE_X/4,
+ (WINDOW_SIZE_Y-100)+i*20, WIDGET_LABEL_LEFT);
+
+ addList(listWidgetLabel, label);
+ }
+ }
+ else
+ {
+ for( i = 0 ; i < 5 ; i++ )
+ {
+ creditExists = 0;
+ widget_t *label;
+ char line[STR_SIZE];
+ sprintf(line, _("Credit file not found... %s/%s"),PATH_DOC,SCREEN_CREDITS_FILE);
+ label = newWidgetLabel(line, WINDOW_SIZE_X/2, (WINDOW_SIZE_Y-100)+i*20,
+ WIDGET_LABEL_CENTER);
+
+ addList(listWidgetLabel, label);
+ }
+ }
+
+ registerScreen( newScreen("credits", startScreenCredits, eventScreenCredits,
+ drawScreenCredits, stopScreenCredits) );
}
-void
-quitScreenCredits()
+void quitScreenCredits()
{
- destroyWidgetImage(image_backgorund);
-
- destroyWidgetButton(button_back);
- destroyListItem(listWidgetLabel, destroyWidgetLabel);
- if (creditExists) {
- destroyTextFile(textFile);
- }
+ destroyWidgetImage(image_backgorund);
+
+ destroyWidgetButton(button_back);
+ destroyListItem(listWidgetLabel, destroyWidgetLabel);
+ if( creditExists )
+ {
+ destroyTextFile(textFile);
+ }
}
+
diff --git a/src/screen/screen_credits.c~ b/src/screen/screen_credits.c~
deleted file mode 100644
index 0d65c07..0000000
--- a/src/screen/screen_credits.c~
+++ /dev/null
@@ -1,154 +0,0 @@
-
-#include <stdio.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "textFile.h"
-
-#include "interface.h"
-#include "screen.h"
-#include "image.h"
-
-#ifndef NO_SOUND
-#include "music.h"
-#endif
-
-#include "screen_credits.h"
-
-#include "widget.h"
-#include "widget_image.h"
-#include "widget_label.h"
-#include "widget_button.h"
-
-static widget_t *image_backgorund;
-static widget_t *button_back;
-static list_t *listWidgetLabel;
-static textFile_t *textFile;
-static int offset;
-static int creditExists;
-
-void startScreenCredits()
-{
-#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
-#endif
- offset = 0;
-}
-
-void drawScreenCredits()
-{
- int i;
-
- drawWidgetImage(image_backgorund);
-
- drawWidgetButton(button_back);
-
- for( i = 0 ; i < listWidgetLabel->count ; i++ )
- {
- int z;
-
- widget_t *this;
- this = (widget_t *)listWidgetLabel->list[i];
-
- z = this->y;
- this->y += offset;
-
- if( this->y > SCREEN_CREDITS_OFFSET_MIN && this->y < SCREEN_CREDITS_OFFSET_MAX )
- {
- drawWidgetLabel(this);
- }
-
- this->y = z;
- }
-
-}
-
-void eventScreenCredits()
-{
- eventWidgetButton(button_back);
-
- offset -= SCREEN_CREDITS_OFFSET_SPEED;
-
- if( offset < SCREEN_CREDITS_OFFSET_RESTART )
- {
- offset = 0;
- }
-
- //printf("offset = %d\n", offset);
-}
-
-void stopScreenCredits()
-{
-}
-
-static void eventWidget(void *p)
-{
- widget_t *button;
-
- button = (widget_t *)(p);
-
- if( button == button_back )
- {
- setScreen("mainMenu");
- }
-}
-
-void initScreenCredits()
-{
- image_t *image;
- int i;
-
- image = getImage(IMAGE_GROUP_BASE, "screen_main");
- image_backgorund = newWidgetImage(0, 0, image);
-
- button_back = newWidgetButton(_("back"), WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2, WINDOW_SIZE_Y-80, eventWidget);
-
- listWidgetLabel = newList();
-
- if( tryExistFile(PATH_DOC SCREEN_CREDITS_FILE) == 0 )
- {
- creditExists = 1;
- textFile = loadTextFile(PATH_DOC SCREEN_CREDITS_FILE);
- for( i = 0 ; i < textFile->text->count ; i++ )
- {
- widget_t *label;
- char *line;
- line = (char *)textFile->text->list[i];
- label = newWidgetLabel(line, WINDOW_SIZE_X/2-WINDOW_SIZE_X/4,
- (WINDOW_SIZE_Y-100)+i*20, WIDGET_LABEL_LEFT);
-
- addList(listWidgetLabel, label);
- }
- }
- else
- {
- for( i = 0 ; i < 5 ; i++ )
- {
- creditExists = 0;
- widget_t *label;
- char line[STR_SIZE];
- sprintf(line, _("Credit file not found... %s/%s"),PATH_DOC,SCREEN_CREDITS_FILE);
- label = newWidgetLabel(line, WINDOW_SIZE_X/2, (WINDOW_SIZE_Y-100)+i*20,
- WIDGET_LABEL_CENTER);
-
- addList(listWidgetLabel, label);
- }
- }
-
- registerScreen( newScreen("credits", startScreenCredits, eventScreenCredits,
- drawScreenCredits, stopScreenCredits) );
-}
-
-void quitScreenCredits()
-{
- destroyWidgetImage(image_backgorund);
-
- destroyWidgetButton(button_back);
- destroyListItem(listWidgetLabel, destroyWidgetLabel);
- if( creditExists )
- {
- destroyTextFile(textFile);
- }
-}
-
diff --git a/src/screen/screen_downArena.c b/src/screen/screen_downArena.c
index 7404b49..19887fd 100644
--- a/src/screen/screen_downArena.c
+++ b/src/screen/screen_downArena.c
@@ -50,365 +50,333 @@ static int fileOffset;
static my_time_t timeSendMsg;
static int countSendMsg;
-static void
-setStatusString(char *s)
+static void setStatusString(char *s)
{
- //printf("status -> %s\n", s);
- destroyWidgetLabel(label_status);
- label_status =
- newWidgetLabel(s, WINDOW_SIZE_X / 2, 250, WIDGET_LABEL_CENTER);
+ //printf("status -> %s\n", s);
+ destroyWidgetLabel(label_status);
+ label_status = newWidgetLabel(s, WINDOW_SIZE_X / 2, 250, WIDGET_LABEL_CENTER);
}
-static void
-connectToDownServer()
+static void connectToDownServer()
{
- char status[STR_SIZE];
- char msg[STR_PROTO_SIZE];
+ char status[STR_SIZE];
+ char msg[STR_PROTO_SIZE];
- sock_server_tcp =
- connectTcpSocket(getSettingIP(), getSettingPort(), PROTO_TCPv4);
+ sock_server_tcp = connectTcpSocket(getSettingIP(), getSettingPort(), PROTO_TCPv4);
- if (sock_server_tcp == NULL) {
- sprintf(status, "I do not connect to %s %d TCP down server",
- getSettingIP(), getSettingPort());
- setStatusString(status);
- return;
- }
+ if (sock_server_tcp == NULL) {
+ sprintf(status, "I do not connect to %s %d TCP down server", getSettingIP(), getSettingPort());
+ setStatusString(status);
+ return;
+ }
- setTcpSockNonBlock(sock_server_tcp);
+ setTcpSockNonBlock(sock_server_tcp);
- recvBuffer = newBuffer(DOWN_ARENA_BUFFER_SIZE);
- sendBuffer = newBuffer(DOWN_ARENA_BUFFER_SIZE);
- status_tcp_socket = DOWN_SERVER_STATUS_OK;
+ recvBuffer = newBuffer(DOWN_ARENA_BUFFER_SIZE);
+ sendBuffer = newBuffer(DOWN_ARENA_BUFFER_SIZE);
+ status_tcp_socket = DOWN_SERVER_STATUS_OK;
- file = NULL;
- countSendMsg = 0;
- timeSendMsg = getMyTime();
+ file = NULL;
+ countSendMsg = 0;
+ timeSendMsg = getMyTime();
- sprintf(msg, "GETARENA %s\n", arenaNetName);
+ sprintf(msg, "GETARENA %s\n", arenaNetName);
- addBuffer(sendBuffer, msg, strlen(msg));
+ addBuffer(sendBuffer, msg, strlen(msg));
- sprintf(status, "Connect to %s %d TCP down server", getSettingIP(),
- getSettingPort());
- setStatusString(status);
+ sprintf(status, "Connect to %s %d TCP down server", getSettingIP(), getSettingPort());
+ setStatusString(status);
}
-static void
-closeConnectFromDownServer()
+static void closeConnectFromDownServer()
{
- closeTcpSocket(sock_server_tcp);
- destroyBuffer(recvBuffer);
- destroyBuffer(sendBuffer);
- sock_server_tcp = NULL;
- recvBuffer = NULL;
- sendBuffer = NULL;
+ closeTcpSocket(sock_server_tcp);
+ destroyBuffer(recvBuffer);
+ destroyBuffer(sendBuffer);
+ sock_server_tcp = NULL;
+ recvBuffer = NULL;
+ sendBuffer = NULL;
}
-static void
-sendStatusToGameServer()
+static void sendStatusToGameServer()
{
- char *msg = "status\n";
-
- if (countSendMsg > DOWN_ARENA_MAX_SEND_MSG_STATUS) {
- char status[STR_SIZE];
- sprintf(status, "Game server %s %d is down", getSettingIP(),
- getSettingPort());
- setStatusString(status);
- return;
- }
-
- timeSendMsg = getMyTime();
- countSendMsg++;
- printf("countSendMsg = %d\n", countSendMsg++);
-
- if (writeUdpSocket(sock_server_udp, sock_server_udp, msg, strlen(msg)) < 0) {
- char status[STR_SIZE];
- sprintf(status, "I do not send message to %s %d UDP game server",
- getSettingIP(), getSettingPort());
- setStatusString(status);
- }
+ char *msg = "status\n";
+
+ if (countSendMsg > DOWN_ARENA_MAX_SEND_MSG_STATUS) {
+ char status[STR_SIZE];
+ sprintf(status, "Game server %s %d is down", getSettingIP(), getSettingPort());
+ setStatusString(status);
+ return;
+ }
+
+ timeSendMsg = getMyTime();
+ countSendMsg++;
+ printf("countSendMsg = %d\n", countSendMsg++);
+
+ if (writeUdpSocket(sock_server_udp, sock_server_udp, msg, strlen(msg)) < 0) {
+ char status[STR_SIZE];
+ sprintf(status, "I do not send message to %s %d UDP game server", getSettingIP(), getSettingPort());
+ setStatusString(status);
+ }
}
-void
-startScreenDownArena()
+void startScreenDownArena()
{
- char status[STR_SIZE];
+ char status[STR_SIZE];
- strcpy(str_status, "none");
- memset(arenaNetName, 0, STR_SIZE);
+ strcpy(str_status, "none");
+ memset(arenaNetName, 0, STR_SIZE);
- sock_server_udp =
- connectUdpSocket(getSettingIP(), getSettingPort(), PROTO_UDPv4);
+ sock_server_udp = connectUdpSocket(getSettingIP(), getSettingPort(), PROTO_UDPv4);
- if (sock_server_udp == NULL) {
- sprintf(status, "I do not connect to %s %d UDP game server",
- getSettingIP(), getSettingPort());
- setStatusString(status);
- return;
- }
+ if (sock_server_udp == NULL) {
+ sprintf(status, "I do not connect to %s %d UDP game server", getSettingIP(), getSettingPort());
+ setStatusString(status);
+ return;
+ }
- setUdpSockNonBlock(sock_server_udp);
+ setUdpSockNonBlock(sock_server_udp);
- sprintf(status, "Connect to %s %d UDP game server", getSettingIP(),
- getSettingPort());
- setStatusString(status);
+ sprintf(status, "Connect to %s %d UDP game server", getSettingIP(), getSettingPort());
+ setStatusString(status);
- sendStatusToGameServer();
+ sendStatusToGameServer();
}
-void
-drawScreenDownArena()
+void drawScreenDownArena()
{
- drawWidgetImage(image_backgorund);
- drawWidgetLabel(label_status);
- drawWidgetButton(button_back);
+ drawWidgetImage(image_backgorund);
+ drawWidgetLabel(label_status);
+ drawWidgetButton(button_back);
}
-static void
-proto_ok(char *line)
+static void proto_ok(char *line)
{
- //printf("line = %s\n", line);
- fileSize = atoi(line + 3);
- fileOffset = 0;
+ //printf("line = %s\n", line);
+ fileSize = atoi(line+3);
+ fileOffset = 0;
- sprintf(path, "%s/%s.zip", getHomeDirector(), arenaNetName);
- //printf("path = %s\n", path);
- file = fopen(path, "wb");
+ sprintf(path, "%s/%s.zip", getHomeDirector(), arenaNetName);
+ //printf("path = %s\n", path);
+ file = fopen(path, "wb");
}
-static void
-proto_err(char *line)
+static void proto_err(char *line)
{
- //printf("line = %s\n", line);
- setStatusString(line + 4);
- closeConnectFromDownServer();
+ //printf("line = %s\n", line);
+ setStatusString(line+4);
+ closeConnectFromDownServer();
}
-static void
-eventProto(char *line)
+static void eventProto(char *line)
{
- if (strncmp(line, "OK", 2) == 0) {
- proto_ok(line);
- }
+ if (strncmp(line, "OK", 2) == 0) {
+ proto_ok(line);
+ }
- if (strncmp(line, "ERR", 3) == 0) {
- proto_err(line);
- }
+ if (strncmp(line, "ERR", 3) == 0) {
+ proto_err(line);
+ }
}
-static int
-downArenaFile()
+static int downArenaFile()
{
- char status[STR_SIZE];
- void *data;
- int len;
+ char status[STR_SIZE];
+ void *data;
+ int len;
- len = getBufferSize(recvBuffer);
- data = getBufferData(recvBuffer);
- cutBuffer(recvBuffer, len);
+ len = getBufferSize(recvBuffer);
+ data = getBufferData(recvBuffer);
+ cutBuffer(recvBuffer, len);
- fwrite(data, len, 1, file);
- fileOffset += len;
+ fwrite(data, len, 1, file);
+ fileOffset += len;
- sprintf(status, "I down %d / %d", fileOffset, fileSize);
- setStatusString(status);
+ sprintf(status, "I down %d / %d", fileOffset, fileSize);
+ setStatusString(status);
- return len;
+ return len;
}
-static int
-eventRecvBuffer()
+static int eventRecvBuffer()
{
- char buffer[STR_PROTO_SIZE];
- char line[STR_PROTO_SIZE];
- int ret;
-
- memset(buffer, 0, STR_PROTO_SIZE);
-
- ret = readTcpSocket(sock_server_tcp, buffer, STR_PROTO_SIZE - 1);
- //if (ret <= 0) printf("readTcpSocket = %d\n", ret);
-
- if (ret < 0) {
- return -1;
- }
-
- if (addBuffer(recvBuffer, buffer, ret) < 0) {
- char status[STR_SIZE];
- sprintf(status, "Error -- recv buffer is full");
- setStatusString(status);
- closeConnectFromDownServer();
- return -1;
- }
-
- if (file == NULL && getBufferLine(recvBuffer, line, STR_PROTO_SIZE) >= 0) {
- eventProto(line);
- return ret;
- }
-
- if (file != NULL) {
- return downArenaFile();
- }
-
- return -1;
+ char buffer[STR_PROTO_SIZE];
+ char line[STR_PROTO_SIZE];
+ int ret;
+
+ memset(buffer, 0, STR_PROTO_SIZE);
+
+ ret = readTcpSocket(sock_server_tcp, buffer, STR_PROTO_SIZE-1);
+ //if (ret <= 0) printf("readTcpSocket = %d\n", ret);
+
+ if (ret < 0) {
+ return -1;
+ }
+
+ if (addBuffer(recvBuffer, buffer, ret) < 0) {
+ char status[STR_SIZE];
+ sprintf(status, "Error -- recv buffer is full");
+ setStatusString(status);
+ closeConnectFromDownServer();
+ return -1;
+ }
+
+ if (file == NULL && getBufferLine(recvBuffer, line, STR_PROTO_SIZE) >= 0) {
+ eventProto(line);
+ return ret;
+ }
+
+ if (file != NULL) {
+ return downArenaFile();
+ }
+
+ return -1;
}
-static int
-eventSendBuffer()
+static int eventSendBuffer()
{
- void *data;
- int len;
- int res;
+ void *data;
+ int len;
+ int res;
- len = getBufferSize(sendBuffer);
+ len = getBufferSize(sendBuffer);
- if (len == 0) {
- return -1;
- }
+ if (len == 0) {
+ return -1;
+ }
- data = getBufferData(sendBuffer);
+ data = getBufferData(sendBuffer);
- res = writeTcpSocket(sock_server_tcp, data, len);
+ res = writeTcpSocket(sock_server_tcp, data, len);
- if (res < 0) {
- return -1;
- }
+ if (res < 0) {
+ return -1;
+ }
- cutBuffer(sendBuffer, res);
- return res;
+ cutBuffer(sendBuffer, res);
+ return res;
}
-static void
-readArenaFromStatus()
+static void readArenaFromStatus()
{
- const char *str_arena = "arena: ";
-
- char *offset_begin;
- char *offset_end;
-
- offset_begin = strstr(str_status, str_arena);
-
- if (offset_begin != NULL) {
- offset_begin += strlen(str_arena);
- offset_end = strstr(offset_begin, "\n");
-
- if (offset_end != NULL) {
- closeUdpSocket(sock_server_udp);
- sock_server_udp = NULL;
- strncpy(arenaNetName, offset_begin, offset_end - offset_begin);
-
- if (getArenaFileFormNetName(arenaNetName) != NULL) {
- setScreen("world");
- return;
- }
-
- connectToDownServer();
-
- printf("arenaNetName = >>%s<<\n", arenaNetName);
- }
- }
+ const char *str_arena = "arena: ";
+
+ char *offset_begin;
+ char *offset_end;
+
+ offset_begin = strstr(str_status, str_arena);
+
+ if (offset_begin != NULL) {
+ offset_begin += strlen(str_arena);
+ offset_end = strstr(offset_begin, "\n");
+
+ if (offset_end != NULL) {
+ closeUdpSocket(sock_server_udp);
+ sock_server_udp = NULL;
+ strncpy(arenaNetName, offset_begin, offset_end-offset_begin);
+
+ if( getArenaFileFormNetName(arenaNetName) != NULL )
+ {
+ setScreen("world");
+ return;
+ }
+
+ connectToDownServer();
+
+ printf("arenaNetName = >>%s<<\n", arenaNetName);
+ }
+ }
}
-static void
-eventStatus()
+static void eventStatus()
{
- if (getMyTime() - timeSendMsg > DOWN_ARENA_MAX_TIEMOUT_LIMIT) {
- sendStatusToGameServer();
- }
-
- if (readUdpSocket
- (sock_server_udp, sock_server_udp, str_status,
- STR_PROTO_SIZE - 1) > 0) {
- //printf("str_status = %s\n", str_status);
- readArenaFromStatus();
- }
+ if (getMyTime() - timeSendMsg > DOWN_ARENA_MAX_TIEMOUT_LIMIT) {
+ sendStatusToGameServer();
+ }
+
+ if (readUdpSocket(sock_server_udp, sock_server_udp, str_status, STR_PROTO_SIZE - 1) > 0) {
+ //printf("str_status = %s\n", str_status);
+ readArenaFromStatus();
+ }
}
-void
-eventScreenDownArena()
+void eventScreenDownArena()
{
- int i;
-
- if (strcmp(str_status, "none") == 0) {
- eventStatus();
- }
-
- if (recvBuffer != NULL) {
- for (i = 0; i < DOWN_ARENA_COUNT_READ_SOCKET; i++) {
- if (eventRecvBuffer() <= 0) {
- break;
- }
- }
- }
-
- if (sendBuffer != NULL) {
- eventSendBuffer();
- }
-
- if (file != NULL && fileSize == fileOffset && fileSize > 0) {
- fclose(file);
- file = NULL;
- closeConnectFromDownServer();
- loadArenaFile(path);
- setScreen("world");
- }
-
- eventWidgetButton(button_back);
+ int i;
+
+ if (strcmp(str_status, "none") == 0) {
+ eventStatus();
+ }
+
+ if (recvBuffer != NULL) {
+ for (i = 0; i < DOWN_ARENA_COUNT_READ_SOCKET; i++) {
+ if (eventRecvBuffer() <= 0) {
+ break;
+ }
+ }
+ }
+
+ if (sendBuffer != NULL) {
+ eventSendBuffer();
+ }
+
+ if (file != NULL && fileSize == fileOffset && fileSize > 0) {
+ fclose(file);
+ file = NULL;
+ closeConnectFromDownServer();
+ loadArenaFile(path);
+ setScreen("world");
+ }
+
+ eventWidgetButton(button_back);
}
-void
-stopScreenDownArena()
+void stopScreenDownArena()
{
- if (file != NULL) {
- unlink(path);
- }
+ if (file != NULL) {
+ unlink(path);
+ }
- if (sock_server_tcp != NULL) {
- closeConnectFromDownServer();
- }
+ if (sock_server_tcp != NULL) {
+ closeConnectFromDownServer();
+ }
- if (sock_server_udp != NULL) {
- closeUdpSocket(sock_server_udp);
- }
+ if (sock_server_udp != NULL) {
+ closeUdpSocket(sock_server_udp);
+ }
}
-static void
-eventWidget(void *p)
+static void eventWidget(void *p)
{
- widget_t *button;
+ widget_t *button;
+
+ button = (widget_t *)(p);
- button = (widget_t *) (p);
-
- if (button == button_back) {
- setScreen("mainMenu");
- }
+ if (button == button_back) {
+ setScreen("mainMenu");
+ }
}
-void
-initScreenDownArena()
+void initScreenDownArena()
{
- image_t *image;
+ image_t *image;
- image = getImage(IMAGE_GROUP_BASE, "screen_main");
- image_backgorund = newWidgetImage(0, 0, image);
+ image = getImage(IMAGE_GROUP_BASE, "screen_main");
+ image_backgorund = newWidgetImage(0, 0, image);
- button_back =
- newWidgetButton(_("back"), WINDOW_SIZE_X / 2 - WIDGET_BUTTON_WIDTH / 2,
- WINDOW_SIZE_Y - 80, eventWidget);
+ button_back = newWidgetButton(_("back"), WINDOW_SIZE_X / 2 -WIDGET_BUTTON_WIDTH / 2, WINDOW_SIZE_Y - 80, eventWidget);
- label_status =
- newWidgetLabel("none", WINDOW_SIZE_X / 2, 250, WIDGET_LABEL_CENTER);
+ label_status = newWidgetLabel("none", WINDOW_SIZE_X / 2, 250, WIDGET_LABEL_CENTER);
- registerScreen(newScreen
- ("downArena", startScreenDownArena, eventScreenDownArena,
- drawScreenDownArena, stopScreenDownArena));
+ registerScreen(newScreen("downArena", startScreenDownArena, eventScreenDownArena,
+ drawScreenDownArena, stopScreenDownArena) );
}
-void
-quitScreenDownArena()
+void quitScreenDownArena()
{
- destroyWidgetImage(image_backgorund);
- destroyWidgetButton(button_back);
- destroyWidgetLabel(label_status);
+ destroyWidgetImage(image_backgorund);
+ destroyWidgetButton(button_back);
+ destroyWidgetLabel(label_status);
}
+
diff --git a/src/screen/screen_downArena.c~ b/src/screen/screen_downArena.c~
deleted file mode 100644
index 19887fd..0000000
--- a/src/screen/screen_downArena.c~
+++ /dev/null
@@ -1,382 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "buffer.h"
-#include "textFile.h"
-#include "arenaFile.h"
-#include "homeDirector.h"
-
-#include "interface.h"
-#include "screen.h"
-#include "image.h"
-
-#include "net_multiplayer.h"
-#include "udp.h"
-#include "tcp.h"
-
-#include "widget.h"
-#include "widget_image.h"
-#include "widget_label.h"
-#include "widget_button.h"
-
-#include "screen_setting.h"
-#include "screen_downArena.h"
-#include "screen_gameType.h"
-
-static sock_udp_t *sock_server_udp;
-static sock_tcp_t *sock_server_tcp;
-
-static widget_t *image_backgorund;
-static widget_t *button_back;
-static widget_t *label_status;
-
-static char str_status[STR_PROTO_SIZE];
-static char arenaNetName[STR_SIZE];
-
-static int status_tcp_socket;
-static buffer_t *recvBuffer;
-static buffer_t *sendBuffer;
-
-static char path[STR_PATH_SIZE];
-static FILE *file;
-static int fileSize;
-static int fileOffset;
-
-static my_time_t timeSendMsg;
-static int countSendMsg;
-
-static void setStatusString(char *s)
-{
- //printf("status -> %s\n", s);
- destroyWidgetLabel(label_status);
- label_status = newWidgetLabel(s, WINDOW_SIZE_X / 2, 250, WIDGET_LABEL_CENTER);
-}
-
-static void connectToDownServer()
-{
- char status[STR_SIZE];
- char msg[STR_PROTO_SIZE];
-
- sock_server_tcp = connectTcpSocket(getSettingIP(), getSettingPort(), PROTO_TCPv4);
-
- if (sock_server_tcp == NULL) {
- sprintf(status, "I do not connect to %s %d TCP down server", getSettingIP(), getSettingPort());
- setStatusString(status);
- return;
- }
-
- setTcpSockNonBlock(sock_server_tcp);
-
- recvBuffer = newBuffer(DOWN_ARENA_BUFFER_SIZE);
- sendBuffer = newBuffer(DOWN_ARENA_BUFFER_SIZE);
- status_tcp_socket = DOWN_SERVER_STATUS_OK;
-
- file = NULL;
- countSendMsg = 0;
- timeSendMsg = getMyTime();
-
- sprintf(msg, "GETARENA %s\n", arenaNetName);
-
- addBuffer(sendBuffer, msg, strlen(msg));
-
- sprintf(status, "Connect to %s %d TCP down server", getSettingIP(), getSettingPort());
- setStatusString(status);
-}
-
-static void closeConnectFromDownServer()
-{
- closeTcpSocket(sock_server_tcp);
- destroyBuffer(recvBuffer);
- destroyBuffer(sendBuffer);
- sock_server_tcp = NULL;
- recvBuffer = NULL;
- sendBuffer = NULL;
-}
-
-static void sendStatusToGameServer()
-{
- char *msg = "status\n";
-
- if (countSendMsg > DOWN_ARENA_MAX_SEND_MSG_STATUS) {
- char status[STR_SIZE];
- sprintf(status, "Game server %s %d is down", getSettingIP(), getSettingPort());
- setStatusString(status);
- return;
- }
-
- timeSendMsg = getMyTime();
- countSendMsg++;
- printf("countSendMsg = %d\n", countSendMsg++);
-
- if (writeUdpSocket(sock_server_udp, sock_server_udp, msg, strlen(msg)) < 0) {
- char status[STR_SIZE];
- sprintf(status, "I do not send message to %s %d UDP game server", getSettingIP(), getSettingPort());
- setStatusString(status);
- }
-}
-
-void startScreenDownArena()
-{
- char status[STR_SIZE];
-
- strcpy(str_status, "none");
- memset(arenaNetName, 0, STR_SIZE);
-
- sock_server_udp = connectUdpSocket(getSettingIP(), getSettingPort(), PROTO_UDPv4);
-
- if (sock_server_udp == NULL) {
- sprintf(status, "I do not connect to %s %d UDP game server", getSettingIP(), getSettingPort());
- setStatusString(status);
- return;
- }
-
- setUdpSockNonBlock(sock_server_udp);
-
- sprintf(status, "Connect to %s %d UDP game server", getSettingIP(), getSettingPort());
- setStatusString(status);
-
- sendStatusToGameServer();
-}
-
-void drawScreenDownArena()
-{
- drawWidgetImage(image_backgorund);
- drawWidgetLabel(label_status);
- drawWidgetButton(button_back);
-}
-
-static void proto_ok(char *line)
-{
- //printf("line = %s\n", line);
- fileSize = atoi(line+3);
- fileOffset = 0;
-
- sprintf(path, "%s/%s.zip", getHomeDirector(), arenaNetName);
- //printf("path = %s\n", path);
- file = fopen(path, "wb");
-}
-
-static void proto_err(char *line)
-{
- //printf("line = %s\n", line);
- setStatusString(line+4);
- closeConnectFromDownServer();
-}
-
-static void eventProto(char *line)
-{
- if (strncmp(line, "OK", 2) == 0) {
- proto_ok(line);
- }
-
- if (strncmp(line, "ERR", 3) == 0) {
- proto_err(line);
- }
-}
-
-static int downArenaFile()
-{
- char status[STR_SIZE];
- void *data;
- int len;
-
- len = getBufferSize(recvBuffer);
- data = getBufferData(recvBuffer);
- cutBuffer(recvBuffer, len);
-
- fwrite(data, len, 1, file);
- fileOffset += len;
-
- sprintf(status, "I down %d / %d", fileOffset, fileSize);
- setStatusString(status);
-
- return len;
-}
-
-static int eventRecvBuffer()
-{
- char buffer[STR_PROTO_SIZE];
- char line[STR_PROTO_SIZE];
- int ret;
-
- memset(buffer, 0, STR_PROTO_SIZE);
-
- ret = readTcpSocket(sock_server_tcp, buffer, STR_PROTO_SIZE-1);
- //if (ret <= 0) printf("readTcpSocket = %d\n", ret);
-
- if (ret < 0) {
- return -1;
- }
-
- if (addBuffer(recvBuffer, buffer, ret) < 0) {
- char status[STR_SIZE];
- sprintf(status, "Error -- recv buffer is full");
- setStatusString(status);
- closeConnectFromDownServer();
- return -1;
- }
-
- if (file == NULL && getBufferLine(recvBuffer, line, STR_PROTO_SIZE) >= 0) {
- eventProto(line);
- return ret;
- }
-
- if (file != NULL) {
- return downArenaFile();
- }
-
- return -1;
-}
-
-static int eventSendBuffer()
-{
- void *data;
- int len;
- int res;
-
- len = getBufferSize(sendBuffer);
-
- if (len == 0) {
- return -1;
- }
-
- data = getBufferData(sendBuffer);
-
- res = writeTcpSocket(sock_server_tcp, data, len);
-
- if (res < 0) {
- return -1;
- }
-
- cutBuffer(sendBuffer, res);
- return res;
-}
-
-static void readArenaFromStatus()
-{
- const char *str_arena = "arena: ";
-
- char *offset_begin;
- char *offset_end;
-
- offset_begin = strstr(str_status, str_arena);
-
- if (offset_begin != NULL) {
- offset_begin += strlen(str_arena);
- offset_end = strstr(offset_begin, "\n");
-
- if (offset_end != NULL) {
- closeUdpSocket(sock_server_udp);
- sock_server_udp = NULL;
- strncpy(arenaNetName, offset_begin, offset_end-offset_begin);
-
- if( getArenaFileFormNetName(arenaNetName) != NULL )
- {
- setScreen("world");
- return;
- }
-
- connectToDownServer();
-
- printf("arenaNetName = >>%s<<\n", arenaNetName);
- }
- }
-}
-
-static void eventStatus()
-{
- if (getMyTime() - timeSendMsg > DOWN_ARENA_MAX_TIEMOUT_LIMIT) {
- sendStatusToGameServer();
- }
-
- if (readUdpSocket(sock_server_udp, sock_server_udp, str_status, STR_PROTO_SIZE - 1) > 0) {
- //printf("str_status = %s\n", str_status);
- readArenaFromStatus();
- }
-}
-
-void eventScreenDownArena()
-{
- int i;
-
- if (strcmp(str_status, "none") == 0) {
- eventStatus();
- }
-
- if (recvBuffer != NULL) {
- for (i = 0; i < DOWN_ARENA_COUNT_READ_SOCKET; i++) {
- if (eventRecvBuffer() <= 0) {
- break;
- }
- }
- }
-
- if (sendBuffer != NULL) {
- eventSendBuffer();
- }
-
- if (file != NULL && fileSize == fileOffset && fileSize > 0) {
- fclose(file);
- file = NULL;
- closeConnectFromDownServer();
- loadArenaFile(path);
- setScreen("world");
- }
-
- eventWidgetButton(button_back);
-}
-
-void stopScreenDownArena()
-{
- if (file != NULL) {
- unlink(path);
- }
-
- if (sock_server_tcp != NULL) {
- closeConnectFromDownServer();
- }
-
- if (sock_server_udp != NULL) {
- closeUdpSocket(sock_server_udp);
- }
-
-}
-
-static void eventWidget(void *p)
-{
- widget_t *button;
-
- button = (widget_t *)(p);
-
- if (button == button_back) {
- setScreen("mainMenu");
- }
-}
-
-void initScreenDownArena()
-{
- image_t *image;
-
- image = getImage(IMAGE_GROUP_BASE, "screen_main");
- image_backgorund = newWidgetImage(0, 0, image);
-
- button_back = newWidgetButton(_("back"), WINDOW_SIZE_X / 2 -WIDGET_BUTTON_WIDTH / 2, WINDOW_SIZE_Y - 80, eventWidget);
-
- label_status = newWidgetLabel("none", WINDOW_SIZE_X / 2, 250, WIDGET_LABEL_CENTER);
-
- registerScreen(newScreen("downArena", startScreenDownArena, eventScreenDownArena,
- drawScreenDownArena, stopScreenDownArena) );
-}
-
-void quitScreenDownArena()
-{
- destroyWidgetImage(image_backgorund);
- destroyWidgetButton(button_back);
- destroyWidgetLabel(label_status);
-}
-
diff --git a/src/screen/screen_gameType.c b/src/screen/screen_gameType.c
index ebc1c04..d755072 100644
--- a/src/screen/screen_gameType.c
+++ b/src/screen/screen_gameType.c
@@ -56,355 +56,357 @@ static widget_t *textfield_port;
static widget_t *selectSession;
-static void
-loadSession(widget_t * p)
+static void loadSession(widget_t *p)
{
- director_t *director;
- int i;
+ director_t *director;
+ int i;
- director = loadDirector(getHomeDirector());
+ director = loadDirector(getHomeDirector());
- removeAllFromWidgetSelect(p);
+ removeAllFromWidgetSelect(p);
- if (director == NULL) {
- return;
- }
+ if( director == NULL )
+ {
+ return;
+ }
- for (i = 0; i < director->list->count; i++) {
- char *line;
+ for( i = 0 ; i < director->list->count ; i++ )
+ {
+ char *line;
- line = director->list->list[i];
+ line = director->list->list[i];
- if (strstr(line, ".sav") != NULL) {
- addToWidgetSelect(p, line);
- }
- }
+ if( strstr(line, ".sav") != NULL )
+ {
+ addToWidgetSelect(p, line);
+ }
+ }
- destroyDirector(director);
+ destroyDirector(director);
}
-void
-startScreenGameType()
+void startScreenGameType()
{
#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
+ playMusic("menu", MUSIC_GROUP_BASE);
#endif
- setWidgetChoiceStatus(check_none, TRUE);
- setWidgetChoiceStatus(check_server, FALSE);
- setWidgetChoiceStatus(check_client, FALSE);
- setWidgetChoiceStatus(check_load_session, FALSE);
+ setWidgetChoiceStatus(check_none, TRUE);
+ setWidgetChoiceStatus(check_server, FALSE);
+ setWidgetChoiceStatus(check_client, FALSE);
+ setWidgetChoiceStatus(check_load_session, FALSE);
- loadSession(selectSession);
+ loadSession(selectSession);
}
-void
-drawScreenGameType()
+void drawScreenGameType()
{
- int i;
-
- drawWidgetImage(image_backgorund);
-
- for (i = 0; i < listChoiceGroup->count; i++) {
- widget_t *this;
-
- this = (widget_t *) listChoiceGroup->list[i];
- drawWidgetChoicegroup(this);
- }
-
- drawWidgetLabel(label_none);
- drawWidgetLabel(label_server);
- drawWidgetLabel(label_client);
- drawWidgetLabel(label_load_session);
-
- if (getWidgetChoiceStatus(check_server) == TRUE
- || getWidgetChoiceStatus(check_client) == TRUE) {
- drawWidgetLabel(label_port);
- drawWidgetTextfield(textfield_port);
- drawWidgetLabel(label_ip);
- drawWidgetTextfield(textfield_ip);
- }
-
- if (getWidgetChoiceStatus(check_load_session) == TRUE) {
- drawWidgetLabel(label_session);
- drawWidgetSelect(selectSession);
- }
+ int i;
+
+ drawWidgetImage(image_backgorund);
+
+ for( i = 0 ; i < listChoiceGroup->count ; i++ )
+ {
+ widget_t *this;
+
+ this = (widget_t *)listChoiceGroup->list[i];
+ drawWidgetChoicegroup(this);
+ }
+
+ drawWidgetLabel(label_none);
+ drawWidgetLabel(label_server);
+ drawWidgetLabel(label_client);
+ drawWidgetLabel(label_load_session);
+
+ if( getWidgetChoiceStatus(check_server) == TRUE || getWidgetChoiceStatus(check_client) == TRUE )
+ {
+ drawWidgetLabel(label_port);
+ drawWidgetTextfield(textfield_port);
+ drawWidgetLabel(label_ip);
+ drawWidgetTextfield(textfield_ip);
+ }
+
+ if( getWidgetChoiceStatus(check_load_session) == TRUE )
+ {
+ drawWidgetLabel(label_session);
+ drawWidgetSelect(selectSession);
+ }
#if 0
- if (check_server->status == TRUE) {
- setSettingIP(getParamElse("--ip", "127.0.0.1"));
- setSettingPort(atoi(getParamElse("--port", "2200")));
- }
+ if( check_server->status == TRUE )
+ {
+ setSettingIP (getParamElse ("--ip", "127.0.0.1"));
+ setSettingPort (atoi (getParamElse("--port", "2200")));
+ }
#endif
- if (getWidgetChoiceStatus(check_client) == TRUE)
- drawWidgetButton(button_browser);
-
- drawWidgetButton(button_back);
- drawWidgetButton(button_play);
+ if( getWidgetChoiceStatus(check_client) == TRUE )
+ drawWidgetButton(button_browser);
+
+ drawWidgetButton(button_back);
+ drawWidgetButton(button_play);
}
-void
-eventScreenGameType()
+void eventScreenGameType()
{
- int i;
+ int i;
- for (i = 0; i < listChoiceGroup->count; i++) {
- widget_t *this;
+ for( i = 0 ; i < listChoiceGroup->count ; i++ )
+ {
+ widget_t *this;
- this = (widget_t *) listChoiceGroup->list[i];
- eventWidgetChoicegroup(this);
- }
+ this = (widget_t *)listChoiceGroup->list[i];
+ eventWidgetChoicegroup(this);
+ }
- if (getWidgetChoiceStatus(check_server) == TRUE
- || getWidgetChoiceStatus(check_client) == TRUE) {
- eventWidgetTextfield(textfield_ip);
- eventWidgetTextfield(textfield_port);
- }
+ if( getWidgetChoiceStatus(check_server) == TRUE || getWidgetChoiceStatus(check_client) == TRUE )
+ {
+ eventWidgetTextfield(textfield_ip);
+ eventWidgetTextfield(textfield_port);
+ }
- if (getWidgetChoiceStatus(check_load_session) == TRUE) {
- eventWidgetSelect(selectSession);
- }
+ if( getWidgetChoiceStatus(check_load_session) == TRUE )
+ {
+ eventWidgetSelect(selectSession);
+ }
- eventWidgetButton(button_back);
- eventWidgetButton(button_play);
+ eventWidgetButton(button_back);
+ eventWidgetButton(button_play);
- if (getWidgetChoiceStatus(check_client) == TRUE)
- eventWidgetButton(button_browser);
+ if( getWidgetChoiceStatus(check_client) == TRUE )
+ eventWidgetButton(button_browser);
}
-void
-stopScreenGameType()
+void stopScreenGameType()
{
}
-static void
-eventWidget(void *p)
+static void eventWidget(void *p)
{
- widget_t *button;
-
- button = (widget_t *) (p);
-
- if (button == button_back) {
- setScreen("mainMenu");
- }
-
- if (button == button_play) {
- char *str;
-
- str = getGemeTypeLoadSession();
-
- if (str != NULL) {
- setScreen("world");
- return;
- }
-
- if (getSettingGameType() == NET_GAME_TYPE_CLIENT) {
- setScreen("downArena");
- //setScreen("world");
- }
- else {
- setScreen("chiceArena");
- }
- }
-
- if (button == button_browser) {
- setScreen("browser");
- }
+ widget_t *button;
+
+ button = (widget_t *)(p);
+
+ if( button == button_back )
+ {
+ setScreen("mainMenu");
+ }
+
+ if( button == button_play )
+ {
+ char *str;
+
+ str = getGemeTypeLoadSession();
+
+ if( str != NULL )
+ {
+ setScreen("world");
+ return;
+ }
+
+ if( getSettingGameType() == NET_GAME_TYPE_CLIENT )
+ {
+ setScreen("downArena");
+ //setScreen("world");
+ }
+ else
+ {
+ setScreen("chiceArena");
+ }
+ }
+
+ if( button == button_browser )
+ {
+ setScreen("browser");
+ }
}
-void
-initScreenGameType()
+void initScreenGameType()
{
- image_t *image;
-
- image = getImage(IMAGE_GROUP_BASE, "screen_main");
- image_backgorund = newWidgetImage(0, 0, image);
-
- button_back =
- newWidgetButton(_("back"), 100, WINDOW_SIZE_Y - 100, eventWidget);
- button_play =
- newWidgetButton(_("play"), WINDOW_SIZE_X - 200, WINDOW_SIZE_Y - 100,
- eventWidget);
- button_browser = newWidgetButton(_("browser"), 300, 345, eventWidget);
-
- listChoiceGroup = newList();
- check_none =
- newWidgetChoicegroup(100, 150, FALSE, listChoiceGroup, eventWidget);
- check_server =
- newWidgetChoicegroup(100, 200, FALSE, listChoiceGroup, eventWidget);
- check_client =
- newWidgetChoicegroup(100, 250, FALSE, listChoiceGroup, eventWidget);
- check_load_session =
- newWidgetChoicegroup(100, 300, FALSE, listChoiceGroup, eventWidget);
-
- if (isParamFlag("--server")) {
- setWidgetChoiceStatus(check_server, TRUE);
- }
- else if (isParamFlag("--client")) {
- setWidgetChoiceStatus(check_client, TRUE);
- }
- else {
- setWidgetChoiceStatus(check_none, TRUE);
- }
-
- label_none = newWidgetLabel(_("Local game"), 130, 145, WIDGET_LABEL_LEFT);
- label_server =
- newWidgetLabel(_("Set up a server"), 130, 195, WIDGET_LABEL_LEFT);
- label_client =
- newWidgetLabel(_("Network game"), 130, 245, WIDGET_LABEL_LEFT);
- label_load_session =
- newWidgetLabel("load session", 130, 295, WIDGET_LABEL_LEFT);
-
- label_ip = newWidgetLabel(_("IP"), 300, 145, WIDGET_LABEL_LEFT);
- label_port = newWidgetLabel(_("port"), 300, 245, WIDGET_LABEL_LEFT);
- label_session =
- newWidgetLabel("load session :", 300, 145, WIDGET_LABEL_LEFT);
-
- textfield_ip = newWidgetTextfield(getParamElse("--ip", "127.0.0.1"),
- WIDGET_TEXTFIELD_FILTER_IP_OR_DOMAIN,
- 300, 180);
-
- textfield_port = newWidgetTextfield(getParamElse("--port", "2200"),
- WIDGET_TEXTFIELD_FILTER_NUM, 300, 280);
-
- selectSession = newWidgetSelect(300, 185, eventWidget);
-
- registerScreen(newScreen
- ("gameType", startScreenGameType, eventScreenGameType,
- drawScreenGameType, stopScreenGameType));
+ image_t *image;
+
+ image = getImage(IMAGE_GROUP_BASE, "screen_main");
+ image_backgorund = newWidgetImage(0, 0, image);
+
+ button_back = newWidgetButton(_("back"), 100, WINDOW_SIZE_Y-100, eventWidget);
+ button_play = newWidgetButton(_("play"), WINDOW_SIZE_X-200, WINDOW_SIZE_Y-100, eventWidget);
+ button_browser = newWidgetButton(_("browser"), 300, 345, eventWidget);
+
+ listChoiceGroup = newList();
+ check_none = newWidgetChoicegroup(100, 150, FALSE, listChoiceGroup, eventWidget);
+ check_server = newWidgetChoicegroup(100, 200, FALSE, listChoiceGroup, eventWidget);
+ check_client = newWidgetChoicegroup(100, 250, FALSE, listChoiceGroup, eventWidget);
+ check_load_session = newWidgetChoicegroup(100, 300, FALSE, listChoiceGroup, eventWidget);
+
+ if( isParamFlag("--server") )
+ {
+ setWidgetChoiceStatus(check_server, TRUE);
+ }
+ else if( isParamFlag("--client") )
+ {
+ setWidgetChoiceStatus(check_client, TRUE);
+ }
+ else
+ {
+ setWidgetChoiceStatus(check_none, TRUE);
+ }
+
+ label_none = newWidgetLabel(_("Local game"), 130, 145, WIDGET_LABEL_LEFT);
+ label_server = newWidgetLabel(_("Set up a server"), 130, 195, WIDGET_LABEL_LEFT);
+ label_client = newWidgetLabel(_("Network game"), 130, 245, WIDGET_LABEL_LEFT);
+ label_load_session = newWidgetLabel("load session", 130, 295, WIDGET_LABEL_LEFT);
+
+ label_ip = newWidgetLabel(_("IP"), 300, 145, WIDGET_LABEL_LEFT);
+ label_port = newWidgetLabel(_("port"), 300, 245, WIDGET_LABEL_LEFT);
+ label_session = newWidgetLabel("load session :", 300, 145, WIDGET_LABEL_LEFT);
+
+ textfield_ip = newWidgetTextfield(
+ getParamElse("--ip", "127.0.0.1"),
+ WIDGET_TEXTFIELD_FILTER_IP_OR_DOMAIN,
+ 300, 180);
+
+ textfield_port = newWidgetTextfield(
+ getParamElse("--port", "2200"),
+ WIDGET_TEXTFIELD_FILTER_NUM,
+ 300, 280);
+
+ selectSession = newWidgetSelect(300, 185, eventWidget);
+
+ registerScreen( newScreen("gameType", startScreenGameType, eventScreenGameType,
+ drawScreenGameType, stopScreenGameType) );
}
-int
-setSettingGameType(int status)
+int setSettingGameType(int status)
{
- if (status == NET_GAME_TYPE_NONE) {
- setWidgetChoiceStatus(check_none, TRUE);
- return 0;
- }
-
- if (status == NET_GAME_TYPE_SERVER) {
- setWidgetChoiceStatus(check_server, TRUE);
- return 0;
- }
-
- if (status == NET_GAME_TYPE_CLIENT) {
- setWidgetChoiceStatus(check_client, TRUE);
- return 0;
- }
-
- return -1;
+ if( status == NET_GAME_TYPE_NONE )
+ {
+ setWidgetChoiceStatus(check_none, TRUE);
+ return 0;
+ }
+
+ if( status == NET_GAME_TYPE_SERVER )
+ {
+ setWidgetChoiceStatus(check_server, TRUE);
+ return 0;
+ }
+
+ if( status == NET_GAME_TYPE_CLIENT )
+ {
+ setWidgetChoiceStatus(check_client, TRUE);
+ return 0;
+ }
+
+ return -1;
}
-int
-getSettingGameType()
+int getSettingGameType()
{
- if (getWidgetChoiceStatus(check_none) == TRUE ||
- getWidgetChoiceStatus(check_load_session) == TRUE) {
- return NET_GAME_TYPE_NONE;
- }
+ if( getWidgetChoiceStatus(check_none) == TRUE ||
+ getWidgetChoiceStatus(check_load_session) == TRUE )
+ {
+ return NET_GAME_TYPE_NONE;
+ }
- if (getWidgetChoiceStatus(check_server) == TRUE) {
- return NET_GAME_TYPE_SERVER;
- }
+ if( getWidgetChoiceStatus(check_server) == TRUE )
+ {
+ return NET_GAME_TYPE_SERVER;
+ }
- if (getWidgetChoiceStatus(check_client) == TRUE) {
- return NET_GAME_TYPE_CLIENT;
- }
+ if( getWidgetChoiceStatus(check_client) == TRUE )
+ {
+ return NET_GAME_TYPE_CLIENT;
+ }
- assert(!_("Unknown game type!"));
+ assert( ! _("Unknown game type!") );
- return -1;
+ return -1;
}
-char *
-getGemeTypeLoadSession()
+char* getGemeTypeLoadSession()
{
- if (getWidgetChoiceStatus(check_load_session) == TRUE) {
- return getWidgetSelectItem(selectSession);
- }
+ if( getWidgetChoiceStatus(check_load_session) == TRUE )
+ {
+ return getWidgetSelectItem(selectSession);
+ }
- return NULL;
+ return NULL;
}
-int
-setSettingIP(char *address)
+int setSettingIP(char *address)
{
- char str[STR_SIZE];
+ char str[STR_SIZE];
- strcpy(str, address);
- setWidgetTextFiledText(textfield_ip, str);
+ strcpy (str, address);
+ setWidgetTextFiledText(textfield_ip, str);
- return 1;
+ return 1;
}
-char *
-getSettingIP()
+char* getSettingIP()
{
- return getTextFromWidgetTextfield(textfield_ip);
+ return getTextFromWidgetTextfield(textfield_ip);
}
-int
-setSettingPort(int port)
+int setSettingPort(int port)
{
- char str[STR_SIZE];
+ char str[STR_SIZE];
- sprintf(str, "%d", port);
- setWidgetTextFiledText(textfield_port, str);
+ sprintf (str, "%d", port);
+ setWidgetTextFiledText(textfield_port, str);
- return 0;
+ return 0;
}
-int
-getSettingPort()
+int getSettingPort()
{
- return atoi(getTextFromWidgetTextfield(textfield_port));
+ return atoi( getTextFromWidgetTextfield(textfield_port) );
}
-int
-getSettingProto()
+int getSettingProto()
{
- if (strstr(getTextFromWidgetTextfield(textfield_ip), ".") != NULL) {
- return PROTO_UDPv4;
- }
-
- if (strstr(getTextFromWidgetTextfield(textfield_ip), ":") != NULL) {
- return PROTO_UDPv6;
- }
+ if( strstr(getTextFromWidgetTextfield(textfield_ip), ".") != NULL )
+ {
+ return PROTO_UDPv4;
+ }
+
+ if( strstr(getTextFromWidgetTextfield(textfield_ip), ":") != NULL )
+ {
+ return PROTO_UDPv6;
+ }
#ifdef DEBUG
- printf(_("Unknown IP protocol!\n"));
+ printf(_("Unknown IP protocol!\n"));
#endif
- return -1;
+ return -1;
}
-void
-quitScreenGameType()
+void quitScreenGameType()
{
- destroyWidgetImage(image_backgorund);
+ destroyWidgetImage(image_backgorund);
- destroyWidgetLabel(label_none);
- destroyWidgetLabel(label_server);
- destroyWidgetLabel(label_client);
- destroyWidgetLabel(label_load_session);
+ destroyWidgetLabel(label_none);
+ destroyWidgetLabel(label_server);
+ destroyWidgetLabel(label_client);
+ destroyWidgetLabel(label_load_session);
- destroyWidgetLabel(label_ip);
- destroyWidgetLabel(label_port);
- destroyWidgetLabel(label_session);
+ destroyWidgetLabel(label_ip);
+ destroyWidgetLabel(label_port);
+ destroyWidgetLabel(label_session);
- destroyWidgetTextfield(textfield_ip);
- destroyWidgetTextfield(textfield_port);
+ destroyWidgetTextfield(textfield_ip);
+ destroyWidgetTextfield(textfield_port);
- destroyWidgetSelect(selectSession);
+ destroyWidgetSelect(selectSession);
- destroyWidgetButton(button_back);
- destroyWidgetButton(button_play);
- destroyWidgetButton(button_browser);
+ destroyWidgetButton(button_back);
+ destroyWidgetButton(button_play);
+ destroyWidgetButton(button_browser);
- destroyWidgetChoicegroup(check_none);
- destroyWidgetChoicegroup(check_server);
- destroyWidgetChoicegroup(check_client);
- destroyWidgetChoicegroup(check_load_session);
-
- destroyList(listChoiceGroup);
+ destroyWidgetChoicegroup(check_none);
+ destroyWidgetChoicegroup(check_server);
+ destroyWidgetChoicegroup(check_client);
+ destroyWidgetChoicegroup(check_load_session);
+
+ destroyList(listChoiceGroup);
}
+
diff --git a/src/screen/screen_gameType.c~ b/src/screen/screen_gameType.c~
deleted file mode 100644
index d755072..0000000
--- a/src/screen/screen_gameType.c~
+++ /dev/null
@@ -1,412 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "director.h"
-#include "homeDirector.h"
-#include "net_multiplayer.h"
-#include "tux.h"
-
-#include "interface.h"
-#include "screen.h"
-#include "image.h"
-
-#ifndef NO_SOUND
-#include "music.h"
-#endif
-
-#include "screen_gameType.h"
-#include "screen_setting.h"
-
-#include "widget.h"
-#include "widget_label.h"
-#include "widget_button.h"
-#include "widget_image.h"
-#include "widget_textfield.h"
-#include "widget_choicegroup.h"
-#include "widget_check.h"
-#include "widget_select.h"
-
-static widget_t *image_backgorund;
-
-static widget_t *button_back;
-static widget_t *button_play;
-static widget_t *button_browser;
-
-static widget_t *label_none;
-static widget_t *label_server;
-static widget_t *label_client;
-static widget_t *label_load_session;
-
-static widget_t *label_ip;
-static widget_t *label_port;
-static widget_t *label_session;
-
-static list_t *listChoiceGroup;
-static widget_t *check_none;
-static widget_t *check_server;
-static widget_t *check_client;
-static widget_t *check_load_session;
-
-static widget_t *textfield_ip;
-static widget_t *textfield_port;
-
-static widget_t *selectSession;
-
-static void loadSession(widget_t *p)
-{
- director_t *director;
- int i;
-
- director = loadDirector(getHomeDirector());
-
- removeAllFromWidgetSelect(p);
-
- if( director == NULL )
- {
- return;
- }
-
- for( i = 0 ; i < director->list->count ; i++ )
- {
- char *line;
-
- line = director->list->list[i];
-
- if( strstr(line, ".sav") != NULL )
- {
- addToWidgetSelect(p, line);
- }
- }
-
- destroyDirector(director);
-}
-
-void startScreenGameType()
-{
-#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
-#endif
-
- setWidgetChoiceStatus(check_none, TRUE);
- setWidgetChoiceStatus(check_server, FALSE);
- setWidgetChoiceStatus(check_client, FALSE);
- setWidgetChoiceStatus(check_load_session, FALSE);
-
- loadSession(selectSession);
-}
-
-void drawScreenGameType()
-{
- int i;
-
- drawWidgetImage(image_backgorund);
-
- for( i = 0 ; i < listChoiceGroup->count ; i++ )
- {
- widget_t *this;
-
- this = (widget_t *)listChoiceGroup->list[i];
- drawWidgetChoicegroup(this);
- }
-
- drawWidgetLabel(label_none);
- drawWidgetLabel(label_server);
- drawWidgetLabel(label_client);
- drawWidgetLabel(label_load_session);
-
- if( getWidgetChoiceStatus(check_server) == TRUE || getWidgetChoiceStatus(check_client) == TRUE )
- {
- drawWidgetLabel(label_port);
- drawWidgetTextfield(textfield_port);
- drawWidgetLabel(label_ip);
- drawWidgetTextfield(textfield_ip);
- }
-
- if( getWidgetChoiceStatus(check_load_session) == TRUE )
- {
- drawWidgetLabel(label_session);
- drawWidgetSelect(selectSession);
- }
-
-#if 0
- if( check_server->status == TRUE )
- {
- setSettingIP (getParamElse ("--ip", "127.0.0.1"));
- setSettingPort (atoi (getParamElse("--port", "2200")));
- }
-#endif
-
- if( getWidgetChoiceStatus(check_client) == TRUE )
- drawWidgetButton(button_browser);
-
- drawWidgetButton(button_back);
- drawWidgetButton(button_play);
-
-}
-
-void eventScreenGameType()
-{
- int i;
-
- for( i = 0 ; i < listChoiceGroup->count ; i++ )
- {
- widget_t *this;
-
- this = (widget_t *)listChoiceGroup->list[i];
- eventWidgetChoicegroup(this);
- }
-
- if( getWidgetChoiceStatus(check_server) == TRUE || getWidgetChoiceStatus(check_client) == TRUE )
- {
- eventWidgetTextfield(textfield_ip);
- eventWidgetTextfield(textfield_port);
- }
-
- if( getWidgetChoiceStatus(check_load_session) == TRUE )
- {
- eventWidgetSelect(selectSession);
- }
-
- eventWidgetButton(button_back);
- eventWidgetButton(button_play);
-
- if( getWidgetChoiceStatus(check_client) == TRUE )
- eventWidgetButton(button_browser);
-}
-
-void stopScreenGameType()
-{
-}
-
-static void eventWidget(void *p)
-{
- widget_t *button;
-
- button = (widget_t *)(p);
-
- if( button == button_back )
- {
- setScreen("mainMenu");
- }
-
- if( button == button_play )
- {
- char *str;
-
- str = getGemeTypeLoadSession();
-
- if( str != NULL )
- {
- setScreen("world");
- return;
- }
-
- if( getSettingGameType() == NET_GAME_TYPE_CLIENT )
- {
- setScreen("downArena");
- //setScreen("world");
- }
- else
- {
- setScreen("chiceArena");
- }
- }
-
- if( button == button_browser )
- {
- setScreen("browser");
- }
-}
-
-void initScreenGameType()
-{
- image_t *image;
-
- image = getImage(IMAGE_GROUP_BASE, "screen_main");
- image_backgorund = newWidgetImage(0, 0, image);
-
- button_back = newWidgetButton(_("back"), 100, WINDOW_SIZE_Y-100, eventWidget);
- button_play = newWidgetButton(_("play"), WINDOW_SIZE_X-200, WINDOW_SIZE_Y-100, eventWidget);
- button_browser = newWidgetButton(_("browser"), 300, 345, eventWidget);
-
- listChoiceGroup = newList();
- check_none = newWidgetChoicegroup(100, 150, FALSE, listChoiceGroup, eventWidget);
- check_server = newWidgetChoicegroup(100, 200, FALSE, listChoiceGroup, eventWidget);
- check_client = newWidgetChoicegroup(100, 250, FALSE, listChoiceGroup, eventWidget);
- check_load_session = newWidgetChoicegroup(100, 300, FALSE, listChoiceGroup, eventWidget);
-
- if( isParamFlag("--server") )
- {
- setWidgetChoiceStatus(check_server, TRUE);
- }
- else if( isParamFlag("--client") )
- {
- setWidgetChoiceStatus(check_client, TRUE);
- }
- else
- {
- setWidgetChoiceStatus(check_none, TRUE);
- }
-
- label_none = newWidgetLabel(_("Local game"), 130, 145, WIDGET_LABEL_LEFT);
- label_server = newWidgetLabel(_("Set up a server"), 130, 195, WIDGET_LABEL_LEFT);
- label_client = newWidgetLabel(_("Network game"), 130, 245, WIDGET_LABEL_LEFT);
- label_load_session = newWidgetLabel("load session", 130, 295, WIDGET_LABEL_LEFT);
-
- label_ip = newWidgetLabel(_("IP"), 300, 145, WIDGET_LABEL_LEFT);
- label_port = newWidgetLabel(_("port"), 300, 245, WIDGET_LABEL_LEFT);
- label_session = newWidgetLabel("load session :", 300, 145, WIDGET_LABEL_LEFT);
-
- textfield_ip = newWidgetTextfield(
- getParamElse("--ip", "127.0.0.1"),
- WIDGET_TEXTFIELD_FILTER_IP_OR_DOMAIN,
- 300, 180);
-
- textfield_port = newWidgetTextfield(
- getParamElse("--port", "2200"),
- WIDGET_TEXTFIELD_FILTER_NUM,
- 300, 280);
-
- selectSession = newWidgetSelect(300, 185, eventWidget);
-
- registerScreen( newScreen("gameType", startScreenGameType, eventScreenGameType,
- drawScreenGameType, stopScreenGameType) );
-}
-
-int setSettingGameType(int status)
-{
- if( status == NET_GAME_TYPE_NONE )
- {
- setWidgetChoiceStatus(check_none, TRUE);
- return 0;
- }
-
- if( status == NET_GAME_TYPE_SERVER )
- {
- setWidgetChoiceStatus(check_server, TRUE);
- return 0;
- }
-
- if( status == NET_GAME_TYPE_CLIENT )
- {
- setWidgetChoiceStatus(check_client, TRUE);
- return 0;
- }
-
- return -1;
-}
-
-int getSettingGameType()
-{
- if( getWidgetChoiceStatus(check_none) == TRUE ||
- getWidgetChoiceStatus(check_load_session) == TRUE )
- {
- return NET_GAME_TYPE_NONE;
- }
-
- if( getWidgetChoiceStatus(check_server) == TRUE )
- {
- return NET_GAME_TYPE_SERVER;
- }
-
- if( getWidgetChoiceStatus(check_client) == TRUE )
- {
- return NET_GAME_TYPE_CLIENT;
- }
-
- assert( ! _("Unknown game type!") );
-
- return -1;
-}
-
-char* getGemeTypeLoadSession()
-{
- if( getWidgetChoiceStatus(check_load_session) == TRUE )
- {
- return getWidgetSelectItem(selectSession);
- }
-
- return NULL;
-}
-
-int setSettingIP(char *address)
-{
- char str[STR_SIZE];
-
- strcpy (str, address);
- setWidgetTextFiledText(textfield_ip, str);
-
- return 1;
-}
-
-char* getSettingIP()
-{
- return getTextFromWidgetTextfield(textfield_ip);
-}
-
-int setSettingPort(int port)
-{
- char str[STR_SIZE];
-
- sprintf (str, "%d", port);
- setWidgetTextFiledText(textfield_port, str);
-
- return 0;
-}
-
-int getSettingPort()
-{
- return atoi( getTextFromWidgetTextfield(textfield_port) );
-}
-
-int getSettingProto()
-{
- if( strstr(getTextFromWidgetTextfield(textfield_ip), ".") != NULL )
- {
- return PROTO_UDPv4;
- }
-
- if( strstr(getTextFromWidgetTextfield(textfield_ip), ":") != NULL )
- {
- return PROTO_UDPv6;
- }
-#ifdef DEBUG
- printf(_("Unknown IP protocol!\n"));
-#endif
- return -1;
-}
-
-void quitScreenGameType()
-{
- destroyWidgetImage(image_backgorund);
-
- destroyWidgetLabel(label_none);
- destroyWidgetLabel(label_server);
- destroyWidgetLabel(label_client);
- destroyWidgetLabel(label_load_session);
-
- destroyWidgetLabel(label_ip);
- destroyWidgetLabel(label_port);
- destroyWidgetLabel(label_session);
-
- destroyWidgetTextfield(textfield_ip);
- destroyWidgetTextfield(textfield_port);
-
- destroyWidgetSelect(selectSession);
-
- destroyWidgetButton(button_back);
- destroyWidgetButton(button_play);
- destroyWidgetButton(button_browser);
-
- destroyWidgetChoicegroup(check_none);
- destroyWidgetChoicegroup(check_server);
- destroyWidgetChoicegroup(check_client);
- destroyWidgetChoicegroup(check_load_session);
-
- destroyList(listChoiceGroup);
-}
-
diff --git a/src/screen/screen_mainMenu.c b/src/screen/screen_mainMenu.c
index a1b4793..46cfb5e 100644
--- a/src/screen/screen_mainMenu.c
+++ b/src/screen/screen_mainMenu.c
@@ -31,117 +31,98 @@ static widget_t *button_table;
static widget_t *button_credits;
static widget_t *button_end;
-void
-startScreenMainMenu()
+void startScreenMainMenu()
{
#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
+ playMusic("menu", MUSIC_GROUP_BASE);
#endif
}
-void
-drawScreenMainMenu()
+void drawScreenMainMenu()
{
- drawWidgetImage(image_backgorund);
+ drawWidgetImage(image_backgorund);
- drawWidgetButton(button_play);
- drawWidgetButton(button_setting);
- drawWidgetButton(button_table);
- drawWidgetButton(button_credits);
- drawWidgetButton(button_end);
+ drawWidgetButton(button_play);
+ drawWidgetButton(button_setting);
+ drawWidgetButton(button_table);
+ drawWidgetButton(button_credits);
+ drawWidgetButton(button_end);
}
-void
-eventScreenMainMenu()
+void eventScreenMainMenu()
{
- eventWidgetButton(button_play);
- eventWidgetButton(button_setting);
- eventWidgetButton(button_table);
- eventWidgetButton(button_credits);
- eventWidgetButton(button_end);
+ eventWidgetButton(button_play);
+ eventWidgetButton(button_setting);
+ eventWidgetButton(button_table);
+ eventWidgetButton(button_credits);
+ eventWidgetButton(button_end);
}
-void
-stopScreenMainMenu()
+void stopScreenMainMenu()
{
}
-static void
-eventWidget(void *p)
+static void eventWidget(void *p)
{
- widget_t *button;
-
- button = (widget_t *) (p);
-
- if (button == button_play) {
- setScreen("gameType");
- }
-
- if (button == button_setting) {
- setScreen("setting");
- }
-
- if (button == button_table) {
- setScreen("table");
- }
-
- if (button == button_credits) {
- setScreen("credits");
- }
-
- if (button == button_end) {
- quitGame();
- }
+ widget_t *button;
+
+ button = (widget_t *)(p);
+
+ if( button == button_play )
+ {
+ setScreen("gameType");
+ }
+
+ if( button == button_setting )
+ {
+ setScreen("setting");
+ }
+
+ if( button == button_table )
+ {
+ setScreen("table");
+ }
+
+ if( button == button_credits )
+ {
+ setScreen("credits");
+ }
+
+ if( button == button_end )
+ {
+ quitGame();
+ }
}
-void
-initScreenMainMenu()
+void initScreenMainMenu()
{
- image_t *image;
-
- image =
- addImageData("screen_main.png", IMAGE_NO_ALPHA, "screen_main",
- IMAGE_GROUP_BASE);
- image_backgorund = newWidgetImage(0, 0, image);
-
- button_play =
- newWidgetButton(_("Start game"),
- WINDOW_SIZE_X / 2 - WIDGET_BUTTON_WIDTH / 2, 200,
- eventWidget);
- button_setting =
- newWidgetButton(_("Settings"),
- WINDOW_SIZE_X / 2 - WIDGET_BUTTON_WIDTH / 2, 250,
- eventWidget);
- button_table =
- newWidgetButton(_("Highscore"),
- WINDOW_SIZE_X / 2 - WIDGET_BUTTON_WIDTH / 2, 300,
- eventWidget);
- button_credits =
- newWidgetButton(_("Credits"),
- WINDOW_SIZE_X / 2 - WIDGET_BUTTON_WIDTH / 2, 350,
- eventWidget);
- button_end =
- newWidgetButton(_("Quit game"),
- WINDOW_SIZE_X / 2 - WIDGET_BUTTON_WIDTH / 2, 400,
- eventWidget);
+ image_t *image;
+
+ image = addImageData("screen_main.png", IMAGE_NO_ALPHA, "screen_main", IMAGE_GROUP_BASE);
+ image_backgorund = newWidgetImage(0, 0, image);
+
+ button_play = newWidgetButton(_("Start game"), WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2, 200, eventWidget);
+ button_setting = newWidgetButton(_("Settings"), WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2, 250, eventWidget);
+ button_table = newWidgetButton(_("Highscore"), WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2, 300, eventWidget);
+ button_credits = newWidgetButton(_("Credits"), WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2, 350, eventWidget);
+ button_end = newWidgetButton(_("Quit game"), WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2, 400, eventWidget);
#ifndef NO_SOUND
- addMusic("menu.ogg", "menu", MUSIC_GROUP_BASE);
+ addMusic("menu.ogg", "menu", MUSIC_GROUP_BASE);
#endif
- registerScreen(newScreen
- ("mainMenu", startScreenMainMenu, eventScreenMainMenu,
- drawScreenMainMenu, stopScreenMainMenu));
+ registerScreen( newScreen("mainMenu", startScreenMainMenu, eventScreenMainMenu,
+ drawScreenMainMenu, stopScreenMainMenu) );
}
-void
-quitScreenMainMenu()
+void quitScreenMainMenu()
{
- destroyWidgetImage(image_backgorund);
+ destroyWidgetImage(image_backgorund);
- destroyWidgetButton(button_play);
- destroyWidgetButton(button_setting);
- destroyWidgetButton(button_table);
- destroyWidgetButton(button_credits);
- destroyWidgetButton(button_end);
+ destroyWidgetButton(button_play);
+ destroyWidgetButton(button_setting);
+ destroyWidgetButton(button_table);
+ destroyWidgetButton(button_credits);
+ destroyWidgetButton(button_end);
}
+
diff --git a/src/screen/screen_mainMenu.c~ b/src/screen/screen_mainMenu.c~
deleted file mode 100644
index 46cfb5e..0000000
--- a/src/screen/screen_mainMenu.c~
+++ /dev/null
@@ -1,128 +0,0 @@
-
-#include <stdio.h>
-#include <assert.h>
-
-#include "main.h"
-
-#include "game.h"
-#include "interface.h"
-#include "screen.h"
-#include "image.h"
-
-#ifndef NO_SOUND
-#include "music.h"
-#endif
-
-#include "screen_mainMenu.h"
-#include "screen_setting.h"
-
-#include "widget.h"
-#include "widget_label.h"
-#include "widget_button.h"
-#include "widget_textfield.h"
-#include "widget_check.h"
-#include "widget_image.h"
-
-static widget_t *image_backgorund;
-
-static widget_t *button_play;
-static widget_t *button_setting;
-static widget_t *button_table;
-static widget_t *button_credits;
-static widget_t *button_end;
-
-void startScreenMainMenu()
-{
-#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
-#endif
-}
-
-void drawScreenMainMenu()
-{
- drawWidgetImage(image_backgorund);
-
- drawWidgetButton(button_play);
- drawWidgetButton(button_setting);
- drawWidgetButton(button_table);
- drawWidgetButton(button_credits);
- drawWidgetButton(button_end);
-}
-
-void eventScreenMainMenu()
-{
- eventWidgetButton(button_play);
- eventWidgetButton(button_setting);
- eventWidgetButton(button_table);
- eventWidgetButton(button_credits);
- eventWidgetButton(button_end);
-}
-
-void stopScreenMainMenu()
-{
-}
-
-static void eventWidget(void *p)
-{
- widget_t *button;
-
- button = (widget_t *)(p);
-
- if( button == button_play )
- {
- setScreen("gameType");
- }
-
- if( button == button_setting )
- {
- setScreen("setting");
- }
-
- if( button == button_table )
- {
- setScreen("table");
- }
-
- if( button == button_credits )
- {
- setScreen("credits");
- }
-
- if( button == button_end )
- {
- quitGame();
- }
-}
-
-void initScreenMainMenu()
-{
- image_t *image;
-
- image = addImageData("screen_main.png", IMAGE_NO_ALPHA, "screen_main", IMAGE_GROUP_BASE);
- image_backgorund = newWidgetImage(0, 0, image);
-
- button_play = newWidgetButton(_("Start game"), WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2, 200, eventWidget);
- button_setting = newWidgetButton(_("Settings"), WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2, 250, eventWidget);
- button_table = newWidgetButton(_("Highscore"), WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2, 300, eventWidget);
- button_credits = newWidgetButton(_("Credits"), WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2, 350, eventWidget);
- button_end = newWidgetButton(_("Quit game"), WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2, 400, eventWidget);
-
-#ifndef NO_SOUND
- addMusic("menu.ogg", "menu", MUSIC_GROUP_BASE);
-#endif
-
- registerScreen( newScreen("mainMenu", startScreenMainMenu, eventScreenMainMenu,
- drawScreenMainMenu, stopScreenMainMenu) );
-}
-
-void quitScreenMainMenu()
-{
- destroyWidgetImage(image_backgorund);
-
- destroyWidgetButton(button_play);
- destroyWidgetButton(button_setting);
- destroyWidgetButton(button_table);
- destroyWidgetButton(button_credits);
- destroyWidgetButton(button_end);
-}
-
diff --git a/src/screen/screen_setting.c b/src/screen/screen_setting.c
index a5193ba..c79acaf 100644
--- a/src/screen/screen_setting.c
+++ b/src/screen/screen_setting.c
@@ -38,7 +38,7 @@
static widget_t *image_backgorund;
static widget_t *button_back;
-static widget_t *button_keys; // setting of keycontrols
+static widget_t *button_keys; // setting of keycontrols
static widget_t *label_count_round;
static widget_t *label_name_player1;
@@ -78,534 +78,476 @@ static widget_t *check_ai;
static textFile_t *configFile;
-void
-startScreenSetting()
+void startScreenSetting()
{
#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
+ playMusic("menu", MUSIC_GROUP_BASE);
#endif
}
-void
-drawScreenSetting()
+void drawScreenSetting()
{
- int i;
+ int i;
- drawWidgetImage(image_backgorund);
-
- drawWidgetLabel(label_count_round);
- drawWidgetLabel(label_name_player1);
- drawWidgetLabel(label_ai);
+ drawWidgetImage(image_backgorund);
+
+ drawWidgetLabel(label_count_round);
+ drawWidgetLabel(label_name_player1);
+ drawWidgetLabel(label_ai);
#ifndef NO_SOUND
- drawWidgetLabel(label_music);
- drawWidgetLabel(label_sound);
+ drawWidgetLabel(label_music);
+ drawWidgetLabel(label_sound);
#endif
- drawWidgetTextfield(textfield_count_cound);
- drawWidgetTextfield(textfield_name_player1);
-
- if (getWidgetCheckStatus(check_ai) == FALSE) {
- drawWidgetLabel(label_name_player2);
- drawWidgetTextfield(textfield_name_player2);
- }
-
- drawWidgetImage(image_gun_dual_revolver);
- drawWidgetImage(image_gun_scatter);
- drawWidgetImage(image_gun_tommy);
- drawWidgetImage(image_gun_lasser);
- drawWidgetImage(image_gun_mine);
- drawWidgetImage(image_gun_bombball);
-
- drawWidgetImage(image_bonus_speed);
- drawWidgetImage(image_bonus_shot);
- drawWidgetImage(image_bonus_teleport);
- drawWidgetImage(image_bonus_ghost);
- drawWidgetImage(image_bonus_4x);
- drawWidgetImage(image_bonus_hidden);
+ drawWidgetTextfield(textfield_count_cound);
+ drawWidgetTextfield(textfield_name_player1);
+
+ if ( getWidgetCheckStatus(check_ai) == FALSE )
+ {
+ drawWidgetLabel(label_name_player2);
+ drawWidgetTextfield(textfield_name_player2);
+ }
+
+ drawWidgetImage(image_gun_dual_revolver);
+ drawWidgetImage(image_gun_scatter);
+ drawWidgetImage(image_gun_tommy);
+ drawWidgetImage(image_gun_lasser);
+ drawWidgetImage(image_gun_mine);
+ drawWidgetImage(image_gun_bombball);
+
+ drawWidgetImage(image_bonus_speed);
+ drawWidgetImage(image_bonus_shot);
+ drawWidgetImage(image_bonus_teleport);
+ drawWidgetImage(image_bonus_ghost);
+ drawWidgetImage(image_bonus_4x);
+ drawWidgetImage(image_bonus_hidden);
#ifndef NO_SOUND
- drawWidgetCheck(check_music);
- drawWidgetCheck(check_sound);
+ drawWidgetCheck(check_music);
+ drawWidgetCheck(check_sound);
#endif
- for (i = GUN_DUAL_SIMPLE; i <= GUN_BOMBBALL; i++) {
- drawWidgetCheck(check[i]);
- }
+ for( i = GUN_DUAL_SIMPLE ; i <= GUN_BOMBBALL ; i++ )
+ {
+ drawWidgetCheck(check[i]);
+ }
- for (i = BONUS_SPEED; i <= BONUS_HIDDEN; i++) {
- drawWidgetCheck(check[i]);
- }
+ for( i = BONUS_SPEED ; i <= BONUS_HIDDEN ; i++ )
+ {
+ drawWidgetCheck(check[i]);
+ }
- drawWidgetCheck(check_ai);
+ drawWidgetCheck(check_ai);
- drawWidgetButton(button_back);
- drawWidgetButton(button_keys);
+ drawWidgetButton(button_back);
+ drawWidgetButton(button_keys);
}
-void
-eventScreenSetting()
+void eventScreenSetting()
{
- int i;
+ int i;
- eventWidgetTextfield(textfield_count_cound);
- eventWidgetTextfield(textfield_name_player1);
+ eventWidgetTextfield(textfield_count_cound);
+ eventWidgetTextfield(textfield_name_player1);
- if (getWidgetCheckStatus(check_ai) == FALSE) {
- eventWidgetTextfield(textfield_name_player2);
- }
+ if ( getWidgetCheckStatus(check_ai) == FALSE )
+ {
+ eventWidgetTextfield(textfield_name_player2);
+ }
#ifndef NO_SOUND
- eventWidgetCheck(check_music);
- eventWidgetCheck(check_sound);
+ eventWidgetCheck(check_music);
+ eventWidgetCheck(check_sound);
#endif
- for (i = GUN_DUAL_SIMPLE; i <= GUN_BOMBBALL; i++) {
- eventWidgetCheck(check[i]);
- }
+ for( i = GUN_DUAL_SIMPLE ; i <= GUN_BOMBBALL ; i++ )
+ {
+ eventWidgetCheck(check[i]);
+ }
- for (i = BONUS_SPEED; i <= BONUS_HIDDEN; i++) {
- eventWidgetCheck(check[i]);
- }
+ for( i = BONUS_SPEED ; i <= BONUS_HIDDEN ; i++ )
+ {
+ eventWidgetCheck(check[i]);
+ }
- eventWidgetCheck(check_ai);
+ eventWidgetCheck(check_ai);
- eventWidgetButton(button_back);
- eventWidgetButton(button_keys);
+ eventWidgetButton(button_back);
+ eventWidgetButton(button_keys);
}
-void
-stopScreenSetting()
+void stopScreenSetting()
{
}
-static void
-eventWidget(void *p)
+static void eventWidget(void *p)
{
- widget_t *button;
- widget_t *check;
-
- button = (widget_t *) (p);
- check = (widget_t *) (p);
-
- if (button == button_back) {
- setScreen("mainMenu");
- }
- if (button == button_keys) {
- setScreen("settingKeys");
- }
+ widget_t *button;
+ widget_t *check;
+
+ button = (widget_t *)(p);
+ check = (widget_t *)(p);
+
+ if( button == button_back )
+ {
+ setScreen("mainMenu");
+ }
+ if( button == button_keys )
+ {
+ setScreen("settingKeys");
+ }
#ifndef NO_SOUND
- if (check == check_music) {
- setMusicActive(getWidgetCheckStatus(check_music));
- }
-
- if (check == check_sound) {
- setSoundActive(getWidgetCheckStatus(check_sound));
- }
+ if( check == check_music )
+ {
+ setMusicActive( getWidgetCheckStatus(check_music) );
+ }
+
+ if( check == check_sound )
+ {
+ setSoundActive( getWidgetCheckStatus(check_sound) );
+ }
#endif
}
-static void
-initSettingFile()
+static void initSettingFile()
{
- char path[STR_PATH_SIZE];
- char val[STR_SIZE];
-
- sprintf(path, "%s/tuxanci.conf", getHomeDirector());
-
- configFile = loadTextFile(path);
-
- if (configFile == NULL) {
- fprintf(stderr, _("I am unable to load: \"%s\" !\n"), path);
- fprintf(stderr, _("Creating: \"%s\"\n"), path);
-
- configFile = newTextFile(path);
- }
-
- if (configFile == NULL) {
- fprintf(stderr, _("I was unable to create: \"%s\" !\n"), path);
- return;
- }
-
- loadValueFromConfigFile(configFile, "COUNT_ROUND", val, STR_SIZE, "15");
- setWidgetTextFiledText(textfield_count_cound, val);
-
- loadValueFromConfigFile(configFile, "NAME_PLAYER_RIGHT", val, STR_SIZE,
- NAME_PLAYER_RIGHT);
- setWidgetTextFiledText(textfield_name_player1, val);
-
- loadValueFromConfigFile(configFile, "NAME_PLAYER_LEFT", val, STR_SIZE,
- NAME_PLAYER_LEFT);
- setWidgetTextFiledText(textfield_name_player2, val);
-
- loadValueFromConfigFile(configFile, "GUN_DUAL_SIMPLE", val, STR_SIZE,
- "YES");
- setWidgetCheckStatus(check[GUN_DUAL_SIMPLE], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "GUN_SCATTER", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[GUN_SCATTER], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "GUN_TOMMY", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[GUN_TOMMY], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "GUN_LASSER", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[GUN_LASSER], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "GUN_MINE", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[GUN_MINE], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "GUN_BOMBBALL", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[GUN_BOMBBALL], isYesOrNO(val));
-
- loadValueFromConfigFile(configFile, "BONUS_SPEED", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[BONUS_SPEED], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "BONUS_SHOT", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[BONUS_SHOT], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "BONUS_TELEPORT", val, STR_SIZE,
- "YES");
- setWidgetCheckStatus(check[BONUS_TELEPORT], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "BONUS_GHOST", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[BONUS_GHOST], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "BONUS_4X", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[BONUS_4X], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "BONUS_HIDDEN", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[BONUS_HIDDEN], isYesOrNO(val));
-
- loadValueFromConfigFile(configFile, "AI", val, STR_SIZE, "NO");
- setWidgetCheckStatus(check_ai, isYesOrNO(val));
+ char path[STR_PATH_SIZE];
+ char val[STR_SIZE];
+
+ sprintf(path, "%s/tuxanci.conf", getHomeDirector());
+
+ configFile = loadTextFile(path);
+
+ if( configFile == NULL )
+ {
+ fprintf(stderr, _("I am unable to load: \"%s\" !\n"), path);
+ fprintf(stderr, _("Creating: \"%s\"\n"), path);
+
+ configFile = newTextFile(path);
+ }
+
+ if( configFile == NULL )
+ {
+ fprintf(stderr, _("I was unable to create: \"%s\" !\n"), path);
+ return;
+ }
+
+ loadValueFromConfigFile(configFile, "COUNT_ROUND", val, STR_SIZE, "15");
+ setWidgetTextFiledText(textfield_count_cound, val);
+
+ loadValueFromConfigFile(configFile, "NAME_PLAYER_RIGHT", val, STR_SIZE, NAME_PLAYER_RIGHT);
+ setWidgetTextFiledText(textfield_name_player1, val);
+
+ loadValueFromConfigFile(configFile, "NAME_PLAYER_LEFT", val, STR_SIZE, NAME_PLAYER_LEFT);
+ setWidgetTextFiledText(textfield_name_player2, val);
+
+ loadValueFromConfigFile(configFile, "GUN_DUAL_SIMPLE", val, STR_SIZE, "YES");
+ setWidgetCheckStatus(check[GUN_DUAL_SIMPLE], isYesOrNO(val));
+ loadValueFromConfigFile(configFile, "GUN_SCATTER", val, STR_SIZE, "YES");
+ setWidgetCheckStatus(check[GUN_SCATTER], isYesOrNO(val));
+ loadValueFromConfigFile(configFile, "GUN_TOMMY", val, STR_SIZE, "YES");
+ setWidgetCheckStatus(check[GUN_TOMMY], isYesOrNO(val));
+ loadValueFromConfigFile(configFile, "GUN_LASSER", val, STR_SIZE, "YES");
+ setWidgetCheckStatus(check[GUN_LASSER], isYesOrNO(val));
+ loadValueFromConfigFile(configFile, "GUN_MINE", val, STR_SIZE, "YES");
+ setWidgetCheckStatus(check[GUN_MINE], isYesOrNO(val));
+ loadValueFromConfigFile(configFile, "GUN_BOMBBALL", val, STR_SIZE, "YES");
+ setWidgetCheckStatus(check[GUN_BOMBBALL], isYesOrNO(val));
+
+ loadValueFromConfigFile(configFile, "BONUS_SPEED", val, STR_SIZE, "YES");
+ setWidgetCheckStatus(check[BONUS_SPEED], isYesOrNO(val));
+ loadValueFromConfigFile(configFile, "BONUS_SHOT", val, STR_SIZE, "YES");
+ setWidgetCheckStatus(check[BONUS_SHOT], isYesOrNO(val));
+ loadValueFromConfigFile(configFile, "BONUS_TELEPORT", val, STR_SIZE, "YES");
+ setWidgetCheckStatus(check[BONUS_TELEPORT], isYesOrNO(val));
+ loadValueFromConfigFile(configFile, "BONUS_GHOST", val, STR_SIZE, "YES");
+ setWidgetCheckStatus(check[BONUS_GHOST], isYesOrNO(val));
+ loadValueFromConfigFile(configFile, "BONUS_4X", val, STR_SIZE, "YES");
+ setWidgetCheckStatus(check[BONUS_4X], isYesOrNO(val));
+ loadValueFromConfigFile(configFile, "BONUS_HIDDEN", val, STR_SIZE, "YES");
+ setWidgetCheckStatus(check[BONUS_HIDDEN], isYesOrNO(val));
+
+ loadValueFromConfigFile(configFile, "AI", val, STR_SIZE, "NO");
+ setWidgetCheckStatus(check_ai, isYesOrNO(val));
#ifndef NO_SOUND
- loadValueFromConfigFile(configFile, "MUSIC", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check_music, isYesOrNO(val));
+ loadValueFromConfigFile(configFile, "MUSIC", val, STR_SIZE, "YES");
+ setWidgetCheckStatus(check_music, isYesOrNO(val));
- loadValueFromConfigFile(configFile, "SOUND", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check_sound, isYesOrNO(val));
+ loadValueFromConfigFile(configFile, "SOUND", val, STR_SIZE, "YES");
+ setWidgetCheckStatus(check_sound, isYesOrNO(val));
#endif
- loadValueFromConfigFile(configFile, "ARENA", val, STR_SIZE, "FAGN");
- setChoiceArena(getArenaFileFormNetName(val));
+ loadValueFromConfigFile(configFile, "ARENA", val, STR_SIZE, "FAGN");
+ setChoiceArena( getArenaFileFormNetName(val) );
- saveTextFile(configFile);
+ saveTextFile(configFile);
}
-static void
-saveAndDestroyConfigFile()
+static void saveAndDestroyConfigFile()
{
- if (configFile == NULL) {
- fprintf(stderr,
- _
- ("I am unable to save configure file, because config file was not initialised!\n"));
-
- return;
- }
-
- setValueInConfigFile(configFile, "COUNT_ROUND",
- getTextFromWidgetTextfield(textfield_count_cound));
- setValueInConfigFile(configFile, "NAME_PLAYER_RIGHT",
- getTextFromWidgetTextfield(textfield_name_player1));
- setValueInConfigFile(configFile, "NAME_PLAYER_LEFT",
- getTextFromWidgetTextfield(textfield_name_player2));
-
- setValueInConfigFile(configFile, "GUN_DUAL_SIMPLE",
- getYesOrNo(getWidgetCheckStatus
- (check[GUN_DUAL_SIMPLE])));
- setValueInConfigFile(configFile, "GUN_SCATTER",
- getYesOrNo(getWidgetCheckStatus(check[GUN_SCATTER])));
- setValueInConfigFile(configFile, "GUN_TOMMY",
- getYesOrNo(getWidgetCheckStatus(check[GUN_TOMMY])));
- setValueInConfigFile(configFile, "GUN_LASSER",
- getYesOrNo(getWidgetCheckStatus(check[GUN_LASSER])));
- setValueInConfigFile(configFile, "GUN_MINE",
- getYesOrNo(getWidgetCheckStatus(check[GUN_MINE])));
- setValueInConfigFile(configFile, "GUN_BOMBBALL",
- getYesOrNo(getWidgetCheckStatus
- (check[GUN_BOMBBALL])));
-
- setValueInConfigFile(configFile, "BONUS_SPEED",
- getYesOrNo(getWidgetCheckStatus(check[BONUS_SPEED])));
- setValueInConfigFile(configFile, "BONUS_SHOT",
- getYesOrNo(getWidgetCheckStatus(check[BONUS_SHOT])));
- setValueInConfigFile(configFile, "BONUS_TELEPORT",
- getYesOrNo(getWidgetCheckStatus
- (check[BONUS_TELEPORT])));
- setValueInConfigFile(configFile, "BONUS_GHOST",
- getYesOrNo(getWidgetCheckStatus(check[BONUS_GHOST])));
- setValueInConfigFile(configFile, "BONUS_4X",
- getYesOrNo(getWidgetCheckStatus(check[BONUS_4X])));
- setValueInConfigFile(configFile, "BONUS_HIDDEN",
- getYesOrNo(getWidgetCheckStatus
- (check[BONUS_HIDDEN])));
-
- setValueInConfigFile(configFile, "AI",
- getYesOrNo(getWidgetCheckStatus(check_ai)));
+ if( configFile == NULL )
+ {
+ fprintf(stderr, _("I am unable to save configure file, because config file was not initialised!\n"));
+
+ return;
+ }
+
+ setValueInConfigFile(configFile, "COUNT_ROUND", getTextFromWidgetTextfield(textfield_count_cound));
+ setValueInConfigFile(configFile, "NAME_PLAYER_RIGHT", getTextFromWidgetTextfield(textfield_name_player1));
+ setValueInConfigFile(configFile, "NAME_PLAYER_LEFT", getTextFromWidgetTextfield(textfield_name_player2));
+
+ setValueInConfigFile(configFile, "GUN_DUAL_SIMPLE", getYesOrNo(getWidgetCheckStatus(check[GUN_DUAL_SIMPLE])));
+ setValueInConfigFile(configFile, "GUN_SCATTER", getYesOrNo(getWidgetCheckStatus(check[GUN_SCATTER])));
+ setValueInConfigFile(configFile, "GUN_TOMMY", getYesOrNo(getWidgetCheckStatus(check[GUN_TOMMY])));
+ setValueInConfigFile(configFile, "GUN_LASSER", getYesOrNo(getWidgetCheckStatus(check[GUN_LASSER])));
+ setValueInConfigFile(configFile, "GUN_MINE", getYesOrNo(getWidgetCheckStatus(check[GUN_MINE])));
+ setValueInConfigFile(configFile, "GUN_BOMBBALL", getYesOrNo(getWidgetCheckStatus(check[GUN_BOMBBALL])));
+
+ setValueInConfigFile(configFile, "BONUS_SPEED", getYesOrNo(getWidgetCheckStatus(check[BONUS_SPEED])));
+ setValueInConfigFile(configFile, "BONUS_SHOT", getYesOrNo(getWidgetCheckStatus(check[BONUS_SHOT])));
+ setValueInConfigFile(configFile, "BONUS_TELEPORT", getYesOrNo(getWidgetCheckStatus(check[BONUS_TELEPORT])));
+ setValueInConfigFile(configFile, "BONUS_GHOST", getYesOrNo(getWidgetCheckStatus(check[BONUS_GHOST])));
+ setValueInConfigFile(configFile, "BONUS_4X", getYesOrNo(getWidgetCheckStatus(check[BONUS_4X])));
+ setValueInConfigFile(configFile, "BONUS_HIDDEN", getYesOrNo(getWidgetCheckStatus(check[BONUS_HIDDEN])));
+
+ setValueInConfigFile(configFile, "AI", getYesOrNo(getWidgetCheckStatus(check_ai)));
#ifndef NO_SOUND
- setValueInConfigFile(configFile, "MUSIC",
- getYesOrNo(getWidgetCheckStatus(check_music)));
- setValueInConfigFile(configFile, "SOUND",
- getYesOrNo(getWidgetCheckStatus(check_sound)));
+ setValueInConfigFile(configFile, "MUSIC", getYesOrNo(getWidgetCheckStatus(check_music)));
+ setValueInConfigFile(configFile, "SOUND", getYesOrNo(getWidgetCheckStatus(check_sound)));
#endif
- setValueInConfigFile(configFile, "ARENA",
- getArenaNetName(getChoiceArena()));
- //TODO
+ setValueInConfigFile(configFile, "ARENA", getArenaNetName(getChoiceArena()));
+ //TODO
- saveTextFile(configFile);
- destroyTextFile(configFile);
+ saveTextFile(configFile);
+ destroyTextFile(configFile);
}
-void
-initScreenSetting()
+void initScreenSetting()
{
- image_t *image;
- int i;
+ image_t *image;
+ int i;
- image = getImage(IMAGE_GROUP_BASE, "screen_main");
- image_backgorund = newWidgetImage(0, 0, image);
+ image = getImage(IMAGE_GROUP_BASE, "screen_main");
+ image_backgorund = newWidgetImage(0, 0, image);
- button_back =
- newWidgetButton(_("back"), WINDOW_SIZE_X - 200, WINDOW_SIZE_Y - 100,
- eventWidget);
- button_keys =
- newWidgetButton(_("controls"), WINDOW_SIZE_X - 200,
- button_back->y - WIDGET_BUTTON_HEIGHT - 10,
- eventWidget);
+ button_back = newWidgetButton(_("back"), WINDOW_SIZE_X - 200, WINDOW_SIZE_Y - 100, eventWidget);
+ button_keys = newWidgetButton(_("controls"), WINDOW_SIZE_X - 200, button_back->y - WIDGET_BUTTON_HEIGHT - 10, eventWidget);
#ifndef NO_SOUND
- label_music =
- newWidgetLabel(_("Music:"), 100, WINDOW_SIZE_Y - 85, WIDGET_LABEL_LEFT);
- check_music =
- newWidgetCheck(label_music->x + label_music->w + 10, WINDOW_SIZE_Y - 80,
- isMusicActive(), eventWidget);
- label_sound =
- newWidgetLabel(_("Sound:"), check_music->x + WIDGET_CHECK_WIDTH + 10,
- WINDOW_SIZE_Y - 85, WIDGET_LABEL_LEFT);
- check_sound =
- newWidgetCheck(label_sound->x + label_sound->w + 10, WINDOW_SIZE_Y - 80,
- isSoundActive(), eventWidget);
- label_ai =
- newWidgetLabel("AI:", check_sound->x + WIDGET_CHECK_WIDTH + 10,
- WINDOW_SIZE_Y - 85, WIDGET_LABEL_LEFT);
+ label_music = newWidgetLabel(_("Music:"), 100, WINDOW_SIZE_Y-85, WIDGET_LABEL_LEFT);
+ check_music = newWidgetCheck(label_music->x + label_music->w + 10,
+ WINDOW_SIZE_Y-80, isMusicActive() , eventWidget);
+ label_sound = newWidgetLabel(_("Sound:"), check_music->x + WIDGET_CHECK_WIDTH + 10,
+ WINDOW_SIZE_Y-85, WIDGET_LABEL_LEFT);
+ check_sound = newWidgetCheck(label_sound->x + label_sound->w + 10,
+ WINDOW_SIZE_Y-80, isSoundActive() , eventWidget);
+ label_ai = newWidgetLabel("AI:", check_sound->x + WIDGET_CHECK_WIDTH + 10, WINDOW_SIZE_Y-85, WIDGET_LABEL_LEFT);
#else
- label_ai =
- newWidgetLabel("AI:", 100, WINDOW_SIZE_Y - 85, WIDGET_LABEL_LEFT);
+ label_ai = newWidgetLabel("AI:", 100, WINDOW_SIZE_Y-85, WIDGET_LABEL_LEFT);
#endif
- check_ai =
- newWidgetCheck(label_ai->x + label_ai->w + 10, WINDOW_SIZE_Y - 80,
- FALSE, eventWidget);
-
- label_count_round =
- newWidgetLabel(_("No. of rounds:"), 100, WINDOW_SIZE_Y - 200,
- WIDGET_LABEL_LEFT);
- label_name_player1 =
- newWidgetLabel(_("Player 1:"), 100, WINDOW_SIZE_Y - 160,
- WIDGET_LABEL_LEFT);
- label_name_player2 =
- newWidgetLabel(_("Player 2:"), 100, WINDOW_SIZE_Y - 120,
- WIDGET_LABEL_LEFT);
-
- textfield_count_cound = newWidgetTextfield(getParamElse("--count", "15"),
- WIDGET_TEXTFIELD_FILTER_NUM,
- 110 + label_count_round->w,
- WINDOW_SIZE_Y - 200);
-
- textfield_name_player1 =
- newWidgetTextfield(getParamElse("--name1", NAME_PLAYER_RIGHT),
- WIDGET_TEXTFIELD_FILTER_ALPHANUM,
- 110 + label_count_round->w, WINDOW_SIZE_Y - 160);
-
- textfield_name_player2 =
- newWidgetTextfield(getParamElse("--name2", NAME_PLAYER_LEFT),
- WIDGET_TEXTFIELD_FILTER_ALPHANUM,
- 110 + label_count_round->w, WINDOW_SIZE_Y - 120);
-
- for (i = GUN_DUAL_SIMPLE; i <= GUN_BOMBBALL; i++) {
- int x = 0;
- int y = 0;
-
- if (i >= GUN_DUAL_SIMPLE && i <= GUN_TOMMY) {
- x = 100;
- y = 200 + (i - GUN_DUAL_SIMPLE) * 50;
- }
-
- if (i >= GUN_LASSER && i <= GUN_BOMBBALL) {
- x = 250;
- y = 200 + (i - GUN_LASSER) * 50;
- }
-
- check[i] = newWidgetCheck(x, y, TRUE, NULL);
- }
-
- for (i = BONUS_SPEED; i <= BONUS_HIDDEN; i++) {
- int x = 0;
- int y = 0;
-
- if (i >= BONUS_SPEED && i <= BONUS_TELEPORT) {
- x = 430;
- y = 200 + (i - BONUS_SPEED) * 50;
- }
-
- if (i >= BONUS_GHOST && i <= BONUS_HIDDEN) {
- x = 580;
- y = 200 + (i - BONUS_GHOST) * 50;
- }
-
- check[i] = newWidgetCheck(x, y, TRUE, NULL);
- }
-
- image_gun_dual_revolver =
- newWidgetImage(110 + WIDGET_CHECK_WIDTH, 200,
- getImage(IMAGE_GROUP_BASE, "panel_dual"));
- image_gun_scatter =
- newWidgetImage(110 + WIDGET_CHECK_WIDTH, 250,
- getImage(IMAGE_GROUP_BASE, "panel_scatter"));
- image_gun_tommy =
- newWidgetImage(110 + WIDGET_CHECK_WIDTH, 300,
- getImage(IMAGE_GROUP_BASE, "panel_tommy"));
- image_gun_lasser =
- newWidgetImage(260 + WIDGET_CHECK_WIDTH, 200,
- getImage(IMAGE_GROUP_BASE, "panel_lasser"));
- image_gun_mine =
- newWidgetImage(260 + WIDGET_CHECK_WIDTH, 250,
- getImage(IMAGE_GROUP_BASE, "panel_mine"));
- image_gun_bombball =
- newWidgetImage(260 + WIDGET_CHECK_WIDTH, 300,
- getImage(IMAGE_GROUP_BASE, "panel_bombball"));
-
- image_bonus_speed =
- newWidgetImage(430 + WIDGET_CHECK_WIDTH, 200,
- getImage(IMAGE_GROUP_BASE, "panel_speed"));;
- image_bonus_shot =
- newWidgetImage(430 + WIDGET_CHECK_WIDTH, 250,
- getImage(IMAGE_GROUP_BASE, "panel_shot"));;
- image_bonus_teleport =
- newWidgetImage(430 + WIDGET_CHECK_WIDTH, 300,
- getImage(IMAGE_GROUP_BASE, "panel_teleport"));;
- image_bonus_ghost =
- newWidgetImage(580 + WIDGET_CHECK_WIDTH, 200,
- getImage(IMAGE_GROUP_BASE, "panel_ghost"));;
- image_bonus_4x =
- newWidgetImage(580 + WIDGET_CHECK_WIDTH, 250,
- getImage(IMAGE_GROUP_BASE, "panel_4x"));;
- image_bonus_hidden =
- newWidgetImage(580 + WIDGET_CHECK_WIDTH, 300,
- getImage(IMAGE_GROUP_BASE, "panel_hidden"));;
-
- registerScreen(newScreen("setting", startScreenSetting, eventScreenSetting,
- drawScreenSetting, stopScreenSetting));
-
- initSettingFile();
+ check_ai = newWidgetCheck(label_ai->x + label_ai->w + 10, WINDOW_SIZE_Y-80, FALSE, eventWidget);
+
+ label_count_round = newWidgetLabel(_("No. of rounds:"), 100, WINDOW_SIZE_Y-200, WIDGET_LABEL_LEFT);
+ label_name_player1 = newWidgetLabel(_("Player 1:"), 100, WINDOW_SIZE_Y-160, WIDGET_LABEL_LEFT);
+ label_name_player2 = newWidgetLabel(_("Player 2:"), 100, WINDOW_SIZE_Y-120, WIDGET_LABEL_LEFT);
+
+ textfield_count_cound = newWidgetTextfield(
+ getParamElse("--count", "15"),
+ WIDGET_TEXTFIELD_FILTER_NUM,
+ 110+label_count_round->w,
+ WINDOW_SIZE_Y-200);
+
+ textfield_name_player1 = newWidgetTextfield(
+ getParamElse("--name1", NAME_PLAYER_RIGHT),
+ WIDGET_TEXTFIELD_FILTER_ALPHANUM,
+ 110+label_count_round->w,
+ WINDOW_SIZE_Y-160);
+
+ textfield_name_player2 = newWidgetTextfield(
+ getParamElse("--name2", NAME_PLAYER_LEFT),
+ WIDGET_TEXTFIELD_FILTER_ALPHANUM,
+ 110+label_count_round->w,
+ WINDOW_SIZE_Y-120);
+
+ for( i = GUN_DUAL_SIMPLE ; i <= GUN_BOMBBALL ; i++ )
+ {
+ int x = 0;
+ int y = 0;
+
+ if( i >= GUN_DUAL_SIMPLE && i <= GUN_TOMMY )
+ {
+ x = 100;
+ y = 200 + ( i - GUN_DUAL_SIMPLE ) * 50;
+ }
+
+ if( i >= GUN_LASSER && i <= GUN_BOMBBALL )
+ {
+ x = 250;
+ y = 200 + ( i - GUN_LASSER ) * 50;
+ }
+
+ check[i] = newWidgetCheck(x, y, TRUE, NULL);
+ }
+
+ for( i = BONUS_SPEED ; i <= BONUS_HIDDEN ; i++ )
+ {
+ int x = 0;
+ int y = 0;
+
+ if( i >= BONUS_SPEED && i <= BONUS_TELEPORT )
+ {
+ x = 430;
+ y = 200 + ( i - BONUS_SPEED ) * 50;
+ }
+
+ if( i >= BONUS_GHOST && i <= BONUS_HIDDEN )
+ {
+ x = 580;
+ y = 200 + ( i - BONUS_GHOST ) * 50;
+ }
+
+ check[i] = newWidgetCheck(x, y, TRUE, NULL);
+ }
+
+ image_gun_dual_revolver = newWidgetImage(110 + WIDGET_CHECK_WIDTH, 200, getImage(IMAGE_GROUP_BASE, "panel_dual"));
+ image_gun_scatter = newWidgetImage(110 + WIDGET_CHECK_WIDTH, 250, getImage(IMAGE_GROUP_BASE, "panel_scatter"));
+ image_gun_tommy = newWidgetImage(110 + WIDGET_CHECK_WIDTH, 300, getImage(IMAGE_GROUP_BASE, "panel_tommy"));
+ image_gun_lasser = newWidgetImage(260 + WIDGET_CHECK_WIDTH, 200, getImage(IMAGE_GROUP_BASE, "panel_lasser"));
+ image_gun_mine = newWidgetImage(260 + WIDGET_CHECK_WIDTH, 250, getImage(IMAGE_GROUP_BASE, "panel_mine"));
+ image_gun_bombball = newWidgetImage(260 + WIDGET_CHECK_WIDTH, 300, getImage(IMAGE_GROUP_BASE, "panel_bombball"));
+
+ image_bonus_speed = newWidgetImage(430 + WIDGET_CHECK_WIDTH, 200, getImage(IMAGE_GROUP_BASE, "panel_speed"));;
+ image_bonus_shot = newWidgetImage(430 + WIDGET_CHECK_WIDTH, 250, getImage(IMAGE_GROUP_BASE, "panel_shot"));;
+ image_bonus_teleport = newWidgetImage(430 + WIDGET_CHECK_WIDTH, 300, getImage(IMAGE_GROUP_BASE, "panel_teleport"));;
+ image_bonus_ghost = newWidgetImage(580 + WIDGET_CHECK_WIDTH, 200, getImage(IMAGE_GROUP_BASE, "panel_ghost"));;
+ image_bonus_4x = newWidgetImage(580 + WIDGET_CHECK_WIDTH, 250, getImage(IMAGE_GROUP_BASE, "panel_4x"));;
+ image_bonus_hidden = newWidgetImage(580 + WIDGET_CHECK_WIDTH, 300, getImage(IMAGE_GROUP_BASE, "panel_hidden"));;
+
+ registerScreen( newScreen("setting", startScreenSetting, eventScreenSetting,
+ drawScreenSetting, stopScreenSetting) );
+
+ initSettingFile();
#ifndef NO_SOUND
- eventWidget(check_music);
- eventWidget(check_sound);
+ eventWidget(check_music);
+ eventWidget(check_sound);
#endif
}
-void
-getSettingNameRight(char *s)
+void getSettingNameRight(char *s)
{
- strcpy(s, getTextFromWidgetTextfield(textfield_name_player1));
+ strcpy(s, getTextFromWidgetTextfield(textfield_name_player1));
}
-void
-getSettingNameLeft(char *s)
+void getSettingNameLeft(char *s)
{
- if (getWidgetCheckStatus(check_ai)) {
- strcpy(s, NAME_AI);
- }
- else {
- strcpy(s, getTextFromWidgetTextfield(textfield_name_player2));
- }
+ if( getWidgetCheckStatus(check_ai) )
+ {
+ strcpy(s, NAME_AI);
+ }
+ else
+ {
+ strcpy(s, getTextFromWidgetTextfield(textfield_name_player2));
+ }
}
-void
-getSettingCountRound(int *n)
+void getSettingCountRound(int *n)
{
- *n = atoi(getTextFromWidgetTextfield(textfield_count_cound));
+ *n = atoi( getTextFromWidgetTextfield(textfield_count_cound) );
}
-bool_t
-isSettingAI()
+bool_t isSettingAI()
{
- return getWidgetCheckStatus(check_ai);
+ return getWidgetCheckStatus(check_ai);
}
-bool_t
-isSettingAnyItem()
+bool_t isSettingAnyItem()
{
- int i;
-
- for (i = GUN_DUAL_SIMPLE; i <= GUN_BOMBBALL; i++) {
- if (getWidgetCheckStatus(check[i]) == TRUE) {
- return TRUE;
- }
- }
-
- for (i = BONUS_SPEED; i < BONUS_HIDDEN; i++) {
- if (getWidgetCheckStatus(check[i]) == TRUE) {
- return TRUE;
- }
- }
-
- return FALSE;
+ int i;
+
+ for( i = GUN_DUAL_SIMPLE ; i <= GUN_BOMBBALL ; i++ )
+ {
+ if( getWidgetCheckStatus(check[i]) == TRUE )
+ {
+ return TRUE;
+ }
+ }
+
+ for( i = BONUS_SPEED ; i < BONUS_HIDDEN ; i++ )
+ {
+ if( getWidgetCheckStatus(check[i]) == TRUE )
+ {
+ return TRUE;
+ }
+ }
+
+ return FALSE;
}
-bool_t
-isSettingItem(int item)
+bool_t isSettingItem(int item)
{
- return getWidgetCheckStatus(check[item]);
+ return getWidgetCheckStatus(check[item]);
}
-void
-quitScreenSetting()
+void quitScreenSetting()
{
- int i;
+ int i;
- saveAndDestroyConfigFile();
+ saveAndDestroyConfigFile();
- destroyWidgetImage(image_backgorund);
+ destroyWidgetImage(image_backgorund);
- destroyWidgetLabel(label_count_round);
- destroyWidgetLabel(label_name_player1);
- destroyWidgetLabel(label_ai);
+ destroyWidgetLabel(label_count_round);
+ destroyWidgetLabel(label_name_player1);
+ destroyWidgetLabel(label_ai);
#ifndef NO_SOUND
- destroyWidgetLabel(label_music);
- destroyWidgetLabel(label_sound);
+ destroyWidgetLabel(label_music);
+ destroyWidgetLabel(label_sound);
#endif
- destroyWidgetLabel(label_name_player2);
- destroyWidgetTextfield(textfield_name_player2);
-
- destroyWidgetTextfield(textfield_name_player1);
- destroyWidgetTextfield(textfield_count_cound);
-
- destroyWidgetImage(image_gun_dual_revolver);
- destroyWidgetImage(image_gun_scatter);
- destroyWidgetImage(image_gun_tommy);
- destroyWidgetImage(image_gun_lasser);
- destroyWidgetImage(image_gun_mine);
- destroyWidgetImage(image_gun_bombball);
-
- destroyWidgetImage(image_bonus_speed);
- destroyWidgetImage(image_bonus_shot);
- destroyWidgetImage(image_bonus_teleport);
- destroyWidgetImage(image_bonus_ghost);
- destroyWidgetImage(image_bonus_4x);
- destroyWidgetImage(image_bonus_hidden);
+ destroyWidgetLabel(label_name_player2);
+ destroyWidgetTextfield(textfield_name_player2);
+
+ destroyWidgetTextfield(textfield_name_player1);
+ destroyWidgetTextfield(textfield_count_cound);
+
+ destroyWidgetImage(image_gun_dual_revolver);
+ destroyWidgetImage(image_gun_scatter);
+ destroyWidgetImage(image_gun_tommy);
+ destroyWidgetImage(image_gun_lasser);
+ destroyWidgetImage(image_gun_mine);
+ destroyWidgetImage(image_gun_bombball);
+
+ destroyWidgetImage(image_bonus_speed);
+ destroyWidgetImage(image_bonus_shot);
+ destroyWidgetImage(image_bonus_teleport);
+ destroyWidgetImage(image_bonus_ghost);
+ destroyWidgetImage(image_bonus_4x);
+ destroyWidgetImage(image_bonus_hidden);
#ifndef NO_SOUND
- destroyWidgetCheck(check_music);
- destroyWidgetCheck(check_sound);
+ destroyWidgetCheck(check_music);
+ destroyWidgetCheck(check_sound);
#endif
- destroyWidgetCheck(check_ai);
+ destroyWidgetCheck(check_ai);
- for (i = GUN_DUAL_SIMPLE; i <= GUN_BOMBBALL; i++) {
- destroyWidgetCheck(check[i]);
- }
+ for( i = GUN_DUAL_SIMPLE ; i <= GUN_BOMBBALL ; i++ )
+ {
+ destroyWidgetCheck(check[i]);
+ }
- for (i = BONUS_SPEED; i <= BONUS_HIDDEN; i++) {
- destroyWidgetCheck(check[i]);
- }
+ for( i = BONUS_SPEED ; i <= BONUS_HIDDEN ; i++ )
+ {
+ destroyWidgetCheck(check[i]);
+ }
- destroyWidgetButton(button_back);
- destroyWidgetButton(button_keys);
+ destroyWidgetButton(button_back);
+ destroyWidgetButton(button_keys);
}
diff --git a/src/screen/screen_setting.c~ b/src/screen/screen_setting.c~
deleted file mode 100644
index c79acaf..0000000
--- a/src/screen/screen_setting.c~
+++ /dev/null
@@ -1,553 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "tux.h"
-#include "textFile.h"
-#include "director.h"
-#include "homeDirector.h"
-#include "arenaFile.h"
-
-#include "configFile.h"
-#include "interface.h"
-#include "screen.h"
-#include "image.h"
-
-#ifndef NO_SOUND
-#include "music.h"
-#include "sound.h"
-#endif
-
-#include "screen_mainMenu.h"
-#include "screen_setting.h"
-#include "screen_settingKeys.h"
-#include "screen_settingKeys.h"
-#include "screen_choiceArena.h"
-
-#include "widget.h"
-#include "widget_label.h"
-#include "widget_button.h"
-#include "widget_image.h"
-#include "widget_textfield.h"
-#include "widget_check.h"
-#include "widget_select.h"
-
-static widget_t *image_backgorund;
-
-static widget_t *button_back;
-static widget_t *button_keys; // setting of keycontrols
-
-static widget_t *label_count_round;
-static widget_t *label_name_player1;
-static widget_t *label_name_player2;
-static widget_t *label_ai;
-
-#ifndef NO_SOUND
-static widget_t *label_music;
-static widget_t *label_sound;
-#endif
-
-static widget_t *check[ITEM_COUNT];
-#ifndef NO_SOUND
-static widget_t *check_music;
-static widget_t *check_sound;
-#endif
-
-static widget_t *image_gun_dual_revolver;
-static widget_t *image_gun_scatter;
-static widget_t *image_gun_tommy;
-static widget_t *image_gun_lasser;
-static widget_t *image_gun_mine;
-static widget_t *image_gun_bombball;
-
-static widget_t *image_bonus_speed;
-static widget_t *image_bonus_shot;
-static widget_t *image_bonus_teleport;
-static widget_t *image_bonus_ghost;
-static widget_t *image_bonus_4x;
-static widget_t *image_bonus_hidden;
-
-static widget_t *textfield_count_cound;
-static widget_t *textfield_name_player1;
-static widget_t *textfield_name_player2;
-
-static widget_t *check_ai;
-
-static textFile_t *configFile;
-
-void startScreenSetting()
-{
-#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
-#endif
-}
-
-void drawScreenSetting()
-{
- int i;
-
- drawWidgetImage(image_backgorund);
-
- drawWidgetLabel(label_count_round);
- drawWidgetLabel(label_name_player1);
- drawWidgetLabel(label_ai);
-
-#ifndef NO_SOUND
- drawWidgetLabel(label_music);
- drawWidgetLabel(label_sound);
-#endif
-
- drawWidgetTextfield(textfield_count_cound);
- drawWidgetTextfield(textfield_name_player1);
-
- if ( getWidgetCheckStatus(check_ai) == FALSE )
- {
- drawWidgetLabel(label_name_player2);
- drawWidgetTextfield(textfield_name_player2);
- }
-
- drawWidgetImage(image_gun_dual_revolver);
- drawWidgetImage(image_gun_scatter);
- drawWidgetImage(image_gun_tommy);
- drawWidgetImage(image_gun_lasser);
- drawWidgetImage(image_gun_mine);
- drawWidgetImage(image_gun_bombball);
-
- drawWidgetImage(image_bonus_speed);
- drawWidgetImage(image_bonus_shot);
- drawWidgetImage(image_bonus_teleport);
- drawWidgetImage(image_bonus_ghost);
- drawWidgetImage(image_bonus_4x);
- drawWidgetImage(image_bonus_hidden);
-
-#ifndef NO_SOUND
- drawWidgetCheck(check_music);
- drawWidgetCheck(check_sound);
-#endif
-
- for( i = GUN_DUAL_SIMPLE ; i <= GUN_BOMBBALL ; i++ )
- {
- drawWidgetCheck(check[i]);
- }
-
- for( i = BONUS_SPEED ; i <= BONUS_HIDDEN ; i++ )
- {
- drawWidgetCheck(check[i]);
- }
-
- drawWidgetCheck(check_ai);
-
- drawWidgetButton(button_back);
- drawWidgetButton(button_keys);
-}
-
-void eventScreenSetting()
-{
- int i;
-
- eventWidgetTextfield(textfield_count_cound);
- eventWidgetTextfield(textfield_name_player1);
-
- if ( getWidgetCheckStatus(check_ai) == FALSE )
- {
- eventWidgetTextfield(textfield_name_player2);
- }
-
-#ifndef NO_SOUND
- eventWidgetCheck(check_music);
- eventWidgetCheck(check_sound);
-#endif
-
- for( i = GUN_DUAL_SIMPLE ; i <= GUN_BOMBBALL ; i++ )
- {
- eventWidgetCheck(check[i]);
- }
-
- for( i = BONUS_SPEED ; i <= BONUS_HIDDEN ; i++ )
- {
- eventWidgetCheck(check[i]);
- }
-
- eventWidgetCheck(check_ai);
-
- eventWidgetButton(button_back);
- eventWidgetButton(button_keys);
-}
-
-void stopScreenSetting()
-{
-}
-
-static void eventWidget(void *p)
-{
- widget_t *button;
- widget_t *check;
-
- button = (widget_t *)(p);
- check = (widget_t *)(p);
-
- if( button == button_back )
- {
- setScreen("mainMenu");
- }
- if( button == button_keys )
- {
- setScreen("settingKeys");
- }
-
-#ifndef NO_SOUND
- if( check == check_music )
- {
- setMusicActive( getWidgetCheckStatus(check_music) );
- }
-
- if( check == check_sound )
- {
- setSoundActive( getWidgetCheckStatus(check_sound) );
- }
-#endif
-}
-
-static void initSettingFile()
-{
- char path[STR_PATH_SIZE];
- char val[STR_SIZE];
-
- sprintf(path, "%s/tuxanci.conf", getHomeDirector());
-
- configFile = loadTextFile(path);
-
- if( configFile == NULL )
- {
- fprintf(stderr, _("I am unable to load: \"%s\" !\n"), path);
- fprintf(stderr, _("Creating: \"%s\"\n"), path);
-
- configFile = newTextFile(path);
- }
-
- if( configFile == NULL )
- {
- fprintf(stderr, _("I was unable to create: \"%s\" !\n"), path);
- return;
- }
-
- loadValueFromConfigFile(configFile, "COUNT_ROUND", val, STR_SIZE, "15");
- setWidgetTextFiledText(textfield_count_cound, val);
-
- loadValueFromConfigFile(configFile, "NAME_PLAYER_RIGHT", val, STR_SIZE, NAME_PLAYER_RIGHT);
- setWidgetTextFiledText(textfield_name_player1, val);
-
- loadValueFromConfigFile(configFile, "NAME_PLAYER_LEFT", val, STR_SIZE, NAME_PLAYER_LEFT);
- setWidgetTextFiledText(textfield_name_player2, val);
-
- loadValueFromConfigFile(configFile, "GUN_DUAL_SIMPLE", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[GUN_DUAL_SIMPLE], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "GUN_SCATTER", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[GUN_SCATTER], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "GUN_TOMMY", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[GUN_TOMMY], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "GUN_LASSER", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[GUN_LASSER], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "GUN_MINE", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[GUN_MINE], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "GUN_BOMBBALL", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[GUN_BOMBBALL], isYesOrNO(val));
-
- loadValueFromConfigFile(configFile, "BONUS_SPEED", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[BONUS_SPEED], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "BONUS_SHOT", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[BONUS_SHOT], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "BONUS_TELEPORT", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[BONUS_TELEPORT], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "BONUS_GHOST", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[BONUS_GHOST], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "BONUS_4X", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[BONUS_4X], isYesOrNO(val));
- loadValueFromConfigFile(configFile, "BONUS_HIDDEN", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check[BONUS_HIDDEN], isYesOrNO(val));
-
- loadValueFromConfigFile(configFile, "AI", val, STR_SIZE, "NO");
- setWidgetCheckStatus(check_ai, isYesOrNO(val));
-
-#ifndef NO_SOUND
- loadValueFromConfigFile(configFile, "MUSIC", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check_music, isYesOrNO(val));
-
- loadValueFromConfigFile(configFile, "SOUND", val, STR_SIZE, "YES");
- setWidgetCheckStatus(check_sound, isYesOrNO(val));
-#endif
-
- loadValueFromConfigFile(configFile, "ARENA", val, STR_SIZE, "FAGN");
- setChoiceArena( getArenaFileFormNetName(val) );
-
- saveTextFile(configFile);
-}
-
-static void saveAndDestroyConfigFile()
-{
- if( configFile == NULL )
- {
- fprintf(stderr, _("I am unable to save configure file, because config file was not initialised!\n"));
-
- return;
- }
-
- setValueInConfigFile(configFile, "COUNT_ROUND", getTextFromWidgetTextfield(textfield_count_cound));
- setValueInConfigFile(configFile, "NAME_PLAYER_RIGHT", getTextFromWidgetTextfield(textfield_name_player1));
- setValueInConfigFile(configFile, "NAME_PLAYER_LEFT", getTextFromWidgetTextfield(textfield_name_player2));
-
- setValueInConfigFile(configFile, "GUN_DUAL_SIMPLE", getYesOrNo(getWidgetCheckStatus(check[GUN_DUAL_SIMPLE])));
- setValueInConfigFile(configFile, "GUN_SCATTER", getYesOrNo(getWidgetCheckStatus(check[GUN_SCATTER])));
- setValueInConfigFile(configFile, "GUN_TOMMY", getYesOrNo(getWidgetCheckStatus(check[GUN_TOMMY])));
- setValueInConfigFile(configFile, "GUN_LASSER", getYesOrNo(getWidgetCheckStatus(check[GUN_LASSER])));
- setValueInConfigFile(configFile, "GUN_MINE", getYesOrNo(getWidgetCheckStatus(check[GUN_MINE])));
- setValueInConfigFile(configFile, "GUN_BOMBBALL", getYesOrNo(getWidgetCheckStatus(check[GUN_BOMBBALL])));
-
- setValueInConfigFile(configFile, "BONUS_SPEED", getYesOrNo(getWidgetCheckStatus(check[BONUS_SPEED])));
- setValueInConfigFile(configFile, "BONUS_SHOT", getYesOrNo(getWidgetCheckStatus(check[BONUS_SHOT])));
- setValueInConfigFile(configFile, "BONUS_TELEPORT", getYesOrNo(getWidgetCheckStatus(check[BONUS_TELEPORT])));
- setValueInConfigFile(configFile, "BONUS_GHOST", getYesOrNo(getWidgetCheckStatus(check[BONUS_GHOST])));
- setValueInConfigFile(configFile, "BONUS_4X", getYesOrNo(getWidgetCheckStatus(check[BONUS_4X])));
- setValueInConfigFile(configFile, "BONUS_HIDDEN", getYesOrNo(getWidgetCheckStatus(check[BONUS_HIDDEN])));
-
- setValueInConfigFile(configFile, "AI", getYesOrNo(getWidgetCheckStatus(check_ai)));
-
-#ifndef NO_SOUND
- setValueInConfigFile(configFile, "MUSIC", getYesOrNo(getWidgetCheckStatus(check_music)));
- setValueInConfigFile(configFile, "SOUND", getYesOrNo(getWidgetCheckStatus(check_sound)));
-#endif
-
- setValueInConfigFile(configFile, "ARENA", getArenaNetName(getChoiceArena()));
- //TODO
-
- saveTextFile(configFile);
- destroyTextFile(configFile);
-}
-
-void initScreenSetting()
-{
- image_t *image;
- int i;
-
- image = getImage(IMAGE_GROUP_BASE, "screen_main");
- image_backgorund = newWidgetImage(0, 0, image);
-
- button_back = newWidgetButton(_("back"), WINDOW_SIZE_X - 200, WINDOW_SIZE_Y - 100, eventWidget);
- button_keys = newWidgetButton(_("controls"), WINDOW_SIZE_X - 200, button_back->y - WIDGET_BUTTON_HEIGHT - 10, eventWidget);
-
-#ifndef NO_SOUND
- label_music = newWidgetLabel(_("Music:"), 100, WINDOW_SIZE_Y-85, WIDGET_LABEL_LEFT);
- check_music = newWidgetCheck(label_music->x + label_music->w + 10,
- WINDOW_SIZE_Y-80, isMusicActive() , eventWidget);
- label_sound = newWidgetLabel(_("Sound:"), check_music->x + WIDGET_CHECK_WIDTH + 10,
- WINDOW_SIZE_Y-85, WIDGET_LABEL_LEFT);
- check_sound = newWidgetCheck(label_sound->x + label_sound->w + 10,
- WINDOW_SIZE_Y-80, isSoundActive() , eventWidget);
- label_ai = newWidgetLabel("AI:", check_sound->x + WIDGET_CHECK_WIDTH + 10, WINDOW_SIZE_Y-85, WIDGET_LABEL_LEFT);
-#else
- label_ai = newWidgetLabel("AI:", 100, WINDOW_SIZE_Y-85, WIDGET_LABEL_LEFT);
-#endif
-
- check_ai = newWidgetCheck(label_ai->x + label_ai->w + 10, WINDOW_SIZE_Y-80, FALSE, eventWidget);
-
- label_count_round = newWidgetLabel(_("No. of rounds:"), 100, WINDOW_SIZE_Y-200, WIDGET_LABEL_LEFT);
- label_name_player1 = newWidgetLabel(_("Player 1:"), 100, WINDOW_SIZE_Y-160, WIDGET_LABEL_LEFT);
- label_name_player2 = newWidgetLabel(_("Player 2:"), 100, WINDOW_SIZE_Y-120, WIDGET_LABEL_LEFT);
-
- textfield_count_cound = newWidgetTextfield(
- getParamElse("--count", "15"),
- WIDGET_TEXTFIELD_FILTER_NUM,
- 110+label_count_round->w,
- WINDOW_SIZE_Y-200);
-
- textfield_name_player1 = newWidgetTextfield(
- getParamElse("--name1", NAME_PLAYER_RIGHT),
- WIDGET_TEXTFIELD_FILTER_ALPHANUM,
- 110+label_count_round->w,
- WINDOW_SIZE_Y-160);
-
- textfield_name_player2 = newWidgetTextfield(
- getParamElse("--name2", NAME_PLAYER_LEFT),
- WIDGET_TEXTFIELD_FILTER_ALPHANUM,
- 110+label_count_round->w,
- WINDOW_SIZE_Y-120);
-
- for( i = GUN_DUAL_SIMPLE ; i <= GUN_BOMBBALL ; i++ )
- {
- int x = 0;
- int y = 0;
-
- if( i >= GUN_DUAL_SIMPLE && i <= GUN_TOMMY )
- {
- x = 100;
- y = 200 + ( i - GUN_DUAL_SIMPLE ) * 50;
- }
-
- if( i >= GUN_LASSER && i <= GUN_BOMBBALL )
- {
- x = 250;
- y = 200 + ( i - GUN_LASSER ) * 50;
- }
-
- check[i] = newWidgetCheck(x, y, TRUE, NULL);
- }
-
- for( i = BONUS_SPEED ; i <= BONUS_HIDDEN ; i++ )
- {
- int x = 0;
- int y = 0;
-
- if( i >= BONUS_SPEED && i <= BONUS_TELEPORT )
- {
- x = 430;
- y = 200 + ( i - BONUS_SPEED ) * 50;
- }
-
- if( i >= BONUS_GHOST && i <= BONUS_HIDDEN )
- {
- x = 580;
- y = 200 + ( i - BONUS_GHOST ) * 50;
- }
-
- check[i] = newWidgetCheck(x, y, TRUE, NULL);
- }
-
- image_gun_dual_revolver = newWidgetImage(110 + WIDGET_CHECK_WIDTH, 200, getImage(IMAGE_GROUP_BASE, "panel_dual"));
- image_gun_scatter = newWidgetImage(110 + WIDGET_CHECK_WIDTH, 250, getImage(IMAGE_GROUP_BASE, "panel_scatter"));
- image_gun_tommy = newWidgetImage(110 + WIDGET_CHECK_WIDTH, 300, getImage(IMAGE_GROUP_BASE, "panel_tommy"));
- image_gun_lasser = newWidgetImage(260 + WIDGET_CHECK_WIDTH, 200, getImage(IMAGE_GROUP_BASE, "panel_lasser"));
- image_gun_mine = newWidgetImage(260 + WIDGET_CHECK_WIDTH, 250, getImage(IMAGE_GROUP_BASE, "panel_mine"));
- image_gun_bombball = newWidgetImage(260 + WIDGET_CHECK_WIDTH, 300, getImage(IMAGE_GROUP_BASE, "panel_bombball"));
-
- image_bonus_speed = newWidgetImage(430 + WIDGET_CHECK_WIDTH, 200, getImage(IMAGE_GROUP_BASE, "panel_speed"));;
- image_bonus_shot = newWidgetImage(430 + WIDGET_CHECK_WIDTH, 250, getImage(IMAGE_GROUP_BASE, "panel_shot"));;
- image_bonus_teleport = newWidgetImage(430 + WIDGET_CHECK_WIDTH, 300, getImage(IMAGE_GROUP_BASE, "panel_teleport"));;
- image_bonus_ghost = newWidgetImage(580 + WIDGET_CHECK_WIDTH, 200, getImage(IMAGE_GROUP_BASE, "panel_ghost"));;
- image_bonus_4x = newWidgetImage(580 + WIDGET_CHECK_WIDTH, 250, getImage(IMAGE_GROUP_BASE, "panel_4x"));;
- image_bonus_hidden = newWidgetImage(580 + WIDGET_CHECK_WIDTH, 300, getImage(IMAGE_GROUP_BASE, "panel_hidden"));;
-
- registerScreen( newScreen("setting", startScreenSetting, eventScreenSetting,
- drawScreenSetting, stopScreenSetting) );
-
- initSettingFile();
-
-#ifndef NO_SOUND
- eventWidget(check_music);
- eventWidget(check_sound);
-#endif
-}
-
-void getSettingNameRight(char *s)
-{
- strcpy(s, getTextFromWidgetTextfield(textfield_name_player1));
-}
-
-void getSettingNameLeft(char *s)
-{
- if( getWidgetCheckStatus(check_ai) )
- {
- strcpy(s, NAME_AI);
- }
- else
- {
- strcpy(s, getTextFromWidgetTextfield(textfield_name_player2));
- }
-}
-
-void getSettingCountRound(int *n)
-{
- *n = atoi( getTextFromWidgetTextfield(textfield_count_cound) );
-}
-
-bool_t isSettingAI()
-{
- return getWidgetCheckStatus(check_ai);
-}
-
-bool_t isSettingAnyItem()
-{
- int i;
-
- for( i = GUN_DUAL_SIMPLE ; i <= GUN_BOMBBALL ; i++ )
- {
- if( getWidgetCheckStatus(check[i]) == TRUE )
- {
- return TRUE;
- }
- }
-
- for( i = BONUS_SPEED ; i < BONUS_HIDDEN ; i++ )
- {
- if( getWidgetCheckStatus(check[i]) == TRUE )
- {
- return TRUE;
- }
- }
-
- return FALSE;
-}
-
-bool_t isSettingItem(int item)
-{
- return getWidgetCheckStatus(check[item]);
-}
-
-void quitScreenSetting()
-{
- int i;
-
- saveAndDestroyConfigFile();
-
- destroyWidgetImage(image_backgorund);
-
- destroyWidgetLabel(label_count_round);
- destroyWidgetLabel(label_name_player1);
- destroyWidgetLabel(label_ai);
-
-#ifndef NO_SOUND
- destroyWidgetLabel(label_music);
- destroyWidgetLabel(label_sound);
-#endif
- destroyWidgetLabel(label_name_player2);
- destroyWidgetTextfield(textfield_name_player2);
-
- destroyWidgetTextfield(textfield_name_player1);
- destroyWidgetTextfield(textfield_count_cound);
-
- destroyWidgetImage(image_gun_dual_revolver);
- destroyWidgetImage(image_gun_scatter);
- destroyWidgetImage(image_gun_tommy);
- destroyWidgetImage(image_gun_lasser);
- destroyWidgetImage(image_gun_mine);
- destroyWidgetImage(image_gun_bombball);
-
- destroyWidgetImage(image_bonus_speed);
- destroyWidgetImage(image_bonus_shot);
- destroyWidgetImage(image_bonus_teleport);
- destroyWidgetImage(image_bonus_ghost);
- destroyWidgetImage(image_bonus_4x);
- destroyWidgetImage(image_bonus_hidden);
-
-#ifndef NO_SOUND
- destroyWidgetCheck(check_music);
- destroyWidgetCheck(check_sound);
-#endif
-
- destroyWidgetCheck(check_ai);
-
- for( i = GUN_DUAL_SIMPLE ; i <= GUN_BOMBBALL ; i++ )
- {
- destroyWidgetCheck(check[i]);
- }
-
- for( i = BONUS_SPEED ; i <= BONUS_HIDDEN ; i++ )
- {
- destroyWidgetCheck(check[i]);
- }
-
- destroyWidgetButton(button_back);
- destroyWidgetButton(button_keys);
-}
diff --git a/src/screen/screen_settingKeys.c b/src/screen/screen_settingKeys.c
index 6080570..d40db6d 100644
--- a/src/screen/screen_settingKeys.c
+++ b/src/screen/screen_settingKeys.c
@@ -2,7 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
-
+
#include "main.h"
#include "list.h"
#include "tux.h"
@@ -16,410 +16,317 @@
#ifndef NO_SOUND
#include "music.h"
#include "sound.h"
-#endif /* */
+#endif
#include "screen_mainMenu.h"
#include "screen_setting.h"
#include "screen_settingKeys.h"
-
+
#include "widget.h"
#include "widget_button.h"
#include "widget_image.h"
#include "widget_catchkey.h"
#include "widget_label.h"
- static int keytable[KEY_LENGTH];
- static textFile_t *keycontrolFile;
- static widget_t *image_backgorund;
- static widget_t *button_back;
+static int keytable[KEY_LENGTH];
+static textFile_t *keycontrolFile;
+static widget_t *image_backgorund;
+static widget_t *button_back;
// key names
-static widget_t *tux_right;
- static widget_t *tux_right_keyup;
- static widget_t *tux_right_keydown;
- static widget_t *tux_right_keyleft;
- static widget_t *tux_right_keyright;
- static widget_t *tux_right_keyswitch;
- static widget_t *tux_right_keyfire;
- static widget_t *tux_left;
- static widget_t *tux_left_keyup;
- static widget_t *tux_left_keydown;
- static widget_t *tux_left_keyleft;
- static widget_t *tux_left_keyright;
- static widget_t *tux_left_keyswitch;
- static widget_t *tux_left_keyfire;
-
+static widget_t *tux_right;
+static widget_t *tux_right_keyup;
+static widget_t *tux_right_keydown;
+static widget_t *tux_right_keyleft;
+static widget_t *tux_right_keyright;
+static widget_t *tux_right_keyswitch;
+static widget_t *tux_right_keyfire;
+static widget_t *tux_left;
+static widget_t *tux_left_keyup;
+static widget_t *tux_left_keydown;
+static widget_t *tux_left_keyleft;
+static widget_t *tux_left_keyright;
+static widget_t *tux_left_keyswitch;
+static widget_t *tux_left_keyfire;
// key values
-static widget_t *tux_right_keyup_val;
- static widget_t *tux_right_keydown_val;
- static widget_t *tux_right_keyleft_val;
- static widget_t *tux_right_keyright_val;
- static widget_t *tux_right_keyswitch_val;
- static widget_t *tux_right_keyfire_val;
- static widget_t *tux_left_keyup_val;
- static widget_t *tux_left_keydown_val;
- static widget_t *tux_left_keyleft_val;
- static widget_t *tux_left_keyright_val;
- static widget_t *tux_left_keyswitch_val;
- static widget_t *tux_left_keyfire_val;
-
+static widget_t *tux_right_keyup_val;
+static widget_t *tux_right_keydown_val;
+static widget_t *tux_right_keyleft_val;
+static widget_t *tux_right_keyright_val;
+static widget_t *tux_right_keyswitch_val;
+static widget_t *tux_right_keyfire_val;
+static widget_t *tux_left_keyup_val;
+static widget_t *tux_left_keydown_val;
+static widget_t *tux_left_keyleft_val;
+static widget_t *tux_left_keyright_val;
+static widget_t *tux_left_keyswitch_val;
+static widget_t *tux_left_keyfire_val;
+
//static widget_t *catcher;
// todo add key images
// possible variant will be reusing widget_image for current widget_label so there wont
// be key names but only images
- void
-startScreenSettingKeys()
-{
-
+
+void startScreenSettingKeys()
+{
#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
-
-#endif /* */
-} static void
-
-setKeytableFromConfigFile(textFile_t * configFile)
-{
- char val[STR_SIZE];
- loadValueFromConfigFile(configFile, "TUX_RIGHT_MOVE_UP", val, STR_SIZE,
- "273");
- keytable[KEY_TUX_RIGHT_MOVE_UP] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_RIGHT_MOVE_RIGHT", val, STR_SIZE,
- "275");
- keytable[KEY_TUX_RIGHT_MOVE_RIGHT] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_RIGHT_MOVE_LEFT", val, STR_SIZE,
- "276");
- keytable[KEY_TUX_RIGHT_MOVE_LEFT] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_RIGHT_MOVE_DOWN", val, STR_SIZE,
- "274");
- keytable[KEY_TUX_RIGHT_MOVE_DOWN] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_RIGHT_SHOOT", val, STR_SIZE,
- "48");
- keytable[KEY_TUX_RIGHT_SHOOT] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_RIGHT_SWITCH_WEAPON", val,
- STR_SIZE, "49");
- keytable[KEY_TUX_RIGHT_SWITCH_WEAPON] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_LEFT_MOVE_UP", val, STR_SIZE,
- "119");
- keytable[KEY_TUX_LEFT_MOVE_UP] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_LEFT_MOVE_RIGHT", val, STR_SIZE,
- "100");
- keytable[KEY_TUX_LEFT_MOVE_RIGHT] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_LEFT_MOVE_LEFT", val, STR_SIZE,
- "97");
- keytable[KEY_TUX_LEFT_MOVE_LEFT] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_LEFT_MOVE_DOWN", val, STR_SIZE,
- "115");
- keytable[KEY_TUX_LEFT_MOVE_DOWN] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_LEFT_SHOOT", val, STR_SIZE,
- "113");
- keytable[KEY_TUX_LEFT_SHOOT] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_LEFT_SWITCH_WEAPON", val,
- STR_SIZE, "9");
- keytable[KEY_TUX_LEFT_SWITCH_WEAPON] = atoi(val);
- } void
-
-initKeyTable()
-{
- char path[STR_PATH_SIZE];
-
+ playMusic("menu", MUSIC_GROUP_BASE);
+#endif
+}
+static void setKeytableFromConfigFile(textFile_t *configFile)
+{
+ char val[STR_SIZE];
+
+ loadValueFromConfigFile(configFile, "TUX_RIGHT_MOVE_UP", val, STR_SIZE, "273");
+ keytable[ KEY_TUX_RIGHT_MOVE_UP ] = atoi(val);
+ loadValueFromConfigFile(configFile, "TUX_RIGHT_MOVE_RIGHT", val, STR_SIZE, "275");
+ keytable[ KEY_TUX_RIGHT_MOVE_RIGHT ] = atoi(val);
+ loadValueFromConfigFile(configFile, "TUX_RIGHT_MOVE_LEFT", val, STR_SIZE, "276");
+ keytable[ KEY_TUX_RIGHT_MOVE_LEFT ] = atoi(val);
+ loadValueFromConfigFile(configFile, "TUX_RIGHT_MOVE_DOWN", val, STR_SIZE, "274");
+ keytable[ KEY_TUX_RIGHT_MOVE_DOWN ] = atoi(val);
+ loadValueFromConfigFile(configFile, "TUX_RIGHT_SHOOT", val, STR_SIZE, "48");
+ keytable[ KEY_TUX_RIGHT_SHOOT ] = atoi(val);
+ loadValueFromConfigFile(configFile, "TUX_RIGHT_SWITCH_WEAPON", val, STR_SIZE, "49");
+ keytable[ KEY_TUX_RIGHT_SWITCH_WEAPON ] = atoi(val);
+ loadValueFromConfigFile(configFile, "TUX_LEFT_MOVE_UP", val, STR_SIZE, "119");
+ keytable[ KEY_TUX_LEFT_MOVE_UP ] = atoi(val);
+ loadValueFromConfigFile(configFile, "TUX_LEFT_MOVE_RIGHT", val, STR_SIZE, "100");
+ keytable[ KEY_TUX_LEFT_MOVE_RIGHT ] = atoi(val);
+ loadValueFromConfigFile(configFile, "TUX_LEFT_MOVE_LEFT", val, STR_SIZE, "97");
+ keytable[ KEY_TUX_LEFT_MOVE_LEFT ] = atoi(val);
+ loadValueFromConfigFile(configFile, "TUX_LEFT_MOVE_DOWN", val, STR_SIZE, "115");
+ keytable[ KEY_TUX_LEFT_MOVE_DOWN ] = atoi(val);
+ loadValueFromConfigFile(configFile, "TUX_LEFT_SHOOT", val, STR_SIZE, "113");
+ keytable[ KEY_TUX_LEFT_SHOOT ] = atoi(val);
+ loadValueFromConfigFile(configFile, "TUX_LEFT_SWITCH_WEAPON", val, STR_SIZE, "9");
+ keytable[ KEY_TUX_LEFT_SWITCH_WEAPON ] = atoi(val);
+}
+void initKeyTable()
+{
+ char path[STR_PATH_SIZE];
/*
int i;
-*/
- sprintf(path, "%s/keycontrol.conf", getHomeDirector());
- keycontrolFile = loadTextFile(path);
- if (keycontrolFile == NULL) {
- fprintf(stderr, _("I was unable to load file: %s\n"), path);
- fprintf(stderr, _("I try to create file: %s\n"), path);
- keycontrolFile = newTextFile(path);
- }
- if (keycontrolFile == NULL) {
- fprintf(stderr, _("I was unable to create file: %s\n"), path);
- return;
- }
- setKeytableFromConfigFile(keycontrolFile);
-
+*/
+ sprintf(path, "%s/keycontrol.conf", getHomeDirector());
+ keycontrolFile = loadTextFile(path);
+ if (keycontrolFile == NULL) {
+ fprintf(stderr, _("I was unable to load file: %s\n"), path);
+ fprintf(stderr, _("I try to create file: %s\n"), path);
+ keycontrolFile = newTextFile(path);
+ }
+ if (keycontrolFile == NULL) {
+ fprintf(stderr, _("I was unable to create file: %s\n"), path);
+ return;
+ }
+ setKeytableFromConfigFile(keycontrolFile);
/*
for( i = 0 ; i < KEY_LENGTH ; i++)
{
printf("keytable[%d] = %d\n", i, keytable[i]);
}
-*/
-}
- int
-getKey(int n)
-{
-
-// printf("keytable[n] = %d\n", keytable[n]);
- return keytable[n];
- }
- void
-drawScreenSettingKeys()
-{
- drawWidgetImage(image_backgorund);
- drawWidgetButton(button_back);
-
- // key names
- drawWidgetLabel(tux_right);
- drawWidgetLabel(tux_left);
- drawWidgetLabel(tux_right_keyup);
- drawWidgetLabel(tux_right_keydown);
- drawWidgetLabel(tux_right_keyleft);
- drawWidgetLabel(tux_right_keyright);
- drawWidgetLabel(tux_right_keyswitch);
- drawWidgetLabel(tux_right_keyfire);
- drawWidgetLabel(tux_left_keyup);
- drawWidgetLabel(tux_left_keydown);
- drawWidgetLabel(tux_left_keyleft);
- drawWidgetLabel(tux_left_keyright);
- drawWidgetLabel(tux_left_keyswitch);
- drawWidgetLabel(tux_left_keyfire);
-
- // key values
- drawWidgetCatchkey(tux_right_keyup_val);
- drawWidgetCatchkey(tux_right_keydown_val);
- drawWidgetCatchkey(tux_right_keyleft_val);
- drawWidgetCatchkey(tux_right_keyright_val);
- drawWidgetCatchkey(tux_right_keyswitch_val);
- drawWidgetCatchkey(tux_right_keyfire_val);
- drawWidgetCatchkey(tux_left_keyup_val);
- drawWidgetCatchkey(tux_left_keydown_val);
- drawWidgetCatchkey(tux_left_keyleft_val);
- drawWidgetCatchkey(tux_left_keyright_val);
- drawWidgetCatchkey(tux_left_keyswitch_val);
- drawWidgetCatchkey(tux_left_keyfire_val);
- } static void
-
-refreshKeytable()
-{
- keytable[6] = getWidgetCatchKey(tux_left_keyup_val);
- keytable[9] = getWidgetCatchKey(tux_left_keydown_val);
- keytable[8] = getWidgetCatchKey(tux_left_keyleft_val);
- keytable[7] = getWidgetCatchKey(tux_left_keyright_val);
- keytable[10] = getWidgetCatchKey(tux_left_keyfire_val);
- keytable[11] = getWidgetCatchKey(tux_left_keyswitch_val);
- keytable[0] = getWidgetCatchKey(tux_right_keyup_val);
- keytable[3] = getWidgetCatchKey(tux_right_keydown_val);
- keytable[2] = getWidgetCatchKey(tux_right_keyleft_val);
- keytable[1] = getWidgetCatchKey(tux_right_keyright_val);
- keytable[4] = getWidgetCatchKey(tux_right_keyfire_val);
- keytable[5] = getWidgetCatchKey(tux_right_keyswitch_val);
- } static void
-eventWidget(void *p)
-{
- widget_t * button;
- widget_t * catcher;
- button = (widget_t *) (p);
- catcher = (widget_t *) (p);
- if (button == button_back)
- setScreen("setting");
-
- //events on value
- if ((catcher == tux_left_keyup_val) ||
- (catcher == tux_left_keydown_val) ||
- (catcher == tux_left_keyleft_val) ||
- (catcher == tux_left_keyright_val) ||
- (catcher == tux_left_keyfire_val) ||
- (catcher == tux_left_keyswitch_val) ||
- (catcher == tux_right_keyup_val) ||
- (catcher == tux_right_keydown_val) ||
- (catcher == tux_right_keyleft_val) ||
- (catcher == tux_right_keyright_val) ||
- (catcher == tux_right_keyswitch_val) ||
- (catcher == tux_right_keyfire_val)) {
-
- // draw press any key picture
- //this will be done by widget catchkey
- // check if there is no other key with new value (what to revert if yes?)
- refreshKeytable();
- }
- }
- void
-eventScreenSettingKeys()
-{
- eventWidgetButton(button_back);
- eventWidgetCatchkey(tux_right_keyup_val);
- eventWidgetCatchkey(tux_right_keydown_val);
- eventWidgetCatchkey(tux_right_keyleft_val);
- eventWidgetCatchkey(tux_right_keyright_val);
- eventWidgetCatchkey(tux_right_keyswitch_val);
- eventWidgetCatchkey(tux_right_keyfire_val);
- eventWidgetCatchkey(tux_left_keyup_val);
- eventWidgetCatchkey(tux_left_keydown_val);
- eventWidgetCatchkey(tux_left_keyleft_val);
- eventWidgetCatchkey(tux_left_keyright_val);
- eventWidgetCatchkey(tux_left_keyswitch_val);
- eventWidgetCatchkey(tux_left_keyfire_val);
- } void
-
-stopScreenSettingKeys()
-{
- } void
-
-initScreenSettingKeys()
-{
- image_t * image;
- initKeyTable();
- image = getImage(IMAGE_GROUP_BASE, "screen_main");
- image_backgorund = newWidgetImage(0, 0, image);
- button_back =
- newWidgetButton(_("Back"), WINDOW_SIZE_X - 200, WINDOW_SIZE_Y - 100,
- eventWidget);
- tux_left =
- newWidgetLabel(_("Player 2"), WINDOW_SIZE_X / 4, 150,
- WIDGET_LABEL_CENTER);
- tux_left_keyup =
- newWidgetLabel(_("Up"), 50, tux_left->y + 50, WIDGET_LABEL_LEFT);
- tux_left_keydown =
- newWidgetLabel(_("Down:"), tux_left_keyup->x, tux_left_keyup->y + 20,
- WIDGET_LABEL_LEFT);
- tux_left_keyleft =
- newWidgetLabel(_("Left:"), tux_left_keyup->x, tux_left_keydown->y + 20,
- WIDGET_LABEL_LEFT);
- tux_left_keyright =
- newWidgetLabel(_("Right:"), tux_left_keyup->x, tux_left_keyleft->y + 20,
- WIDGET_LABEL_LEFT);
- tux_left_keyfire =
- newWidgetLabel(_("Fire gun:"), tux_left_keyup->x,
- tux_left_keyright->y + 20, WIDGET_LABEL_LEFT);
- tux_left_keyswitch =
- newWidgetLabel(_("Switch gun:"), tux_left_keyup->x,
- tux_left_keyfire->y + 20, WIDGET_LABEL_LEFT);
- tux_right =
- newWidgetLabel(_("Player 1"), WINDOW_SIZE_X / 2 + WINDOW_SIZE_X / 4,
- tux_left->y, WIDGET_LABEL_CENTER);
- tux_right_keyup =
- newWidgetLabel(_("Up:"), WINDOW_SIZE_X / 2 + tux_left_keyup->x,
- tux_left->y + 50, WIDGET_LABEL_LEFT);
- tux_right_keydown =
- newWidgetLabel(_("Down:"), WINDOW_SIZE_X / 2 + tux_left_keyup->x,
- tux_left_keyup->y + 20, WIDGET_LABEL_LEFT);
- tux_right_keyleft =
- newWidgetLabel(_("Left:"), WINDOW_SIZE_X / 2 + tux_left_keyup->x,
- tux_right_keydown->y + 20, WIDGET_LABEL_LEFT);
- tux_right_keyright =
- newWidgetLabel(_("Right:"), WINDOW_SIZE_X / 2 + tux_left_keyup->x,
- tux_right_keyleft->y + 20, WIDGET_LABEL_LEFT);
- tux_right_keyfire =
- newWidgetLabel(_("Fire gun:"), WINDOW_SIZE_X / 2 + tux_left_keyup->x,
- tux_left_keyright->y + 20, WIDGET_LABEL_LEFT);
- tux_right_keyswitch =
- newWidgetLabel(_("Switch gun:"), WINDOW_SIZE_X / 2 + tux_left_keyup->x,
- tux_left_keyfire->y + 20, WIDGET_LABEL_LEFT);
- tux_left_keyup_val =
- newWidgetCatchkey(keytable[6], tux_left_keyup->x + 200,
- tux_left->y + 50, eventWidget);
- tux_left_keydown_val =
- newWidgetCatchkey(keytable[9], tux_left_keyup_val->x,
- tux_left_keyup->y + 20, eventWidget);
- tux_left_keyleft_val =
- newWidgetCatchkey(keytable[8], tux_left_keyup_val->x,
- tux_left_keydown->y + 20, eventWidget);
- tux_left_keyright_val =
- newWidgetCatchkey(keytable[7], tux_left_keyup_val->x,
- tux_left_keyleft->y + 20, eventWidget);
- tux_left_keyfire_val =
- newWidgetCatchkey(keytable[10], tux_left_keyup_val->x,
- tux_left_keyright->y + 20, eventWidget);
- tux_left_keyswitch_val =
- newWidgetCatchkey(keytable[11], tux_left_keyup_val->x,
- tux_left_keyfire->y + 20, eventWidget);
- tux_right_keyup_val =
- newWidgetCatchkey(keytable[0],
- WINDOW_SIZE_X / 2 + tux_left_keyup_val->x,
- tux_left->y + 50, eventWidget);
- tux_right_keydown_val =
- newWidgetCatchkey(keytable[3],
- WINDOW_SIZE_X / 2 + tux_left_keyup_val->x,
- tux_left_keyup->y + 20, eventWidget);
- tux_right_keyleft_val =
- newWidgetCatchkey(keytable[2],
- WINDOW_SIZE_X / 2 + tux_left_keyup_val->x,
- tux_right_keydown->y + 20, eventWidget);
- tux_right_keyright_val =
- newWidgetCatchkey(keytable[1],
- WINDOW_SIZE_X / 2 + tux_left_keyup_val->x,
- tux_right_keyleft->y + 20, eventWidget);
- tux_right_keyfire_val =
- newWidgetCatchkey(keytable[4],
- WINDOW_SIZE_X / 2 + tux_left_keyup_val->x,
- tux_left_keyright->y + 20, eventWidget);
- tux_right_keyswitch_val =
- newWidgetCatchkey(keytable[5],
- WINDOW_SIZE_X / 2 + tux_left_keyup_val->x,
- tux_left_keyfire->y + 20, eventWidget);
- registerScreen(newScreen
- ("settingKeys", startScreenSettingKeys,
- eventScreenSettingKeys, drawScreenSettingKeys,
- stopScreenSettingKeys));
- } void
-
-quitKeyTable()
-{
- destroyTextFile(keycontrolFile);
- } void
-
-saveKeyTable(textFile_t * configFile)
-{
- char str[STR_SIZE];
- sprintf(str, "%d", getWidgetCatchKey(tux_left_keyup_val));
- setValueInConfigFile(configFile, "TUX_LEFT_MOVE_UP", str);
- sprintf(str, "%d", getWidgetCatchKey(tux_left_keydown_val));
- setValueInConfigFile(configFile, "TUX_LEFT_MOVE_DOWN", str);
- sprintf(str, "%d", getWidgetCatchKey(tux_left_keyleft_val));
- setValueInConfigFile(configFile, "TUX_LEFT_MOVE_LEFT", str);
- sprintf(str, "%d", getWidgetCatchKey(tux_left_keyright_val));
- setValueInConfigFile(configFile, "TUX_LEFT_MOVE_RIGHT", str);
- sprintf(str, "%d", getWidgetCatchKey(tux_left_keyfire_val));
- setValueInConfigFile(configFile, "TUX_LEFT_SHOOT", str);
- sprintf(str, "%d", getWidgetCatchKey(tux_left_keyswitch_val));
- setValueInConfigFile(configFile, "TUX_LEFT_SWITCH_WEAPON", str);
- sprintf(str, "%d", getWidgetCatchKey(tux_right_keyup_val));
- setValueInConfigFile(configFile, "TUX_RIGHT_MOVE_UP", str);
- sprintf(str, "%d", getWidgetCatchKey(tux_right_keydown_val));
- setValueInConfigFile(configFile, "TUX_RIGHT_MOVE_DOWN", str);
- sprintf(str, "%d", getWidgetCatchKey(tux_right_keyleft_val));
- setValueInConfigFile(configFile, "TUX_RIGHT_MOVE_LEFT", str);
- sprintf(str, "%d", getWidgetCatchKey(tux_right_keyright_val));
- setValueInConfigFile(configFile, "TUX_RIGHT_MOVE_RIGHT", str);
- sprintf(str, "%d", getWidgetCatchKey(tux_right_keyfire_val));
- setValueInConfigFile(configFile, "TUX_RIGHT_SHOOT", str);
- sprintf(str, "%d", getWidgetCatchKey(tux_right_keyswitch_val));
- setValueInConfigFile(configFile, "TUX_RIGHT_SWITCH_WEAPON", str);
- saveTextFile(configFile);
- } void
-
-quitScreenSettingKeys()
-{
- saveKeyTable(keycontrolFile);
- quitKeyTable();
-
- // key names
- destroyWidgetImage(image_backgorund);
- destroyWidgetLabel(tux_right);
- destroyWidgetLabel(tux_left);
- destroyWidgetLabel(tux_right_keyup);
- destroyWidgetLabel(tux_right_keydown);
- destroyWidgetLabel(tux_right_keyleft);
- destroyWidgetLabel(tux_right_keyright);
- destroyWidgetLabel(tux_right_keyswitch);
- destroyWidgetLabel(tux_right_keyfire);
- destroyWidgetLabel(tux_left_keyup);
- destroyWidgetLabel(tux_left_keydown);
- destroyWidgetLabel(tux_left_keyright);
- destroyWidgetLabel(tux_left_keyleft);
- destroyWidgetLabel(tux_left_keyswitch);
- destroyWidgetLabel(tux_left_keyfire);
-
- // key values
- destroyWidgetCatchkey(tux_right_keyup_val);
- destroyWidgetCatchkey(tux_right_keydown_val);
- destroyWidgetCatchkey(tux_right_keyleft_val);
- destroyWidgetCatchkey(tux_right_keyright_val);
- destroyWidgetCatchkey(tux_right_keyswitch_val);
- destroyWidgetCatchkey(tux_right_keyfire_val);
- destroyWidgetCatchkey(tux_left_keyup_val);
- destroyWidgetCatchkey(tux_left_keydown_val);
- destroyWidgetCatchkey(tux_left_keyleft_val);
- destroyWidgetCatchkey(tux_left_keyright_val);
- destroyWidgetCatchkey(tux_left_keyswitch_val);
- destroyWidgetCatchkey(tux_left_keyfire_val);
- destroyWidgetButton(button_back);
- }
+*/
+}
+int getKey(int n)
+{
+// printf("keytable[n] = %d\n", keytable[n]);
+ return keytable[n];
+}
+void drawScreenSettingKeys()
+{
+ drawWidgetImage(image_backgorund);
+ drawWidgetButton(button_back);
+ // key names
+ drawWidgetLabel(tux_right);
+ drawWidgetLabel(tux_left);
+ drawWidgetLabel(tux_right_keyup);
+ drawWidgetLabel(tux_right_keydown);
+ drawWidgetLabel(tux_right_keyleft);
+ drawWidgetLabel(tux_right_keyright);
+ drawWidgetLabel(tux_right_keyswitch);
+ drawWidgetLabel(tux_right_keyfire);
+ drawWidgetLabel(tux_left_keyup);
+ drawWidgetLabel(tux_left_keydown);
+ drawWidgetLabel(tux_left_keyleft);
+ drawWidgetLabel(tux_left_keyright);
+ drawWidgetLabel(tux_left_keyswitch);
+ drawWidgetLabel(tux_left_keyfire);
+ // key values
+ drawWidgetCatchkey(tux_right_keyup_val);
+ drawWidgetCatchkey(tux_right_keydown_val);
+ drawWidgetCatchkey(tux_right_keyleft_val);
+ drawWidgetCatchkey(tux_right_keyright_val);
+ drawWidgetCatchkey(tux_right_keyswitch_val);
+ drawWidgetCatchkey(tux_right_keyfire_val);
+ drawWidgetCatchkey(tux_left_keyup_val);
+ drawWidgetCatchkey(tux_left_keydown_val);
+ drawWidgetCatchkey(tux_left_keyleft_val);
+ drawWidgetCatchkey(tux_left_keyright_val);
+ drawWidgetCatchkey(tux_left_keyswitch_val);
+ drawWidgetCatchkey(tux_left_keyfire_val);
+}
+static void refreshKeytable()
+{
+ keytable[6] = getWidgetCatchKey(tux_left_keyup_val);
+ keytable[9] = getWidgetCatchKey(tux_left_keydown_val);
+ keytable[8] = getWidgetCatchKey(tux_left_keyleft_val);
+ keytable[7] = getWidgetCatchKey(tux_left_keyright_val);
+ keytable[10] = getWidgetCatchKey(tux_left_keyfire_val);
+ keytable[11] = getWidgetCatchKey(tux_left_keyswitch_val);
+ keytable[0] = getWidgetCatchKey(tux_right_keyup_val);
+ keytable[3] = getWidgetCatchKey(tux_right_keydown_val);
+ keytable[2] = getWidgetCatchKey(tux_right_keyleft_val);
+ keytable[1] = getWidgetCatchKey(tux_right_keyright_val);
+ keytable[4] = getWidgetCatchKey(tux_right_keyfire_val);
+ keytable[5] = getWidgetCatchKey(tux_right_keyswitch_val);
+}
+static void eventWidget(void *p)
+{
+ widget_t *button;
+ widget_t *catcher;
+
+ button = (widget_t *)(p);
+ catcher = (widget_t *)(p);
+ if (button == button_back)
+ setScreen("setting");
+ //events on value
+ if ((catcher == tux_left_keyup_val) ||
+ (catcher == tux_left_keydown_val) ||
+ (catcher == tux_left_keyleft_val) ||
+ (catcher == tux_left_keyright_val) ||
+ (catcher == tux_left_keyfire_val) ||
+ (catcher == tux_left_keyswitch_val) ||
+ (catcher == tux_right_keyup_val) ||
+ (catcher == tux_right_keydown_val) ||
+ (catcher == tux_right_keyleft_val) ||
+ (catcher == tux_right_keyright_val) ||
+ (catcher == tux_right_keyswitch_val) ||
+ (catcher == tux_right_keyfire_val)) {
+ // draw press any key picture
+ //this will be done by widget catchkey
+ // check if there is no other key with new value (what to revert if yes?)
+ refreshKeytable();
+ }
+}
+void eventScreenSettingKeys()
+{
+ eventWidgetButton(button_back);
+ eventWidgetCatchkey(tux_right_keyup_val);
+ eventWidgetCatchkey(tux_right_keydown_val);
+ eventWidgetCatchkey(tux_right_keyleft_val);
+ eventWidgetCatchkey(tux_right_keyright_val);
+ eventWidgetCatchkey(tux_right_keyswitch_val);
+ eventWidgetCatchkey(tux_right_keyfire_val);
+ eventWidgetCatchkey(tux_left_keyup_val);
+ eventWidgetCatchkey(tux_left_keydown_val);
+ eventWidgetCatchkey(tux_left_keyleft_val);
+ eventWidgetCatchkey(tux_left_keyright_val);
+ eventWidgetCatchkey(tux_left_keyswitch_val);
+ eventWidgetCatchkey(tux_left_keyfire_val);
+}
+void stopScreenSettingKeys()
+{
+}
+void initScreenSettingKeys()
+{
+ image_t *image;
+
+ initKeyTable();
+ image = getImage(IMAGE_GROUP_BASE, "screen_main");
+ image_backgorund = newWidgetImage(0, 0, image);
+ button_back = newWidgetButton(_("Back"), WINDOW_SIZE_X - 200, WINDOW_SIZE_Y - 100, eventWidget);
+ tux_left = newWidgetLabel(_("Player 2"), WINDOW_SIZE_X/4, 150, WIDGET_LABEL_CENTER);
+ tux_left_keyup = newWidgetLabel(_("Up"), 50, tux_left->y+50, WIDGET_LABEL_LEFT);
+ tux_left_keydown = newWidgetLabel(_("Down:"), tux_left_keyup->x, tux_left_keyup->y + 20, WIDGET_LABEL_LEFT);
+ tux_left_keyleft = newWidgetLabel(_("Left:"), tux_left_keyup->x, tux_left_keydown->y + 20, WIDGET_LABEL_LEFT);
+ tux_left_keyright = newWidgetLabel(_("Right:"), tux_left_keyup->x, tux_left_keyleft->y + 20, WIDGET_LABEL_LEFT);
+ tux_left_keyfire = newWidgetLabel(_("Fire gun:"), tux_left_keyup->x, tux_left_keyright->y + 20, WIDGET_LABEL_LEFT);
+ tux_left_keyswitch = newWidgetLabel(_("Switch gun:"), tux_left_keyup->x, tux_left_keyfire->y + 20, WIDGET_LABEL_LEFT);
+ tux_right = newWidgetLabel(_("Player 1"), WINDOW_SIZE_X/2 + WINDOW_SIZE_X/4, tux_left->y, WIDGET_LABEL_CENTER);
+ tux_right_keyup = newWidgetLabel(_("Up:"), WINDOW_SIZE_X/2 + tux_left_keyup->x, tux_left->y+50, WIDGET_LABEL_LEFT);
+ tux_right_keydown = newWidgetLabel(_("Down:"), WINDOW_SIZE_X/2 + tux_left_keyup->x, tux_left_keyup->y + 20, WIDGET_LABEL_LEFT);
+ tux_right_keyleft = newWidgetLabel(_("Left:"), WINDOW_SIZE_X/2 + tux_left_keyup->x, tux_right_keydown->y + 20, WIDGET_LABEL_LEFT);
+ tux_right_keyright = newWidgetLabel(_("Right:"), WINDOW_SIZE_X/2 + tux_left_keyup->x, tux_right_keyleft->y + 20, WIDGET_LABEL_LEFT);
+ tux_right_keyfire = newWidgetLabel(_("Fire gun:"), WINDOW_SIZE_X/2 + tux_left_keyup->x, tux_left_keyright->y + 20, WIDGET_LABEL_LEFT);
+ tux_right_keyswitch = newWidgetLabel(_("Switch gun:"), WINDOW_SIZE_X/2 + tux_left_keyup->x, tux_left_keyfire->y + 20, WIDGET_LABEL_LEFT);
+ tux_left_keyup_val = newWidgetCatchkey(keytable[6], tux_left_keyup->x+200, tux_left->y+50, eventWidget);
+ tux_left_keydown_val = newWidgetCatchkey(keytable[9], tux_left_keyup_val->x, tux_left_keyup->y + 20, eventWidget);
+ tux_left_keyleft_val = newWidgetCatchkey(keytable[8], tux_left_keyup_val->x, tux_left_keydown->y + 20, eventWidget);
+ tux_left_keyright_val = newWidgetCatchkey(keytable[7], tux_left_keyup_val->x, tux_left_keyleft->y + 20, eventWidget);
+ tux_left_keyfire_val = newWidgetCatchkey(keytable[10], tux_left_keyup_val->x, tux_left_keyright->y + 20, eventWidget);
+ tux_left_keyswitch_val = newWidgetCatchkey(keytable[11], tux_left_keyup_val->x, tux_left_keyfire->y + 20, eventWidget);
+ tux_right_keyup_val = newWidgetCatchkey(keytable[0], WINDOW_SIZE_X/2 + tux_left_keyup_val->x, tux_left->y+50, eventWidget);
+ tux_right_keydown_val = newWidgetCatchkey(keytable[3], WINDOW_SIZE_X/2 + tux_left_keyup_val->x, tux_left_keyup->y + 20, eventWidget);
+ tux_right_keyleft_val = newWidgetCatchkey(keytable[2], WINDOW_SIZE_X/2 + tux_left_keyup_val->x, tux_right_keydown->y + 20, eventWidget);
+ tux_right_keyright_val = newWidgetCatchkey(keytable[1], WINDOW_SIZE_X/2 + tux_left_keyup_val->x, tux_right_keyleft->y + 20, eventWidget);
+ tux_right_keyfire_val = newWidgetCatchkey(keytable[4], WINDOW_SIZE_X/2 + tux_left_keyup_val->x, tux_left_keyright->y + 20, eventWidget);
+ tux_right_keyswitch_val = newWidgetCatchkey(keytable[5], WINDOW_SIZE_X/2 + tux_left_keyup_val->x, tux_left_keyfire->y + 20, eventWidget);
+ registerScreen(newScreen("settingKeys", startScreenSettingKeys, eventScreenSettingKeys,
+ drawScreenSettingKeys, stopScreenSettingKeys));
+}
+void quitKeyTable()
+{
+ destroyTextFile(keycontrolFile);
+}
+void saveKeyTable(textFile_t *configFile) {
+ char str[STR_SIZE];
+
+ sprintf(str,"%d", getWidgetCatchKey(tux_left_keyup_val));
+ setValueInConfigFile(configFile, "TUX_LEFT_MOVE_UP", str);
+ sprintf(str,"%d", getWidgetCatchKey(tux_left_keydown_val));
+ setValueInConfigFile(configFile, "TUX_LEFT_MOVE_DOWN", str);
+ sprintf(str,"%d", getWidgetCatchKey(tux_left_keyleft_val));
+ setValueInConfigFile(configFile, "TUX_LEFT_MOVE_LEFT", str);
+ sprintf(str,"%d", getWidgetCatchKey(tux_left_keyright_val));
+ setValueInConfigFile(configFile, "TUX_LEFT_MOVE_RIGHT", str);
+ sprintf(str,"%d", getWidgetCatchKey(tux_left_keyfire_val));
+ setValueInConfigFile(configFile, "TUX_LEFT_SHOOT", str);
+ sprintf(str,"%d", getWidgetCatchKey(tux_left_keyswitch_val));
+ setValueInConfigFile(configFile, "TUX_LEFT_SWITCH_WEAPON", str);
+ sprintf(str,"%d", getWidgetCatchKey(tux_right_keyup_val));
+ setValueInConfigFile(configFile, "TUX_RIGHT_MOVE_UP", str);
+ sprintf(str,"%d", getWidgetCatchKey(tux_right_keydown_val));
+ setValueInConfigFile(configFile, "TUX_RIGHT_MOVE_DOWN", str);
+ sprintf(str,"%d", getWidgetCatchKey(tux_right_keyleft_val));
+ setValueInConfigFile(configFile, "TUX_RIGHT_MOVE_LEFT", str);
+ sprintf(str,"%d", getWidgetCatchKey(tux_right_keyright_val));
+ setValueInConfigFile(configFile, "TUX_RIGHT_MOVE_RIGHT", str);
+ sprintf(str,"%d", getWidgetCatchKey(tux_right_keyfire_val));
+ setValueInConfigFile(configFile, "TUX_RIGHT_SHOOT", str);
+ sprintf(str,"%d", getWidgetCatchKey(tux_right_keyswitch_val));
+ setValueInConfigFile(configFile, "TUX_RIGHT_SWITCH_WEAPON", str);
+ saveTextFile(configFile);
+}
+void quitScreenSettingKeys()
+{
+ saveKeyTable(keycontrolFile);
+ quitKeyTable();
+ // key names
+ destroyWidgetImage(image_backgorund);
+ destroyWidgetLabel(tux_right);
+ destroyWidgetLabel(tux_left);
+ destroyWidgetLabel(tux_right_keyup);
+ destroyWidgetLabel(tux_right_keydown);
+ destroyWidgetLabel(tux_right_keyleft);
+ destroyWidgetLabel(tux_right_keyright);
+ destroyWidgetLabel(tux_right_keyswitch);
+ destroyWidgetLabel(tux_right_keyfire);
+ destroyWidgetLabel(tux_left_keyup);
+ destroyWidgetLabel(tux_left_keydown);
+ destroyWidgetLabel(tux_left_keyright);
+ destroyWidgetLabel(tux_left_keyleft);
+ destroyWidgetLabel(tux_left_keyswitch);
+ destroyWidgetLabel(tux_left_keyfire);
+ // key values
+ destroyWidgetCatchkey(tux_right_keyup_val);
+ destroyWidgetCatchkey(tux_right_keydown_val);
+ destroyWidgetCatchkey(tux_right_keyleft_val);
+ destroyWidgetCatchkey(tux_right_keyright_val);
+ destroyWidgetCatchkey(tux_right_keyswitch_val);
+ destroyWidgetCatchkey(tux_right_keyfire_val);
+ destroyWidgetCatchkey(tux_left_keyup_val);
+ destroyWidgetCatchkey(tux_left_keydown_val);
+ destroyWidgetCatchkey(tux_left_keyleft_val);
+ destroyWidgetCatchkey(tux_left_keyright_val);
+ destroyWidgetCatchkey(tux_left_keyswitch_val);
+ destroyWidgetCatchkey(tux_left_keyfire_val);
+ destroyWidgetButton(button_back);
+}
diff --git a/src/screen/screen_settingKeys.c~ b/src/screen/screen_settingKeys.c~
deleted file mode 100644
index d40db6d..0000000
--- a/src/screen/screen_settingKeys.c~
+++ /dev/null
@@ -1,332 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "tux.h"
-#include "textFile.h"
-#include "director.h"
-#include "homeDirector.h"
-#include "configFile.h"
-#include "interface.h"
-#include "screen.h"
-#include "image.h"
-#ifndef NO_SOUND
-#include "music.h"
-#include "sound.h"
-#endif
-#include "screen_mainMenu.h"
-#include "screen_setting.h"
-#include "screen_settingKeys.h"
-
-#include "widget.h"
-#include "widget_button.h"
-#include "widget_image.h"
-#include "widget_catchkey.h"
-#include "widget_label.h"
-
-static int keytable[KEY_LENGTH];
-static textFile_t *keycontrolFile;
-static widget_t *image_backgorund;
-static widget_t *button_back;
-// key names
-static widget_t *tux_right;
-static widget_t *tux_right_keyup;
-static widget_t *tux_right_keydown;
-static widget_t *tux_right_keyleft;
-static widget_t *tux_right_keyright;
-static widget_t *tux_right_keyswitch;
-static widget_t *tux_right_keyfire;
-static widget_t *tux_left;
-static widget_t *tux_left_keyup;
-static widget_t *tux_left_keydown;
-static widget_t *tux_left_keyleft;
-static widget_t *tux_left_keyright;
-static widget_t *tux_left_keyswitch;
-static widget_t *tux_left_keyfire;
-// key values
-static widget_t *tux_right_keyup_val;
-static widget_t *tux_right_keydown_val;
-static widget_t *tux_right_keyleft_val;
-static widget_t *tux_right_keyright_val;
-static widget_t *tux_right_keyswitch_val;
-static widget_t *tux_right_keyfire_val;
-static widget_t *tux_left_keyup_val;
-static widget_t *tux_left_keydown_val;
-static widget_t *tux_left_keyleft_val;
-static widget_t *tux_left_keyright_val;
-static widget_t *tux_left_keyswitch_val;
-static widget_t *tux_left_keyfire_val;
-
-//static widget_t *catcher;
-// todo add key images
-// possible variant will be reusing widget_image for current widget_label so there wont
-// be key names but only images
-
-void startScreenSettingKeys()
-{
-#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
-#endif
-}
-static void setKeytableFromConfigFile(textFile_t *configFile)
-{
- char val[STR_SIZE];
-
- loadValueFromConfigFile(configFile, "TUX_RIGHT_MOVE_UP", val, STR_SIZE, "273");
- keytable[ KEY_TUX_RIGHT_MOVE_UP ] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_RIGHT_MOVE_RIGHT", val, STR_SIZE, "275");
- keytable[ KEY_TUX_RIGHT_MOVE_RIGHT ] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_RIGHT_MOVE_LEFT", val, STR_SIZE, "276");
- keytable[ KEY_TUX_RIGHT_MOVE_LEFT ] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_RIGHT_MOVE_DOWN", val, STR_SIZE, "274");
- keytable[ KEY_TUX_RIGHT_MOVE_DOWN ] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_RIGHT_SHOOT", val, STR_SIZE, "48");
- keytable[ KEY_TUX_RIGHT_SHOOT ] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_RIGHT_SWITCH_WEAPON", val, STR_SIZE, "49");
- keytable[ KEY_TUX_RIGHT_SWITCH_WEAPON ] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_LEFT_MOVE_UP", val, STR_SIZE, "119");
- keytable[ KEY_TUX_LEFT_MOVE_UP ] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_LEFT_MOVE_RIGHT", val, STR_SIZE, "100");
- keytable[ KEY_TUX_LEFT_MOVE_RIGHT ] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_LEFT_MOVE_LEFT", val, STR_SIZE, "97");
- keytable[ KEY_TUX_LEFT_MOVE_LEFT ] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_LEFT_MOVE_DOWN", val, STR_SIZE, "115");
- keytable[ KEY_TUX_LEFT_MOVE_DOWN ] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_LEFT_SHOOT", val, STR_SIZE, "113");
- keytable[ KEY_TUX_LEFT_SHOOT ] = atoi(val);
- loadValueFromConfigFile(configFile, "TUX_LEFT_SWITCH_WEAPON", val, STR_SIZE, "9");
- keytable[ KEY_TUX_LEFT_SWITCH_WEAPON ] = atoi(val);
-}
-void initKeyTable()
-{
- char path[STR_PATH_SIZE];
-/*
- int i;
-*/
- sprintf(path, "%s/keycontrol.conf", getHomeDirector());
- keycontrolFile = loadTextFile(path);
- if (keycontrolFile == NULL) {
- fprintf(stderr, _("I was unable to load file: %s\n"), path);
- fprintf(stderr, _("I try to create file: %s\n"), path);
- keycontrolFile = newTextFile(path);
- }
- if (keycontrolFile == NULL) {
- fprintf(stderr, _("I was unable to create file: %s\n"), path);
- return;
- }
- setKeytableFromConfigFile(keycontrolFile);
-/*
- for( i = 0 ; i < KEY_LENGTH ; i++)
- {
- printf("keytable[%d] = %d\n", i, keytable[i]);
- }
-*/
-}
-int getKey(int n)
-{
-// printf("keytable[n] = %d\n", keytable[n]);
- return keytable[n];
-}
-void drawScreenSettingKeys()
-{
- drawWidgetImage(image_backgorund);
- drawWidgetButton(button_back);
- // key names
- drawWidgetLabel(tux_right);
- drawWidgetLabel(tux_left);
- drawWidgetLabel(tux_right_keyup);
- drawWidgetLabel(tux_right_keydown);
- drawWidgetLabel(tux_right_keyleft);
- drawWidgetLabel(tux_right_keyright);
- drawWidgetLabel(tux_right_keyswitch);
- drawWidgetLabel(tux_right_keyfire);
- drawWidgetLabel(tux_left_keyup);
- drawWidgetLabel(tux_left_keydown);
- drawWidgetLabel(tux_left_keyleft);
- drawWidgetLabel(tux_left_keyright);
- drawWidgetLabel(tux_left_keyswitch);
- drawWidgetLabel(tux_left_keyfire);
- // key values
- drawWidgetCatchkey(tux_right_keyup_val);
- drawWidgetCatchkey(tux_right_keydown_val);
- drawWidgetCatchkey(tux_right_keyleft_val);
- drawWidgetCatchkey(tux_right_keyright_val);
- drawWidgetCatchkey(tux_right_keyswitch_val);
- drawWidgetCatchkey(tux_right_keyfire_val);
- drawWidgetCatchkey(tux_left_keyup_val);
- drawWidgetCatchkey(tux_left_keydown_val);
- drawWidgetCatchkey(tux_left_keyleft_val);
- drawWidgetCatchkey(tux_left_keyright_val);
- drawWidgetCatchkey(tux_left_keyswitch_val);
- drawWidgetCatchkey(tux_left_keyfire_val);
-}
-static void refreshKeytable()
-{
- keytable[6] = getWidgetCatchKey(tux_left_keyup_val);
- keytable[9] = getWidgetCatchKey(tux_left_keydown_val);
- keytable[8] = getWidgetCatchKey(tux_left_keyleft_val);
- keytable[7] = getWidgetCatchKey(tux_left_keyright_val);
- keytable[10] = getWidgetCatchKey(tux_left_keyfire_val);
- keytable[11] = getWidgetCatchKey(tux_left_keyswitch_val);
- keytable[0] = getWidgetCatchKey(tux_right_keyup_val);
- keytable[3] = getWidgetCatchKey(tux_right_keydown_val);
- keytable[2] = getWidgetCatchKey(tux_right_keyleft_val);
- keytable[1] = getWidgetCatchKey(tux_right_keyright_val);
- keytable[4] = getWidgetCatchKey(tux_right_keyfire_val);
- keytable[5] = getWidgetCatchKey(tux_right_keyswitch_val);
-}
-static void eventWidget(void *p)
-{
- widget_t *button;
- widget_t *catcher;
-
- button = (widget_t *)(p);
- catcher = (widget_t *)(p);
- if (button == button_back)
- setScreen("setting");
- //events on value
- if ((catcher == tux_left_keyup_val) ||
- (catcher == tux_left_keydown_val) ||
- (catcher == tux_left_keyleft_val) ||
- (catcher == tux_left_keyright_val) ||
- (catcher == tux_left_keyfire_val) ||
- (catcher == tux_left_keyswitch_val) ||
- (catcher == tux_right_keyup_val) ||
- (catcher == tux_right_keydown_val) ||
- (catcher == tux_right_keyleft_val) ||
- (catcher == tux_right_keyright_val) ||
- (catcher == tux_right_keyswitch_val) ||
- (catcher == tux_right_keyfire_val)) {
- // draw press any key picture
- //this will be done by widget catchkey
- // check if there is no other key with new value (what to revert if yes?)
- refreshKeytable();
- }
-}
-void eventScreenSettingKeys()
-{
- eventWidgetButton(button_back);
- eventWidgetCatchkey(tux_right_keyup_val);
- eventWidgetCatchkey(tux_right_keydown_val);
- eventWidgetCatchkey(tux_right_keyleft_val);
- eventWidgetCatchkey(tux_right_keyright_val);
- eventWidgetCatchkey(tux_right_keyswitch_val);
- eventWidgetCatchkey(tux_right_keyfire_val);
- eventWidgetCatchkey(tux_left_keyup_val);
- eventWidgetCatchkey(tux_left_keydown_val);
- eventWidgetCatchkey(tux_left_keyleft_val);
- eventWidgetCatchkey(tux_left_keyright_val);
- eventWidgetCatchkey(tux_left_keyswitch_val);
- eventWidgetCatchkey(tux_left_keyfire_val);
-}
-void stopScreenSettingKeys()
-{
-}
-void initScreenSettingKeys()
-{
- image_t *image;
-
- initKeyTable();
- image = getImage(IMAGE_GROUP_BASE, "screen_main");
- image_backgorund = newWidgetImage(0, 0, image);
- button_back = newWidgetButton(_("Back"), WINDOW_SIZE_X - 200, WINDOW_SIZE_Y - 100, eventWidget);
- tux_left = newWidgetLabel(_("Player 2"), WINDOW_SIZE_X/4, 150, WIDGET_LABEL_CENTER);
- tux_left_keyup = newWidgetLabel(_("Up"), 50, tux_left->y+50, WIDGET_LABEL_LEFT);
- tux_left_keydown = newWidgetLabel(_("Down:"), tux_left_keyup->x, tux_left_keyup->y + 20, WIDGET_LABEL_LEFT);
- tux_left_keyleft = newWidgetLabel(_("Left:"), tux_left_keyup->x, tux_left_keydown->y + 20, WIDGET_LABEL_LEFT);
- tux_left_keyright = newWidgetLabel(_("Right:"), tux_left_keyup->x, tux_left_keyleft->y + 20, WIDGET_LABEL_LEFT);
- tux_left_keyfire = newWidgetLabel(_("Fire gun:"), tux_left_keyup->x, tux_left_keyright->y + 20, WIDGET_LABEL_LEFT);
- tux_left_keyswitch = newWidgetLabel(_("Switch gun:"), tux_left_keyup->x, tux_left_keyfire->y + 20, WIDGET_LABEL_LEFT);
- tux_right = newWidgetLabel(_("Player 1"), WINDOW_SIZE_X/2 + WINDOW_SIZE_X/4, tux_left->y, WIDGET_LABEL_CENTER);
- tux_right_keyup = newWidgetLabel(_("Up:"), WINDOW_SIZE_X/2 + tux_left_keyup->x, tux_left->y+50, WIDGET_LABEL_LEFT);
- tux_right_keydown = newWidgetLabel(_("Down:"), WINDOW_SIZE_X/2 + tux_left_keyup->x, tux_left_keyup->y + 20, WIDGET_LABEL_LEFT);
- tux_right_keyleft = newWidgetLabel(_("Left:"), WINDOW_SIZE_X/2 + tux_left_keyup->x, tux_right_keydown->y + 20, WIDGET_LABEL_LEFT);
- tux_right_keyright = newWidgetLabel(_("Right:"), WINDOW_SIZE_X/2 + tux_left_keyup->x, tux_right_keyleft->y + 20, WIDGET_LABEL_LEFT);
- tux_right_keyfire = newWidgetLabel(_("Fire gun:"), WINDOW_SIZE_X/2 + tux_left_keyup->x, tux_left_keyright->y + 20, WIDGET_LABEL_LEFT);
- tux_right_keyswitch = newWidgetLabel(_("Switch gun:"), WINDOW_SIZE_X/2 + tux_left_keyup->x, tux_left_keyfire->y + 20, WIDGET_LABEL_LEFT);
- tux_left_keyup_val = newWidgetCatchkey(keytable[6], tux_left_keyup->x+200, tux_left->y+50, eventWidget);
- tux_left_keydown_val = newWidgetCatchkey(keytable[9], tux_left_keyup_val->x, tux_left_keyup->y + 20, eventWidget);
- tux_left_keyleft_val = newWidgetCatchkey(keytable[8], tux_left_keyup_val->x, tux_left_keydown->y + 20, eventWidget);
- tux_left_keyright_val = newWidgetCatchkey(keytable[7], tux_left_keyup_val->x, tux_left_keyleft->y + 20, eventWidget);
- tux_left_keyfire_val = newWidgetCatchkey(keytable[10], tux_left_keyup_val->x, tux_left_keyright->y + 20, eventWidget);
- tux_left_keyswitch_val = newWidgetCatchkey(keytable[11], tux_left_keyup_val->x, tux_left_keyfire->y + 20, eventWidget);
- tux_right_keyup_val = newWidgetCatchkey(keytable[0], WINDOW_SIZE_X/2 + tux_left_keyup_val->x, tux_left->y+50, eventWidget);
- tux_right_keydown_val = newWidgetCatchkey(keytable[3], WINDOW_SIZE_X/2 + tux_left_keyup_val->x, tux_left_keyup->y + 20, eventWidget);
- tux_right_keyleft_val = newWidgetCatchkey(keytable[2], WINDOW_SIZE_X/2 + tux_left_keyup_val->x, tux_right_keydown->y + 20, eventWidget);
- tux_right_keyright_val = newWidgetCatchkey(keytable[1], WINDOW_SIZE_X/2 + tux_left_keyup_val->x, tux_right_keyleft->y + 20, eventWidget);
- tux_right_keyfire_val = newWidgetCatchkey(keytable[4], WINDOW_SIZE_X/2 + tux_left_keyup_val->x, tux_left_keyright->y + 20, eventWidget);
- tux_right_keyswitch_val = newWidgetCatchkey(keytable[5], WINDOW_SIZE_X/2 + tux_left_keyup_val->x, tux_left_keyfire->y + 20, eventWidget);
- registerScreen(newScreen("settingKeys", startScreenSettingKeys, eventScreenSettingKeys,
- drawScreenSettingKeys, stopScreenSettingKeys));
-}
-void quitKeyTable()
-{
- destroyTextFile(keycontrolFile);
-}
-void saveKeyTable(textFile_t *configFile) {
- char str[STR_SIZE];
-
- sprintf(str,"%d", getWidgetCatchKey(tux_left_keyup_val));
- setValueInConfigFile(configFile, "TUX_LEFT_MOVE_UP", str);
- sprintf(str,"%d", getWidgetCatchKey(tux_left_keydown_val));
- setValueInConfigFile(configFile, "TUX_LEFT_MOVE_DOWN", str);
- sprintf(str,"%d", getWidgetCatchKey(tux_left_keyleft_val));
- setValueInConfigFile(configFile, "TUX_LEFT_MOVE_LEFT", str);
- sprintf(str,"%d", getWidgetCatchKey(tux_left_keyright_val));
- setValueInConfigFile(configFile, "TUX_LEFT_MOVE_RIGHT", str);
- sprintf(str,"%d", getWidgetCatchKey(tux_left_keyfire_val));
- setValueInConfigFile(configFile, "TUX_LEFT_SHOOT", str);
- sprintf(str,"%d", getWidgetCatchKey(tux_left_keyswitch_val));
- setValueInConfigFile(configFile, "TUX_LEFT_SWITCH_WEAPON", str);
- sprintf(str,"%d", getWidgetCatchKey(tux_right_keyup_val));
- setValueInConfigFile(configFile, "TUX_RIGHT_MOVE_UP", str);
- sprintf(str,"%d", getWidgetCatchKey(tux_right_keydown_val));
- setValueInConfigFile(configFile, "TUX_RIGHT_MOVE_DOWN", str);
- sprintf(str,"%d", getWidgetCatchKey(tux_right_keyleft_val));
- setValueInConfigFile(configFile, "TUX_RIGHT_MOVE_LEFT", str);
- sprintf(str,"%d", getWidgetCatchKey(tux_right_keyright_val));
- setValueInConfigFile(configFile, "TUX_RIGHT_MOVE_RIGHT", str);
- sprintf(str,"%d", getWidgetCatchKey(tux_right_keyfire_val));
- setValueInConfigFile(configFile, "TUX_RIGHT_SHOOT", str);
- sprintf(str,"%d", getWidgetCatchKey(tux_right_keyswitch_val));
- setValueInConfigFile(configFile, "TUX_RIGHT_SWITCH_WEAPON", str);
- saveTextFile(configFile);
-}
-void quitScreenSettingKeys()
-{
- saveKeyTable(keycontrolFile);
- quitKeyTable();
- // key names
- destroyWidgetImage(image_backgorund);
- destroyWidgetLabel(tux_right);
- destroyWidgetLabel(tux_left);
- destroyWidgetLabel(tux_right_keyup);
- destroyWidgetLabel(tux_right_keydown);
- destroyWidgetLabel(tux_right_keyleft);
- destroyWidgetLabel(tux_right_keyright);
- destroyWidgetLabel(tux_right_keyswitch);
- destroyWidgetLabel(tux_right_keyfire);
- destroyWidgetLabel(tux_left_keyup);
- destroyWidgetLabel(tux_left_keydown);
- destroyWidgetLabel(tux_left_keyright);
- destroyWidgetLabel(tux_left_keyleft);
- destroyWidgetLabel(tux_left_keyswitch);
- destroyWidgetLabel(tux_left_keyfire);
- // key values
- destroyWidgetCatchkey(tux_right_keyup_val);
- destroyWidgetCatchkey(tux_right_keydown_val);
- destroyWidgetCatchkey(tux_right_keyleft_val);
- destroyWidgetCatchkey(tux_right_keyright_val);
- destroyWidgetCatchkey(tux_right_keyswitch_val);
- destroyWidgetCatchkey(tux_right_keyfire_val);
- destroyWidgetCatchkey(tux_left_keyup_val);
- destroyWidgetCatchkey(tux_left_keydown_val);
- destroyWidgetCatchkey(tux_left_keyleft_val);
- destroyWidgetCatchkey(tux_left_keyright_val);
- destroyWidgetCatchkey(tux_left_keyswitch_val);
- destroyWidgetCatchkey(tux_left_keyfire_val);
- destroyWidgetButton(button_back);
-}
diff --git a/src/screen/screen_table.c b/src/screen/screen_table.c
index 31c0baf..f4c981c 100644
--- a/src/screen/screen_table.c
+++ b/src/screen/screen_table.c
@@ -31,211 +31,208 @@ static list_t *listWidgetLabelScore;
static textFile_t *textFile;
-void
-startScreenTable()
+void startScreenTable()
{
#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
+ playMusic("menu", MUSIC_GROUP_BASE);
#endif
}
-void
-drawScreenTable()
+void drawScreenTable()
{
- int i;
-
- drawWidgetImage(image_backgorund);
-
- drawWidgetButton(button_back);
-
- for (i = 0; i < listWidgetLabelNumer->count; i++) {
- widget_t *this;
- this = (widget_t *) listWidgetLabelNumer->list[i];
- drawWidgetLabel(this);
- }
-
- for (i = 0; i < listWidgetLabelName->count; i++) {
- widget_t *this;
- this = (widget_t *) listWidgetLabelName->list[i];
- drawWidgetLabel(this);
- }
-
- for (i = 0; i < listWidgetLabelScore->count; i++) {
- widget_t *this;
- this = (widget_t *) listWidgetLabelScore->list[i];
- drawWidgetLabel(this);
- }
+ int i;
+
+ drawWidgetImage(image_backgorund);
+
+ drawWidgetButton(button_back);
+
+ for( i = 0 ; i < listWidgetLabelNumer->count ; i++ )
+ {
+ widget_t *this;
+ this = (widget_t *)listWidgetLabelNumer->list[i];
+ drawWidgetLabel(this);
+ }
+
+ for( i = 0 ; i < listWidgetLabelName->count ; i++ )
+ {
+ widget_t *this;
+ this = (widget_t *)listWidgetLabelName->list[i];
+ drawWidgetLabel(this);
+ }
+
+ for( i = 0 ; i < listWidgetLabelScore->count ; i++ )
+ {
+ widget_t *this;
+ this = (widget_t *)listWidgetLabelScore->list[i];
+ drawWidgetLabel(this);
+ }
}
-void
-eventScreenTable()
+void eventScreenTable()
{
- eventWidgetButton(button_back);
+ eventWidgetButton(button_back);
}
-void
-stopScreenTable()
+void stopScreenTable()
{
}
-static void
-eventWidget(void *p)
+static void eventWidget(void *p)
{
- widget_t *button;
-
- button = (widget_t *) (p);
-
- if (button == button_back) {
- setScreen("mainMenu");
- }
+ widget_t *button;
+
+ button = (widget_t *)(p);
+
+ if( button == button_back )
+ {
+ setScreen("mainMenu");
+ }
}
-static void
-setWidgetLabel()
+static void setWidgetLabel()
{
- int i;
-
- if (textFile == NULL) {
- fprintf(stderr, _("Highscore file: \"%s\" was not loaded!"),
- SCREEN_TABLE_FILE_HIGHSCORE_NAME);
-
- return;
- }
-
- if (listWidgetLabelNumer != NULL ||
- listWidgetLabelName != NULL || listWidgetLabelScore != NULL) {
- destroyListItem(listWidgetLabelNumer, destroyWidgetLabel);
- destroyListItem(listWidgetLabelName, destroyWidgetLabel);
- destroyListItem(listWidgetLabelScore, destroyWidgetLabel);
- }
-
- listWidgetLabelNumer = newList();
- listWidgetLabelName = newList();
- listWidgetLabelScore = newList();
-
- for (i = 0; i < SCREEN_TABLE_MAX_PLAYERS; i++) {
- widget_t *label;
- char name[STR_NAME_SIZE];
- char score[STR_NUM_SIZE];
- char num[STR_NUM_SIZE];
- char *line;
-
- line = (char *) textFile->text->list[i];
-
- sscanf(line, "%s %s", name, score);
- sprintf(num, "%2d)", i + 1);
-
- label =
- newWidgetLabel(num, WINDOW_SIZE_X / 2 - 100, 200 + i * 20,
- WIDGET_LABEL_LEFT);
- addList(listWidgetLabelNumer, label);
-
- label =
- newWidgetLabel(name, WINDOW_SIZE_X / 2, 200 + i * 20,
- WIDGET_LABEL_CENTER);
- addList(listWidgetLabelName, label);
-
- label =
- newWidgetLabel(score, WINDOW_SIZE_X / 2 + 80, 200 + i * 20,
- WIDGET_LABEL_LEFT);
- addList(listWidgetLabelScore, label);
- }
+ int i;
+
+ if( textFile == NULL )
+ {
+ fprintf(stderr, _("Highscore file: \"%s\" was not loaded!"),
+ SCREEN_TABLE_FILE_HIGHSCORE_NAME);
+
+ return;
+ }
+
+ if( listWidgetLabelNumer != NULL ||
+ listWidgetLabelName != NULL ||
+ listWidgetLabelScore != NULL )
+ {
+ destroyListItem(listWidgetLabelNumer, destroyWidgetLabel);
+ destroyListItem(listWidgetLabelName, destroyWidgetLabel);
+ destroyListItem(listWidgetLabelScore, destroyWidgetLabel);
+ }
+
+ listWidgetLabelNumer = newList();
+ listWidgetLabelName = newList();
+ listWidgetLabelScore = newList();
+
+ for( i = 0 ; i < SCREEN_TABLE_MAX_PLAYERS ; i++ )
+ {
+ widget_t *label;
+ char name[STR_NAME_SIZE];
+ char score[STR_NUM_SIZE];
+ char num[STR_NUM_SIZE];
+ char *line;
+
+ line = (char *) textFile->text->list[i];
+
+ sscanf(line, "%s %s", name, score);
+ sprintf(num, "%2d)", i+1);
+
+ label = newWidgetLabel(num, WINDOW_SIZE_X/2 - 100, 200 + i * 20, WIDGET_LABEL_LEFT);
+ addList(listWidgetLabelNumer, label);
+
+ label = newWidgetLabel(name, WINDOW_SIZE_X/2, 200 + i * 20, WIDGET_LABEL_CENTER);
+ addList(listWidgetLabelName, label);
+
+ label = newWidgetLabel(score, WINDOW_SIZE_X/2 + 80, 200 + i * 20, WIDGET_LABEL_LEFT);
+ addList(listWidgetLabelScore, label);
+ }
}
-static void
-loadHighscoreFile()
+static void loadHighscoreFile()
{
- char path[STR_PATH_SIZE];
- int i;
-
- sprintf(path, "%s/" SCREEN_TABLE_FILE_HIGHSCORE_NAME, getHomeDirector());
- textFile = loadTextFile(path);
-
- if (textFile == NULL) {
- fprintf(stderr, _("I am unable to load: \"%s\" !\n"), path);
- fprintf(stderr, _("Creating: \"%s\"\n"), path);
- textFile = newTextFile(path);
- }
- else {
- return;
- }
-
- if (textFile == NULL) {
- fprintf(stderr, _("I was unable to create: \"%s\" !\n"), path);
- return;
- }
-
- for (i = 0; i < SCREEN_TABLE_MAX_PLAYERS; i++) {
- addList(textFile->text, strdup("no_name 0"));
- }
-
- saveTextFile(textFile);
+ char path[STR_PATH_SIZE];
+ int i;
+
+ sprintf(path, "%s/" SCREEN_TABLE_FILE_HIGHSCORE_NAME , getHomeDirector());
+ textFile = loadTextFile(path);
+
+ if( textFile == NULL )
+ {
+ fprintf(stderr, _("I am unable to load: \"%s\" !\n"), path);
+ fprintf(stderr, _("Creating: \"%s\"\n"), path);
+ textFile = newTextFile(path);
+ }
+ else
+ {
+ return;
+ }
+
+ if( textFile == NULL )
+ {
+ fprintf(stderr, _("I was unable to create: \"%s\" !\n"), path);
+ return;
+ }
+
+ for( i = 0 ; i < SCREEN_TABLE_MAX_PLAYERS ; i++ )
+ {
+ addList(textFile->text, strdup("no_name 0") );
+ }
+
+ saveTextFile(textFile);
}
-int
-addPlayerInHighScore(char *name, int score)
+int addPlayerInHighScore(char *name, int score)
{
- int i;
-
- for (i = 0; i < SCREEN_TABLE_MAX_PLAYERS; i++) {
- char *line;
- char thisName[STR_NAME_SIZE];
- int thisCore;
-
- line = (char *) textFile->text->list[i];
- sscanf(line, "%s %d", thisName, &thisCore);
-
- if (score >= thisCore) {
- char new[STR_SIZE];
-
- sprintf(new, "%s %d", name, score);
- insList(textFile->text, i, strdup(new));
- delListItem(textFile->text, SCREEN_TABLE_MAX_PLAYERS, free);
- setWidgetLabel();
-
- return 0;
- }
- }
-
- return -1;
+ int i;
+
+ for( i = 0 ; i < SCREEN_TABLE_MAX_PLAYERS ; i++ )
+ {
+ char *line;
+ char thisName[STR_NAME_SIZE];
+ int thisCore;
+
+ line = (char *) textFile->text->list[i];
+ sscanf(line, "%s %d", thisName, &thisCore);
+
+ if( score >= thisCore )
+ {
+ char new[STR_SIZE];
+
+ sprintf(new, "%s %d", name, score);
+ insList(textFile->text, i, strdup(new) );
+ delListItem(textFile->text, SCREEN_TABLE_MAX_PLAYERS, free);
+ setWidgetLabel();
+
+ return 0;
+ }
+ }
+
+ return -1;
}
-void
-initScreenTable()
+void initScreenTable()
{
- image_t *image;
+ image_t *image;
- image =
- addImageData("screen_table.png", IMAGE_NO_ALPHA, "screen_table",
- IMAGE_GROUP_BASE);
- image_backgorund = newWidgetImage(0, 0, image);
+ image = addImageData("screen_table.png", IMAGE_NO_ALPHA, "screen_table", IMAGE_GROUP_BASE);
+ image_backgorund = newWidgetImage(0, 0, image);
- button_back =
- newWidgetButton(_("back"), WINDOW_SIZE_X / 2 - WIDGET_BUTTON_WIDTH / 2,
- WINDOW_SIZE_Y - 100, eventWidget);
+ button_back = newWidgetButton(_("back"), WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2,
+ WINDOW_SIZE_Y-100, eventWidget);
- loadHighscoreFile();
- listWidgetLabelNumer = NULL;
- listWidgetLabelName = NULL;
- listWidgetLabelScore = NULL;
- setWidgetLabel();
+ loadHighscoreFile();
+ listWidgetLabelNumer = NULL;
+ listWidgetLabelName = NULL;
+ listWidgetLabelScore = NULL;
+ setWidgetLabel();
- registerScreen(newScreen("table", startScreenTable, eventScreenTable,
- drawScreenTable, stopScreenTable));
+ registerScreen( newScreen("table", startScreenTable, eventScreenTable,
+ drawScreenTable, stopScreenTable) );
}
-void
-quitScreenTable()
+void quitScreenTable()
{
- destroyWidgetImage(image_backgorund);
-
- destroyWidgetButton(button_back);
- destroyListItem(listWidgetLabelNumer, destroyWidgetLabel);
- destroyListItem(listWidgetLabelName, destroyWidgetLabel);
- destroyListItem(listWidgetLabelScore, destroyWidgetLabel);
-
- if (textFile != NULL) {
- saveTextFile(textFile);
- destroyTextFile(textFile);
- }
+ destroyWidgetImage(image_backgorund);
+
+ destroyWidgetButton(button_back);
+ destroyListItem(listWidgetLabelNumer, destroyWidgetLabel);
+ destroyListItem(listWidgetLabelName, destroyWidgetLabel);
+ destroyListItem(listWidgetLabelScore, destroyWidgetLabel);
+
+ if( textFile != NULL )
+ {
+ saveTextFile(textFile);
+ destroyTextFile(textFile);
+ }
}
+
diff --git a/src/screen/screen_table.c~ b/src/screen/screen_table.c~
deleted file mode 100644
index f4c981c..0000000
--- a/src/screen/screen_table.c~
+++ /dev/null
@@ -1,238 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "textFile.h"
-#include "homeDirector.h"
-
-#include "interface.h"
-#include "screen.h"
-#include "image.h"
-
-#ifndef NO_SOUND
-#include "music.h"
-#endif
-
-#include "screen_table.h"
-
-#include "widget_image.h"
-#include "widget_label.h"
-#include "widget_button.h"
-
-static widget_t *image_backgorund;
-static widget_t *button_back;
-
-static list_t *listWidgetLabelNumer;
-static list_t *listWidgetLabelName;
-static list_t *listWidgetLabelScore;
-
-static textFile_t *textFile;
-
-void startScreenTable()
-{
-#ifndef NO_SOUND
- playMusic("menu", MUSIC_GROUP_BASE);
-#endif
-}
-
-void drawScreenTable()
-{
- int i;
-
- drawWidgetImage(image_backgorund);
-
- drawWidgetButton(button_back);
-
- for( i = 0 ; i < listWidgetLabelNumer->count ; i++ )
- {
- widget_t *this;
- this = (widget_t *)listWidgetLabelNumer->list[i];
- drawWidgetLabel(this);
- }
-
- for( i = 0 ; i < listWidgetLabelName->count ; i++ )
- {
- widget_t *this;
- this = (widget_t *)listWidgetLabelName->list[i];
- drawWidgetLabel(this);
- }
-
- for( i = 0 ; i < listWidgetLabelScore->count ; i++ )
- {
- widget_t *this;
- this = (widget_t *)listWidgetLabelScore->list[i];
- drawWidgetLabel(this);
- }
-}
-
-void eventScreenTable()
-{
- eventWidgetButton(button_back);
-}
-
-void stopScreenTable()
-{
-}
-
-static void eventWidget(void *p)
-{
- widget_t *button;
-
- button = (widget_t *)(p);
-
- if( button == button_back )
- {
- setScreen("mainMenu");
- }
-}
-
-static void setWidgetLabel()
-{
- int i;
-
- if( textFile == NULL )
- {
- fprintf(stderr, _("Highscore file: \"%s\" was not loaded!"),
- SCREEN_TABLE_FILE_HIGHSCORE_NAME);
-
- return;
- }
-
- if( listWidgetLabelNumer != NULL ||
- listWidgetLabelName != NULL ||
- listWidgetLabelScore != NULL )
- {
- destroyListItem(listWidgetLabelNumer, destroyWidgetLabel);
- destroyListItem(listWidgetLabelName, destroyWidgetLabel);
- destroyListItem(listWidgetLabelScore, destroyWidgetLabel);
- }
-
- listWidgetLabelNumer = newList();
- listWidgetLabelName = newList();
- listWidgetLabelScore = newList();
-
- for( i = 0 ; i < SCREEN_TABLE_MAX_PLAYERS ; i++ )
- {
- widget_t *label;
- char name[STR_NAME_SIZE];
- char score[STR_NUM_SIZE];
- char num[STR_NUM_SIZE];
- char *line;
-
- line = (char *) textFile->text->list[i];
-
- sscanf(line, "%s %s", name, score);
- sprintf(num, "%2d)", i+1);
-
- label = newWidgetLabel(num, WINDOW_SIZE_X/2 - 100, 200 + i * 20, WIDGET_LABEL_LEFT);
- addList(listWidgetLabelNumer, label);
-
- label = newWidgetLabel(name, WINDOW_SIZE_X/2, 200 + i * 20, WIDGET_LABEL_CENTER);
- addList(listWidgetLabelName, label);
-
- label = newWidgetLabel(score, WINDOW_SIZE_X/2 + 80, 200 + i * 20, WIDGET_LABEL_LEFT);
- addList(listWidgetLabelScore, label);
- }
-}
-
-static void loadHighscoreFile()
-{
- char path[STR_PATH_SIZE];
- int i;
-
- sprintf(path, "%s/" SCREEN_TABLE_FILE_HIGHSCORE_NAME , getHomeDirector());
- textFile = loadTextFile(path);
-
- if( textFile == NULL )
- {
- fprintf(stderr, _("I am unable to load: \"%s\" !\n"), path);
- fprintf(stderr, _("Creating: \"%s\"\n"), path);
- textFile = newTextFile(path);
- }
- else
- {
- return;
- }
-
- if( textFile == NULL )
- {
- fprintf(stderr, _("I was unable to create: \"%s\" !\n"), path);
- return;
- }
-
- for( i = 0 ; i < SCREEN_TABLE_MAX_PLAYERS ; i++ )
- {
- addList(textFile->text, strdup("no_name 0") );
- }
-
- saveTextFile(textFile);
-}
-
-int addPlayerInHighScore(char *name, int score)
-{
- int i;
-
- for( i = 0 ; i < SCREEN_TABLE_MAX_PLAYERS ; i++ )
- {
- char *line;
- char thisName[STR_NAME_SIZE];
- int thisCore;
-
- line = (char *) textFile->text->list[i];
- sscanf(line, "%s %d", thisName, &thisCore);
-
- if( score >= thisCore )
- {
- char new[STR_SIZE];
-
- sprintf(new, "%s %d", name, score);
- insList(textFile->text, i, strdup(new) );
- delListItem(textFile->text, SCREEN_TABLE_MAX_PLAYERS, free);
- setWidgetLabel();
-
- return 0;
- }
- }
-
- return -1;
-}
-
-void initScreenTable()
-{
- image_t *image;
-
- image = addImageData("screen_table.png", IMAGE_NO_ALPHA, "screen_table", IMAGE_GROUP_BASE);
- image_backgorund = newWidgetImage(0, 0, image);
-
- button_back = newWidgetButton(_("back"), WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2,
- WINDOW_SIZE_Y-100, eventWidget);
-
- loadHighscoreFile();
- listWidgetLabelNumer = NULL;
- listWidgetLabelName = NULL;
- listWidgetLabelScore = NULL;
- setWidgetLabel();
-
- registerScreen( newScreen("table", startScreenTable, eventScreenTable,
- drawScreenTable, stopScreenTable) );
-}
-
-void quitScreenTable()
-{
- destroyWidgetImage(image_backgorund);
-
- destroyWidgetButton(button_back);
- destroyListItem(listWidgetLabelNumer, destroyWidgetLabel);
- destroyListItem(listWidgetLabelName, destroyWidgetLabel);
- destroyListItem(listWidgetLabelScore, destroyWidgetLabel);
-
- if( textFile != NULL )
- {
- saveTextFile(textFile);
- destroyTextFile(textFile);
- }
-}
-
diff --git a/src/screen/screen_world.c b/src/screen/screen_world.c
index 6485d1a..cdf66ab 100644
--- a/src/screen/screen_world.c
+++ b/src/screen/screen_world.c
@@ -53,580 +53,571 @@ static bool_t isEndWorld;
static tux_t *tuxWithControlRightKeyboard;
static tux_t *tuxWithControlLeftKeyboard;
-bool_t
-isScreenWorldInicialized()
+bool_t isScreenWorldInicialized()
{
- return isScreenWorldInit;
+ return isScreenWorldInit;
}
-void
-setGameType()
+void setGameType()
{
- int ret = 0;
+ int ret = 0;
- ret =
- initNetMuliplayer(getSettingGameType(), getSettingIP(),
- getSettingPort(), getSettingProto());
+ ret = initNetMuliplayer( getSettingGameType(), getSettingIP(), getSettingPort(), getSettingProto() );
- if (ret != 0) {
- fprintf(stderr, _("Network initialization error!\n"));
- setWorldEnd();
- }
+ if( ret != 0 )
+ {
+ fprintf(stderr, _("Network initialization error!\n"));
+ setWorldEnd();
+ }
}
-void
-setWorldArena(arenaFile_t * arenaFile)
+void setWorldArena(arenaFile_t *arenaFile)
{
- arena = getArena(arenaFile);
+ arena = getArena(arenaFile);
#ifndef NO_SOUND
- playMusic(arena->music, MUSIC_GROUP_USER);
+ playMusic(arena->music, MUSIC_GROUP_USER);
#endif
}
-void
-setWorldEnd()
+void setWorldEnd()
{
- isEndWorld = TRUE;
+ isEndWorld = TRUE;
}
-static void
-timer_endArena()
+static void timer_endArena()
{
- if (getNetTypeGame() != NET_GAME_TYPE_CLIENT) {
- setWorldEnd();
- return;
- }
+ if( getNetTypeGame() != NET_GAME_TYPE_CLIENT )
+ {
+ setWorldEnd();
+ return;
+ }
}
-void
-countRoundInc()
+void countRoundInc()
{
- if (arena->max_countRound == WORLD_COUNT_ROUND_UNLIMITED ||
- arena->countRound >= arena->max_countRound) {
- return;
- }
-
- arena->countRound++;
- //printf("count %d/%d\n", count, max_count);
-
- if (arena->countRound >= arena->max_countRound) {
- //printf("count %d ending\n", count);
+ if( arena->max_countRound == WORLD_COUNT_ROUND_UNLIMITED ||
+ arena->countRound >= arena->max_countRound )
+ {
+ return;
+ }
+
+ arena->countRound++;
+ //printf("count %d/%d\n", count, max_count);
+
+ if( arena->countRound >= arena->max_countRound )
+ {
+ //printf("count %d ending\n", count);
#ifndef NO_SOUND
- playSound("end", SOUND_GROUP_BASE);
+ playSound("end", SOUND_GROUP_BASE);
#endif
- addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_endArena,
- NULL, TIMER_END_ARENA);
- }
+ addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_endArena, NULL, TIMER_END_ARENA);
+ }
}
-void
-prepareArena()
+void prepareArena()
{
- tux_t *tux;
- char name[STR_NAME_SIZE];
-
- //printf("getSettingAI = %s\n", getSettingAI());
- setCurrentArena(NULL);
- tuxWithControlRightKeyboard = NULL;
- tuxWithControlLeftKeyboard = NULL;
-
- if (getGemeTypeLoadSession() != NULL) {
- loadArena(getGemeTypeLoadSession());
- return;
- }
-
- switch (getNetTypeGame()) {
- case NET_GAME_TYPE_NONE:
- setWorldArena(getChoiceArena());
- addNewItem(arena->spaceItem, ID_UNKNOWN);
- getSettingCountRound(&arena->max_countRound);
-
- tux = newTux();
- tux->control = TUX_CONTROL_KEYBOARD_RIGHT;
- tuxWithControlRightKeyboard = tux;
- getSettingNameRight(name);
- tuxSetName(tux, name);
- addObjectToSpace(arena->spaceTux, tux);
-
- tux = newTux();
- tux->control = TUX_CONTROL_KEYBOARD_LEFT;
- tuxWithControlLeftKeyboard = tux;
- getSettingNameLeft(name);
- tuxSetName(tux, name);
- addObjectToSpace(arena->spaceTux, tux);
-
- if (isSettingAI()) {
- tux->control = TUX_CONTROL_AI;
-
- if (loadModule("libmodAI") != 0) {
- tux->control = TUX_CONTROL_KEYBOARD_LEFT;
- }
- }
-
- //printf("getGemeTypeLoadSession = %s\n", getGemeTypeLoadSession());
-
- break;
-
- case NET_GAME_TYPE_SERVER:
- setWorldArena(getChoiceArena());
- addNewItem(arena->spaceItem, ID_UNKNOWN);
- getSettingCountRound(&arena->max_countRound);
-
- tux = newTux();
- tux->control = TUX_CONTROL_KEYBOARD_RIGHT;
- tuxWithControlRightKeyboard = tux;
- getSettingNameRight(name);
- tuxSetName(tux, name);
- addObjectToSpace(arena->spaceTux, tux);
- break;
-
- case NET_GAME_TYPE_CLIENT:
- break;
- }
+ tux_t *tux;
+ char name[STR_NAME_SIZE];
+
+ //printf("getSettingAI = %s\n", getSettingAI());
+ setCurrentArena(NULL);
+ tuxWithControlRightKeyboard = NULL;
+ tuxWithControlLeftKeyboard = NULL;
+
+ if( getGemeTypeLoadSession() != NULL )
+ {
+ loadArena(getGemeTypeLoadSession());
+ return;
+ }
+
+ switch( getNetTypeGame() )
+ {
+ case NET_GAME_TYPE_NONE :
+ setWorldArena( getChoiceArena() );
+ addNewItem(arena->spaceItem, ID_UNKNOWN);
+ getSettingCountRound(&arena->max_countRound);
+
+ tux = newTux();
+ tux->control = TUX_CONTROL_KEYBOARD_RIGHT;
+ tuxWithControlRightKeyboard = tux;
+ getSettingNameRight(name);
+ tuxSetName(tux, name);
+ addObjectToSpace(arena->spaceTux, tux);
+
+ tux = newTux();
+ tux->control = TUX_CONTROL_KEYBOARD_LEFT;
+ tuxWithControlLeftKeyboard = tux;
+ getSettingNameLeft(name);
+ tuxSetName(tux, name);
+ addObjectToSpace(arena->spaceTux, tux);
+
+ if( isSettingAI() )
+ {
+ tux->control = TUX_CONTROL_AI;
+
+ if( loadModule("libmodAI") != 0 )
+ {
+ tux->control = TUX_CONTROL_KEYBOARD_LEFT;
+ }
+ }
+
+ //printf("getGemeTypeLoadSession = %s\n", getGemeTypeLoadSession());
+
+ break;
+
+ case NET_GAME_TYPE_SERVER :
+ setWorldArena( getChoiceArena() );
+ addNewItem(arena->spaceItem, ID_UNKNOWN);
+ getSettingCountRound(&arena->max_countRound);
+
+ tux = newTux();
+ tux->control = TUX_CONTROL_KEYBOARD_RIGHT;
+ tuxWithControlRightKeyboard = tux;
+ getSettingNameRight(name);
+ tuxSetName(tux, name);
+ addObjectToSpace(arena->spaceTux, tux);
+ break;
+
+ case NET_GAME_TYPE_CLIENT :
+ break;
+ }
}
-void
-drawWorld()
+void drawWorld()
{
- if (arena != NULL) {
- drawArena(arena);
- drawPanel(tuxWithControlRightKeyboard, tuxWithControlLeftKeyboard);
-
- if (arena->w > WINDOW_SIZE_X || arena->h > WINDOW_SIZE_Y) {
- drawRadar(arena);
- }
- }
-
- drawChat();
- drawPauza();
- drawTerm();
- drawSaveDialog();
+ if( arena != NULL )
+ {
+ drawArena(arena);
+ drawPanel(tuxWithControlRightKeyboard, tuxWithControlLeftKeyboard);
+
+ if( arena->w > WINDOW_SIZE_X || arena->h > WINDOW_SIZE_Y )
+ {
+ drawRadar(arena);
+ }
+ }
+
+ drawChat();
+ drawPauza();
+ drawTerm();
+ drawSaveDialog();
}
-static void
-netAction(tux_t * tux, int action)
+static void netAction(tux_t *tux, int action)
{
- if (getSettingGameType() == NET_GAME_TYPE_SERVER) {
- proto_send_event_server(PROTO_SEND_ALL_SEES_TUX, NULL, tux, action);
- }
-
- if (getSettingGameType() == NET_GAME_TYPE_CLIENT) {
- proto_send_event_client(action);
- }
+ if( getSettingGameType() == NET_GAME_TYPE_SERVER )
+ {
+ proto_send_event_server(PROTO_SEND_ALL_SEES_TUX, NULL, tux , action);
+ }
+
+ if( getSettingGameType() == NET_GAME_TYPE_CLIENT )
+ {
+ proto_send_event_client(action);
+ }
}
-static void
-control_keyboard_right(tux_t * tux)
+static void control_keyboard_right(tux_t *tux)
{
- static int lastKey = 0;
- int countKey;
- Uint8 *mapa;
- mapa = SDL_GetKeyState(NULL);
-
- assert(tux != NULL);
- assert(mapa != NULL);
-
- countKey = 0;
-
- if (mapa[(SDLKey) getKey(KEY_TUX_RIGHT_MOVE_UP)] == SDL_PRESSED)
- countKey++;
- if (mapa[(SDLKey) getKey(KEY_TUX_RIGHT_MOVE_RIGHT)] == SDL_PRESSED)
- countKey++;
- if (mapa[(SDLKey) getKey(KEY_TUX_RIGHT_MOVE_LEFT)] == SDL_PRESSED)
- countKey++;
- if (mapa[(SDLKey) getKey(KEY_TUX_RIGHT_MOVE_DOWN)] == SDL_PRESSED)
- countKey++;
-
- if (mapa[(SDLKey) getKey(KEY_TUX_RIGHT_SWITCH_WEAPON)] == SDL_PRESSED
- && tux->isCanSwitchGun == TRUE) {
- netAction(tux, TUX_SWITCH_GUN);
- actionTux(tux, TUX_SWITCH_GUN);
- return;
- }
-
- if (mapa[(SDLKey) getKey(KEY_TUX_RIGHT_SHOOT)] == SDL_PRESSED
- && tux->isCanShot == TRUE) {
- netAction(tux, TUX_SHOT);
- actionTux(tux, TUX_SHOT);
- return;
- }
-
- if (mapa[(SDLKey) getKey(KEY_TUX_RIGHT_MOVE_UP)] == SDL_PRESSED) {
- if (countKey > 1 && lastKey == getKey(KEY_TUX_RIGHT_MOVE_UP))
- goto tuUp;
-
- if (countKey == 1)
- lastKey = getKey(KEY_TUX_RIGHT_MOVE_UP);
- netAction(tux, TUX_UP);
- actionTux(tux, TUX_UP);
- return;
-
- tuUp:;
- }
-
- if (mapa[(SDLKey) getKey(KEY_TUX_RIGHT_MOVE_RIGHT)] == SDL_PRESSED) {
- if (countKey > 1 && lastKey == getKey(KEY_TUX_RIGHT_MOVE_RIGHT))
- goto tuRight;
-
- if (countKey == 1)
- lastKey = getKey(KEY_TUX_RIGHT_MOVE_RIGHT);
- netAction(tux, TUX_RIGHT);
- actionTux(tux, TUX_RIGHT);
- return;
-
- tuRight:;
-
- }
-
- if (mapa[(SDLKey) getKey(KEY_TUX_RIGHT_MOVE_LEFT)] == SDL_PRESSED) {
- if (countKey > 1 && lastKey == getKey(KEY_TUX_RIGHT_MOVE_LEFT))
- goto tuLeft;
-
- if (countKey == 1)
- lastKey = getKey(KEY_TUX_RIGHT_MOVE_LEFT);
- netAction(tux, TUX_LEFT);
- actionTux(tux, TUX_LEFT);
- return;
-
- tuLeft:;
- }
-
- if (mapa[(SDLKey) getKey(KEY_TUX_RIGHT_MOVE_DOWN)] == SDL_PRESSED) {
- if (countKey > 1 && lastKey == getKey(KEY_TUX_RIGHT_MOVE_DOWN))
- goto tuDown;
-
- if (countKey == 1)
- lastKey = getKey(KEY_TUX_RIGHT_MOVE_DOWN);
- netAction(tux, TUX_DOWN);
- actionTux(tux, TUX_DOWN);
- return;
-
- tuDown:;
- }
+ static int lastKey = 0;
+ int countKey;
+ Uint8 *mapa;
+ mapa = SDL_GetKeyState(NULL);
+
+ assert( tux != NULL );
+ assert( mapa != NULL );
+
+ countKey = 0;
+
+ if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_MOVE_UP)] == SDL_PRESSED )countKey++;
+ if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_MOVE_RIGHT)] == SDL_PRESSED )countKey++;
+ if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_MOVE_LEFT)] == SDL_PRESSED )countKey++;
+ if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_MOVE_DOWN)] == SDL_PRESSED )countKey++;
+
+ if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_SWITCH_WEAPON)] == SDL_PRESSED && tux->isCanSwitchGun == TRUE )
+ {
+ netAction(tux, TUX_SWITCH_GUN);
+ actionTux(tux, TUX_SWITCH_GUN);
+ return;
+ }
+
+ if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_SHOOT)] == SDL_PRESSED && tux->isCanShot == TRUE )
+ {
+ netAction(tux, TUX_SHOT);
+ actionTux(tux, TUX_SHOT);
+ return;
+ }
+
+ if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_MOVE_UP)] == SDL_PRESSED )
+ {
+ if(countKey > 1 && lastKey == getKey(KEY_TUX_RIGHT_MOVE_UP) )goto tuUp;
+
+ if( countKey == 1 )lastKey = getKey(KEY_TUX_RIGHT_MOVE_UP);
+ netAction(tux, TUX_UP);
+ actionTux(tux, TUX_UP);
+ return;
+
+ tuUp:;
+ }
+
+ if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_MOVE_RIGHT)] == SDL_PRESSED )
+ {
+ if(countKey > 1 && lastKey == getKey(KEY_TUX_RIGHT_MOVE_RIGHT) )goto tuRight;
+
+ if( countKey == 1 )lastKey = getKey(KEY_TUX_RIGHT_MOVE_RIGHT);
+ netAction(tux, TUX_RIGHT);
+ actionTux(tux, TUX_RIGHT);
+ return;
+
+ tuRight:;
+
+ }
+
+ if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_MOVE_LEFT)] == SDL_PRESSED )
+ {
+ if(countKey > 1 && lastKey == getKey(KEY_TUX_RIGHT_MOVE_LEFT) )goto tuLeft;
+
+ if( countKey == 1 )lastKey = getKey(KEY_TUX_RIGHT_MOVE_LEFT);
+ netAction(tux, TUX_LEFT);
+ actionTux(tux, TUX_LEFT);
+ return;
+
+ tuLeft:;
+ }
+
+ if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_MOVE_DOWN)] == SDL_PRESSED )
+ {
+ if(countKey > 1 && lastKey == getKey(KEY_TUX_RIGHT_MOVE_DOWN) )goto tuDown;
+
+ if( countKey == 1 )lastKey = getKey(KEY_TUX_RIGHT_MOVE_DOWN);
+ netAction(tux, TUX_DOWN);
+ actionTux(tux, TUX_DOWN);
+ return;
+
+ tuDown:;
+ }
}
-static void
-control_keyboard_left(tux_t * tux)
+static void control_keyboard_left(tux_t *tux)
{
- static int lastKey = 0;
- int countKey;
- Uint8 *mapa;
- mapa = SDL_GetKeyState(NULL);
-
- assert(tux != NULL);
- assert(mapa != NULL);
-
- countKey = 0;
-
- if (mapa[(SDLKey) getKey(KEY_TUX_LEFT_MOVE_UP)] == SDL_PRESSED)
- countKey++;
- if (mapa[(SDLKey) getKey(KEY_TUX_LEFT_MOVE_RIGHT)] == SDL_PRESSED)
- countKey++;
- if (mapa[(SDLKey) getKey(KEY_TUX_LEFT_MOVE_LEFT)] == SDL_PRESSED)
- countKey++;
- if (mapa[(SDLKey) getKey(KEY_TUX_LEFT_MOVE_DOWN)] == SDL_PRESSED)
- countKey++;
-
- if (mapa[(SDLKey) getKey(KEY_TUX_LEFT_SWITCH_WEAPON)] == SDL_PRESSED) {
- if (tux->isCanSwitchGun == TRUE) {
- actionTux(tux, TUX_SWITCH_GUN);
- return;
- }
- }
-
- if (mapa[(SDLKey) getKey(KEY_TUX_LEFT_SHOOT)] == SDL_PRESSED
- && tux->isCanShot == TRUE) {
- actionTux(tux, TUX_SHOT);
- return;
- }
-
- if (mapa[(SDLKey) getKey(KEY_TUX_LEFT_MOVE_UP)] == SDL_PRESSED) {
- if (countKey > 1 && lastKey == getKey(KEY_TUX_LEFT_MOVE_UP))
- goto tuUp;
-
- if (countKey == 1)
- lastKey = getKey(KEY_TUX_LEFT_MOVE_UP);
- actionTux(tux, TUX_UP);
- return;
-
- tuUp:;
- }
-
- if (mapa[(SDLKey) getKey(KEY_TUX_LEFT_MOVE_RIGHT)] == SDL_PRESSED) {
- if (countKey > 1 && lastKey == getKey(KEY_TUX_LEFT_MOVE_RIGHT))
- goto tuRight;
-
- if (countKey == 1)
- lastKey = getKey(KEY_TUX_LEFT_MOVE_RIGHT);
- actionTux(tux, TUX_RIGHT);
- return;
-
- tuRight:;
-
- }
-
- if (mapa[(SDLKey) getKey(KEY_TUX_LEFT_MOVE_LEFT)] == SDL_PRESSED) {
- if (countKey > 1 && lastKey == getKey(KEY_TUX_LEFT_MOVE_LEFT))
- goto tuLeft;
-
- if (countKey == 1)
- lastKey = getKey(KEY_TUX_LEFT_MOVE_LEFT);
- actionTux(tux, TUX_LEFT);
- return;
-
- tuLeft:;
- }
-
- if (mapa[(SDLKey) getKey(KEY_TUX_LEFT_MOVE_DOWN)] == SDL_PRESSED) {
- if (countKey > 1 && lastKey == getKey(KEY_TUX_LEFT_MOVE_DOWN))
- goto tuDown;
-
- if (countKey == 1)
- lastKey = getKey(KEY_TUX_LEFT_MOVE_DOWN);
- actionTux(tux, TUX_DOWN);
- return;
-
- tuDown:;
- }
+ static int lastKey = 0;
+ int countKey;
+ Uint8 *mapa;
+ mapa = SDL_GetKeyState(NULL);
+
+ assert( tux != NULL );
+ assert( mapa != NULL );
+
+ countKey = 0;
+
+ if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_MOVE_UP)] == SDL_PRESSED )countKey++;
+ if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_MOVE_RIGHT)] == SDL_PRESSED )countKey++;
+ if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_MOVE_LEFT)] == SDL_PRESSED )countKey++;
+ if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_MOVE_DOWN)] == SDL_PRESSED )countKey++;
+
+ if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_SWITCH_WEAPON)] == SDL_PRESSED )
+ {
+ if( tux->isCanSwitchGun == TRUE )
+ {
+ actionTux(tux, TUX_SWITCH_GUN);
+ return;
+ }
+ }
+
+ if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_SHOOT)] == SDL_PRESSED && tux->isCanShot == TRUE )
+ {
+ actionTux(tux, TUX_SHOT);
+ return;
+ }
+
+ if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_MOVE_UP)] == SDL_PRESSED )
+ {
+ if(countKey > 1 && lastKey == getKey(KEY_TUX_LEFT_MOVE_UP) )goto tuUp;
+
+ if( countKey == 1 )lastKey = getKey(KEY_TUX_LEFT_MOVE_UP);
+ actionTux(tux, TUX_UP);
+ return;
+
+ tuUp:;
+ }
+
+ if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_MOVE_RIGHT)] == SDL_PRESSED )
+ {
+ if(countKey > 1 && lastKey == getKey(KEY_TUX_LEFT_MOVE_RIGHT) )goto tuRight;
+
+ if( countKey == 1 )lastKey = getKey(KEY_TUX_LEFT_MOVE_RIGHT);
+ actionTux(tux, TUX_RIGHT);
+ return;
+
+ tuRight:;
+
+ }
+
+ if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_MOVE_LEFT)] == SDL_PRESSED )
+ {
+ if(countKey > 1 && lastKey == getKey(KEY_TUX_LEFT_MOVE_LEFT) )goto tuLeft;
+
+ if( countKey == 1 )lastKey = getKey(KEY_TUX_LEFT_MOVE_LEFT);
+ actionTux(tux, TUX_LEFT);
+ return;
+
+ tuLeft:;
+ }
+
+ if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_MOVE_DOWN)] == SDL_PRESSED )
+ {
+ if(countKey > 1 && lastKey == getKey(KEY_TUX_LEFT_MOVE_DOWN) )goto tuDown;
+
+ if( countKey == 1 )lastKey = getKey(KEY_TUX_LEFT_MOVE_DOWN);
+ actionTux(tux, TUX_DOWN);
+ return;
+
+ tuDown:;
+ }
}
-static void
-eventEnd()
+static void eventEnd()
{
- if (isEndWorld == TRUE) {
- setScreen("analyze");
- return;
- }
+ if( isEndWorld == TRUE )
+ {
+ setScreen("analyze");
+ return;
+ }
}
-tux_t *
-getControlTux(int control_type)
+tux_t* getControlTux(int control_type)
{
- switch (control_type) {
- case TUX_CONTROL_KEYBOARD_RIGHT:
- return tuxWithControlRightKeyboard;
- break;
- case TUX_CONTROL_KEYBOARD_LEFT:
- return tuxWithControlLeftKeyboard;
- break;
- }
-
- return NULL;
+ switch(control_type)
+ {
+ case TUX_CONTROL_KEYBOARD_RIGHT :
+ return tuxWithControlRightKeyboard;
+ break;
+ case TUX_CONTROL_KEYBOARD_LEFT :
+ return tuxWithControlLeftKeyboard;
+ break;
+ }
+
+ return NULL;
}
-void
-setControlTux(tux_t * tux, int control_type)
+void setControlTux(tux_t *tux, int control_type)
{
- switch (control_type) {
- case TUX_CONTROL_KEYBOARD_RIGHT:
- tuxWithControlRightKeyboard = tux;
- break;
- case TUX_CONTROL_KEYBOARD_LEFT:
- tuxWithControlLeftKeyboard = tux;
- break;
- }
+ switch(control_type)
+ {
+ case TUX_CONTROL_KEYBOARD_RIGHT :
+ tuxWithControlRightKeyboard = tux;
+ break;
+ case TUX_CONTROL_KEYBOARD_LEFT :
+ tuxWithControlLeftKeyboard = tux;
+ break;
+ }
}
-void
-tuxControl(tux_t * p)
+void tuxControl(tux_t *p)
{
- assert(p != NULL);
-
- if (p->status != TUX_STATUS_ALIVE) {
- return;
- }
-
- switch (p->control) {
- case TUX_CONTROL_NONE:
- assert(!_("Tux has not defined controls!"));
- break;
-
- case TUX_CONTROL_KEYBOARD_LEFT:
- if (isChatActive() == FALSE) {
- control_keyboard_left(p);
- }
- break;
-
- case TUX_CONTROL_KEYBOARD_RIGHT:
- if (isChatActive() == FALSE) {
- control_keyboard_right(p);
- }
- break;
- }
+ assert( p != NULL );
+
+ if( p->status != TUX_STATUS_ALIVE )
+ {
+ return;
+ }
+
+ switch( p->control )
+ {
+ case TUX_CONTROL_NONE :
+ assert( ! _("Tux has not defined controls!") );
+ break;
+
+ case TUX_CONTROL_KEYBOARD_LEFT :
+ if( isChatActive() == FALSE)
+ {
+ control_keyboard_left(p);
+ }
+ break;
+
+ case TUX_CONTROL_KEYBOARD_RIGHT :
+ if( isChatActive() == FALSE)
+ {
+ control_keyboard_right(p);
+ }
+ break;
+ }
}
-void
-eventWorld()
+void eventWorld()
{
- tux_t *thisTux;
-
- if (arena == NULL) {
- eventNetMultiplayer();
- eventEnd();
- return;
- }
-
- eventNetMultiplayer();
-
- if (isPauzeActive() == FALSE && isSaveDialogActive() == FALSE) {
- eventArena(arena);
- //eventModule();
- }
-
- thisTux = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
-
- addToRadar(thisTux->id, thisTux->x, thisTux->y, RADAR_TYPE_YOU);
-
- thisTux = getControlTux(TUX_CONTROL_KEYBOARD_LEFT);
-
- if (thisTux != NULL) {
- addToRadar(thisTux->id, thisTux->x, thisTux->y, RADAR_TYPE_TUX);
- }
-
- eventEnd();
- eventChat();
- eventPauza();
- eventTerm();
- eventSaveDialog();
+ tux_t *thisTux;
+
+ if( arena == NULL )
+ {
+ eventNetMultiplayer();
+ eventEnd();
+ return;
+ }
+
+ eventNetMultiplayer();
+
+ if( isPauzeActive() == FALSE && isSaveDialogActive() == FALSE )
+ {
+ eventArena(arena);
+ //eventModule();
+ }
+
+ thisTux = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
+
+ addToRadar(thisTux->id,
+ thisTux->x,
+ thisTux->y,
+ RADAR_TYPE_YOU);
+
+ thisTux = getControlTux(TUX_CONTROL_KEYBOARD_LEFT);
+
+ if( thisTux != NULL )
+ {
+ addToRadar(thisTux->id,
+ thisTux->x,
+ thisTux->y,
+ RADAR_TYPE_TUX);
+ }
+
+ eventEnd();
+ eventChat();
+ eventPauza();
+ eventTerm();
+ eventSaveDialog();
}
-static void
-hotkey_escape()
+static void hotkey_escape()
{
- setWorldEnd();
+ setWorldEnd();
}
-void
-startWorld()
+void startWorld()
{
- arena = NULL;
- isEndWorld = FALSE;
-
- registerHotKey(SDLK_ESCAPE, hotkey_escape);
- initArena();
- initListID();
- initRadar();
- initPauza();
- initTerm();
- initSaveDialog();
-
- initModule();
- setGameType();
- initChat();
- prepareArena();
+ arena = NULL;
+ isEndWorld = FALSE;
+
+ registerHotKey(SDLK_ESCAPE, hotkey_escape);
+ initArena();
+ initListID();
+ initRadar();
+ initPauza();
+ initTerm();
+ initSaveDialog();
+
+ initModule();
+ setGameType();
+ initChat();
+ prepareArena();
}
-static void
-action_analyze(space_t * space, tux_t * tux, void *p)
+static void action_analyze(space_t *space, tux_t *tux, void *p)
{
- addAnalyze(tux->name, tux->score);
+ addAnalyze(tux->name, tux->score);
}
-static void
-setAnalyze()
+static void setAnalyze()
{
- restartAnalyze();
+ restartAnalyze();
- actionSpace(arena->spaceTux, action_analyze, NULL);
+ actionSpace(arena->spaceTux, action_analyze, NULL);
- endAnalyze();
+ endAnalyze();
}
-static void
-setTable()
+static void setTable()
{
- tux_t *tuxRight;
- tux_t *tuxLeft;
-
- if (getSettingGameType() != NET_GAME_TYPE_NONE) {
- return;
- }
-
- tuxRight = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
- tuxLeft = getControlTux(TUX_CONTROL_KEYBOARD_LEFT);
-
- if (tuxRight->score > tuxLeft->score) {
- addPlayerInHighScore(tuxRight->name, tuxRight->score);
- }
-
- if (tuxLeft->score > tuxRight->score) {
- addPlayerInHighScore(tuxLeft->name, tuxLeft->score);
- }
+ tux_t *tuxRight;
+ tux_t *tuxLeft;
+
+ if( getSettingGameType() != NET_GAME_TYPE_NONE )
+ {
+ return;
+ }
+
+ tuxRight = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
+ tuxLeft = getControlTux(TUX_CONTROL_KEYBOARD_LEFT);
+
+ if( tuxRight->score > tuxLeft->score )
+ {
+ addPlayerInHighScore(tuxRight->name, tuxRight->score);
+ }
+
+ if( tuxLeft->score > tuxRight->score )
+ {
+ addPlayerInHighScore(tuxLeft->name, tuxLeft->score);
+ }
}
-void
-stoptWorld()
+void stoptWorld()
{
- if (arena != NULL) {
- setTable();
- setAnalyze();
- }
+ if( arena != NULL )
+ {
+ setTable();
+ setAnalyze();
+ }
- unregisterHotKey(SDLK_ESCAPE);
- quitArena();
+ unregisterHotKey(SDLK_ESCAPE);
+ quitArena();
- quitNetMultiplayer();
+ quitNetMultiplayer();
- if (arena != NULL) {
- destroyArena(arena);
- }
+ if( arena != NULL )
+ {
+ destroyArena(arena);
+ }
- quitRadar();
- quitPauza();
- quitTerm();
- quitSaveDialog();
+ quitRadar();
+ quitPauza();
+ quitTerm();
+ quitSaveDialog();
#ifndef NO_SOUND
- stopMusic();
+ stopMusic();
#endif
- delAllImageInGroup(IMAGE_GROUP_USER);
+ delAllImageInGroup(IMAGE_GROUP_USER);
#ifndef NO_SOUND
- delAllMusicInGroup(MUSIC_GROUP_USER);
+ delAllMusicInGroup(MUSIC_GROUP_USER);
#endif
- quitModule();
- quitChat();
- quitListID();
+ quitModule();
+ quitChat();
+ quitListID();
}
-void
-initWorld()
+void initWorld()
{
- assert(isImageInicialized() == TRUE);
- assert(isTuxInicialized() == TRUE);
- assert(isShotInicialized() == TRUE);
- assert(isPanelInicialized() == TRUE);
- assert(isScreenInicialized() == TRUE);
+ assert( isImageInicialized() == TRUE );
+ assert( isTuxInicialized() == TRUE );
+ assert( isShotInicialized() == TRUE );
+ assert( isPanelInicialized() == TRUE );
+ assert( isScreenInicialized() == TRUE );
- registerScreen(newScreen
- ("world", startWorld, eventWorld, drawWorld, stoptWorld));
+ registerScreen( newScreen("world", startWorld, eventWorld, drawWorld, stoptWorld) );
#ifndef NO_SOUND
- addSound("dead.ogg", "dead", SOUND_GROUP_BASE);
- addSound("explozion.ogg", "explozion", SOUND_GROUP_BASE);
- addSound("gun_lasser.ogg", "gun_lasser", SOUND_GROUP_BASE);
- addSound("gun_revolver.ogg", "gun_revolver", SOUND_GROUP_BASE);
- addSound("gun_scatter.ogg", "gun_scatter", SOUND_GROUP_BASE);
- addSound("gun_tommy.ogg", "gun_tommy", SOUND_GROUP_BASE);
- addSound("put_mine.ogg", "put_mine", SOUND_GROUP_BASE);
- addSound("teleport.ogg", "teleport", SOUND_GROUP_BASE);
- addSound("item_bonus.ogg", "item_bonus", SOUND_GROUP_BASE);
- addSound("item_gun.ogg", "item_gun", SOUND_GROUP_BASE);
- addSound("switch_gun.ogg", "switch_gun", SOUND_GROUP_BASE);
- addSound("end.ogg", "end", SOUND_GROUP_BASE);
+ addSound("dead.ogg", "dead", SOUND_GROUP_BASE);
+ addSound("explozion.ogg", "explozion", SOUND_GROUP_BASE);
+ addSound("gun_lasser.ogg", "gun_lasser", SOUND_GROUP_BASE);
+ addSound("gun_revolver.ogg", "gun_revolver", SOUND_GROUP_BASE);
+ addSound("gun_scatter.ogg", "gun_scatter", SOUND_GROUP_BASE);
+ addSound("gun_tommy.ogg", "gun_tommy", SOUND_GROUP_BASE);
+ addSound("put_mine.ogg", "put_mine", SOUND_GROUP_BASE);
+ addSound("teleport.ogg", "teleport", SOUND_GROUP_BASE);
+ addSound("item_bonus.ogg", "item_bonus", SOUND_GROUP_BASE);
+ addSound("item_gun.ogg", "item_gun", SOUND_GROUP_BASE);
+ addSound("switch_gun.ogg", "switch_gun", SOUND_GROUP_BASE);
+ addSound("end.ogg", "end", SOUND_GROUP_BASE);
#endif
- isScreenWorldInit = TRUE;
+ isScreenWorldInit = TRUE;
}
-void
-quitWorld()
+void quitWorld()
{
#ifdef DEBUG
- printf(_("Quitting screen world\n"));
+ printf(_("Quitting screen world\n"));
#endif
- isScreenWorldInit = FALSE;
+ isScreenWorldInit = FALSE;
}
diff --git a/src/screen/screen_world.c~ b/src/screen/screen_world.c~
deleted file mode 100644
index cdf66ab..0000000
--- a/src/screen/screen_world.c~
+++ /dev/null
@@ -1,623 +0,0 @@
-
-#include <stdio.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "tux.h"
-#include "item.h"
-#include "shot.h"
-#include "gun.h"
-#include "myTimer.h"
-#include "net_multiplayer.h"
-#include "arena.h"
-#include "arenaFile.h"
-#include "proto.h"
-#include "modules.h"
-#include "idManager.h"
-#include "serverSendMsg.h"
-
-#include "interface.h"
-#include "layer.h"
-#include "image.h"
-#include "font.h"
-
-#include "hotKey.h"
-#include "panel.h"
-#include "radar.h"
-#include "chat.h"
-#include "pauza.h"
-#include "term.h"
-#include "saveDialog.h"
-#include "saveLoad.h"
-
-#ifndef NO_SOUND
-#include "music.h"
-#include "sound.h"
-#endif
-
-#include "screen.h"
-#include "screen_world.h"
-#include "screen_analyze.h"
-#include "screen_setting.h"
-#include "screen_gameType.h"
-#include "screen_settingKeys.h"
-#include "screen_choiceArena.h"
-#include "screen_table.h"
-
-
-static arena_t *arena;
-static bool_t isScreenWorldInit = FALSE;
-static bool_t isEndWorld;
-
-static tux_t *tuxWithControlRightKeyboard;
-static tux_t *tuxWithControlLeftKeyboard;
-
-bool_t isScreenWorldInicialized()
-{
- return isScreenWorldInit;
-}
-
-void setGameType()
-{
- int ret = 0;
-
- ret = initNetMuliplayer( getSettingGameType(), getSettingIP(), getSettingPort(), getSettingProto() );
-
- if( ret != 0 )
- {
- fprintf(stderr, _("Network initialization error!\n"));
- setWorldEnd();
- }
-}
-
-void setWorldArena(arenaFile_t *arenaFile)
-{
- arena = getArena(arenaFile);
-
-#ifndef NO_SOUND
- playMusic(arena->music, MUSIC_GROUP_USER);
-#endif
-}
-
-void setWorldEnd()
-{
- isEndWorld = TRUE;
-}
-
-static void timer_endArena()
-{
- if( getNetTypeGame() != NET_GAME_TYPE_CLIENT )
- {
- setWorldEnd();
- return;
- }
-}
-
-void countRoundInc()
-{
- if( arena->max_countRound == WORLD_COUNT_ROUND_UNLIMITED ||
- arena->countRound >= arena->max_countRound )
- {
- return;
- }
-
- arena->countRound++;
- //printf("count %d/%d\n", count, max_count);
-
- if( arena->countRound >= arena->max_countRound )
- {
- //printf("count %d ending\n", count);
-#ifndef NO_SOUND
- playSound("end", SOUND_GROUP_BASE);
-#endif
- addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_endArena, NULL, TIMER_END_ARENA);
- }
-}
-
-void prepareArena()
-{
- tux_t *tux;
- char name[STR_NAME_SIZE];
-
- //printf("getSettingAI = %s\n", getSettingAI());
- setCurrentArena(NULL);
- tuxWithControlRightKeyboard = NULL;
- tuxWithControlLeftKeyboard = NULL;
-
- if( getGemeTypeLoadSession() != NULL )
- {
- loadArena(getGemeTypeLoadSession());
- return;
- }
-
- switch( getNetTypeGame() )
- {
- case NET_GAME_TYPE_NONE :
- setWorldArena( getChoiceArena() );
- addNewItem(arena->spaceItem, ID_UNKNOWN);
- getSettingCountRound(&arena->max_countRound);
-
- tux = newTux();
- tux->control = TUX_CONTROL_KEYBOARD_RIGHT;
- tuxWithControlRightKeyboard = tux;
- getSettingNameRight(name);
- tuxSetName(tux, name);
- addObjectToSpace(arena->spaceTux, tux);
-
- tux = newTux();
- tux->control = TUX_CONTROL_KEYBOARD_LEFT;
- tuxWithControlLeftKeyboard = tux;
- getSettingNameLeft(name);
- tuxSetName(tux, name);
- addObjectToSpace(arena->spaceTux, tux);
-
- if( isSettingAI() )
- {
- tux->control = TUX_CONTROL_AI;
-
- if( loadModule("libmodAI") != 0 )
- {
- tux->control = TUX_CONTROL_KEYBOARD_LEFT;
- }
- }
-
- //printf("getGemeTypeLoadSession = %s\n", getGemeTypeLoadSession());
-
- break;
-
- case NET_GAME_TYPE_SERVER :
- setWorldArena( getChoiceArena() );
- addNewItem(arena->spaceItem, ID_UNKNOWN);
- getSettingCountRound(&arena->max_countRound);
-
- tux = newTux();
- tux->control = TUX_CONTROL_KEYBOARD_RIGHT;
- tuxWithControlRightKeyboard = tux;
- getSettingNameRight(name);
- tuxSetName(tux, name);
- addObjectToSpace(arena->spaceTux, tux);
- break;
-
- case NET_GAME_TYPE_CLIENT :
- break;
- }
-}
-
-void drawWorld()
-{
- if( arena != NULL )
- {
- drawArena(arena);
- drawPanel(tuxWithControlRightKeyboard, tuxWithControlLeftKeyboard);
-
- if( arena->w > WINDOW_SIZE_X || arena->h > WINDOW_SIZE_Y )
- {
- drawRadar(arena);
- }
- }
-
- drawChat();
- drawPauza();
- drawTerm();
- drawSaveDialog();
-}
-
-static void netAction(tux_t *tux, int action)
-{
- if( getSettingGameType() == NET_GAME_TYPE_SERVER )
- {
- proto_send_event_server(PROTO_SEND_ALL_SEES_TUX, NULL, tux , action);
- }
-
- if( getSettingGameType() == NET_GAME_TYPE_CLIENT )
- {
- proto_send_event_client(action);
- }
-}
-
-static void control_keyboard_right(tux_t *tux)
-{
- static int lastKey = 0;
- int countKey;
- Uint8 *mapa;
- mapa = SDL_GetKeyState(NULL);
-
- assert( tux != NULL );
- assert( mapa != NULL );
-
- countKey = 0;
-
- if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_MOVE_UP)] == SDL_PRESSED )countKey++;
- if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_MOVE_RIGHT)] == SDL_PRESSED )countKey++;
- if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_MOVE_LEFT)] == SDL_PRESSED )countKey++;
- if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_MOVE_DOWN)] == SDL_PRESSED )countKey++;
-
- if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_SWITCH_WEAPON)] == SDL_PRESSED && tux->isCanSwitchGun == TRUE )
- {
- netAction(tux, TUX_SWITCH_GUN);
- actionTux(tux, TUX_SWITCH_GUN);
- return;
- }
-
- if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_SHOOT)] == SDL_PRESSED && tux->isCanShot == TRUE )
- {
- netAction(tux, TUX_SHOT);
- actionTux(tux, TUX_SHOT);
- return;
- }
-
- if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_MOVE_UP)] == SDL_PRESSED )
- {
- if(countKey > 1 && lastKey == getKey(KEY_TUX_RIGHT_MOVE_UP) )goto tuUp;
-
- if( countKey == 1 )lastKey = getKey(KEY_TUX_RIGHT_MOVE_UP);
- netAction(tux, TUX_UP);
- actionTux(tux, TUX_UP);
- return;
-
- tuUp:;
- }
-
- if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_MOVE_RIGHT)] == SDL_PRESSED )
- {
- if(countKey > 1 && lastKey == getKey(KEY_TUX_RIGHT_MOVE_RIGHT) )goto tuRight;
-
- if( countKey == 1 )lastKey = getKey(KEY_TUX_RIGHT_MOVE_RIGHT);
- netAction(tux, TUX_RIGHT);
- actionTux(tux, TUX_RIGHT);
- return;
-
- tuRight:;
-
- }
-
- if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_MOVE_LEFT)] == SDL_PRESSED )
- {
- if(countKey > 1 && lastKey == getKey(KEY_TUX_RIGHT_MOVE_LEFT) )goto tuLeft;
-
- if( countKey == 1 )lastKey = getKey(KEY_TUX_RIGHT_MOVE_LEFT);
- netAction(tux, TUX_LEFT);
- actionTux(tux, TUX_LEFT);
- return;
-
- tuLeft:;
- }
-
- if( mapa[(SDLKey)getKey(KEY_TUX_RIGHT_MOVE_DOWN)] == SDL_PRESSED )
- {
- if(countKey > 1 && lastKey == getKey(KEY_TUX_RIGHT_MOVE_DOWN) )goto tuDown;
-
- if( countKey == 1 )lastKey = getKey(KEY_TUX_RIGHT_MOVE_DOWN);
- netAction(tux, TUX_DOWN);
- actionTux(tux, TUX_DOWN);
- return;
-
- tuDown:;
- }
-}
-
-static void control_keyboard_left(tux_t *tux)
-{
- static int lastKey = 0;
- int countKey;
- Uint8 *mapa;
- mapa = SDL_GetKeyState(NULL);
-
- assert( tux != NULL );
- assert( mapa != NULL );
-
- countKey = 0;
-
- if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_MOVE_UP)] == SDL_PRESSED )countKey++;
- if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_MOVE_RIGHT)] == SDL_PRESSED )countKey++;
- if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_MOVE_LEFT)] == SDL_PRESSED )countKey++;
- if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_MOVE_DOWN)] == SDL_PRESSED )countKey++;
-
- if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_SWITCH_WEAPON)] == SDL_PRESSED )
- {
- if( tux->isCanSwitchGun == TRUE )
- {
- actionTux(tux, TUX_SWITCH_GUN);
- return;
- }
- }
-
- if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_SHOOT)] == SDL_PRESSED && tux->isCanShot == TRUE )
- {
- actionTux(tux, TUX_SHOT);
- return;
- }
-
- if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_MOVE_UP)] == SDL_PRESSED )
- {
- if(countKey > 1 && lastKey == getKey(KEY_TUX_LEFT_MOVE_UP) )goto tuUp;
-
- if( countKey == 1 )lastKey = getKey(KEY_TUX_LEFT_MOVE_UP);
- actionTux(tux, TUX_UP);
- return;
-
- tuUp:;
- }
-
- if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_MOVE_RIGHT)] == SDL_PRESSED )
- {
- if(countKey > 1 && lastKey == getKey(KEY_TUX_LEFT_MOVE_RIGHT) )goto tuRight;
-
- if( countKey == 1 )lastKey = getKey(KEY_TUX_LEFT_MOVE_RIGHT);
- actionTux(tux, TUX_RIGHT);
- return;
-
- tuRight:;
-
- }
-
- if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_MOVE_LEFT)] == SDL_PRESSED )
- {
- if(countKey > 1 && lastKey == getKey(KEY_TUX_LEFT_MOVE_LEFT) )goto tuLeft;
-
- if( countKey == 1 )lastKey = getKey(KEY_TUX_LEFT_MOVE_LEFT);
- actionTux(tux, TUX_LEFT);
- return;
-
- tuLeft:;
- }
-
- if( mapa[(SDLKey)getKey(KEY_TUX_LEFT_MOVE_DOWN)] == SDL_PRESSED )
- {
- if(countKey > 1 && lastKey == getKey(KEY_TUX_LEFT_MOVE_DOWN) )goto tuDown;
-
- if( countKey == 1 )lastKey = getKey(KEY_TUX_LEFT_MOVE_DOWN);
- actionTux(tux, TUX_DOWN);
- return;
-
- tuDown:;
- }
-}
-
-static void eventEnd()
-{
- if( isEndWorld == TRUE )
- {
- setScreen("analyze");
- return;
- }
-}
-
-tux_t* getControlTux(int control_type)
-{
- switch(control_type)
- {
- case TUX_CONTROL_KEYBOARD_RIGHT :
- return tuxWithControlRightKeyboard;
- break;
- case TUX_CONTROL_KEYBOARD_LEFT :
- return tuxWithControlLeftKeyboard;
- break;
- }
-
- return NULL;
-}
-
-void setControlTux(tux_t *tux, int control_type)
-{
- switch(control_type)
- {
- case TUX_CONTROL_KEYBOARD_RIGHT :
- tuxWithControlRightKeyboard = tux;
- break;
- case TUX_CONTROL_KEYBOARD_LEFT :
- tuxWithControlLeftKeyboard = tux;
- break;
- }
-}
-
-void tuxControl(tux_t *p)
-{
- assert( p != NULL );
-
- if( p->status != TUX_STATUS_ALIVE )
- {
- return;
- }
-
- switch( p->control )
- {
- case TUX_CONTROL_NONE :
- assert( ! _("Tux has not defined controls!") );
- break;
-
- case TUX_CONTROL_KEYBOARD_LEFT :
- if( isChatActive() == FALSE)
- {
- control_keyboard_left(p);
- }
- break;
-
- case TUX_CONTROL_KEYBOARD_RIGHT :
- if( isChatActive() == FALSE)
- {
- control_keyboard_right(p);
- }
- break;
- }
-}
-
-void eventWorld()
-{
- tux_t *thisTux;
-
- if( arena == NULL )
- {
- eventNetMultiplayer();
- eventEnd();
- return;
- }
-
- eventNetMultiplayer();
-
- if( isPauzeActive() == FALSE && isSaveDialogActive() == FALSE )
- {
- eventArena(arena);
- //eventModule();
- }
-
- thisTux = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
-
- addToRadar(thisTux->id,
- thisTux->x,
- thisTux->y,
- RADAR_TYPE_YOU);
-
- thisTux = getControlTux(TUX_CONTROL_KEYBOARD_LEFT);
-
- if( thisTux != NULL )
- {
- addToRadar(thisTux->id,
- thisTux->x,
- thisTux->y,
- RADAR_TYPE_TUX);
- }
-
- eventEnd();
- eventChat();
- eventPauza();
- eventTerm();
- eventSaveDialog();
-
-}
-
-static void hotkey_escape()
-{
- setWorldEnd();
-}
-
-void startWorld()
-{
- arena = NULL;
- isEndWorld = FALSE;
-
- registerHotKey(SDLK_ESCAPE, hotkey_escape);
- initArena();
- initListID();
- initRadar();
- initPauza();
- initTerm();
- initSaveDialog();
-
- initModule();
- setGameType();
- initChat();
- prepareArena();
-}
-
-static void action_analyze(space_t *space, tux_t *tux, void *p)
-{
- addAnalyze(tux->name, tux->score);
-}
-
-static void setAnalyze()
-{
- restartAnalyze();
-
- actionSpace(arena->spaceTux, action_analyze, NULL);
-
- endAnalyze();
-}
-
-static void setTable()
-{
- tux_t *tuxRight;
- tux_t *tuxLeft;
-
- if( getSettingGameType() != NET_GAME_TYPE_NONE )
- {
- return;
- }
-
- tuxRight = getControlTux(TUX_CONTROL_KEYBOARD_RIGHT);
- tuxLeft = getControlTux(TUX_CONTROL_KEYBOARD_LEFT);
-
- if( tuxRight->score > tuxLeft->score )
- {
- addPlayerInHighScore(tuxRight->name, tuxRight->score);
- }
-
- if( tuxLeft->score > tuxRight->score )
- {
- addPlayerInHighScore(tuxLeft->name, tuxLeft->score);
- }
-}
-
-void stoptWorld()
-{
- if( arena != NULL )
- {
- setTable();
- setAnalyze();
- }
-
- unregisterHotKey(SDLK_ESCAPE);
- quitArena();
-
- quitNetMultiplayer();
-
- if( arena != NULL )
- {
- destroyArena(arena);
- }
-
- quitRadar();
- quitPauza();
- quitTerm();
- quitSaveDialog();
-
-
-#ifndef NO_SOUND
- stopMusic();
-#endif
- delAllImageInGroup(IMAGE_GROUP_USER);
-
-#ifndef NO_SOUND
- delAllMusicInGroup(MUSIC_GROUP_USER);
-#endif
- quitModule();
- quitChat();
- quitListID();
-}
-
-void initWorld()
-{
- assert( isImageInicialized() == TRUE );
- assert( isTuxInicialized() == TRUE );
- assert( isShotInicialized() == TRUE );
- assert( isPanelInicialized() == TRUE );
- assert( isScreenInicialized() == TRUE );
-
- registerScreen( newScreen("world", startWorld, eventWorld, drawWorld, stoptWorld) );
-
-#ifndef NO_SOUND
- addSound("dead.ogg", "dead", SOUND_GROUP_BASE);
- addSound("explozion.ogg", "explozion", SOUND_GROUP_BASE);
- addSound("gun_lasser.ogg", "gun_lasser", SOUND_GROUP_BASE);
- addSound("gun_revolver.ogg", "gun_revolver", SOUND_GROUP_BASE);
- addSound("gun_scatter.ogg", "gun_scatter", SOUND_GROUP_BASE);
- addSound("gun_tommy.ogg", "gun_tommy", SOUND_GROUP_BASE);
- addSound("put_mine.ogg", "put_mine", SOUND_GROUP_BASE);
- addSound("teleport.ogg", "teleport", SOUND_GROUP_BASE);
- addSound("item_bonus.ogg", "item_bonus", SOUND_GROUP_BASE);
- addSound("item_gun.ogg", "item_gun", SOUND_GROUP_BASE);
- addSound("switch_gun.ogg", "switch_gun", SOUND_GROUP_BASE);
- addSound("end.ogg", "end", SOUND_GROUP_BASE);
-#endif
-
- isScreenWorldInit = TRUE;
-}
-
-void quitWorld()
-{
-#ifdef DEBUG
- printf(_("Quitting screen world\n"));
-#endif
- isScreenWorldInit = FALSE;
-}
diff --git a/src/server/heightScore.c b/src/server/heightScore.c
index 1a0026b..5c42ad6 100644
--- a/src/server/heightScore.c
+++ b/src/server/heightScore.c
@@ -11,85 +11,92 @@
static textFile_t *textFile;
-void
-initHeightScore(char *file)
+void initHeightScore(char *file)
{
- int i;
-
- textFile = loadTextFile(file);
-
- if (textFile == NULL) {
- fprintf(stderr, _("I am unable to load: \"%s\" !\n"), file);
- fprintf(stderr, _("Creating: \"%s\"\n"), file);
- textFile = newTextFile(file);
- }
- else {
+ int i;
+
+ textFile = loadTextFile(file);
+
+ if( textFile == NULL )
+ {
+ fprintf(stderr, _("I am unable to load: \"%s\" !\n"), file);
+ fprintf(stderr, _("Creating: \"%s\"\n"), file);
+ textFile = newTextFile(file);
+ }
+ else
+ {
#ifdef DEBUG
- printf(_("Scorefile: \"%s\"\n"), file);
+ printf(_("Scorefile: \"%s\"\n"), file);
#endif
- return;
- }
+ return;
+ }
- if (textFile == NULL) {
- fprintf(stderr, _("I was unable to create: \"%s\" !\n"), file);
- return;
- }
+ if( textFile == NULL )
+ {
+ fprintf(stderr, _("I was unable to create: \"%s\" !\n"), file);
+ return;
+ }
- for (i = 0; i < HEIGHTSCORE_MAX_PLAYERS; i++) {
- addList(textFile->text, strdup("no_name 0"));
- }
+ for( i = 0 ; i < HEIGHTSCORE_MAX_PLAYERS ; i++ )
+ {
+ addList(textFile->text, strdup("no_name 0") );
+ }
- saveTextFile(textFile);
+ saveTextFile(textFile);
}
-int
-addPlayerInHighScore(char *name, int score)
+int addPlayerInHighScore(char *name, int score)
{
- int i;
-
- if (score <= 0) {
- return -1; // Ha ha ha
- }
-
- for (i = 0; i < HEIGHTSCORE_MAX_PLAYERS; i++) {
- char *line;
- char thisName[STR_NAME_SIZE];
- int thisCore;
-
- line = (char *) textFile->text->list[i];
- sscanf(line, "%s %d", thisName, &thisCore);
-
- if (score >= thisCore) {
- char new[STR_SIZE];
-
- sprintf(new, "%s %d", name, score);
- insList(textFile->text, i, strdup(new));
- delListItem(textFile->text, HEIGHTSCORE_MAX_PLAYERS, free);
- //printTextFile(textFile);
- saveTextFile(textFile);
-
- return 0;
- }
- }
-
- return -1;
+ int i;
+
+ if( score <= 0 )
+ {
+ return -1; // Ha ha ha
+ }
+
+ for( i = 0 ; i < HEIGHTSCORE_MAX_PLAYERS ; i++ )
+ {
+ char *line;
+ char thisName[STR_NAME_SIZE];
+ int thisCore;
+
+ line = (char *) textFile->text->list[i];
+ sscanf(line, "%s %d", thisName, &thisCore);
+
+ if( score >= thisCore )
+ {
+ char new[STR_SIZE];
+
+ sprintf(new, "%s %d", name, score);
+ insList(textFile->text, i, strdup(new) );
+ delListItem(textFile->text, HEIGHTSCORE_MAX_PLAYERS, free);
+ //printTextFile(textFile);
+ saveTextFile(textFile);
+
+ return 0;
+ }
+ }
+
+ return -1;
}
-char *
-getTableItem(int index)
+char* getTableItem(int index)
{
- if (textFile != NULL && index >= 0 && index < textFile->text->count) {
- return (char *) textFile->text->list[index];
- }
-
- return NULL;
+ if( textFile != NULL &&
+ index >= 0 &&
+ index < textFile->text->count )
+ {
+ return (char *)textFile->text->list[index];
+ }
+
+ return NULL;
}
-void
-quitHeightScore()
+void quitHeightScore()
{
- if (textFile != NULL) {
- saveTextFile(textFile);
- destroyTextFile(textFile);
- }
+ if( textFile != NULL )
+ {
+ saveTextFile(textFile);
+ destroyTextFile(textFile);
+ }
}
diff --git a/src/server/heightScore.c~ b/src/server/heightScore.c~
deleted file mode 100644
index 5c42ad6..0000000
--- a/src/server/heightScore.c~
+++ /dev/null
@@ -1,102 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "textFile.h"
-#include "heightScore.h"
-
-static textFile_t *textFile;
-
-void initHeightScore(char *file)
-{
- int i;
-
- textFile = loadTextFile(file);
-
- if( textFile == NULL )
- {
- fprintf(stderr, _("I am unable to load: \"%s\" !\n"), file);
- fprintf(stderr, _("Creating: \"%s\"\n"), file);
- textFile = newTextFile(file);
- }
- else
- {
-#ifdef DEBUG
- printf(_("Scorefile: \"%s\"\n"), file);
-#endif
- return;
- }
-
- if( textFile == NULL )
- {
- fprintf(stderr, _("I was unable to create: \"%s\" !\n"), file);
- return;
- }
-
- for( i = 0 ; i < HEIGHTSCORE_MAX_PLAYERS ; i++ )
- {
- addList(textFile->text, strdup("no_name 0") );
- }
-
- saveTextFile(textFile);
-}
-
-int addPlayerInHighScore(char *name, int score)
-{
- int i;
-
- if( score <= 0 )
- {
- return -1; // Ha ha ha
- }
-
- for( i = 0 ; i < HEIGHTSCORE_MAX_PLAYERS ; i++ )
- {
- char *line;
- char thisName[STR_NAME_SIZE];
- int thisCore;
-
- line = (char *) textFile->text->list[i];
- sscanf(line, "%s %d", thisName, &thisCore);
-
- if( score >= thisCore )
- {
- char new[STR_SIZE];
-
- sprintf(new, "%s %d", name, score);
- insList(textFile->text, i, strdup(new) );
- delListItem(textFile->text, HEIGHTSCORE_MAX_PLAYERS, free);
- //printTextFile(textFile);
- saveTextFile(textFile);
-
- return 0;
- }
- }
-
- return -1;
-}
-
-char* getTableItem(int index)
-{
- if( textFile != NULL &&
- index >= 0 &&
- index < textFile->text->count )
- {
- return (char *)textFile->text->list[index];
- }
-
- return NULL;
-}
-
-void quitHeightScore()
-{
- if( textFile != NULL )
- {
- saveTextFile(textFile);
- destroyTextFile(textFile);
- }
-}
diff --git a/src/server/log.c b/src/server/log.c
index 9773926..89e4f46 100644
--- a/src/server/log.c
+++ b/src/server/log.c
@@ -11,65 +11,57 @@
static FILE *logFile;
-int
-initLog(char *name)
+int initLog(char *name)
{
- logFile = fopen(name, "a");
+ logFile = fopen(name, "a");
- if (logFile == NULL) {
- fprintf(stderr, _("Opening logfile \"%s\" failed!\n"), name);
- return -1;
- }
+ if( logFile == NULL )
+ {
+ fprintf(stderr, _("Opening logfile \"%s\" failed!\n"), name);
+ return -1;
+ }
#ifdef DEBUG
- printf(_("I use logfile: \"%s\")\n"), name);
+ printf(_("I use logfile: \"%s\")\n"), name);
#endif
- addToLog(LOG_INF, "open log file");
+ addToLog(LOG_INF, "open log file");
- return 0;
+ return 0;
}
-void
-addToLog(int type, char *msg)
+void addToLog(int type, char *msg)
{
- char str[STR_LOG_SIZE];
- struct tm *tm_struct;
- time_t currentTime;
- char *str_type;
+ char str[STR_LOG_SIZE];
+ struct tm *tm_struct;
+ time_t currentTime;
+ char *str_type;
- currentTime = time(NULL);
- tm_struct = localtime(&currentTime);
+ currentTime = time(NULL);
+ tm_struct = localtime(&currentTime);
- switch (type) {
- case LOG_INF:
- str_type = "INF";
- break;
- case LOG_DBG:
- str_type = "DBG";
- break;
- case LOG_WRN:
- str_type = "WRN";
- break;
- case LOG_ERR:
- str_type = "ERR";
- break;
- default:
- assert(!_("Really bad log value!"));
- break;
- }
+ switch( type )
+ {
+ case LOG_INF : str_type = "INF"; break;
+ case LOG_DBG : str_type = "DBG"; break;
+ case LOG_WRN : str_type = "WRN"; break;
+ case LOG_ERR : str_type = "ERR"; break;
+ default :
+ assert( ! _("Really bad log value!") );
+ break;
+ }
- sprintf(str, "(%02d-%02d-%02d %02d:%02d:%02d) %s %s\n",
- 1900 + tm_struct->tm_year, tm_struct->tm_mon, tm_struct->tm_mday,
- tm_struct->tm_hour, tm_struct->tm_min, tm_struct->tm_sec,
- str_type, msg);
+ sprintf(str, "(%02d-%02d-%02d %02d:%02d:%02d) %s %s\n",
+ 1900+tm_struct->tm_year, tm_struct->tm_mon, tm_struct->tm_mday,
+ tm_struct->tm_hour, tm_struct->tm_min, tm_struct->tm_sec,
+ str_type, msg);
- fprintf(logFile, str);
+ fprintf(logFile, str);
- fflush(logFile);
+ fflush(logFile);
}
-void
-quitLog()
+void quitLog()
{
- addToLog(LOG_INF, "close log file");
- fclose(logFile);
+ addToLog(LOG_INF, "close log file");
+ fclose(logFile);
}
+
diff --git a/src/server/log.c~ b/src/server/log.c~
deleted file mode 100644
index 89e4f46..0000000
--- a/src/server/log.c~
+++ /dev/null
@@ -1,67 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/stat.h>
-#include <time.h>
-#include <assert.h>
-
-#include "log.h"
-#include "main.h"
-
-static FILE *logFile;
-
-int initLog(char *name)
-{
- logFile = fopen(name, "a");
-
- if( logFile == NULL )
- {
- fprintf(stderr, _("Opening logfile \"%s\" failed!\n"), name);
- return -1;
- }
-#ifdef DEBUG
- printf(_("I use logfile: \"%s\")\n"), name);
-#endif
- addToLog(LOG_INF, "open log file");
-
- return 0;
-}
-
-void addToLog(int type, char *msg)
-{
- char str[STR_LOG_SIZE];
- struct tm *tm_struct;
- time_t currentTime;
- char *str_type;
-
- currentTime = time(NULL);
- tm_struct = localtime(&currentTime);
-
- switch( type )
- {
- case LOG_INF : str_type = "INF"; break;
- case LOG_DBG : str_type = "DBG"; break;
- case LOG_WRN : str_type = "WRN"; break;
- case LOG_ERR : str_type = "ERR"; break;
- default :
- assert( ! _("Really bad log value!") );
- break;
- }
-
- sprintf(str, "(%02d-%02d-%02d %02d:%02d:%02d) %s %s\n",
- 1900+tm_struct->tm_year, tm_struct->tm_mon, tm_struct->tm_mday,
- tm_struct->tm_hour, tm_struct->tm_min, tm_struct->tm_sec,
- str_type, msg);
-
- fprintf(logFile, str);
-
- fflush(logFile);
-}
-
-void quitLog()
-{
- addToLog(LOG_INF, "close log file");
- fclose(logFile);
-}
-
diff --git a/src/server/publicServer.c b/src/server/publicServer.c
index a3c7326..8770300 100644
--- a/src/server/publicServer.c
+++ b/src/server/publicServer.c
@@ -47,330 +47,326 @@ extern int errno;
#define __PACKED__ __attribute__ ((__packed__))
-void
-countRoundInc()
+void countRoundInc()
{
}
-char *
-getSetting(char *env, char *param, char *default_val)
+char *getSetting(char *env, char *param, char *default_val)
{
- return getParamElse(param, getServerConfigFileValue(env, default_val));
+ return getParamElse(param, getServerConfigFileValue(env, default_val) );
}
-static int
-registerPublicServer()
+static int registerPublicServer()
{
#ifndef __WIN32
- int s;
+ int s;
#else
- SOCKET s;
+ SOCKET s;
#endif
- /* TODO: dodelat TCP makro */
- struct sockaddr_in server;
- char *master_server_ip;
+ /* TODO: dodelat TCP makro */
+ struct sockaddr_in server;
+ char *master_server_ip;
- master_server_ip = getIPFormDNS(NET_MASTER_SERVER_DOMAIN);
+ master_server_ip = getIPFormDNS(NET_MASTER_SERVER_DOMAIN);
- //printf("master_server_ip = %s\n", master_server_ip);
+ //printf("master_server_ip = %s\n", master_server_ip);
- if (master_server_ip == NULL) // master server is down
- {
- return -1;
- }
+ if( master_server_ip == NULL ) // master server is down
+ {
+ return -1;
+ }
- server.sin_family = AF_INET;
- server.sin_port = htons(NET_MASTER_PORT);
- server.sin_addr.s_addr = inet_addr(master_server_ip);
+ server.sin_family = AF_INET;
+ server.sin_port = htons (NET_MASTER_PORT);
+ server.sin_addr.s_addr = inet_addr (master_server_ip);
+
+ free(master_server_ip);
- free(master_server_ip);
+ if ((s = socket (AF_INET, SOCK_STREAM, 0)) < 0) {
+ return 0;
+ }
- if ((s = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
- return 0;
- }
-
- /* Set to nonblocking socket mode */
+ /* Set to nonblocking socket mode */
#ifndef __WIN32__
- int oldFlag;
+ int oldFlag;
- oldFlag = fcntl(s, F_GETFL, 0);
+ oldFlag = fcntl (s, F_GETFL, 0);
- if (fcntl(s, F_SETFL, oldFlag | O_NONBLOCK) == -1) {
- return -1;
- }
+ if( fcntl(s, F_SETFL, oldFlag | O_NONBLOCK) == -1 )
+ {
+ return -1;
+ }
#else
- unsigned long arg = 1;
- // Operation is FIONBIO. Parameter is pointer on non-zero number.
- if (ioctlsocket(s, FIONBIO, &arg) == SOCKET_ERROR) {
- WSACleanup();
- return -1;
- }
+ unsigned long arg = 1;
+ // Operation is FIONBIO. Parameter is pointer on non-zero number.
+ if( ioctlsocket(s, FIONBIO, &arg) == SOCKET_ERROR )
+ {
+ WSACleanup();
+ return -1;
+ }
#endif
- if (connect(s, (struct sockaddr *) &server, sizeof(server)) == -1) {
+ if( connect (s, (struct sockaddr *) &server, sizeof (server)) == -1 ) {
#ifndef __WIN32__
- if (errno != EINPROGRESS)
- return -1;
+ if (errno != EINPROGRESS)
+ return -1;
#else
- if (WSAGetLastError() != WSAEWOULDBLOCK) {
- WSACleanup();
- return -1;
- }
+ if (WSAGetLastError() != WSAEWOULDBLOCK) {
+ WSACleanup();
+ return -1;
+ }
#endif
- }
+ }
- struct timeval tv;
+ struct timeval tv;
- fd_set myset;
+ fd_set myset;
- FD_ZERO(&myset);
- FD_SET(s, &myset);
+ FD_ZERO(&myset);
+ FD_SET(s, &myset);
- tv.tv_sec = 3;
- tv.tv_usec = 0;
+ tv.tv_sec = 3;
+ tv.tv_usec = 0;
- int ret = select(s + 1, NULL, &myset, NULL, &tv);
+ int ret = select (s+1, NULL, &myset, NULL, &tv);
- if (ret == -1)
- return -1;
+ if (ret == -1)
+ return -1;
- if (ret == 0)
- return -1;
+ if (ret == 0)
+ return -1;
- FD_ZERO(&myset);
- FD_SET(s, &myset);
+ FD_ZERO(&myset);
+ FD_SET(s, &myset);
- tv.tv_sec = 1;
- tv.tv_usec = 0;
+ tv.tv_sec = 1;
+ tv.tv_usec = 0;
- ret = select(s + 1, NULL, &myset, NULL, &tv);
+ ret = select (s+1, NULL, &myset, NULL, &tv);
- if (ret == -1)
- return -1;
+ if (ret == -1)
+ return -1;
- if (ret == 0)
- return -1;
+ if (ret == 0)
+ return -1;
- typedef struct
- {
- unsigned char cmd;
- unsigned port;
- unsigned ip;
- } __PACKED__ register_head;
+ typedef struct {
+ unsigned char cmd;
+ unsigned port;
+ unsigned ip;
+ } __PACKED__ register_head;
- char *str = (char *) malloc(sizeof(register_head));
+ char *str = (char *) malloc (sizeof (register_head));
- register_head *head = (register_head *) str;
+ register_head *head = (register_head *) str;
- head->cmd = 'p';
- head->port = atoi(getSetting("PORT4", "--port4", "2200"));
- head->ip = 0; // TODO
+ head->cmd = 'p';
+ head->port = atoi( getSetting("PORT4", "--port4", "2200") );
+ head->ip = 0; // TODO
- /* send request for server list */
- int r = send(s, str, 9, 0);
+ /* send request for server list */
+ int r = send (s, str, 9, 0);
- free(str);
+ free (str);
- if (r == -1) {
+ if (r == -1) {
#ifndef __WIN32
- close(s);
+ close(s);
#else
- closesocket(s);
+ closesocket(s);
#endif
- return -1;
- }
+ return -1;
+ }
#ifndef __WIN32
- close(s);
+ close(s);
#else
- closesocket(s);
+ closesocket(s);
#endif
- return 0;
+ return 0;
}
-static int
-initPublicServerNetwork()
+static int initPublicServerNetwork()
{
- char ip4[STR_IP_SIZE];
- char ip6[STR_IP_SIZE];
- char *p_ip4, *p_ip6;
- int port4;
- int port6;
- int ret;
-
- ret = -1;
+ char ip4[STR_IP_SIZE];
+ char ip6[STR_IP_SIZE];
+ char *p_ip4, *p_ip6;
+ int port4;
+ int port6;
+ int ret;
- strcpy(ip4, getSetting("IP4", "--ip4", "none"));
- strcpy(ip6, getSetting("IP6", "--ip6", "none"));
+ ret = -1;
- p_ip4 = ip4;
+ strcpy(ip4, getSetting("IP4", "--ip4", "none" ) );
+ strcpy(ip6, getSetting("IP6", "--ip6", "none" ) );
- if (strcmp(ip4, "none") == 0) {
- p_ip4 = NULL;
- }
+ p_ip4 = ip4;
- p_ip6 = ip6;
+ if( strcmp(ip4, "none") == 0 )
+ {
+ p_ip4 = NULL;
+ }
- if (strcmp(ip6, "none") == 0) {
- p_ip6 = NULL;
- }
+ p_ip6 = ip6;
- port4 = atoi(getSetting("PORT4", "--port4", "2200"));
- port6 = atoi(getSetting("PORT6", "--port6", "2200"));
+ if( strcmp(ip6, "none") == 0 )
+ {
+ p_ip6 = NULL;
+ }
- //ret = initNetMulitplayerPublicServer(p_ip4, port4, p_ip6, port6);
+ port4 = atoi( getSetting("PORT4", "--port4", "2200") );
+ port6 = atoi( getSetting("PORT6", "--port6", "2200") );
- ret = initNetMuliplayerForGameServer(p_ip4, port4, p_ip6, port6);
+ //ret = initNetMulitplayerPublicServer(p_ip4, port4, p_ip6, port6);
+
+ ret = initNetMuliplayerForGameServer(p_ip4, port4, p_ip6, port6);
- return ret;
+ return ret;
}
-static void
-loadArena()
+static void loadArena()
{
- choice_arenaFile =
- getArenaFileFormNetName(getSetting("ARENA", "--arena", "FAGN"));
- arena = getArena(choice_arenaFile);
- setCurrentArena(arena);
+ choice_arenaFile = getArenaFileFormNetName( getSetting("ARENA", "--arena", "FAGN") );
+ arena = getArena(choice_arenaFile);
+ setCurrentArena(arena);
}
-int
-initPublicServer()
+int initPublicServer()
{
- int ret;
- int i;
-
- initListID();
- initModule();
- initArenaFile();
- initTux();
- initItem();
- initShot();
- initServerConfigFile();
-
- ret =
- initLog(getSetting
- ("LOG_FILE", "--log-file", "/tmp/tuxanci-server.log"));
-
- if (ret < 0) {
- fprintf(stderr, _("I was unable to open config file!\n"));
- return -1;
- }
-
- initHeightScore(getSetting
- ("SCORE_FILE", "--score-file", "/tmp/heightscore"));
-
- loadArena();
-
- for (i = 0; i < atoi(getSetting("ITEM", "--item", "10")); i++) {
- addNewItem(arena->spaceItem, ID_UNKNOWN);
- }
-
- isSignalEnd = FALSE;
-
- ret = initPublicServerNetwork();
-
- if (ret < 0) {
- printf(_("Unable to initialize network socket!\n"));
- return -1;
- }
-
- setServerMaxClients(atoi
- (getSetting("MAX_CLIENTS", "--max-clients", "32")));
-
- if (registerPublicServer() < 0) {
- printf(_("Unable to contact MasterServer!)\n"));
- }
-
- return 0;
+ int ret;
+ int i;
+
+ initListID();
+ initModule();
+ initArenaFile();
+ initTux();
+ initItem();
+ initShot();
+ initServerConfigFile();
+
+ ret = initLog(getSetting("LOG_FILE", "--log-file", "/tmp/tuxanci-server.log") );
+
+ if( ret < 0 )
+ {
+ fprintf(stderr, _("I was unable to open config file!\n"));
+ return -1;
+ }
+
+ initHeightScore( getSetting("SCORE_FILE", "--score-file", "/tmp/heightscore") );
+
+ loadArena();
+
+ for( i = 0 ; i < atoi(getSetting("ITEM", "--item", "10")) ; i++ )
+ {
+ addNewItem(arena->spaceItem, ID_UNKNOWN);
+ }
+
+ isSignalEnd = FALSE;
+
+ ret = initPublicServerNetwork();
+
+ if( ret < 0 )
+ {
+ printf(_("Unable to initialize network socket!\n"));
+ return -1;
+ }
+
+ setServerMaxClients( atoi( getSetting("MAX_CLIENTS", "--max-clients", "32") ));
+
+ if (registerPublicServer() < 0)
+ {
+ printf(_("Unable to contact MasterServer!)\n"));
+ }
+
+ return 0;
}
-arenaFile_t *
-getChoiceArena()
+arenaFile_t* getChoiceArena()
{
- return choice_arenaFile;
+ return choice_arenaFile;
}
-void
-eventPublicServer()
+void eventPublicServer()
{
- static my_time_t lastActive = 0;
- my_time_t interval;
+ static my_time_t lastActive = 0;
+ my_time_t interval;
- eventNetMultiplayer();
+ eventNetMultiplayer();
- if (isSignalEnd == TRUE) {
- quitPublicServer();
- }
+ if( isSignalEnd == TRUE )
+ {
+ quitPublicServer();
+ }
- if (lastActive == 0) {
- lastActive = getMyTime();
- }
+ if( lastActive == 0 )
+ {
+ lastActive = getMyTime();
+ }
- interval = getMyTime() - lastActive;
+ interval = getMyTime() - lastActive;
- if (interval < 50) {
- return;
- }
+ if( interval < 50 )
+ {
+ return;
+ }
- //printf("interval = %d\n", interval);
+ //printf("interval = %d\n", interval);
- lastActive = getMyTime();
+ lastActive = getMyTime();
- eventArena(arena);
+ eventArena(arena);
}
-void
-my_handler_quit(int n)
+void my_handler_quit(int n)
{
#ifdef DEBUG
- printf("my_handler_quit\n");
+ printf("my_handler_quit\n");
#endif
- isSignalEnd = TRUE;
+ isSignalEnd = TRUE;
}
-void
-quitPublicServer()
+void quitPublicServer()
{
#ifdef DEBUG
- printf(_("Quitting public server\n"));
+ printf(_("Quitting public server\n"));
#endif
- quitNetMultiplayer();
- destroyArena(arena);
-
- quitTux();
- quitItem();
- quitShot();
-
- quitArenaFile();
- quitServerConfigFile();
- quitModule();
- quitListID();
- quitHeightScore();
- quitLog();
-
- exit(0);
+ quitNetMultiplayer();
+ destroyArena(arena);
+
+ quitTux();
+ quitItem();
+ quitShot();
+
+ quitArenaFile();
+ quitServerConfigFile();
+ quitModule();
+ quitListID();
+ quitHeightScore();
+ quitLog();
+
+ exit(0);
}
-int
-startPublicServer()
+int startPublicServer()
{
#ifndef __WIN32__
- signal(SIGINT, my_handler_quit);
- signal(SIGTERM, my_handler_quit);
- signal(SIGQUIT, my_handler_quit);
+ signal(SIGINT, my_handler_quit);
+ signal(SIGTERM, my_handler_quit);
+ signal(SIGQUIT, my_handler_quit);
#endif
- if (initPublicServer() < 0) {
- quitPublicServer();
- return -1;
- }
-
- while (1) {
- eventPublicServer();
- }
-
- return 0;
+ if( initPublicServer() < 0 )
+ {
+ quitPublicServer();
+ return -1;
+ }
+
+ while(1)
+ {
+ eventPublicServer();
+ }
+
+ return 0;
}
diff --git a/src/server/publicServer.c~ b/src/server/publicServer.c~
deleted file mode 100644
index 8770300..0000000
--- a/src/server/publicServer.c~
+++ /dev/null
@@ -1,372 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-#include <signal.h>
-#include <time.h>
-
-#ifndef __WIN32
-#include <sys/socket.h>
-#include <sys/select.h>
-#include <arpa/inet.h>
-#else
-# include <windows.h>
-# include <wininet.h>
-#endif
-
-#include <unistd.h>
-#include <fcntl.h>
-#include <errno.h>
-
-#include "main.h"
-#include "list.h"
-#include "tux.h"
-#include "idManager.h"
-#include "myTimer.h"
-#include "arena.h"
-#include "item.h"
-#include "shot.h"
-#include "arenaFile.h"
-#include "proto.h"
-#include "modules.h"
-#include "net_multiplayer.h"
-
-#include "publicServer.h"
-#include "serverConfigFile.h"
-#include "heightScore.h"
-#include "log.h"
-
-#include "dns.h"
-
-static arena_t *arena;
-static bool_t isSignalEnd;
-static arenaFile_t *choice_arenaFile;
-
-extern int errno;
-
-#define __PACKED__ __attribute__ ((__packed__))
-
-void countRoundInc()
-{
-}
-
-char *getSetting(char *env, char *param, char *default_val)
-{
- return getParamElse(param, getServerConfigFileValue(env, default_val) );
-}
-
-static int registerPublicServer()
-{
-#ifndef __WIN32
- int s;
-#else
- SOCKET s;
-#endif
-
- /* TODO: dodelat TCP makro */
- struct sockaddr_in server;
- char *master_server_ip;
-
- master_server_ip = getIPFormDNS(NET_MASTER_SERVER_DOMAIN);
-
- //printf("master_server_ip = %s\n", master_server_ip);
-
- if( master_server_ip == NULL ) // master server is down
- {
- return -1;
- }
-
- server.sin_family = AF_INET;
- server.sin_port = htons (NET_MASTER_PORT);
- server.sin_addr.s_addr = inet_addr (master_server_ip);
-
- free(master_server_ip);
-
- if ((s = socket (AF_INET, SOCK_STREAM, 0)) < 0) {
- return 0;
- }
-
- /* Set to nonblocking socket mode */
-#ifndef __WIN32__
- int oldFlag;
-
- oldFlag = fcntl (s, F_GETFL, 0);
-
- if( fcntl(s, F_SETFL, oldFlag | O_NONBLOCK) == -1 )
- {
- return -1;
- }
-#else
- unsigned long arg = 1;
- // Operation is FIONBIO. Parameter is pointer on non-zero number.
- if( ioctlsocket(s, FIONBIO, &arg) == SOCKET_ERROR )
- {
- WSACleanup();
- return -1;
- }
-#endif
-
- if( connect (s, (struct sockaddr *) &server, sizeof (server)) == -1 ) {
-#ifndef __WIN32__
- if (errno != EINPROGRESS)
- return -1;
-#else
- if (WSAGetLastError() != WSAEWOULDBLOCK) {
- WSACleanup();
- return -1;
- }
-#endif
- }
-
- struct timeval tv;
-
- fd_set myset;
-
- FD_ZERO(&myset);
- FD_SET(s, &myset);
-
- tv.tv_sec = 3;
- tv.tv_usec = 0;
-
- int ret = select (s+1, NULL, &myset, NULL, &tv);
-
- if (ret == -1)
- return -1;
-
- if (ret == 0)
- return -1;
-
- FD_ZERO(&myset);
- FD_SET(s, &myset);
-
- tv.tv_sec = 1;
- tv.tv_usec = 0;
-
- ret = select (s+1, NULL, &myset, NULL, &tv);
-
- if (ret == -1)
- return -1;
-
- if (ret == 0)
- return -1;
-
-
- typedef struct {
- unsigned char cmd;
- unsigned port;
- unsigned ip;
- } __PACKED__ register_head;
-
- char *str = (char *) malloc (sizeof (register_head));
-
- register_head *head = (register_head *) str;
-
- head->cmd = 'p';
- head->port = atoi( getSetting("PORT4", "--port4", "2200") );
- head->ip = 0; // TODO
-
- /* send request for server list */
- int r = send (s, str, 9, 0);
-
- free (str);
-
- if (r == -1) {
-#ifndef __WIN32
- close(s);
-#else
- closesocket(s);
-#endif
- return -1;
- }
-
-#ifndef __WIN32
- close(s);
-#else
- closesocket(s);
-#endif
-
- return 0;
-}
-
-static int initPublicServerNetwork()
-{
- char ip4[STR_IP_SIZE];
- char ip6[STR_IP_SIZE];
- char *p_ip4, *p_ip6;
- int port4;
- int port6;
- int ret;
-
- ret = -1;
-
- strcpy(ip4, getSetting("IP4", "--ip4", "none" ) );
- strcpy(ip6, getSetting("IP6", "--ip6", "none" ) );
-
- p_ip4 = ip4;
-
- if( strcmp(ip4, "none") == 0 )
- {
- p_ip4 = NULL;
- }
-
- p_ip6 = ip6;
-
- if( strcmp(ip6, "none") == 0 )
- {
- p_ip6 = NULL;
- }
-
- port4 = atoi( getSetting("PORT4", "--port4", "2200") );
- port6 = atoi( getSetting("PORT6", "--port6", "2200") );
-
- //ret = initNetMulitplayerPublicServer(p_ip4, port4, p_ip6, port6);
-
- ret = initNetMuliplayerForGameServer(p_ip4, port4, p_ip6, port6);
-
- return ret;
-}
-
-static void loadArena()
-{
- choice_arenaFile = getArenaFileFormNetName( getSetting("ARENA", "--arena", "FAGN") );
- arena = getArena(choice_arenaFile);
- setCurrentArena(arena);
-}
-
-int initPublicServer()
-{
- int ret;
- int i;
-
- initListID();
- initModule();
- initArenaFile();
- initTux();
- initItem();
- initShot();
- initServerConfigFile();
-
- ret = initLog(getSetting("LOG_FILE", "--log-file", "/tmp/tuxanci-server.log") );
-
- if( ret < 0 )
- {
- fprintf(stderr, _("I was unable to open config file!\n"));
- return -1;
- }
-
- initHeightScore( getSetting("SCORE_FILE", "--score-file", "/tmp/heightscore") );
-
- loadArena();
-
- for( i = 0 ; i < atoi(getSetting("ITEM", "--item", "10")) ; i++ )
- {
- addNewItem(arena->spaceItem, ID_UNKNOWN);
- }
-
- isSignalEnd = FALSE;
-
- ret = initPublicServerNetwork();
-
- if( ret < 0 )
- {
- printf(_("Unable to initialize network socket!\n"));
- return -1;
- }
-
- setServerMaxClients( atoi( getSetting("MAX_CLIENTS", "--max-clients", "32") ));
-
- if (registerPublicServer() < 0)
- {
- printf(_("Unable to contact MasterServer!)\n"));
- }
-
- return 0;
-}
-
-arenaFile_t* getChoiceArena()
-{
- return choice_arenaFile;
-}
-
-void eventPublicServer()
-{
- static my_time_t lastActive = 0;
- my_time_t interval;
-
- eventNetMultiplayer();
-
- if( isSignalEnd == TRUE )
- {
- quitPublicServer();
- }
-
- if( lastActive == 0 )
- {
- lastActive = getMyTime();
- }
-
- interval = getMyTime() - lastActive;
-
- if( interval < 50 )
- {
- return;
- }
-
- //printf("interval = %d\n", interval);
-
- lastActive = getMyTime();
-
- eventArena(arena);
-}
-
-void my_handler_quit(int n)
-{
-#ifdef DEBUG
- printf("my_handler_quit\n");
-#endif
- isSignalEnd = TRUE;
-}
-
-void quitPublicServer()
-{
-#ifdef DEBUG
- printf(_("Quitting public server\n"));
-#endif
- quitNetMultiplayer();
- destroyArena(arena);
-
- quitTux();
- quitItem();
- quitShot();
-
- quitArenaFile();
- quitServerConfigFile();
- quitModule();
- quitListID();
- quitHeightScore();
- quitLog();
-
- exit(0);
-}
-
-int startPublicServer()
-{
-#ifndef __WIN32__
- signal(SIGINT, my_handler_quit);
- signal(SIGTERM, my_handler_quit);
- signal(SIGQUIT, my_handler_quit);
-#endif
- if( initPublicServer() < 0 )
- {
- quitPublicServer();
- return -1;
- }
-
- while(1)
- {
- eventPublicServer();
- }
-
- return 0;
-}
diff --git a/src/server/serverConfigFile.c b/src/server/serverConfigFile.c
index 7e843eb..487ec13 100644
--- a/src/server/serverConfigFile.c
+++ b/src/server/serverConfigFile.c
@@ -11,95 +11,98 @@
static textFile_t *serverTextFile;
-static void
-prepareConfigFile(textFile_t * ts)
+static void prepareConfigFile(textFile_t *ts)
{
- int i;
- int j;
-
- for (i = 0; i < serverTextFile->text->count; i++) {
- char *line;
- int len;
-
- line = (char *) (serverTextFile->text->list[i]);
- len = strlen(line);
-
- for (j = 0; j < len; j++) {
- if (line[j] == ' ') // [TAB]
- {
- line[j] = ' ';
- }
- }
- }
+ int i;
+ int j;
+
+ for( i = 0 ; i < serverTextFile->text->count ; i++ )
+ {
+ char *line;
+ int len;
+
+ line = (char *)(serverTextFile->text->list[i]);
+ len = strlen(line);
+
+ for( j = 0 ; j < len ; j++ )
+ {
+ if( line[j] == ' ' ) // [TAB]
+ {
+ line[j] = ' ';
+ }
+ }
+ }
}
-void
-initServerConfigFile()
+void initServerConfigFile()
{
- char *configFile;
+ char *configFile;
- configFile = getParamElse("--config-file", SERVER_CONFIG);
- printf(_("Loading configuration from: \"%s\"\n"),
- getParamElse("--config-file", SERVER_CONFIG));
+ configFile = getParamElse("--config-file", SERVER_CONFIG);
+ printf(_("Loading configuration from: \"%s\"\n"), getParamElse("--config-file", SERVER_CONFIG) );
- serverTextFile = loadTextFile(configFile);
+ serverTextFile = loadTextFile(configFile);
- if (serverTextFile == NULL) {
- fprintf(stderr,
- _
- ("I was unable to load config file. Falling back to defaults!\n"));
- return;
- }
-
- prepareConfigFile(serverTextFile);
+ if( serverTextFile == NULL )
+ {
+ fprintf(stderr, _("I was unable to load config file. Falling back to defaults!\n"));
+ return;
+ }
+
+ prepareConfigFile(serverTextFile);
}
-static char *
-findValue(char *s)
+static char *findValue(char *s)
{
- int len;
- int i;
+ int len;
+ int i;
- len = strlen(s);
+ len = strlen(s);
- for (i = 0; i < len - 1; i++) {
- if (s[i] == ' ' && s[i + 1] != ' ') {
- return s + i + 1;
- }
- }
+ for( i = 0 ; i < len-1 ; i++)
+ {
+ if( s[i] == ' ' && s[i+1] != ' ' )
+ {
+ return s+i+1;
+ }
+ }
- return NULL;
+ return NULL;
}
-char *
-getServerConfigFileValue(char *env, char *s)
+char* getServerConfigFileValue(char *env, char *s)
{
- int i;
- int len;
+ int i;
+ int len;
- if (serverTextFile == NULL) {
- return s;
- }
+ if( serverTextFile == NULL )
+ {
+ return s;
+ }
- len = strlen(env);
+ len = strlen(env);
- for (i = 0; i < serverTextFile->text->count; i++) {
- char *line;
+ for( i = 0 ; i < serverTextFile->text->count ; i++ )
+ {
+ char *line;
- line = (char *) (serverTextFile->text->list[i]);
+ line = (char *)(serverTextFile->text->list[i]);
- if (strncmp(line, env, len) == 0) {
- return findValue(line);
- }
- }
+ if( strncmp(line, env, len) == 0 )
+ {
+ return findValue(line);
+ }
+ }
- return s;
+ return s;
}
-void
-quitServerConfigFile()
+void quitServerConfigFile()
{
- if (serverTextFile != NULL) {
- destroyTextFile(serverTextFile);
- }
+ if( serverTextFile != NULL )
+ {
+ destroyTextFile(serverTextFile);
+ }
}
+
+
diff --git a/src/server/serverConfigFile.c~ b/src/server/serverConfigFile.c~
deleted file mode 100644
index 487ec13..0000000
--- a/src/server/serverConfigFile.c~
+++ /dev/null
@@ -1,108 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <assert.h>
-
-#include "main.h"
-#include "list.h"
-#include "textFile.h"
-#include "serverConfigFile.h"
-
-static textFile_t *serverTextFile;
-
-static void prepareConfigFile(textFile_t *ts)
-{
- int i;
- int j;
-
- for( i = 0 ; i < serverTextFile->text->count ; i++ )
- {
- char *line;
- int len;
-
- line = (char *)(serverTextFile->text->list[i]);
- len = strlen(line);
-
- for( j = 0 ; j < len ; j++ )
- {
- if( line[j] == ' ' ) // [TAB]
- {
- line[j] = ' ';
- }
- }
- }
-}
-
-void initServerConfigFile()
-{
- char *configFile;
-
- configFile = getParamElse("--config-file", SERVER_CONFIG);
- printf(_("Loading configuration from: \"%s\"\n"), getParamElse("--config-file", SERVER_CONFIG) );
-
- serverTextFile = loadTextFile(configFile);
-
- if( serverTextFile == NULL )
- {
- fprintf(stderr, _("I was unable to load config file. Falling back to defaults!\n"));
- return;
- }
-
- prepareConfigFile(serverTextFile);
-}
-
-static char *findValue(char *s)
-{
- int len;
- int i;
-
- len = strlen(s);
-
- for( i = 0 ; i < len-1 ; i++)
- {
- if( s[i] == ' ' && s[i+1] != ' ' )
- {
- return s+i+1;
- }
- }
-
- return NULL;
-}
-
-char* getServerConfigFileValue(char *env, char *s)
-{
- int i;
- int len;
-
- if( serverTextFile == NULL )
- {
- return s;
- }
-
- len = strlen(env);
-
- for( i = 0 ; i < serverTextFile->text->count ; i++ )
- {
- char *line;
-
- line = (char *)(serverTextFile->text->list[i]);
-
- if( strncmp(line, env, len) == 0 )
- {
- return findValue(line);
- }
- }
-
- return s;
-}
-
-void quitServerConfigFile()
-{
- if( serverTextFile != NULL )
- {
- destroyTextFile(serverTextFile);
- }
-}
-
-
diff --git a/src/widget/widget.c b/src/widget/widget.c
index 3c437b4..2d9ee19 100644
--- a/src/widget/widget.c
+++ b/src/widget/widget.c
@@ -7,56 +7,46 @@
#include "widget.h"
#include "widget_label.h"
-widget_t *
-newWidget(int type, int x, int y, int w, int h, void *private_data)
+widget_t* newWidget(int type, int x, int y, int w, int h, void *private_data)
{
- widget_t *new;
+ widget_t *new;
- new = malloc(sizeof(widget_t));
- new->type = type;
- new->x = x;
- new->y = y;
- new->w = w;
- new->h = h;
- new->private_data = private_data;
+ new = malloc( sizeof(widget_t) );
+ new->type = type;
+ new->x = x;
+ new->y = y;
+ new->w = w;
+ new->h = h;
+ new->private_data = private_data;
- return new;
+ return new;
}
-void
-widgetSetLocation(widget_t * p, int x, int y)
+void widgetSetLocation(widget_t *p, int x, int y)
{
- p->x = x;
- p->y = y;
+ p->x = x;
+ p->y = y;
}
-void
-widgetGetLocation(widget_t * p, int *x, int *y)
+void widgetGetLocation(widget_t *p, int *x, int *y)
{
- if (x != NULL)
- *x = p->x;
- if (y != NULL)
- *y = p->y;
+ if( x != NULL )*x = p->x;
+ if( y != NULL )*y = p->y;
}
-void
-widgetSetSize(widget_t * p, int w, int h)
+void widgetSetSize(widget_t *p, int w, int h)
{
- p->w = w;
- p->h = h;
+ p->w = w;
+ p->h = h;
}
-void
-widgetGetSize(widget_t * p, int *w, int *h)
+void widgetGetSize(widget_t *p, int *w, int *h)
{
- if (w != NULL)
- *w = p->w;
- if (h != NULL)
- *h = p->h;
+ if( w != NULL )*w = p->w;
+ if( h != NULL )*h = p->h;
}
-void
-destroyWidget(widget_t * p)
+void destroyWidget(widget_t *p)
{
- free(p);
+ free(p);
}
diff --git a/src/widget/widget.c~ b/src/widget/widget.c~
deleted file mode 100644
index 2d9ee19..0000000
--- a/src/widget/widget.c~
+++ /dev/null
@@ -1,52 +0,0 @@
-
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-
-#include "widget.h"
-#include "widget_label.h"
-
-widget_t* newWidget(int type, int x, int y, int w, int h, void *private_data)
-{
- widget_t *new;
-
- new = malloc( sizeof(widget_t) );
- new->type = type;
- new->x = x;
- new->y = y;
- new->w = w;
- new->h = h;
- new->private_data = private_data;
-
- return new;
-}
-
-void widgetSetLocation(widget_t *p, int x, int y)
-{
- p->x = x;
- p->y = y;
-}
-
-void widgetGetLocation(widget_t *p, int *x, int *y)
-{
- if( x != NULL )*x = p->x;
- if( y != NULL )*y = p->y;
-}
-
-void widgetSetSize(widget_t *p, int w, int h)
-{
- p->w = w;
- p->h = h;
-}
-
-void widgetGetSize(widget_t *p, int *w, int *h)
-{
- if( w != NULL )*w = p->w;
- if( h != NULL )*h = p->h;
-}
-
-void destroyWidget(widget_t *p)
-{
- free(p);
-}
diff --git a/src/widget/widget_button.c b/src/widget/widget_button.c
index 4e6414f..d52be75 100644
--- a/src/widget/widget_button.c
+++ b/src/widget/widget_button.c
@@ -11,104 +11,99 @@
#include "widget.h"
#include "widget_button.h"
-widget_t *
-newWidgetButton(char *text, int x, int y, void (*fce_event) (void *))
+widget_t* newWidgetButton(char *text, int x, int y, void (*fce_event)(void *))
{
- widget_button_t *new;
+ widget_button_t *new;
- new = malloc(sizeof(widget_button_t));
- new->text = strdup(text);
- new->fce_event = fce_event;
- getTextSize(text, &(new->w), &(new->h));
+ new = malloc( sizeof(widget_button_t) );
+ new->text = strdup(text);
+ new->fce_event = fce_event;
+ getTextSize(text, &(new->w), &(new->h));
- return newWidget(WIDGET_TYPE_BUTTON, x, y, WIDGET_BUTTON_WIDTH,
- WIDGET_BUTTON_HEIGHT, new);
+ return newWidget(WIDGET_TYPE_BUTTON, x, y, WIDGET_BUTTON_WIDTH, WIDGET_BUTTON_HEIGHT, new);
}
-void
-drawWidgetButton(widget_t * widget)
+void drawWidgetButton(widget_t *widget)
{
- widget_button_t *p;
- static image_t *g_button0 = NULL;
- static image_t *g_button1 = NULL;
- int x, y;
-
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_BUTTON);
-
- p = (widget_button_t *) widget->private_data;
- getMousePosition(&x, &y);
-
- if (g_button0 == NULL) {
- g_button0 =
- addImageData("button0.png", IMAGE_ALPHA, "button0",
- IMAGE_GROUP_BASE);
- }
-
- if (g_button1 == NULL) {
- g_button1 =
- addImageData("button1.png", IMAGE_ALPHA, "button1",
- IMAGE_GROUP_BASE);
- }
-
- if (x >= widget->x && x <= widget->x + WIDGET_BUTTON_WIDTH &&
- y >= widget->y && y <= widget->y + WIDGET_BUTTON_HEIGHT) {
- drawImage(g_button1, widget->x, widget->y, 0, 0, g_button0->w,
- g_button0->h);
- }
- else {
- drawImage(g_button0, widget->x, widget->y, 0, 0, g_button0->w,
- g_button0->h);
- }
-
- //drawFont(p->text, p->x+WIDGET_BUTTON_WIDTH/2-p->w/2, p->y+p->h/2, COLOR_WHITE);
- drawFont(p->text,
- widget->x + WIDGET_BUTTON_WIDTH / 2 - p->w / 2,
- widget->y + WIDGET_BUTTON_HEIGHT / 2 - p->h / 2, COLOR_WHITE);
+ widget_button_t *p;
+ static image_t *g_button0 = NULL;
+ static image_t *g_button1 = NULL;
+ int x, y;
+
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_BUTTON );
+
+ p = (widget_button_t *) widget->private_data;
+ getMousePosition(&x, &y);
+
+ if( g_button0 == NULL )
+ {
+ g_button0 = addImageData("button0.png", IMAGE_ALPHA, "button0", IMAGE_GROUP_BASE);
+ }
+
+ if( g_button1 == NULL )
+ {
+ g_button1 = addImageData("button1.png", IMAGE_ALPHA, "button1", IMAGE_GROUP_BASE);
+ }
+
+ if( x >= widget->x && x <= widget->x+WIDGET_BUTTON_WIDTH &&
+ y >= widget->y && y <= widget->y+WIDGET_BUTTON_HEIGHT )
+ {
+ drawImage(g_button1, widget->x, widget->y, 0, 0, g_button0->w, g_button0->h);
+ }
+ else
+ {
+ drawImage(g_button0, widget->x, widget->y, 0, 0, g_button0->w, g_button0->h);
+ }
+
+ //drawFont(p->text, p->x+WIDGET_BUTTON_WIDTH/2-p->w/2, p->y+p->h/2, COLOR_WHITE);
+ drawFont(p->text,
+ widget->x + WIDGET_BUTTON_WIDTH/2 - p->w/2,
+ widget->y + WIDGET_BUTTON_HEIGHT/2 - p->h/2, COLOR_WHITE);
}
-void
-eventWidgetButton(widget_t * widget)
+void eventWidgetButton(widget_t *widget)
{
- widget_button_t *p;
- static int time = 0;
- int x, y;
+ widget_button_t *p;
+ static int time = 0;
+ int x, y;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_BUTTON);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_BUTTON );
- p = (widget_button_t *) widget->private_data;
+ p = (widget_button_t *) widget->private_data;
- if (time > 0) {
- time--;
- return;
- }
+ if( time > 0)
+ {
+ time--;
+ return;
+ }
- getMousePosition(&x, &y);
+ getMousePosition(&x, &y);
- if (x >= widget->x && x <= widget->x + WIDGET_BUTTON_WIDTH &&
- y >= widget->y && y <= widget->y + WIDGET_BUTTON_HEIGHT &&
- isMouseClicked()) {
- time = WIDGET_BUTTON_TIME;
+ if( x >= widget->x && x <= widget->x+WIDGET_BUTTON_WIDTH &&
+ y >= widget->y && y <= widget->y+WIDGET_BUTTON_HEIGHT &&
+ isMouseClicked() )
+ {
+ time = WIDGET_BUTTON_TIME;
#ifdef DEBUG
- printf(_("Event caught\n"));
+ printf(_("Event caught\n"));
#endif
- p->fce_event(widget);
- }
+ p->fce_event(widget);
+ }
}
-void
-destroyWidgetButton(widget_t * widget)
+void destroyWidgetButton(widget_t *widget)
{
- widget_button_t *p;
+ widget_button_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_BUTTON);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_BUTTON );
- p = (widget_button_t *) widget->private_data;
+ p = (widget_button_t *) widget->private_data;
- free(p->text);
- free(p);
+ free(p->text);
+ free(p);
- destroyWidget(widget);
+ destroyWidget(widget);
}
diff --git a/src/widget/widget_button.c~ b/src/widget/widget_button.c~
deleted file mode 100644
index d52be75..0000000
--- a/src/widget/widget_button.c~
+++ /dev/null
@@ -1,109 +0,0 @@
-
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-
-#include "interface.h"
-#include "image.h"
-#include "font.h"
-
-#include "widget.h"
-#include "widget_button.h"
-
-widget_t* newWidgetButton(char *text, int x, int y, void (*fce_event)(void *))
-{
- widget_button_t *new;
-
- new = malloc( sizeof(widget_button_t) );
- new->text = strdup(text);
- new->fce_event = fce_event;
- getTextSize(text, &(new->w), &(new->h));
-
- return newWidget(WIDGET_TYPE_BUTTON, x, y, WIDGET_BUTTON_WIDTH, WIDGET_BUTTON_HEIGHT, new);
-}
-
-void drawWidgetButton(widget_t *widget)
-{
- widget_button_t *p;
- static image_t *g_button0 = NULL;
- static image_t *g_button1 = NULL;
- int x, y;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_BUTTON );
-
- p = (widget_button_t *) widget->private_data;
- getMousePosition(&x, &y);
-
- if( g_button0 == NULL )
- {
- g_button0 = addImageData("button0.png", IMAGE_ALPHA, "button0", IMAGE_GROUP_BASE);
- }
-
- if( g_button1 == NULL )
- {
- g_button1 = addImageData("button1.png", IMAGE_ALPHA, "button1", IMAGE_GROUP_BASE);
- }
-
- if( x >= widget->x && x <= widget->x+WIDGET_BUTTON_WIDTH &&
- y >= widget->y && y <= widget->y+WIDGET_BUTTON_HEIGHT )
- {
- drawImage(g_button1, widget->x, widget->y, 0, 0, g_button0->w, g_button0->h);
- }
- else
- {
- drawImage(g_button0, widget->x, widget->y, 0, 0, g_button0->w, g_button0->h);
- }
-
- //drawFont(p->text, p->x+WIDGET_BUTTON_WIDTH/2-p->w/2, p->y+p->h/2, COLOR_WHITE);
- drawFont(p->text,
- widget->x + WIDGET_BUTTON_WIDTH/2 - p->w/2,
- widget->y + WIDGET_BUTTON_HEIGHT/2 - p->h/2, COLOR_WHITE);
-}
-
-void eventWidgetButton(widget_t *widget)
-{
- widget_button_t *p;
- static int time = 0;
- int x, y;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_BUTTON );
-
- p = (widget_button_t *) widget->private_data;
-
- if( time > 0)
- {
- time--;
- return;
- }
-
- getMousePosition(&x, &y);
-
- if( x >= widget->x && x <= widget->x+WIDGET_BUTTON_WIDTH &&
- y >= widget->y && y <= widget->y+WIDGET_BUTTON_HEIGHT &&
- isMouseClicked() )
- {
- time = WIDGET_BUTTON_TIME;
-#ifdef DEBUG
- printf(_("Event caught\n"));
-#endif
- p->fce_event(widget);
- }
-}
-
-void destroyWidgetButton(widget_t *widget)
-{
- widget_button_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_BUTTON );
-
- p = (widget_button_t *) widget->private_data;
-
- free(p->text);
- free(p);
-
- destroyWidget(widget);
-}
diff --git a/src/widget/widget_buttonimage.c b/src/widget/widget_buttonimage.c
index a088a83..27e94a3 100644
--- a/src/widget/widget_buttonimage.c
+++ b/src/widget/widget_buttonimage.c
@@ -10,82 +10,79 @@
#include "widget.h"
#include "widget_buttonimage.h"
-widget_t *
-newWidgetButtonimage(image_t * image, int x, int y,
- void (*fce_event) (void *))
+widget_t* newWidgetButtonimage(image_t *image, int x, int y, void (*fce_event)(void *))
{
- widget_buttonimage_t *new;
+ widget_buttonimage_t *new;
- new = malloc(sizeof(widget_buttonimage_t));
- new->image = image;
- new->w = image->w / 2;
- new->h = image->h;
- new->active = 0;
- new->fce_event = fce_event;
+ new = malloc( sizeof(widget_buttonimage_t) );
+ new->image = image;
+ new->w = image->w/2;
+ new->h = image->h;
+ new->active = 0;
+ new->fce_event = fce_event;
- return newWidget(WIDGET_TYPE_BUTTONIMAGE, x, y, new->w, new->h, new);
+ return newWidget(WIDGET_TYPE_BUTTONIMAGE, x, y, new->w, new->h, new);
}
-void
-setWidgetButtonimageActive(widget_t * widget, bool_t active)
+void setWidgetButtonimageActive(widget_t *widget, bool_t active)
{
- widget_buttonimage_t *p;
+ widget_buttonimage_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_BUTTONIMAGE);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_BUTTONIMAGE );
- p = (widget_buttonimage_t *) widget->private_data;
- p->active = active;
+ p = (widget_buttonimage_t *)widget->private_data;
+ p->active = active;
}
-void
-drawWidgetButtonimage(widget_t * widget)
+void drawWidgetButtonimage(widget_t *widget)
{
- widget_buttonimage_t *p;
+ widget_buttonimage_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_BUTTONIMAGE);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_BUTTONIMAGE );
- p = (widget_buttonimage_t *) widget->private_data;
- drawImage(p->image, widget->x, widget->y, p->active * p->w, 0, p->w, p->h);
+ p = (widget_buttonimage_t *)widget->private_data;
+ drawImage(p->image, widget->x, widget->y, p->active*p->w, 0, p->w, p->h);
}
-void
-eventWidgetButtonimage(widget_t * widget)
+void eventWidgetButtonimage(widget_t *widget)
{
- widget_buttonimage_t *p;
- static int time = 0;
- int x, y;
-
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_BUTTONIMAGE);
-
- p = (widget_buttonimage_t *) widget->private_data;
- if (time > 0) {
- time--;
- return;
- }
-
- getMousePosition(&x, &y);
-
- if (x >= widget->x && x <= widget->x + p->w &&
- y >= widget->y && y <= widget->y + p->h && isMouseClicked()) {
- time = WIDGET_BUTTONIMAGE_TIME;
- p->active = 1;
- p->fce_event(widget);
- }
+ widget_buttonimage_t *p;
+ static int time = 0;
+ int x, y;
+
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_BUTTONIMAGE );
+
+ p = (widget_buttonimage_t *) widget->private_data;
+ if( time > 0)
+ {
+ time--;
+ return;
+ }
+
+ getMousePosition(&x, &y);
+
+ if( x >= widget->x && x <= widget->x+p->w &&
+ y >= widget->y && y <= widget->y+p->h &&
+ isMouseClicked() )
+ {
+ time = WIDGET_BUTTONIMAGE_TIME;
+ p->active = 1;
+ p->fce_event(widget);
+ }
}
-void
-destroyWidgetButtonimage(widget_t * widget)
+void destroyWidgetButtonimage(widget_t *widget)
{
- widget_buttonimage_t *p;
+ widget_buttonimage_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_BUTTONIMAGE);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_BUTTONIMAGE );
- p = (widget_buttonimage_t *) widget->private_data;
+ p = (widget_buttonimage_t *) widget->private_data;
- free(p);
- destroyWidget(widget);
+ free(p);
+ destroyWidget(widget);
}
diff --git a/src/widget/widget_buttonimage.c~ b/src/widget/widget_buttonimage.c~
deleted file mode 100644
index 27e94a3..0000000
--- a/src/widget/widget_buttonimage.c~
+++ /dev/null
@@ -1,88 +0,0 @@
-
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "interface.h"
-#include "font.h"
-#include "image.h"
-
-#include "widget.h"
-#include "widget_buttonimage.h"
-
-widget_t* newWidgetButtonimage(image_t *image, int x, int y, void (*fce_event)(void *))
-{
- widget_buttonimage_t *new;
-
- new = malloc( sizeof(widget_buttonimage_t) );
- new->image = image;
- new->w = image->w/2;
- new->h = image->h;
- new->active = 0;
- new->fce_event = fce_event;
-
- return newWidget(WIDGET_TYPE_BUTTONIMAGE, x, y, new->w, new->h, new);
-}
-
-void setWidgetButtonimageActive(widget_t *widget, bool_t active)
-{
- widget_buttonimage_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_BUTTONIMAGE );
-
- p = (widget_buttonimage_t *)widget->private_data;
- p->active = active;
-}
-
-void drawWidgetButtonimage(widget_t *widget)
-{
- widget_buttonimage_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_BUTTONIMAGE );
-
- p = (widget_buttonimage_t *)widget->private_data;
- drawImage(p->image, widget->x, widget->y, p->active*p->w, 0, p->w, p->h);
-}
-
-void eventWidgetButtonimage(widget_t *widget)
-{
- widget_buttonimage_t *p;
- static int time = 0;
- int x, y;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_BUTTONIMAGE );
-
- p = (widget_buttonimage_t *) widget->private_data;
- if( time > 0)
- {
- time--;
- return;
- }
-
- getMousePosition(&x, &y);
-
- if( x >= widget->x && x <= widget->x+p->w &&
- y >= widget->y && y <= widget->y+p->h &&
- isMouseClicked() )
- {
- time = WIDGET_BUTTONIMAGE_TIME;
- p->active = 1;
- p->fce_event(widget);
- }
-}
-
-void destroyWidgetButtonimage(widget_t *widget)
-{
- widget_buttonimage_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_BUTTONIMAGE );
-
- p = (widget_buttonimage_t *) widget->private_data;
-
- free(p);
- destroyWidget(widget);
-}
diff --git a/src/widget/widget_catchkey.c b/src/widget/widget_catchkey.c
index 19678a3..215e5b3 100644
--- a/src/widget/widget_catchkey.c
+++ b/src/widget/widget_catchkey.c
@@ -9,141 +9,146 @@
#include "widget.h"
#include "widget_catchkey.h"
-widget_t *
-newWidgetCatchkey(int key, int x, int y, void *event)
+widget_t* newWidgetCatchkey(int key, int x, int y, void *event)
{
- widget_catchkey_t *new;
+ widget_catchkey_t *new;
- new = malloc(sizeof(widget_catchkey_t));
- new->key = key;
- new->fce_event = event;
- new->active = FALSE;
+ new = malloc( sizeof(widget_catchkey_t) );
+ new->key = key;
+ new->fce_event = event;
+ new->active = FALSE;
- return newWidget(WIDGET_TYPE_CATCHKEY, x, y, WIDGET_CATCHKEY_WIDTH,
- WIDGET_CATCHKEY_HEIGHT, new);
+ return newWidget(WIDGET_TYPE_CATCHKEY, x, y, WIDGET_CATCHKEY_WIDTH, WIDGET_CATCHKEY_HEIGHT, new);
}
-int
-getWidgetCatchKey(widget_t * widget)
+int getWidgetCatchKey(widget_t *widget)
{
- widget_catchkey_t *p;
+ widget_catchkey_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_CATCHKEY);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_CATCHKEY );
- p = (widget_catchkey_t *) widget->private_data;
+ p = (widget_catchkey_t *) widget->private_data;
- return p->key;
+ return p->key;
}
-void
-setWidgetCatchKey(widget_t * widget, int key)
+void setWidgetCatchKey(widget_t *widget, int key)
{
- widget_catchkey_t *p;
+ widget_catchkey_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_CATCHKEY);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_CATCHKEY );
- p = (widget_catchkey_t *) widget->private_data;
+ p = (widget_catchkey_t *) widget->private_data;
- p->key = key;
+ p->key = key;
}
-void
-drawWidgetCatchkey(widget_t * widget)
+void drawWidgetCatchkey(widget_t *widget)
{
- widget_catchkey_t *p;
- char *name;
-
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_CATCHKEY);
-
- p = (widget_catchkey_t *) widget->private_data;
- name = NULL;
-
- if (p->key != WIDGET_CATCHKEY_NOKEY) {
- name = (char *) SDL_GetKeyName(p->key);
- }
-
- if (name == NULL) {
- name = "no key";
- }
-
- if (p->active) {
- drawFont(name, widget->x, widget->y, COLOR_RED);
- }
- else {
- drawFont(name, widget->x, widget->y, COLOR_WHITE);
- }
+ widget_catchkey_t *p;
+ char *name;
+
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_CATCHKEY );
+
+ p = (widget_catchkey_t *) widget->private_data;
+ name = NULL;
+
+ if( p->key != WIDGET_CATCHKEY_NOKEY )
+ {
+ name = (char *) SDL_GetKeyName(p->key);
+ }
+
+ if( name == NULL )
+ {
+ name = "no key";
+ }
+
+ if( p->active )
+ {
+ drawFont(name, widget->x, widget->y, COLOR_RED);
+ }
+ else
+ {
+ drawFont(name, widget->x, widget->y, COLOR_WHITE);
+ }
}
-static int
-getPessAnyKey()
+static int getPessAnyKey()
{
- Uint8 *mapa;
- int i;
-
- mapa = SDL_GetKeyState(NULL);
-
- for (i = SDLK_FIRST; i <= SDLK_COMPOSE; i++) {
- if (i == SDLK_NUMLOCK || // black key
- i == SDLK_CAPSLOCK || i == SDLK_SCROLLOCK) {
- continue;
- }
-
- if (mapa[i] == SDL_PRESSED) {
- return i;
- }
- }
-
- return WIDGET_CATCHKEY_NOKEY;
+ Uint8 *mapa;
+ int i;
+
+ mapa = SDL_GetKeyState(NULL);
+
+ for( i = SDLK_FIRST ; i <= SDLK_COMPOSE ; i++ )
+ {
+ if( i == SDLK_NUMLOCK || // black key
+ i == SDLK_CAPSLOCK ||
+ i == SDLK_SCROLLOCK )
+ {
+ continue;
+ }
+
+ if( mapa[i] == SDL_PRESSED )
+ {
+ return i;
+ }
+ }
+
+ return WIDGET_CATCHKEY_NOKEY;
}
-void
-eventWidgetCatchkey(widget_t * widget)
+void eventWidgetCatchkey(widget_t *widget)
{
- widget_catchkey_t *p;
- int x, y;
-
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_CATCHKEY);
-
- p = (widget_catchkey_t *) widget->private_data;
-
- getMousePosition(&x, &y);
-
- if (isMouseClicked()) {
- if (x >= widget->x && x <= widget->x + WIDGET_CATCHKEY_WIDTH &&
- y >= widget->y && y <= widget->y + WIDGET_CATCHKEY_HEIGHT) {
- p->active = TRUE;
- }
- else {
- p->active = FALSE;
- }
- }
-
- if (p->active == TRUE) {
- int key;
-
- key = getPessAnyKey();
-
- if (key != WIDGET_CATCHKEY_NOKEY) {
- p->key = key;
- p->fce_event(widget);
- }
- }
+ widget_catchkey_t *p;
+ int x, y;
+
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_CATCHKEY );
+
+ p = (widget_catchkey_t *) widget->private_data;
+
+ getMousePosition(&x, &y);
+
+ if( isMouseClicked() )
+ {
+ if( x >= widget->x && x <= widget->x+WIDGET_CATCHKEY_WIDTH &&
+ y >= widget->y && y <= widget->y+WIDGET_CATCHKEY_HEIGHT )
+ {
+ p->active = TRUE;
+ }
+ else
+ {
+ p->active = FALSE;
+ }
+ }
+
+ if( p->active == TRUE )
+ {
+ int key;
+
+ key = getPessAnyKey();
+
+ if( key != WIDGET_CATCHKEY_NOKEY )
+ {
+ p->key = key;
+ p->fce_event(widget);
+ }
+ }
}
-void
-destroyWidgetCatchkey(widget_t * widget)
+void destroyWidgetCatchkey(widget_t *widget)
{
- widget_catchkey_t *p;
+ widget_catchkey_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_CATCHKEY);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_CATCHKEY );
- p = (widget_catchkey_t *) widget->private_data;
+ p = (widget_catchkey_t *) widget->private_data;
- free(p);
- destroyWidget(widget);
+ free(p);
+ destroyWidget(widget);
}
diff --git a/src/widget/widget_catchkey.c~ b/src/widget/widget_catchkey.c~
deleted file mode 100644
index 215e5b3..0000000
--- a/src/widget/widget_catchkey.c~
+++ /dev/null
@@ -1,154 +0,0 @@
-
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "interface.h"
-#include "font.h"
-
-#include "widget.h"
-#include "widget_catchkey.h"
-
-widget_t* newWidgetCatchkey(int key, int x, int y, void *event)
-{
- widget_catchkey_t *new;
-
- new = malloc( sizeof(widget_catchkey_t) );
- new->key = key;
- new->fce_event = event;
- new->active = FALSE;
-
- return newWidget(WIDGET_TYPE_CATCHKEY, x, y, WIDGET_CATCHKEY_WIDTH, WIDGET_CATCHKEY_HEIGHT, new);
-}
-
-int getWidgetCatchKey(widget_t *widget)
-{
- widget_catchkey_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_CATCHKEY );
-
- p = (widget_catchkey_t *) widget->private_data;
-
- return p->key;
-}
-
-void setWidgetCatchKey(widget_t *widget, int key)
-{
- widget_catchkey_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_CATCHKEY );
-
- p = (widget_catchkey_t *) widget->private_data;
-
- p->key = key;
-}
-
-void drawWidgetCatchkey(widget_t *widget)
-{
- widget_catchkey_t *p;
- char *name;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_CATCHKEY );
-
- p = (widget_catchkey_t *) widget->private_data;
- name = NULL;
-
- if( p->key != WIDGET_CATCHKEY_NOKEY )
- {
- name = (char *) SDL_GetKeyName(p->key);
- }
-
- if( name == NULL )
- {
- name = "no key";
- }
-
- if( p->active )
- {
- drawFont(name, widget->x, widget->y, COLOR_RED);
- }
- else
- {
- drawFont(name, widget->x, widget->y, COLOR_WHITE);
- }
-}
-
-static int getPessAnyKey()
-{
- Uint8 *mapa;
- int i;
-
- mapa = SDL_GetKeyState(NULL);
-
- for( i = SDLK_FIRST ; i <= SDLK_COMPOSE ; i++ )
- {
- if( i == SDLK_NUMLOCK || // black key
- i == SDLK_CAPSLOCK ||
- i == SDLK_SCROLLOCK )
- {
- continue;
- }
-
- if( mapa[i] == SDL_PRESSED )
- {
- return i;
- }
- }
-
- return WIDGET_CATCHKEY_NOKEY;
-}
-
-void eventWidgetCatchkey(widget_t *widget)
-{
- widget_catchkey_t *p;
- int x, y;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_CATCHKEY );
-
- p = (widget_catchkey_t *) widget->private_data;
-
- getMousePosition(&x, &y);
-
- if( isMouseClicked() )
- {
- if( x >= widget->x && x <= widget->x+WIDGET_CATCHKEY_WIDTH &&
- y >= widget->y && y <= widget->y+WIDGET_CATCHKEY_HEIGHT )
- {
- p->active = TRUE;
- }
- else
- {
- p->active = FALSE;
- }
- }
-
- if( p->active == TRUE )
- {
- int key;
-
- key = getPessAnyKey();
-
- if( key != WIDGET_CATCHKEY_NOKEY )
- {
- p->key = key;
- p->fce_event(widget);
- }
- }
-}
-
-void destroyWidgetCatchkey(widget_t *widget)
-{
- widget_catchkey_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_CATCHKEY );
-
- p = (widget_catchkey_t *) widget->private_data;
-
- free(p);
- destroyWidget(widget);
-}
diff --git a/src/widget/widget_check.c b/src/widget/widget_check.c
index caa937c..2d94238 100644
--- a/src/widget/widget_check.c
+++ b/src/widget/widget_check.c
@@ -9,121 +9,120 @@
#include "widget.h"
#include "widget_check.h"
-widget_t *
-newWidgetCheck(int x, int y, bool_t status, void (*fce_event) (void *))
+widget_t* newWidgetCheck(int x, int y, bool_t status, void (*fce_event)(void *))
{
- widget_check_t *new;
+ widget_check_t *new;
- new = malloc(sizeof(widget_check_t));
- new->time = 0;
- new->status = status;
- new->fce_event = fce_event;
+ new = malloc( sizeof(widget_check_t) );
+ new->time = 0;
+ new->status = status;
+ new->fce_event = fce_event;
- return newWidget(WIDGET_TYPE_CHECK, x, y, WIDGET_CHECK_WIDTH,
- WIDGET_CHECK_HEIGHT, new);
+ return newWidget(WIDGET_TYPE_CHECK, x, y, WIDGET_CHECK_WIDTH, WIDGET_CHECK_HEIGHT, new);
}
-void
-drawWidgetCheck(widget_t * widget)
+void drawWidgetCheck(widget_t *widget)
{
- widget_check_t *p;
- static image_t *g_check = NULL;
- int x, y;
- int offset;
+ widget_check_t *p;
+ static image_t *g_check = NULL;
+ int x, y;
+ int offset;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_CHECK);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_CHECK );
- p = (widget_check_t *) widget->private_data;
+ p = (widget_check_t *) widget->private_data;
- getMousePosition(&x, &y);
+ getMousePosition(&x, &y);
- if (g_check == NULL) {
- g_check =
- addImageData("check.png", IMAGE_ALPHA, "check", IMAGE_GROUP_BASE);
- }
+ if( g_check == NULL )
+ {
+ g_check = addImageData("check.png", IMAGE_ALPHA, "check", IMAGE_GROUP_BASE);
+ }
- if (p->status == TRUE) {
- offset = 0;
- }
- else {
- offset = WIDGET_CHECK_WIDTH;
- }
+ if( p->status == TRUE )
+ {
+ offset = 0;
+ }
+ else
+ {
+ offset = WIDGET_CHECK_WIDTH;
+ }
- drawImage(g_check, widget->x, widget->y, offset, 0, WIDGET_CHECK_WIDTH,
- WIDGET_CHECK_HEIGHT);
+ drawImage(g_check, widget->x, widget->y, offset, 0, WIDGET_CHECK_WIDTH, WIDGET_CHECK_HEIGHT);
}
-void
-eventWidgetCheck(widget_t * widget)
+void eventWidgetCheck(widget_t *widget)
{
- widget_check_t *p;
- int x, y;
-
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_CHECK);
-
- p = (widget_check_t *) widget->private_data;
-
- if (p->time > 0) {
- p->time--;
- return;
- }
-
- getMousePosition(&x, &y);
-
- if (x >= widget->x && x <= widget->x + WIDGET_CHECK_WIDTH &&
- y >= widget->y && y <= widget->y + WIDGET_CHECK_HEIGHT &&
- isMouseClicked()) {
- if (p->status == TRUE) {
- p->status = FALSE;
- p->time = WIDGET_CHECK_TIME_SWITCH_STATUS;
- }
- else {
- p->status = TRUE;
- p->time = WIDGET_CHECK_TIME_SWITCH_STATUS;
- }
-
- if (p->fce_event != NULL) {
- p->fce_event(p);
- }
- }
+ widget_check_t *p;
+ int x, y;
+
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_CHECK );
+
+ p = (widget_check_t *) widget->private_data;
+
+ if( p->time > 0 )
+ {
+ p->time--;
+ return;
+ }
+
+ getMousePosition(&x, &y);
+
+ if( x >= widget->x && x <= widget->x+WIDGET_CHECK_WIDTH &&
+ y >= widget->y && y <= widget->y+WIDGET_CHECK_HEIGHT &&
+ isMouseClicked() )
+ {
+ if( p->status == TRUE )
+ {
+ p->status = FALSE;
+ p->time = WIDGET_CHECK_TIME_SWITCH_STATUS;
+ }
+ else
+ {
+ p->status = TRUE;
+ p->time = WIDGET_CHECK_TIME_SWITCH_STATUS;
+ }
+
+ if( p->fce_event != NULL )
+ {
+ p->fce_event(p);
+ }
+ }
}
-bool_t
-getWidgetCheckStatus(widget_t * widget)
+bool_t getWidgetCheckStatus(widget_t *widget)
{
- widget_check_t *p;
+ widget_check_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_CHECK);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_CHECK );
- p = (widget_check_t *) widget->private_data;
+ p = (widget_check_t *) widget->private_data;
- return p->status;
+ return p->status;
}
-void
-setWidgetCheckStatus(widget_t * widget, bool_t status)
+void setWidgetCheckStatus(widget_t *widget, bool_t status)
{
- widget_check_t *p;
+ widget_check_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_CHECK);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_CHECK );
- p = (widget_check_t *) widget->private_data;
- p->status = status;
+ p = (widget_check_t *) widget->private_data;
+ p->status = status;
}
-void
-destroyWidgetCheck(widget_t * widget)
+void destroyWidgetCheck(widget_t *widget)
{
- widget_check_t *p;
+ widget_check_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_CHECK);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_CHECK );
- p = (widget_check_t *) widget->private_data;
- free(p);
- destroyWidget(widget);
+ p = (widget_check_t *) widget->private_data;
+ free(p);
+ destroyWidget(widget);
}
diff --git a/src/widget/widget_check.c~ b/src/widget/widget_check.c~
deleted file mode 100644
index 2d94238..0000000
--- a/src/widget/widget_check.c~
+++ /dev/null
@@ -1,128 +0,0 @@
-
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "interface.h"
-#include "image.h"
-
-#include "widget.h"
-#include "widget_check.h"
-
-widget_t* newWidgetCheck(int x, int y, bool_t status, void (*fce_event)(void *))
-{
- widget_check_t *new;
-
- new = malloc( sizeof(widget_check_t) );
- new->time = 0;
- new->status = status;
- new->fce_event = fce_event;
-
- return newWidget(WIDGET_TYPE_CHECK, x, y, WIDGET_CHECK_WIDTH, WIDGET_CHECK_HEIGHT, new);
-}
-
-void drawWidgetCheck(widget_t *widget)
-{
- widget_check_t *p;
- static image_t *g_check = NULL;
- int x, y;
- int offset;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_CHECK );
-
- p = (widget_check_t *) widget->private_data;
-
- getMousePosition(&x, &y);
-
- if( g_check == NULL )
- {
- g_check = addImageData("check.png", IMAGE_ALPHA, "check", IMAGE_GROUP_BASE);
- }
-
- if( p->status == TRUE )
- {
- offset = 0;
- }
- else
- {
- offset = WIDGET_CHECK_WIDTH;
- }
-
- drawImage(g_check, widget->x, widget->y, offset, 0, WIDGET_CHECK_WIDTH, WIDGET_CHECK_HEIGHT);
-}
-
-void eventWidgetCheck(widget_t *widget)
-{
- widget_check_t *p;
- int x, y;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_CHECK );
-
- p = (widget_check_t *) widget->private_data;
-
- if( p->time > 0 )
- {
- p->time--;
- return;
- }
-
- getMousePosition(&x, &y);
-
- if( x >= widget->x && x <= widget->x+WIDGET_CHECK_WIDTH &&
- y >= widget->y && y <= widget->y+WIDGET_CHECK_HEIGHT &&
- isMouseClicked() )
- {
- if( p->status == TRUE )
- {
- p->status = FALSE;
- p->time = WIDGET_CHECK_TIME_SWITCH_STATUS;
- }
- else
- {
- p->status = TRUE;
- p->time = WIDGET_CHECK_TIME_SWITCH_STATUS;
- }
-
- if( p->fce_event != NULL )
- {
- p->fce_event(p);
- }
- }
-}
-
-bool_t getWidgetCheckStatus(widget_t *widget)
-{
- widget_check_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_CHECK );
-
- p = (widget_check_t *) widget->private_data;
-
- return p->status;
-}
-
-void setWidgetCheckStatus(widget_t *widget, bool_t status)
-{
- widget_check_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_CHECK );
-
- p = (widget_check_t *) widget->private_data;
- p->status = status;
-}
-
-void destroyWidgetCheck(widget_t *widget)
-{
- widget_check_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_CHECK );
-
- p = (widget_check_t *) widget->private_data;
- free(p);
- destroyWidget(widget);
-}
diff --git a/src/widget/widget_choicegroup.c b/src/widget/widget_choicegroup.c
index e68935d..fc4fd01 100644
--- a/src/widget/widget_choicegroup.c
+++ b/src/widget/widget_choicegroup.c
@@ -9,152 +9,147 @@
#include "widget.h"
#include "widget_choicegroup.h"
-widget_t *
-newWidgetChoicegroup(int x, int y, bool_t status, list_t * list,
- void (*fce_event) (void *))
+widget_t* newWidgetChoicegroup(int x, int y, bool_t status, list_t *list, void (*fce_event)(void *))
{
- widget_choicegroup_t *new;
- widget_t *widget;
+ widget_choicegroup_t *new;
+ widget_t *widget;
- new = malloc(sizeof(widget_choicegroup_t));
- new->time = 0;
- new->status = status;
- new->fce_event = fce_event;
- new->list = list;
+ new = malloc( sizeof(widget_choicegroup_t) );
+ new->time = 0;
+ new->status = status;
+ new->fce_event = fce_event;
+ new->list = list;
- widget =
- newWidget(WIDGET_TYPE_CHOICE, x, y, WIDGET_CHOICEGROUP_WIDTH,
- WIDGET_CHOICEGROUP_HEIGHT, new);
- addList(new->list, widget);
+ widget = newWidget(WIDGET_TYPE_CHOICE, x, y, WIDGET_CHOICEGROUP_WIDTH, WIDGET_CHOICEGROUP_HEIGHT, new);
+ addList(new->list, widget);
- return widget;
+ return widget;
}
-void
-drawWidgetChoicegroup(widget_t * widget)
+void drawWidgetChoicegroup(widget_t *widget)
{
- widget_choicegroup_t *p;
- static image_t *g_choicegroup = NULL;
- int x, y;
- int offset;
+ widget_choicegroup_t *p;
+ static image_t *g_choicegroup = NULL;
+ int x, y;
+ int offset;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_CHOICE);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_CHOICE );
- p = (widget_choicegroup_t *) widget->private_data;
+ p = (widget_choicegroup_t *) widget->private_data;
- getMousePosition(&x, &y);
+ getMousePosition(&x, &y);
- if (g_choicegroup == NULL) {
- g_choicegroup =
- addImageData("choice.png", IMAGE_ALPHA, "choicegroup",
- IMAGE_GROUP_BASE);
- }
+ if( g_choicegroup == NULL )
+ {
+ g_choicegroup = addImageData("choice.png", IMAGE_ALPHA, "choicegroup", IMAGE_GROUP_BASE);
+ }
- if (p->status == TRUE) {
- offset = 0;
- }
- else {
- offset = WIDGET_CHOICEGROUP_WIDTH;
- }
+ if( p->status == TRUE )
+ {
+ offset = 0;
+ }
+ else
+ {
+ offset = WIDGET_CHOICEGROUP_WIDTH;
+ }
- drawImage(g_choicegroup, widget->x, widget->y, offset, 0,
- WIDGET_CHOICEGROUP_WIDTH, WIDGET_CHOICEGROUP_HEIGHT);
+ drawImage(g_choicegroup, widget->x, widget->y, offset, 0, WIDGET_CHOICEGROUP_WIDTH, WIDGET_CHOICEGROUP_HEIGHT);
}
-void
-setWidgetChoiceActive(widget_t * widget)
+void setWidgetChoiceActive(widget_t *widget)
{
- widget_choicegroup_t *p;
- int i;
-
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_CHOICE);
-
- p = (widget_choicegroup_t *) widget->private_data;
-
- for (i = 0; i < p->list->count; i++) {
- widget_t *this;
- widget_choicegroup_t *thisChoice;
-
- this = (widget_t *) p->list->list[i];
- thisChoice = (widget_choicegroup_t *) this->private_data;
-
- if (widget == this) {
- thisChoice->status = TRUE;
- thisChoice->time = WIDGET_CHOICEGROUP_TIME_SWITCH_STATUS;
- thisChoice->fce_event(p);
- }
- else {
- thisChoice->status = FALSE;
- }
- }
+ widget_choicegroup_t *p;
+ int i;
+
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_CHOICE );
+
+ p = (widget_choicegroup_t *) widget->private_data;
+
+ for( i = 0 ; i < p->list->count ; i++ )
+ {
+ widget_t *this;
+ widget_choicegroup_t *thisChoice;
+
+ this = (widget_t *) p->list->list[i];
+ thisChoice = (widget_choicegroup_t *) this->private_data;
+
+ if( widget == this )
+ {
+ thisChoice->status = TRUE;
+ thisChoice->time = WIDGET_CHOICEGROUP_TIME_SWITCH_STATUS;
+ thisChoice->fce_event(p);
+ }
+ else
+ {
+ thisChoice->status = FALSE;
+ }
+ }
}
-bool_t
-getWidgetChoiceStatus(widget_t * widget)
+bool_t getWidgetChoiceStatus(widget_t *widget)
{
- widget_choicegroup_t *p;
+ widget_choicegroup_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_CHOICE);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_CHOICE );
- p = (widget_choicegroup_t *) widget->private_data;
+ p = (widget_choicegroup_t *) widget->private_data;
- return p->status;
+ return p->status;
}
-void
-setWidgetChoiceStatus(widget_t * widget, bool_t status)
+void setWidgetChoiceStatus(widget_t *widget, bool_t status)
{
- widget_choicegroup_t *p;
+ widget_choicegroup_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_CHOICE);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_CHOICE );
- p = (widget_choicegroup_t *) widget->private_data;
- p->status = status;
+ p = (widget_choicegroup_t *) widget->private_data;
+ p->status = status;
}
-void
-eventWidgetChoicegroup(widget_t * widget)
+void eventWidgetChoicegroup(widget_t *widget)
{
- widget_choicegroup_t *p;
- int x, y;
+ widget_choicegroup_t *p;
+ int x, y;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_CHOICE);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_CHOICE );
- p = (widget_choicegroup_t *) widget->private_data;
+ p = (widget_choicegroup_t *) widget->private_data;
- if (p->time > 0) {
- p->time--;
- return;
- }
+ if( p->time > 0 )
+ {
+ p->time--;
+ return;
+ }
- getMousePosition(&x, &y);
+ getMousePosition(&x, &y);
- if (x >= widget->x && x <= widget->x + WIDGET_CHOICEGROUP_WIDTH &&
- y >= widget->y && y <= widget->y + WIDGET_CHOICEGROUP_HEIGHT &&
- isMouseClicked()) {
- setWidgetChoiceActive(widget);
- }
+ if( x >= widget->x && x <= widget->x+WIDGET_CHOICEGROUP_WIDTH &&
+ y >= widget->y && y <= widget->y+WIDGET_CHOICEGROUP_HEIGHT &&
+ isMouseClicked() )
+ {
+ setWidgetChoiceActive(widget);
+ }
}
-void
-destroyWidgetChoicegroup(widget_t * widget)
+void destroyWidgetChoicegroup(widget_t *widget)
{
- widget_choicegroup_t *p;
- int index;
+ widget_choicegroup_t *p;
+ int index;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_CHOICE);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_CHOICE );
- p = (widget_choicegroup_t *) widget->private_data;
- index = searchListItem(p->list, widget);
- assert(index != -1);
- delList(p->list, index);
+ p = (widget_choicegroup_t *) widget->private_data;
+ index = searchListItem(p->list, widget);
+ assert( index != -1 );
+ delList(p->list, index);
- free(p);
- destroyWidget(widget);
+ free(p);
+ destroyWidget(widget);
}
diff --git a/src/widget/widget_choicegroup.c~ b/src/widget/widget_choicegroup.c~
deleted file mode 100644
index fc4fd01..0000000
--- a/src/widget/widget_choicegroup.c~
+++ /dev/null
@@ -1,155 +0,0 @@
-
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "interface.h"
-#include "image.h"
-
-#include "widget.h"
-#include "widget_choicegroup.h"
-
-widget_t* newWidgetChoicegroup(int x, int y, bool_t status, list_t *list, void (*fce_event)(void *))
-{
- widget_choicegroup_t *new;
- widget_t *widget;
-
- new = malloc( sizeof(widget_choicegroup_t) );
- new->time = 0;
- new->status = status;
- new->fce_event = fce_event;
- new->list = list;
-
- widget = newWidget(WIDGET_TYPE_CHOICE, x, y, WIDGET_CHOICEGROUP_WIDTH, WIDGET_CHOICEGROUP_HEIGHT, new);
- addList(new->list, widget);
-
- return widget;
-}
-
-void drawWidgetChoicegroup(widget_t *widget)
-{
- widget_choicegroup_t *p;
- static image_t *g_choicegroup = NULL;
- int x, y;
- int offset;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_CHOICE );
-
- p = (widget_choicegroup_t *) widget->private_data;
-
- getMousePosition(&x, &y);
-
- if( g_choicegroup == NULL )
- {
- g_choicegroup = addImageData("choice.png", IMAGE_ALPHA, "choicegroup", IMAGE_GROUP_BASE);
- }
-
- if( p->status == TRUE )
- {
- offset = 0;
- }
- else
- {
- offset = WIDGET_CHOICEGROUP_WIDTH;
- }
-
- drawImage(g_choicegroup, widget->x, widget->y, offset, 0, WIDGET_CHOICEGROUP_WIDTH, WIDGET_CHOICEGROUP_HEIGHT);
-}
-
-void setWidgetChoiceActive(widget_t *widget)
-{
- widget_choicegroup_t *p;
- int i;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_CHOICE );
-
- p = (widget_choicegroup_t *) widget->private_data;
-
- for( i = 0 ; i < p->list->count ; i++ )
- {
- widget_t *this;
- widget_choicegroup_t *thisChoice;
-
- this = (widget_t *) p->list->list[i];
- thisChoice = (widget_choicegroup_t *) this->private_data;
-
- if( widget == this )
- {
- thisChoice->status = TRUE;
- thisChoice->time = WIDGET_CHOICEGROUP_TIME_SWITCH_STATUS;
- thisChoice->fce_event(p);
- }
- else
- {
- thisChoice->status = FALSE;
- }
- }
-}
-
-bool_t getWidgetChoiceStatus(widget_t *widget)
-{
- widget_choicegroup_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_CHOICE );
-
- p = (widget_choicegroup_t *) widget->private_data;
-
- return p->status;
-}
-
-void setWidgetChoiceStatus(widget_t *widget, bool_t status)
-{
- widget_choicegroup_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_CHOICE );
-
- p = (widget_choicegroup_t *) widget->private_data;
- p->status = status;
-}
-
-void eventWidgetChoicegroup(widget_t *widget)
-{
- widget_choicegroup_t *p;
- int x, y;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_CHOICE );
-
- p = (widget_choicegroup_t *) widget->private_data;
-
- if( p->time > 0 )
- {
- p->time--;
- return;
- }
-
- getMousePosition(&x, &y);
-
- if( x >= widget->x && x <= widget->x+WIDGET_CHOICEGROUP_WIDTH &&
- y >= widget->y && y <= widget->y+WIDGET_CHOICEGROUP_HEIGHT &&
- isMouseClicked() )
- {
- setWidgetChoiceActive(widget);
- }
-}
-
-void destroyWidgetChoicegroup(widget_t *widget)
-{
- widget_choicegroup_t *p;
- int index;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_CHOICE );
-
- p = (widget_choicegroup_t *) widget->private_data;
- index = searchListItem(p->list, widget);
- assert( index != -1 );
- delList(p->list, index);
-
- free(p);
- destroyWidget(widget);
-}
diff --git a/src/widget/widget_image.c b/src/widget/widget_image.c
index 0194364..926a714 100644
--- a/src/widget/widget_image.c
+++ b/src/widget/widget_image.c
@@ -11,46 +11,42 @@
#include "widget.h"
#include "widget_image.h"
-widget_t *
-newWidgetImage(int x, int y, image_t * image)
+widget_t* newWidgetImage(int x, int y, image_t *image)
{
- widget_image_t *new;
+ widget_image_t *new;
- new = malloc(sizeof(widget_image_t));
- new->image = image;
+ new = malloc( sizeof(widget_image_t) );
+ new->image = image;
- return newWidget(WIDGET_TYPE_IMAGE, x, y, image->w, image->h, new);
+ return newWidget(WIDGET_TYPE_IMAGE, x, y, image->w, image->h, new);
}
-void
-drawWidgetImage(widget_t * widget)
+void drawWidgetImage(widget_t *widget)
{
- widget_image_t *p;
+ widget_image_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_IMAGE);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_IMAGE );
- p = (widget_image_t *) widget->private_data;
- drawImage(p->image, widget->x, widget->y, 0, 0, p->image->w, p->image->h);
+ p = (widget_image_t *) widget->private_data;
+ drawImage(p->image, widget->x, widget->y, 0, 0, p->image->w, p->image->h);
}
-void
-eventWidgetImage(widget_t * widget)
+void eventWidgetImage(widget_t *widget)
{
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_IMAGE);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_IMAGE );
}
-void
-destroyWidgetImage(widget_t * widget)
+void destroyWidgetImage(widget_t *widget)
{
- widget_image_t *p;
+ widget_image_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_IMAGE);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_IMAGE );
- p = (widget_image_t *) widget->private_data;
+ p = (widget_image_t *) widget->private_data;
- free(p);
- destroyWidget(widget);
+ free(p);
+ destroyWidget(widget);
}
diff --git a/src/widget/widget_image.c~ b/src/widget/widget_image.c~
deleted file mode 100644
index 926a714..0000000
--- a/src/widget/widget_image.c~
+++ /dev/null
@@ -1,52 +0,0 @@
-
-#include <stdlib.h>
-#include <assert.h>
-
-#include <stdlib.h>
-#include "main.h"
-#include "image.h"
-#include "interface.h"
-#include "font.h"
-
-#include "widget.h"
-#include "widget_image.h"
-
-widget_t* newWidgetImage(int x, int y, image_t *image)
-{
- widget_image_t *new;
-
- new = malloc( sizeof(widget_image_t) );
- new->image = image;
-
- return newWidget(WIDGET_TYPE_IMAGE, x, y, image->w, image->h, new);
-}
-
-void drawWidgetImage(widget_t *widget)
-{
- widget_image_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_IMAGE );
-
- p = (widget_image_t *) widget->private_data;
- drawImage(p->image, widget->x, widget->y, 0, 0, p->image->w, p->image->h);
-}
-
-void eventWidgetImage(widget_t *widget)
-{
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_IMAGE );
-}
-
-void destroyWidgetImage(widget_t *widget)
-{
- widget_image_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_IMAGE );
-
- p = (widget_image_t *) widget->private_data;
-
- free(p);
- destroyWidget(widget);
-}
diff --git a/src/widget/widget_label.c b/src/widget/widget_label.c
index 132a26d..c0b3f35 100644
--- a/src/widget/widget_label.c
+++ b/src/widget/widget_label.c
@@ -8,62 +8,58 @@
#include "widget_label.h"
#include "widget.h"
-widget_t *
-newWidgetLabel(char *text, int x, int y, int bind)
+widget_t* newWidgetLabel(char *text, int x, int y, int bind)
{
- widget_label_t *new;
+ widget_label_t *new;
- new = malloc(sizeof(widget_label_t));
- new->text = strdup(text);
- new->bind = bind;
- getTextSize(text, &(new->w), &(new->h));
+ new = malloc( sizeof(widget_label_t) );
+ new->text = strdup(text);
+ new->bind = bind;
+ getTextSize(text, &(new->w), &(new->h));
- return newWidget(WIDGET_TYPE_LABEL, x, y, new->w, new->h, new);
+ return newWidget(WIDGET_TYPE_LABEL, x, y, new->w, new->h, new);
}
-void
-drawWidgetLabel(widget_t * widget)
+void drawWidgetLabel(widget_t *widget)
{
- widget_label_t *p;
+ widget_label_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_LABEL);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_LABEL );
- p = (widget_label_t *) widget->private_data;
+ p = (widget_label_t *) widget->private_data;
- switch (p->bind) {
- case WIDGET_LABEL_RIGHT:
- drawFont(p->text, widget->x + p->w, widget->y + p->h / 2, COLOR_WHITE);
- break;
- case WIDGET_LABEL_LEFT:
- drawFont(p->text, widget->x, widget->y + widget->h / 2, COLOR_WHITE);
- break;
- case WIDGET_LABEL_CENTER:
- drawFont(p->text, widget->x - p->w / 2, widget->y + p->h / 2,
- COLOR_WHITE);
- break;
- }
+ switch( p->bind )
+ {
+ case WIDGET_LABEL_RIGHT :
+ drawFont(p->text, widget->x+p->w, widget->y + p->h/2, COLOR_WHITE);
+ break;
+ case WIDGET_LABEL_LEFT :
+ drawFont(p->text, widget->x, widget->y + widget->h/2, COLOR_WHITE);
+ break;
+ case WIDGET_LABEL_CENTER :
+ drawFont(p->text, widget->x-p->w/2, widget->y + p->h/2, COLOR_WHITE);
+ break;
+ }
}
-void
-eventWidgetLabel(widget_t * widget)
+void eventWidgetLabel(widget_t *widget)
{
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_LABEL);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_LABEL );
}
-void
-destroyWidgetLabel(widget_t * widget)
+void destroyWidgetLabel(widget_t *widget)
{
- widget_label_t *p;
+ widget_label_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_LABEL);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_LABEL );
- p = (widget_label_t *) widget->private_data;
+ p = (widget_label_t *) widget->private_data;
- free(p->text);
- free(p);
+ free(p->text);
+ free(p);
- destroyWidget(widget);
+ destroyWidget(widget);
}
diff --git a/src/widget/widget_label.c~ b/src/widget/widget_label.c~
deleted file mode 100644
index c0b3f35..0000000
--- a/src/widget/widget_label.c~
+++ /dev/null
@@ -1,65 +0,0 @@
-
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "interface.h"
-#include "font.h"
-#include "widget_label.h"
-#include "widget.h"
-
-widget_t* newWidgetLabel(char *text, int x, int y, int bind)
-{
- widget_label_t *new;
-
- new = malloc( sizeof(widget_label_t) );
- new->text = strdup(text);
- new->bind = bind;
- getTextSize(text, &(new->w), &(new->h));
-
- return newWidget(WIDGET_TYPE_LABEL, x, y, new->w, new->h, new);
-}
-
-void drawWidgetLabel(widget_t *widget)
-{
- widget_label_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_LABEL );
-
- p = (widget_label_t *) widget->private_data;
-
- switch( p->bind )
- {
- case WIDGET_LABEL_RIGHT :
- drawFont(p->text, widget->x+p->w, widget->y + p->h/2, COLOR_WHITE);
- break;
- case WIDGET_LABEL_LEFT :
- drawFont(p->text, widget->x, widget->y + widget->h/2, COLOR_WHITE);
- break;
- case WIDGET_LABEL_CENTER :
- drawFont(p->text, widget->x-p->w/2, widget->y + p->h/2, COLOR_WHITE);
- break;
- }
-}
-
-void eventWidgetLabel(widget_t *widget)
-{
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_LABEL );
-}
-
-void destroyWidgetLabel(widget_t *widget)
-{
- widget_label_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_LABEL );
-
- p = (widget_label_t *) widget->private_data;
-
- free(p->text);
- free(p);
-
- destroyWidget(widget);
-}
diff --git a/src/widget/widget_select.c b/src/widget/widget_select.c
index 0288f50..0ec90c1 100644
--- a/src/widget/widget_select.c
+++ b/src/widget/widget_select.c
@@ -9,152 +9,152 @@
#include "widget.h"
#include "widget_select.h"
-widget_t *
-newWidgetSelect(int x, int y, void (*fce_event) (void *))
+widget_t* newWidgetSelect(int x, int y, void (*fce_event)(void *))
{
- widget_select_t *new;
+ widget_select_t *new;
- new = malloc(sizeof(widget_select_t));
- new->select = -1;
- new->fce_event = fce_event;
- new->list = newList();
+ new = malloc( sizeof(widget_select_t) );
+ new->select = -1;
+ new->fce_event = fce_event;
+ new->list = newList();
- return newWidget(WIDGET_TYPE_SELECT, x, y, 0, 0, new);
+ return newWidget(WIDGET_TYPE_SELECT, x, y, 0, 0, new);
}
-char *
-getWidgetSelectItem(widget_t * widget)
+char* getWidgetSelectItem(widget_t *widget)
{
- widget_select_t *p;
+ widget_select_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_SELECT);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_SELECT );
- p = (widget_select_t *) widget->private_data;
+ p = (widget_select_t *)widget->private_data;
- if (p->select == -1) {
- return NULL;
- }
+ if( p->select == -1 )
+ {
+ return NULL;
+ }
- return (char *) p->list->list[p->select];
+ return (char *)p->list->list[p->select];
}
-int
-getWidgetSelectIndex(widget_t * widget)
+int getWidgetSelectIndex(widget_t *widget)
{
- widget_select_t *p;
+ widget_select_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_SELECT);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_SELECT );
- p = (widget_select_t *) widget->private_data;
+ p = (widget_select_t *)widget->private_data;
- return p->select;
+ return p->select;
}
-void
-addToWidgetSelect(widget_t * widget, char *s)
+void addToWidgetSelect(widget_t *widget, char *s)
{
- widget_select_t *p;
+ widget_select_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_SELECT);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_SELECT );
- p = (widget_select_t *) widget->private_data;
+ p = (widget_select_t *)widget->private_data;
- addList(p->list, strdup(s));
+ addList(p->list, strdup(s) );
}
-void
-removeAllFromWidgetSelect(widget_t * widget)
+void removeAllFromWidgetSelect(widget_t *widget)
{
- widget_select_t *p;
+ widget_select_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_SELECT);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_SELECT );
- p = (widget_select_t *) widget->private_data;
+ p = (widget_select_t *)widget->private_data;
- while (p->list->count > 0) {
- delListItem(p->list, 0, free);
- }
+ while( p->list->count > 0 )
+ {
+ delListItem(p->list, 0, free);
+ }
}
-void
-drawWidgetSelect(widget_t * widget)
+void drawWidgetSelect(widget_t *widget)
{
- widget_select_t *p;
- int x, y, w, h;
- int i;
-
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_SELECT);
-
- getMousePosition(&x, &y);
- p = (widget_select_t *) widget->private_data;
-
- for (i = 0; i < p->list->count; i++) {
- char *line;
-
- line = (char *) p->list->list[i];
-
- getTextSize(line, &w, &h);
-
- if (x > widget->x && y > widget->y + i * 20 && x < widget->x + w
- && y < widget->y + i * 20 + h) {
- drawFont(line, widget->x, widget->y + i * 20, COLOR_YELLOW);
- }
- else {
- if (p->select == i) {
- drawFont(line, widget->x, widget->y + i * 20, COLOR_RED);
- }
- else {
- drawFont(line, widget->x, widget->y + i * 20, COLOR_WHITE);
- }
- }
- }
+ widget_select_t *p;
+ int x, y, w, h;
+ int i;
+
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_SELECT );
+
+ getMousePosition(&x, &y);
+ p = (widget_select_t *)widget->private_data;
+
+ for( i = 0 ; i < p->list->count ; i++ )
+ {
+ char *line;
+
+ line = (char *)p->list->list[i];
+
+ getTextSize(line, &w, &h);
+
+ if( x > widget->x && y > widget->y + i*20 && x < widget->x+w && y < widget->y + i*20 + h )
+ {
+ drawFont(line, widget->x, widget->y + i*20, COLOR_YELLOW);
+ }
+ else
+ {
+ if( p->select == i )
+ {
+ drawFont(line, widget->x, widget->y + i*20, COLOR_RED);
+ }
+ else
+ {
+ drawFont(line, widget->x, widget->y + i*20, COLOR_WHITE);
+ }
+ }
+ }
}
-void
-eventWidgetSelect(widget_t * widget)
+void eventWidgetSelect(widget_t *widget)
{
- widget_select_t *p;
- int x, y, w, h;
- int i;
+ widget_select_t *p;
+ int x, y, w, h;
+ int i;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_SELECT);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_SELECT );
- p = (widget_select_t *) widget->private_data;
- getMousePosition(&x, &y);
+ p = (widget_select_t *)widget->private_data;
+ getMousePosition(&x, &y);
- for (i = 0; i < p->list->count; i++) {
- char *line;
+ for( i = 0 ; i < p->list->count ; i++ )
+ {
+ char *line;
- line = (char *) p->list->list[i];
+ line = (char *)p->list->list[i];
- getTextSize(line, &w, &h);
+ getTextSize(line, &w, &h);
- if (x > widget->x && y > widget->y + i * 20 &&
- x < widget->x + w && y < widget->y + i * 20 + h &&
- isMouseClicked()) {
- p->select = i;
- p->fce_event(p);
- }
- }
+ if( x > widget->x && y > widget->y + i*20 &&
+ x < widget->x+w && y < widget->y + i*20 + h &&
+ isMouseClicked() )
+ {
+ p->select = i;
+ p->fce_event(p);
+ }
+ }
}
-void
-destroyWidgetSelect(widget_t * widget)
+void destroyWidgetSelect(widget_t *widget)
{
- widget_select_t *p;
+ widget_select_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_SELECT);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_SELECT );
- p = (widget_select_t *) widget->private_data;
+ p = (widget_select_t *)widget->private_data;
- destroyListItem(p->list, free);
- free(p);
- destroyWidget(widget);
+ destroyListItem(p->list, free);
+ free(p);
+ destroyWidget(widget);
}
diff --git a/src/widget/widget_select.c~ b/src/widget/widget_select.c~
deleted file mode 100644
index 0ec90c1..0000000
--- a/src/widget/widget_select.c~
+++ /dev/null
@@ -1,160 +0,0 @@
-
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "interface.h"
-#include "font.h"
-
-#include "widget.h"
-#include "widget_select.h"
-
-widget_t* newWidgetSelect(int x, int y, void (*fce_event)(void *))
-{
- widget_select_t *new;
-
- new = malloc( sizeof(widget_select_t) );
- new->select = -1;
- new->fce_event = fce_event;
- new->list = newList();
-
- return newWidget(WIDGET_TYPE_SELECT, x, y, 0, 0, new);
-}
-
-char* getWidgetSelectItem(widget_t *widget)
-{
- widget_select_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_SELECT );
-
- p = (widget_select_t *)widget->private_data;
-
- if( p->select == -1 )
- {
- return NULL;
- }
-
- return (char *)p->list->list[p->select];
-}
-
-int getWidgetSelectIndex(widget_t *widget)
-{
- widget_select_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_SELECT );
-
- p = (widget_select_t *)widget->private_data;
-
- return p->select;
-}
-
-void addToWidgetSelect(widget_t *widget, char *s)
-{
- widget_select_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_SELECT );
-
- p = (widget_select_t *)widget->private_data;
-
- addList(p->list, strdup(s) );
-}
-
-void removeAllFromWidgetSelect(widget_t *widget)
-{
- widget_select_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_SELECT );
-
- p = (widget_select_t *)widget->private_data;
-
- while( p->list->count > 0 )
- {
- delListItem(p->list, 0, free);
- }
-}
-
-void drawWidgetSelect(widget_t *widget)
-{
- widget_select_t *p;
- int x, y, w, h;
- int i;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_SELECT );
-
- getMousePosition(&x, &y);
- p = (widget_select_t *)widget->private_data;
-
- for( i = 0 ; i < p->list->count ; i++ )
- {
- char *line;
-
- line = (char *)p->list->list[i];
-
- getTextSize(line, &w, &h);
-
- if( x > widget->x && y > widget->y + i*20 && x < widget->x+w && y < widget->y + i*20 + h )
- {
- drawFont(line, widget->x, widget->y + i*20, COLOR_YELLOW);
- }
- else
- {
- if( p->select == i )
- {
- drawFont(line, widget->x, widget->y + i*20, COLOR_RED);
- }
- else
- {
- drawFont(line, widget->x, widget->y + i*20, COLOR_WHITE);
- }
- }
- }
-}
-
-void eventWidgetSelect(widget_t *widget)
-{
- widget_select_t *p;
- int x, y, w, h;
- int i;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_SELECT );
-
- p = (widget_select_t *)widget->private_data;
- getMousePosition(&x, &y);
-
- for( i = 0 ; i < p->list->count ; i++ )
- {
- char *line;
-
- line = (char *)p->list->list[i];
-
- getTextSize(line, &w, &h);
-
- if( x > widget->x && y > widget->y + i*20 &&
- x < widget->x+w && y < widget->y + i*20 + h &&
- isMouseClicked() )
- {
- p->select = i;
- p->fce_event(p);
- }
- }
-}
-
-void destroyWidgetSelect(widget_t *widget)
-{
- widget_select_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_SELECT );
-
- p = (widget_select_t *)widget->private_data;
-
- destroyListItem(p->list, free);
- free(p);
- destroyWidget(widget);
-}
diff --git a/src/widget/widget_textfield.c b/src/widget/widget_textfield.c
index be4562c..e44bcd6 100644
--- a/src/widget/widget_textfield.c
+++ b/src/widget/widget_textfield.c
@@ -12,457 +12,476 @@
//#define ZZEEXX86_READKEY
-widget_t *
-newWidgetTextfield(char *text, int filter, int x, int y)
+widget_t* newWidgetTextfield(char *text, int filter, int x, int y)
{
- widget_textfield_t *new;
+ widget_textfield_t *new;
- new = malloc(sizeof(widget_textfield_t));
- memset(new, 0, sizeof(widget_textfield_t));
+ new = malloc( sizeof(widget_textfield_t) );
+ memset(new, 0, sizeof(widget_textfield_t));
- strcpy(new->text, text);
- new->time = 0;
- new->timeBlick = 0;
- new->atime = 0;
- new->active = FALSE;
- new->filter = filter;
- getTextSize(text, &new->w, &new->h);
+ strcpy(new->text, text);
+ new->time = 0;
+ new->timeBlick = 0;
+ new->atime = 0;
+ new->active = FALSE;
+ new->filter = filter;
+ getTextSize(text, &new->w, &new->h);
- return newWidget(WIDGET_TYPE_TEXTFILED, x, y, WIDGET_TEXTFIELD_WIDTH,
- WIDGET_TEXTFIELD_HEIGHT, new);
+ return newWidget(WIDGET_TYPE_TEXTFILED, x, y, WIDGET_TEXTFIELD_WIDTH, WIDGET_TEXTFIELD_HEIGHT, new);
}
-static void
-drawBackground(widget_t * widget)
+static void drawBackground(widget_t *widget)
{
- static image_t *g_textfield0 = NULL;
- static image_t *g_textfield1 = NULL;
- widget_textfield_t *p;
-
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_TEXTFILED);
-
- p = (widget_textfield_t *) widget->private_data;
-
- if (g_textfield0 == NULL) {
- g_textfield0 =
- addImageData("textfield0.png", IMAGE_ALPHA, "textfiled0",
- IMAGE_GROUP_BASE);
- }
-
- if (g_textfield1 == NULL) {
- g_textfield1 =
- addImageData("textfield1.png", IMAGE_ALPHA, "textfiled1",
- IMAGE_GROUP_BASE);
- }
-
- if (p->active) {
- drawImage(g_textfield1, widget->x, widget->y, 0, 0, g_textfield1->w,
- g_textfield1->h);
- }
- else {
- drawImage(g_textfield0, widget->x, widget->y, 0, 0, g_textfield0->w,
- g_textfield0->h);
- }
+ static image_t *g_textfield0 = NULL;
+ static image_t *g_textfield1 = NULL;
+ widget_textfield_t *p;
+
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_TEXTFILED );
+
+ p = (widget_textfield_t *) widget->private_data;
+
+ if( g_textfield0 == NULL )
+ {
+ g_textfield0 = addImageData("textfield0.png", IMAGE_ALPHA, "textfiled0", IMAGE_GROUP_BASE);
+ }
+
+ if( g_textfield1 == NULL )
+ {
+ g_textfield1 = addImageData("textfield1.png", IMAGE_ALPHA, "textfiled1", IMAGE_GROUP_BASE);
+ }
+
+ if( p->active )
+ {
+ drawImage(g_textfield1, widget->x, widget->y, 0, 0, g_textfield1->w, g_textfield1->h);
+ }
+ else
+ {
+ drawImage(g_textfield0, widget->x, widget->y, 0, 0, g_textfield0->w, g_textfield0->h);
+ }
}
-static void
-drawText(widget_t * widget)
+static void drawText(widget_t *widget)
{
- char str[STR_SIZE];
- widget_textfield_t *p;
+ char str[STR_SIZE];
+ widget_textfield_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_TEXTFILED);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_TEXTFILED );
- p = (widget_textfield_t *) widget->private_data;
+ p = (widget_textfield_t *) widget->private_data;
- strcpy(str, p->text);
+ strcpy(str, p->text);
- if (p->timeBlick > WIDGET_TEXTFIELD_TIME_BLICK_CURSOR / 2 &&
- p->active == TRUE) {
- //strcat(str, ">");
- strcat(str, "\f");
- }
+ if( p->timeBlick > WIDGET_TEXTFIELD_TIME_BLICK_CURSOR/2 &&
+ p->active == TRUE )
+ {
+ //strcat(str, ">");
+ strcat(str, "\f");
+ }
- p->timeBlick++;
+ p->timeBlick++;
- if (p->timeBlick == WIDGET_TEXTFIELD_TIME_BLICK_CURSOR) {
- p->timeBlick = 0;
- }
+ if( p->timeBlick == WIDGET_TEXTFIELD_TIME_BLICK_CURSOR )
+ {
+ p->timeBlick = 0;
+ }
- //drawFont(str, p->x+WIDGET_TEXTFIELD_TEXT_OFFSET_X, p->y+p->h/2, COLOR_WHITE);
- //printf("p->y: %d\nheight: %d\n p->h: %d\n", p->y, WIDGET_TEXTFIELD_HEIGHT, p->h);
+ //drawFont(str, p->x+WIDGET_TEXTFIELD_TEXT_OFFSET_X, p->y+p->h/2, COLOR_WHITE);
+ //printf("p->y: %d\nheight: %d\n p->h: %d\n", p->y, WIDGET_TEXTFIELD_HEIGHT, p->h);
- drawFont(str,
- widget->x + WIDGET_TEXTFIELD_TEXT_OFFSET_X,
- widget->y + WIDGET_TEXTFIELD_HEIGHT / 2 - p->h / 2, COLOR_WHITE);
+ drawFont(str,
+ widget->x+WIDGET_TEXTFIELD_TEXT_OFFSET_X,
+ widget->y+WIDGET_TEXTFIELD_HEIGHT/2-p->h/2,
+ COLOR_WHITE);
}
-void
-drawWidgetTextfield(widget_t * widget)
+void drawWidgetTextfield(widget_t *widget)
{
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_TEXTFILED);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_TEXTFILED );
- drawBackground(widget);
- drawText(widget);
+ drawBackground(widget);
+ drawText(widget);
}
-void
-setWidgetTextFiledText(widget_t * widget, char *text)
+void setWidgetTextFiledText(widget_t *widget, char *text)
{
- widget_textfield_t *p;
+ widget_textfield_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_TEXTFILED);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_TEXTFILED );
- p = (widget_textfield_t *) widget->private_data;
+ p = (widget_textfield_t *) widget->private_data;
- memset(p->text, 0, STR_SIZE);
- strcpy(p->text, text);
- getTextSize(text, &p->w, &p->h);
+ memset(p->text, 0, STR_SIZE);
+ strcpy(p->text, text);
+ getTextSize(text, &p->w, &p->h);
}
-char *
-getTextFromWidgetTextfield(widget_t * widget)
+char* getTextFromWidgetTextfield(widget_t *widget)
{
- widget_textfield_t *p;
+ widget_textfield_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_TEXTFILED);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_TEXTFILED );
- p = (widget_textfield_t *) widget->private_data;
- return p->text;
+ p = (widget_textfield_t *) widget->private_data;
+ return p->text;
}
-static void
-checkText(widget_textfield_t * p)
+static void checkText(widget_textfield_t *p)
{
- int len;
- int i;
-
- //printf("check\n");
-
- len = strlen(p->text);
-
- for (i = 0; i < len; i++) {
- char c;
- bool_t isDel;
-
- c = p->text[i];
- isDel = TRUE;
-
- switch (p->filter) {
- case WIDGET_TEXTFIELD_FILTER_ALL:
- isDel = FALSE;
- break;
-
- case WIDGET_TEXTFIELD_FILTER_NUM:
- if (c >= '0' && c <= '9') {
- isDel = FALSE;
- }
- break;
-
- case WIDGET_TEXTFIELD_FILTER_ALPHANUM:
- if ((c >= '0' && c <= '9') ||
- (c >= 'a' && c <= 'z') ||
- (c >= 'A' && c <= 'Z') || (c == '_' || c == '-')) {
- isDel = FALSE;
- }
- break;
-
- case WIDGET_TEXTFIELD_FILTER_IP_OR_DOMAIN:
- if ((c >= '0' && c <= '9') || (c == '.' || c == ':' || c == '-')) {
- isDel = FALSE;
- }
- break;
-
- default:
- assert(!_("Bad filter!"));
- break;
- }
-
- if (isDel) {
- memmove(p->text + i, p->text + i + 1, len - i);
- len = strlen(p->text);
- i--;
- }
- }
-
- getTextSize(p->text, &p->w, &p->h);
+ int len;
+ int i;
+
+ //printf("check\n");
+
+ len = strlen(p->text);
+
+ for( i = 0 ; i < len ; i++ )
+ {
+ char c;
+ bool_t isDel;
+
+ c = p->text[i];
+ isDel = TRUE;
+
+ switch( p->filter )
+ {
+ case WIDGET_TEXTFIELD_FILTER_ALL :
+ isDel = FALSE;
+ break;
+
+ case WIDGET_TEXTFIELD_FILTER_NUM :
+ if( c >= '0' && c <= '9' )
+ {
+ isDel = FALSE;
+ }
+ break;
+
+ case WIDGET_TEXTFIELD_FILTER_ALPHANUM :
+ if( ( c >= '0' && c <= '9' ) ||
+ ( c >= 'a' && c <= 'z' ) ||
+ ( c >= 'A' && c <= 'Z' ) ||
+ ( c == '_' || c == '-' ) )
+ {
+ isDel = FALSE;
+ }
+ break;
+
+ case WIDGET_TEXTFIELD_FILTER_IP_OR_DOMAIN :
+ if( ( c >= '0' && c <= '9' ) ||
+ ( c == '.' || c == ':' || c == '-' ) )
+ {
+ isDel = FALSE;
+ }
+ break;
+
+ default :
+ assert( ! _("Bad filter!") );
+ break;
+ }
+
+ if( isDel )
+ {
+ memmove(p->text+i, p->text+i+1, len - i );
+ len = strlen(p->text);
+ i--;
+ }
+ }
+
+ getTextSize(p->text, &p->w, &p->h);
}
#ifdef ZZEEXX86_READKEY
-static void
-readKey(widget_textfield_t * p)
+static void readKey(widget_textfield_t *p)
{
- Uint8 *mapa;
- int len;
- int i;
-
- //printf("readKey w=%d\n", p->w);
-
- if (p->active == FALSE) {
- return;
- }
-
- if (p->atime < 100)
- p->atime++;
-
- mapa = SDL_GetKeyState(NULL);
- len = strlen(p->text);
-
- // mazanie posledneho klavesu
- if (mapa[SDLK_BACKSPACE] == SDL_PRESSED) {
- if (len > 0) {
- p->time = 0;
- p->text[len - 1] = '\0';
- getTextSize(p->text, &p->w, &p->h);
- }
-
- return;
- }
-
- if (p->w > WIDGET_TEXTFIELD_WIDTH - 40) {
- return;
- }
-
- // klavesy abecedy
- for (i = SDLK_SPACE /*SDLK_a */ ; i <= SDLK_z; i++) {
- //if(width<TEXTFIELD_SIZE_X-20 && mapa[i]==SDL_PRESSED)
- if (mapa[i] == SDL_PRESSED && len < STR_SIZE) {
- if (i == SDLK_SPACE) {
- strcat(p->text, " ");
- checkText(p);
- return;
- }
-
- const char *c = (const char *) SDL_GetKeyName(i);
-
- if (len) {
- if (p->text[len - 1] == *c) {
- p->time++;
-
- if (p->time < WIDGET_TEXTFIELD_TIME_MULTIPLE) {
- if (p->atime < 3)
- return;
- }
- }
- else
- p->time = 0;
- }
-
- p->atime = 0;
-
- strcat(p->text, c);
- checkText(p);
-
- if (mapa[SDLK_LSHIFT] == SDL_PRESSED ||
- mapa[SDLK_RSHIFT] == SDL_PRESSED) {
- p->text[strlen(p->text) - 1] -= 32;
- checkText(p);
- return;
- }
- }
- }
-
- // aby ve jmene bulanka fungovaly take cislice alfanumericke klavesnice
- for (i = SDLK_0; i <= SDLK_9; i++) {
- if (mapa[i] == SDL_PRESSED && len < STR_SIZE) {
- const char *c = (const char *) SDL_GetKeyName(i);
-
- if (len) {
- if (p->text[len - 1] == *c) {
- p->time++;
-
- if (p->time < WIDGET_TEXTFIELD_TIME_MULTIPLE) {
- if (p->atime < 3)
- return;
- }
- }
- else
- p->time = 0;
- }
-
- p->atime = 0;
-
- strcat(p->text, c);
- checkText(p);
- return;
- }
- }
-
- // aby ve jmene bulanka fungovaly take cislice napsane na numericke klavesnici
- for (i = SDLK_KP0; i <= SDLK_KP9; i++) {
- if (mapa[i] == SDL_PRESSED && len < STR_SIZE) {
- const char *c = (const char *) SDL_GetKeyName(i) + 1;
-
- if (len) {
- if (p->text[len - 1] == *c) {
- p->time++;
-
- if (p->time < WIDGET_TEXTFIELD_TIME_MULTIPLE) {
- if (p->atime < 3)
- return;
- }
- }
- else
- p->time = 0;
- }
-
- p->atime = 0;
-
- strncat(p->text, c, 1); // napr. "[4]"
- checkText(p);
- return;
- }
- }
+ Uint8 *mapa;
+ int len;
+ int i;
+
+ //printf("readKey w=%d\n", p->w);
+
+ if( p->active == FALSE )
+ {
+ return;
+ }
+
+ if (p->atime < 100)
+ p->atime ++;
+
+ mapa = SDL_GetKeyState(NULL);
+ len = strlen(p->text);
+
+ // mazanie posledneho klavesu
+ if( mapa[SDLK_BACKSPACE] == SDL_PRESSED )
+ {
+ if( len > 0 )
+ {
+ p->time = 0;
+ p->text[len-1]='\0';
+ getTextSize(p->text, &p->w, &p->h);
+ }
+
+ return;
+ }
+
+ if( p->w > WIDGET_TEXTFIELD_WIDTH-40 )
+ {
+ return;
+ }
+
+ // klavesy abecedy
+ for(i=SDLK_SPACE /*SDLK_a*/;i<=SDLK_z;i++)
+ {
+ //if(width<TEXTFIELD_SIZE_X-20 && mapa[i]==SDL_PRESSED)
+ if( mapa[i] == SDL_PRESSED && len < STR_SIZE )
+ {
+ if (i == SDLK_SPACE)
+ {
+ strcat( p->text, " " );
+ checkText(p);
+ return;
+ }
+
+ const char *c = (const char *) SDL_GetKeyName(i);
+
+ if (len) {
+ if (p->text[len-1] == *c) {
+ p->time ++;
+
+ if (p->time < WIDGET_TEXTFIELD_TIME_MULTIPLE) {
+ if (p->atime < 3)
+ return;
+ }
+ } else
+ p->time = 0;
+ }
+
+ p->atime = 0;
+
+ strcat( p->text, c );
+ checkText(p);
+
+ if( mapa[SDLK_LSHIFT] == SDL_PRESSED ||
+ mapa[SDLK_RSHIFT] == SDL_PRESSED)
+ {
+ p->text[ strlen( p->text ) - 1 ] -= 32;
+ checkText(p);
+ return;
+ }
+ }
+ }
+
+ // aby ve jmene bulanka fungovaly take cislice alfanumericke klavesnice
+ for( i = SDLK_0 ; i <= SDLK_9 ; i++ )
+ {
+ if( mapa[i] == SDL_PRESSED && len < STR_SIZE )
+ {
+ const char *c = (const char *) SDL_GetKeyName(i);
+
+ if (len) {
+ if (p->text[len-1] == *c) {
+ p->time ++;
+
+ if (p->time < WIDGET_TEXTFIELD_TIME_MULTIPLE) {
+ if (p->atime < 3)
+ return;
+ }
+ } else
+ p->time = 0;
+ }
+
+ p->atime = 0;
+
+ strcat( p->text, c );
+ checkText(p);
+ return;
+ }
+ }
+
+ // aby ve jmene bulanka fungovaly take cislice napsane na numericke klavesnici
+ for( i=SDLK_KP0 ; i<=SDLK_KP9 ; i++ )
+ {
+ if( mapa[i] == SDL_PRESSED && len < STR_SIZE )
+ {
+ const char *c = (const char *) SDL_GetKeyName(i)+1;
+
+ if (len) {
+ if (p->text[len-1] == *c) {
+ p->time ++;
+
+ if (p->time < WIDGET_TEXTFIELD_TIME_MULTIPLE) {
+ if (p->atime < 3)
+ return;
+ }
+ } else
+ p->time = 0;
+ }
+
+ p->atime = 0;
+
+ strncat( p->text, c, 1 ); // napr. "[4]"
+ checkText(p);
+ return;
+ }
+ }
}
#endif
#ifndef ZZEEXX86_READKEY
-static void
-readKey(widget_textfield_t * p)
+static void readKey(widget_textfield_t *p)
{
- Uint8 *mapa;
- int len;
- int i;
-
- const int len_shift_map = 20;
-
- char shift_map[] = {
- '-', '_',
- '=', '+',
- '[', '{',
- ']', '}',
- ';', ':',
- '/', '\"',
- '\\', '|',
- ',', '<',
- '.', '>',
- '/', '?'
- };
-
- if (p->active == FALSE) {
- return;
- }
-
- if (p->atime < 100)
- p->atime++;
-
- mapa = SDL_GetKeyState(NULL);
- len = strlen(p->text);
-
- for (i = SDLK_FIRST; i <= SDLK_F15; i++) {
- if (mapa[i] == SDL_PRESSED && len < STR_SIZE) {
- char *name = (char *) SDL_GetKeyName(i);
- char c = '\0';
-
- if (name == NULL)
- continue;
- //printf("name %s\n", name);
-
- if (strlen(name) == 1)
- c = name[0];
- if (strlen(name) == 3)
- c = name[1];
- if (strcmp(name, "space") == 0)
- c = ' ';
-
-
- if (strcmp(name, "backspace") == 0 && len > 0) {
- p->time = 0;
- p->text[len - 1] = '\0';
- checkText(p);
- return;
- }
-
- if (c == '\0' || p->w > WIDGET_TEXTFIELD_WIDTH - 40) {
- continue;
- }
-
- if (len > 0) {
- if (p->text[len - 1] == c) {
- p->time++;
-
- if (p->time < WIDGET_TEXTFIELD_TIME_MULTIPLE) {
- if (p->atime < 3)
- return;
- }
- }
- else {
- p->time = 0;
- }
- }
-
- p->atime = 0;
-
- p->text[len] = c;
-
- if (mapa[SDLK_LSHIFT] == SDL_PRESSED ||
- mapa[SDLK_RSHIFT] == SDL_PRESSED) {
- int i;
-
- for (i = 0; i < len_shift_map; i += 2) {
- if (c == shift_map[i]) {
- p->text[len] = shift_map[i + 1];
- }
- }
-
- checkText(p);
- return;
- }
-
- if (mapa[SDLK_LSHIFT] == SDL_PRESSED ||
- mapa[SDLK_RSHIFT] == SDL_PRESSED) {
- p->text[len] -= 32;
- }
-
- checkText(p);
- return;
- }
- }
+ Uint8 *mapa;
+ int len;
+ int i;
+
+ const int len_shift_map = 20;
+
+ char shift_map[] =
+ {
+ '-', '_',
+ '=', '+',
+ '[', '{',
+ ']', '}',
+ ';', ':',
+ '/', '\"',
+ '\\', '|',
+ ',', '<',
+ '.', '>',
+ '/', '?'
+ };
+
+ if( p->active == FALSE )
+ {
+ return;
+ }
+
+ if (p->atime < 100)
+ p->atime ++;
+
+ mapa = SDL_GetKeyState(NULL);
+ len = strlen(p->text);
+
+ for( i = SDLK_FIRST ; i <= SDLK_F15 ; i++ )
+ {
+ if( mapa[i] == SDL_PRESSED && len < STR_SIZE )
+ {
+ char *name = (char *) SDL_GetKeyName(i);
+ char c = '\0';
+
+ if( name == NULL )continue;
+ //printf("name %s\n", name);
+
+ if( strlen(name) == 1 )c = name[0];
+ if( strlen(name) == 3 )c = name[1];
+ if( strcmp(name, "space") == 0 )c = ' ';
+
+
+ if( strcmp(name, "backspace") == 0 && len > 0 )
+ {
+ p->time = 0;
+ p->text[len-1]='\0';
+ checkText(p);
+ return;
+ }
+
+ if( c == '\0' || p->w > WIDGET_TEXTFIELD_WIDTH-40 )
+ {
+ continue;
+ }
+
+ if( len > 0 )
+ {
+ if( p->text[len-1] == c )
+ {
+ p->time++;
+
+ if( p->time < WIDGET_TEXTFIELD_TIME_MULTIPLE )
+ {
+ if( p->atime < 3 )return;
+ }
+ }
+ else
+ {
+ p->time = 0;
+ }
+ }
+
+ p->atime = 0;
+
+ p->text[len] = c;
+
+ if( mapa[SDLK_LSHIFT] == SDL_PRESSED ||
+ mapa[SDLK_RSHIFT] == SDL_PRESSED)
+ {
+ int i;
+
+ for( i = 0 ; i < len_shift_map ; i+= 2 )
+ {
+ if( c == shift_map[i] )
+ {
+ p->text[len] = shift_map[i+1];
+ }
+ }
+
+ checkText(p);
+ return;
+ }
+
+ if( mapa[SDLK_LSHIFT] == SDL_PRESSED ||
+ mapa[SDLK_RSHIFT] == SDL_PRESSED)
+ {
+ p->text[len] -= 32;
+ }
+
+ checkText(p);
+ return;
+ }
+ }
}
#endif
-void
-eventWidgetTextfield(widget_t * widget)
+void eventWidgetTextfield(widget_t *widget)
{
- widget_textfield_t *p;
- int x, y;
-
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_TEXTFILED);
-
- p = (widget_textfield_t *) widget->private_data;
-
- getMousePosition(&x, &y);
-
- if (isMouseClicked()) {
- if (x >= widget->x && x <= widget->x + WIDGET_TEXTFIELD_WIDTH &&
- y >= widget->y && y <= widget->y + WIDGET_TEXTFIELD_HEIGHT) {
- p->active = TRUE;
- }
- else {
- p->active = FALSE;
- }
- }
-
- readKey(p);
+ widget_textfield_t *p;
+ int x, y;
+
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_TEXTFILED );
+
+ p = (widget_textfield_t *) widget->private_data;
+
+ getMousePosition(&x, &y);
+
+ if( isMouseClicked() )
+ {
+ if( x >= widget->x && x <= widget->x+WIDGET_TEXTFIELD_WIDTH &&
+ y >= widget->y && y <= widget->y+WIDGET_TEXTFIELD_HEIGHT )
+ {
+ p->active = TRUE;
+ }
+ else
+ {
+ p->active = FALSE;
+ }
+ }
+
+ readKey(p);
}
-void
-destroyWidgetTextfield(widget_t * widget)
+void destroyWidgetTextfield(widget_t *widget)
{
- widget_textfield_t *p;
+ widget_textfield_t *p;
- assert(widget != NULL);
- assert(widget->type == WIDGET_TYPE_TEXTFILED);
+ assert( widget != NULL );
+ assert( widget->type == WIDGET_TYPE_TEXTFILED );
- p = (widget_textfield_t *) widget->private_data;
+ p = (widget_textfield_t *) widget->private_data;
- free(p);
- destroyWidget(widget);
+ free(p);
+ destroyWidget(widget);
}
+
diff --git a/src/widget/widget_textfield.c~ b/src/widget/widget_textfield.c~
deleted file mode 100644
index e44bcd6..0000000
--- a/src/widget/widget_textfield.c~
+++ /dev/null
@@ -1,487 +0,0 @@
-
-#include <stdlib.h>
-#include <assert.h>
-
-#include "main.h"
-#include "interface.h"
-#include "font.h"
-#include "image.h"
-
-#include "widget.h"
-#include "widget_textfield.h"
-
-//#define ZZEEXX86_READKEY
-
-widget_t* newWidgetTextfield(char *text, int filter, int x, int y)
-{
- widget_textfield_t *new;
-
- new = malloc( sizeof(widget_textfield_t) );
- memset(new, 0, sizeof(widget_textfield_t));
-
- strcpy(new->text, text);
- new->time = 0;
- new->timeBlick = 0;
- new->atime = 0;
- new->active = FALSE;
- new->filter = filter;
- getTextSize(text, &new->w, &new->h);
-
- return newWidget(WIDGET_TYPE_TEXTFILED, x, y, WIDGET_TEXTFIELD_WIDTH, WIDGET_TEXTFIELD_HEIGHT, new);
-}
-
-static void drawBackground(widget_t *widget)
-{
- static image_t *g_textfield0 = NULL;
- static image_t *g_textfield1 = NULL;
- widget_textfield_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_TEXTFILED );
-
- p = (widget_textfield_t *) widget->private_data;
-
- if( g_textfield0 == NULL )
- {
- g_textfield0 = addImageData("textfield0.png", IMAGE_ALPHA, "textfiled0", IMAGE_GROUP_BASE);
- }
-
- if( g_textfield1 == NULL )
- {
- g_textfield1 = addImageData("textfield1.png", IMAGE_ALPHA, "textfiled1", IMAGE_GROUP_BASE);
- }
-
- if( p->active )
- {
- drawImage(g_textfield1, widget->x, widget->y, 0, 0, g_textfield1->w, g_textfield1->h);
- }
- else
- {
- drawImage(g_textfield0, widget->x, widget->y, 0, 0, g_textfield0->w, g_textfield0->h);
- }
-}
-
-static void drawText(widget_t *widget)
-{
- char str[STR_SIZE];
- widget_textfield_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_TEXTFILED );
-
- p = (widget_textfield_t *) widget->private_data;
-
- strcpy(str, p->text);
-
- if( p->timeBlick > WIDGET_TEXTFIELD_TIME_BLICK_CURSOR/2 &&
- p->active == TRUE )
- {
- //strcat(str, ">");
- strcat(str, "\f");
- }
-
- p->timeBlick++;
-
- if( p->timeBlick == WIDGET_TEXTFIELD_TIME_BLICK_CURSOR )
- {
- p->timeBlick = 0;
- }
-
- //drawFont(str, p->x+WIDGET_TEXTFIELD_TEXT_OFFSET_X, p->y+p->h/2, COLOR_WHITE);
- //printf("p->y: %d\nheight: %d\n p->h: %d\n", p->y, WIDGET_TEXTFIELD_HEIGHT, p->h);
-
- drawFont(str,
- widget->x+WIDGET_TEXTFIELD_TEXT_OFFSET_X,
- widget->y+WIDGET_TEXTFIELD_HEIGHT/2-p->h/2,
- COLOR_WHITE);
-}
-
-void drawWidgetTextfield(widget_t *widget)
-{
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_TEXTFILED );
-
- drawBackground(widget);
- drawText(widget);
-}
-
-void setWidgetTextFiledText(widget_t *widget, char *text)
-{
- widget_textfield_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_TEXTFILED );
-
- p = (widget_textfield_t *) widget->private_data;
-
- memset(p->text, 0, STR_SIZE);
- strcpy(p->text, text);
- getTextSize(text, &p->w, &p->h);
-}
-
-char* getTextFromWidgetTextfield(widget_t *widget)
-{
- widget_textfield_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_TEXTFILED );
-
- p = (widget_textfield_t *) widget->private_data;
- return p->text;
-}
-
-static void checkText(widget_textfield_t *p)
-{
- int len;
- int i;
-
- //printf("check\n");
-
- len = strlen(p->text);
-
- for( i = 0 ; i < len ; i++ )
- {
- char c;
- bool_t isDel;
-
- c = p->text[i];
- isDel = TRUE;
-
- switch( p->filter )
- {
- case WIDGET_TEXTFIELD_FILTER_ALL :
- isDel = FALSE;
- break;
-
- case WIDGET_TEXTFIELD_FILTER_NUM :
- if( c >= '0' && c <= '9' )
- {
- isDel = FALSE;
- }
- break;
-
- case WIDGET_TEXTFIELD_FILTER_ALPHANUM :
- if( ( c >= '0' && c <= '9' ) ||
- ( c >= 'a' && c <= 'z' ) ||
- ( c >= 'A' && c <= 'Z' ) ||
- ( c == '_' || c == '-' ) )
- {
- isDel = FALSE;
- }
- break;
-
- case WIDGET_TEXTFIELD_FILTER_IP_OR_DOMAIN :
- if( ( c >= '0' && c <= '9' ) ||
- ( c == '.' || c == ':' || c == '-' ) )
- {
- isDel = FALSE;
- }
- break;
-
- default :
- assert( ! _("Bad filter!") );
- break;
- }
-
- if( isDel )
- {
- memmove(p->text+i, p->text+i+1, len - i );
- len = strlen(p->text);
- i--;
- }
- }
-
- getTextSize(p->text, &p->w, &p->h);
-
-}
-
-#ifdef ZZEEXX86_READKEY
-static void readKey(widget_textfield_t *p)
-{
- Uint8 *mapa;
- int len;
- int i;
-
- //printf("readKey w=%d\n", p->w);
-
- if( p->active == FALSE )
- {
- return;
- }
-
- if (p->atime < 100)
- p->atime ++;
-
- mapa = SDL_GetKeyState(NULL);
- len = strlen(p->text);
-
- // mazanie posledneho klavesu
- if( mapa[SDLK_BACKSPACE] == SDL_PRESSED )
- {
- if( len > 0 )
- {
- p->time = 0;
- p->text[len-1]='\0';
- getTextSize(p->text, &p->w, &p->h);
- }
-
- return;
- }
-
- if( p->w > WIDGET_TEXTFIELD_WIDTH-40 )
- {
- return;
- }
-
- // klavesy abecedy
- for(i=SDLK_SPACE /*SDLK_a*/;i<=SDLK_z;i++)
- {
- //if(width<TEXTFIELD_SIZE_X-20 && mapa[i]==SDL_PRESSED)
- if( mapa[i] == SDL_PRESSED && len < STR_SIZE )
- {
- if (i == SDLK_SPACE)
- {
- strcat( p->text, " " );
- checkText(p);
- return;
- }
-
- const char *c = (const char *) SDL_GetKeyName(i);
-
- if (len) {
- if (p->text[len-1] == *c) {
- p->time ++;
-
- if (p->time < WIDGET_TEXTFIELD_TIME_MULTIPLE) {
- if (p->atime < 3)
- return;
- }
- } else
- p->time = 0;
- }
-
- p->atime = 0;
-
- strcat( p->text, c );
- checkText(p);
-
- if( mapa[SDLK_LSHIFT] == SDL_PRESSED ||
- mapa[SDLK_RSHIFT] == SDL_PRESSED)
- {
- p->text[ strlen( p->text ) - 1 ] -= 32;
- checkText(p);
- return;
- }
- }
- }
-
- // aby ve jmene bulanka fungovaly take cislice alfanumericke klavesnice
- for( i = SDLK_0 ; i <= SDLK_9 ; i++ )
- {
- if( mapa[i] == SDL_PRESSED && len < STR_SIZE )
- {
- const char *c = (const char *) SDL_GetKeyName(i);
-
- if (len) {
- if (p->text[len-1] == *c) {
- p->time ++;
-
- if (p->time < WIDGET_TEXTFIELD_TIME_MULTIPLE) {
- if (p->atime < 3)
- return;
- }
- } else
- p->time = 0;
- }
-
- p->atime = 0;
-
- strcat( p->text, c );
- checkText(p);
- return;
- }
- }
-
- // aby ve jmene bulanka fungovaly take cislice napsane na numericke klavesnici
- for( i=SDLK_KP0 ; i<=SDLK_KP9 ; i++ )
- {
- if( mapa[i] == SDL_PRESSED && len < STR_SIZE )
- {
- const char *c = (const char *) SDL_GetKeyName(i)+1;
-
- if (len) {
- if (p->text[len-1] == *c) {
- p->time ++;
-
- if (p->time < WIDGET_TEXTFIELD_TIME_MULTIPLE) {
- if (p->atime < 3)
- return;
- }
- } else
- p->time = 0;
- }
-
- p->atime = 0;
-
- strncat( p->text, c, 1 ); // napr. "[4]"
- checkText(p);
- return;
- }
- }
-}
-#endif
-
-#ifndef ZZEEXX86_READKEY
-static void readKey(widget_textfield_t *p)
-{
- Uint8 *mapa;
- int len;
- int i;
-
- const int len_shift_map = 20;
-
- char shift_map[] =
- {
- '-', '_',
- '=', '+',
- '[', '{',
- ']', '}',
- ';', ':',
- '/', '\"',
- '\\', '|',
- ',', '<',
- '.', '>',
- '/', '?'
- };
-
- if( p->active == FALSE )
- {
- return;
- }
-
- if (p->atime < 100)
- p->atime ++;
-
- mapa = SDL_GetKeyState(NULL);
- len = strlen(p->text);
-
- for( i = SDLK_FIRST ; i <= SDLK_F15 ; i++ )
- {
- if( mapa[i] == SDL_PRESSED && len < STR_SIZE )
- {
- char *name = (char *) SDL_GetKeyName(i);
- char c = '\0';
-
- if( name == NULL )continue;
- //printf("name %s\n", name);
-
- if( strlen(name) == 1 )c = name[0];
- if( strlen(name) == 3 )c = name[1];
- if( strcmp(name, "space") == 0 )c = ' ';
-
-
- if( strcmp(name, "backspace") == 0 && len > 0 )
- {
- p->time = 0;
- p->text[len-1]='\0';
- checkText(p);
- return;
- }
-
- if( c == '\0' || p->w > WIDGET_TEXTFIELD_WIDTH-40 )
- {
- continue;
- }
-
- if( len > 0 )
- {
- if( p->text[len-1] == c )
- {
- p->time++;
-
- if( p->time < WIDGET_TEXTFIELD_TIME_MULTIPLE )
- {
- if( p->atime < 3 )return;
- }
- }
- else
- {
- p->time = 0;
- }
- }
-
- p->atime = 0;
-
- p->text[len] = c;
-
- if( mapa[SDLK_LSHIFT] == SDL_PRESSED ||
- mapa[SDLK_RSHIFT] == SDL_PRESSED)
- {
- int i;
-
- for( i = 0 ; i < len_shift_map ; i+= 2 )
- {
- if( c == shift_map[i] )
- {
- p->text[len] = shift_map[i+1];
- }
- }
-
- checkText(p);
- return;
- }
-
- if( mapa[SDLK_LSHIFT] == SDL_PRESSED ||
- mapa[SDLK_RSHIFT] == SDL_PRESSED)
- {
- p->text[len] -= 32;
- }
-
- checkText(p);
- return;
- }
- }
-}
-#endif
-
-void eventWidgetTextfield(widget_t *widget)
-{
- widget_textfield_t *p;
- int x, y;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_TEXTFILED );
-
- p = (widget_textfield_t *) widget->private_data;
-
- getMousePosition(&x, &y);
-
- if( isMouseClicked() )
- {
- if( x >= widget->x && x <= widget->x+WIDGET_TEXTFIELD_WIDTH &&
- y >= widget->y && y <= widget->y+WIDGET_TEXTFIELD_HEIGHT )
- {
- p->active = TRUE;
- }
- else
- {
- p->active = FALSE;
- }
- }
-
- readKey(p);
-}
-
-void destroyWidgetTextfield(widget_t *widget)
-{
- widget_textfield_t *p;
-
- assert( widget != NULL );
- assert( widget->type == WIDGET_TYPE_TEXTFILED );
-
- p = (widget_textfield_t *) widget->private_data;
-
- free(p);
- destroyWidget(widget);
-}
-