├── NEWS ├── m4 ├── Makefile.am └── curses.m4 ├── src ├── scene │ ├── README │ ├── Makefile.am │ └── SceneDatabase.cxx ├── mediafile │ ├── README │ └── Makefile.am ├── 3D │ ├── README │ └── Makefile.am ├── geometry │ ├── models │ │ ├── Makefile.am │ │ └── tank │ │ │ └── Makefile.am │ └── README ├── date │ ├── README │ └── Makefile.am ├── net │ ├── README │ └── Makefile.am ├── obstacle │ ├── README │ ├── EmptySceneNodeGenerator.cxx │ ├── ObstacleSceneNodeGenerator.cxx │ └── Triangulate.h ├── common │ ├── README │ ├── mathRoutine.cxx │ └── Makefile.am ├── ogl │ ├── README │ └── Makefile.am ├── platform │ ├── SDLMain.h │ ├── README │ ├── BzfVisual.cxx │ └── Makefile.am ├── Makefile.am ├── bzfs │ ├── Authentication.cxx │ ├── WorldGenerators.h │ ├── DropGeometry.h │ ├── MasterBanList.h │ ├── RejoinList.h │ ├── Authentication.h │ ├── MasterBanList.cxx │ ├── WorldFileObstacle.h │ └── FlagHistory.h ├── bzadmin │ ├── UIMap.cxx │ ├── colors.h │ ├── BZAdminUI.cxx │ ├── Makefile.am │ └── StdOutUI.cxx ├── game │ ├── Makefile.am │ └── README └── bzflag │ ├── stars.h │ ├── callbacks.h │ ├── AutoPilot.h │ ├── RoofTops.h │ ├── SilenceDefaultKey.h │ ├── bzflag.h │ ├── Weapon.h │ ├── motd.h │ ├── ForceFeedback.h │ ├── HUDuiDefaultKey.cxx │ ├── HUDuiDefaultKey.h │ ├── commands.h │ └── defaultBZDB.h ├── README.BeOS ├── data ├── pop.wav ├── boom.wav ├── bounce.wav ├── bubble.png ├── burrow.wav ├── clouds.png ├── fire.wav ├── flag.png ├── flap.wav ├── frog.png ├── hunt.wav ├── jump.wav ├── land.wav ├── laser.wav ├── lock.wav ├── mesh.png ├── moon.png ├── puddle.png ├── puffs.png ├── radar.png ├── roof.png ├── shock.wav ├── spree1.wav ├── spree2.wav ├── spree3.wav ├── spree4.wav ├── thief.png ├── thief.wav ├── title.png ├── treads.png ├── wall.png ├── water.png ├── boxwall.png ├── caution.png ├── explode1.png ├── explode2.png ├── flag_won.wav ├── jumpjets.png ├── killteam.wav ├── missile.png ├── missile.wav ├── phantom.wav ├── pyrwall.png ├── raindrop.png ├── red_bolt.png ├── red_icon.png ├── red_tank.png ├── ricochet.wav ├── teamgrab.wav ├── telelink.png ├── teleport.wav ├── blend_flash.png ├── blue_bolt.png ├── blue_icon.png ├── blue_laser.png ├── blue_tank.png ├── dusty_flare.png ├── explosion.wav ├── flag_alert.wav ├── flag_drop.wav ├── flag_grab.wav ├── flag_lost.wav ├── green_bolt.png ├── green_icon.png ├── green_laser.png ├── green_tank.png ├── hunt_select.wav ├── hunter_bolt.png ├── hunter_tank.png ├── menu_arrow.png ├── mountain1.png ├── mountain2.png ├── mountain3.png ├── mountain4.png ├── mountain5.png ├── purple_bolt.png ├── purple_icon.png ├── purple_tank.png ├── rabbit_bolt.png ├── rabbit_tank.png ├── red_basetop.png ├── red_laser.png ├── rogue_bolt.png ├── rogue_icon.png ├── rogue_laser.png ├── rogue_tank.png ├── shot_tail.png ├── snowflake.png ├── std_ground.png ├── steamroller.wav ├── tetrawall.png ├── zone_ground.png ├── blue_basetop.png ├── blue_basewall.png ├── bzflag-48x48.png ├── green_basetop.png ├── hunter_laser.png ├── message_admin.wav ├── message_team.wav ├── observer_icon.png ├── purple_laser.png ├── rabbit_laser.png ├── red_basewall.png ├── automatic_icon.png ├── blue_super_bolt.png ├── bzflag-256x256.png ├── green_basewall.png ├── green_super_bolt.png ├── message_private.wav ├── purple_basetop.png ├── purple_basewall.png ├── red_super_bolt.png ├── rogue_super_bolt.png ├── hunter_super_bolt.png ├── purple_super_bolt.png ├── rabbit_super_bolt.png ├── fonts │ ├── DejaVuSansMonoBold_6.png │ ├── DejaVuSansMonoBold_8.png │ ├── DejaVuSansMonoBold_10.png │ ├── DejaVuSansMonoBold_12.png │ ├── DejaVuSansMonoBold_16.png │ ├── DejaVuSansMonoBold_24.png │ ├── DejaVuSansMonoBold_32.png │ ├── DejaVuSansMonoBold_48.png │ ├── DejaVuSansMonoBold_64.png │ ├── DejaVuSansCondensedBold_6.png │ ├── DejaVuSansCondensedBold_8.png │ ├── DejaVuSansCondensedBold_10.png │ ├── DejaVuSansCondensedBold_12.png │ ├── DejaVuSansCondensedBold_16.png │ ├── DejaVuSansCondensedBold_24.png │ ├── DejaVuSansCondensedBold_32.png │ ├── DejaVuSansCondensedBold_48.png │ ├── DejaVuSansCondensedBold_64.png │ └── readme ├── l10n │ ├── ISO-639-2_values_8bits.txt │ └── Makefile.am └── bzflag.desktop ├── MSVC ├── bzflag.ico ├── .editorconfig ├── Makefile.am └── build │ ├── makeHTML.bat │ ├── installer.vcxproj.filters │ ├── man2html.vcxproj.filters │ ├── makehtml.vcxproj.filters │ ├── date.vcxproj.filters │ └── Makefile.am ├── Xcode ├── BZFlag.icns ├── BZFlag.xcodeproj │ └── Makefile.am ├── Makefile.am └── BZFlag-Info.plist ├── misc ├── art │ └── title.psd ├── stats │ ├── MANIFEST │ ├── Changes │ ├── t │ │ └── 1.t │ ├── README │ └── Makefile.PL ├── vars.txt ├── fonts │ ├── DejaVuSansMono-Bold.ttf │ ├── DejaVuSansCondensed-Bold.ttf │ └── README ├── filter.txt ├── bzfquery_example.php ├── bzflag.desktop.in ├── bzfsd ├── Template.cxx ├── Template.h └── groups.conf ├── package ├── win32 │ ├── Makefile.am │ └── nsis │ │ ├── side.bmp │ │ ├── header.bmp │ │ ├── uninstall.ico │ │ ├── DisableCheck.bmp │ │ ├── EnableCheck.bmp │ │ └── Makefile.am ├── linux │ ├── Makefile.am │ └── bzflag.wrap.linux ├── rpm │ ├── Makefile.am │ └── bzflag-s.xpm └── irix │ ├── Makefile.am │ └── bzflag.ftr ├── tools ├── modeltool │ ├── Q3BSP.h │ ├── MSVC │ │ ├── Makefile.am │ │ └── modeltool.sln │ ├── wavefrontOBJ.h │ └── Makefile.am ├── TextTool2 │ ├── TextTool2.xcodeproj │ │ └── Makefile.am │ ├── Makefile.am │ └── README.txt ├── bzwtransform │ ├── Makefile.am │ └── input.bzt └── Makefile.am ├── plugins ├── bzfscron │ ├── bzfscron.cfg │ ├── Makefile.am │ └── bzfscron.vcxproj.filters ├── pushstats │ ├── README.pushstats.txt │ ├── Makefile.am │ └── pushstats.vcxproj.filters ├── timedctf │ ├── help_timedctf_rules.txt │ ├── Makefile.am │ ├── help_timedctf_admin.txt │ └── timedctf.vcxproj.filters ├── teamflagreset │ ├── help_teamflagreset_admin.txt │ ├── Makefile.am │ └── teamflagreset.vcxproj.filters ├── fastmap │ ├── Makefile.am │ ├── README.fastmap.txt │ └── fastmap.vcxproj.filters ├── Phoenix │ ├── Makefile.am │ ├── README.Phoenix.txt │ └── Phoenix.vcxproj.filters ├── fairCTF │ ├── Makefile.am │ └── fairCTF.vcxproj.filters ├── killall │ ├── Makefile.am │ ├── README.killall.txt │ └── killall.vcxproj.filters ├── rabidRabbit │ ├── help_rabidRabbit.txt │ ├── Makefile.am │ └── rabidRabbit.vcxproj.filters ├── regFlag │ ├── Makefile.am │ ├── README.regFlag.txt │ └── regFlag.vcxproj.filters ├── wwzones │ ├── Makefile.am │ └── wwzones.vcxproj.filters ├── airspawn │ ├── Makefile.am │ ├── README.airspawn.txt │ └── airspawn.vcxproj.filters ├── TimeLimit │ ├── Makefile.am │ └── TimeLimit.vcxproj.filters ├── logDetail │ ├── Makefile.am │ └── logDetail.vcxproj.filters ├── nagware │ ├── Makefile.am │ ├── nagware.vcxproj.filters │ └── nagware.sln ├── koth │ ├── Makefile.am │ ├── help_koth_rules.txt │ ├── koth.vcxproj.filters │ └── help_koth_admin.txt ├── flagStay │ ├── Makefile.am │ ├── flagStay.vcxproj.filters │ └── flagStay.sln ├── HoldTheFlag │ ├── Makefile.am │ └── HoldTheFlag.vcxproj.filters ├── chathistory │ ├── Makefile.am │ └── chathistory.vcxproj.filters ├── rabbitTimer │ ├── Makefile.am │ └── rabbitTimer.vcxproj.filters ├── recordmatch │ ├── Makefile.am │ ├── README.recordmatch.txt │ └── recordmatch.vcxproj.filters ├── thiefControl │ ├── Makefile.am │ ├── README.thiefControl.txt │ ├── thiefControl.vcxproj.filters │ └── thiefControl.sln ├── RogueGenocide │ ├── Makefile.am │ ├── RogueGenocide.vcxproj.filters │ └── README.RogueGenocide.txt ├── autoFlagReset │ ├── Makefile.am │ ├── autoFlagReset.vcxproj.filters │ └── README.autoFlagReset.txt ├── shockwaveDeath │ ├── Makefile.am │ ├── README.shockwaveDeath.txt │ └── shockwaveDeath.vcxproj.filters ├── keepaway │ ├── Makefile.am │ ├── help_keepaway_rules.txt │ ├── keepaway.vcxproj.filters │ └── help_keepaway_admin.txt ├── playHistoryTracker │ ├── Makefile.am │ ├── README.playHistoryTracker.txt │ └── playHistoryTracker.vcxproj.filters ├── plugin_utils │ └── Makefile.am ├── superUser │ ├── Makefile.am │ ├── superUser.cfg │ └── superUser.vcxproj.filters ├── SAMPLE_PLUGIN │ ├── Makefile.am │ └── SAMPLE_PLUGIN.vcxproj.filters ├── serverControl │ ├── Makefile.am │ └── serverControl.vcxproj.filters ├── customflagsample │ ├── Makefile.am │ ├── README.customflagsample.txt │ └── customflagsample.vcxproj.filters ├── CustomZoneSample │ ├── Makefile.am │ ├── CustomZoneSample.vcxproj.filters │ └── CustomZoneSample.bzw ├── customPollTypeSample │ ├── Makefile.am │ └── customPollTypeSample.vcxproj.filters ├── api_notes ├── serverSidePlayerSample │ ├── Makefile.am │ ├── README.serverSidePlayerSample.txt │ ├── serverSidePlayerSample.vcxproj.filters │ └── playerHandler.h └── Makefile.am ├── include ├── README ├── mathRoutine.h ├── bzglob.h ├── ServerAuth.h ├── ParseColor.h ├── EmptySceneNodeGenerator.h ├── bzfSDL.h ├── bzsignal.h ├── BaseSceneNodeGenerator.h ├── BoxSceneNodeGenerator.h ├── WallSceneNodeGenerator.h └── GameTime.h ├── .editorconfig ├── .github └── workflows │ ├── main.yml │ └── codeql-analysis.yml ├── COPYING └── man └── Makefile.am /NEWS: -------------------------------------------------------------------------------- 1 | see version entry in ChangeLog 2 | 3 | -------------------------------------------------------------------------------- /m4/Makefile.am: -------------------------------------------------------------------------------- 1 | MAINTAINERCLEANFILES = Makefile.in 2 | -------------------------------------------------------------------------------- /src/scene/README: -------------------------------------------------------------------------------- 1 | This directory contains space partitioning. 2 | -------------------------------------------------------------------------------- /README.BeOS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/README.BeOS -------------------------------------------------------------------------------- /data/pop.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/pop.wav -------------------------------------------------------------------------------- /MSVC/bzflag.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/MSVC/bzflag.ico -------------------------------------------------------------------------------- /data/boom.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/boom.wav -------------------------------------------------------------------------------- /data/bounce.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/bounce.wav -------------------------------------------------------------------------------- /data/bubble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/bubble.png -------------------------------------------------------------------------------- /data/burrow.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/burrow.wav -------------------------------------------------------------------------------- /data/clouds.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/clouds.png -------------------------------------------------------------------------------- /data/fire.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fire.wav -------------------------------------------------------------------------------- /data/flag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/flag.png -------------------------------------------------------------------------------- /data/flap.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/flap.wav -------------------------------------------------------------------------------- /data/frog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/frog.png -------------------------------------------------------------------------------- /data/hunt.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/hunt.wav -------------------------------------------------------------------------------- /data/jump.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/jump.wav -------------------------------------------------------------------------------- /data/land.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/land.wav -------------------------------------------------------------------------------- /data/laser.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/laser.wav -------------------------------------------------------------------------------- /data/lock.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/lock.wav -------------------------------------------------------------------------------- /data/mesh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/mesh.png -------------------------------------------------------------------------------- /data/moon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/moon.png -------------------------------------------------------------------------------- /data/puddle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/puddle.png -------------------------------------------------------------------------------- /data/puffs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/puffs.png -------------------------------------------------------------------------------- /data/radar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/radar.png -------------------------------------------------------------------------------- /data/roof.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/roof.png -------------------------------------------------------------------------------- /data/shock.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/shock.wav -------------------------------------------------------------------------------- /data/spree1.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/spree1.wav -------------------------------------------------------------------------------- /data/spree2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/spree2.wav -------------------------------------------------------------------------------- /data/spree3.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/spree3.wav -------------------------------------------------------------------------------- /data/spree4.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/spree4.wav -------------------------------------------------------------------------------- /data/thief.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/thief.png -------------------------------------------------------------------------------- /data/thief.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/thief.wav -------------------------------------------------------------------------------- /data/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/title.png -------------------------------------------------------------------------------- /data/treads.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/treads.png -------------------------------------------------------------------------------- /data/wall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/wall.png -------------------------------------------------------------------------------- /data/water.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/water.png -------------------------------------------------------------------------------- /src/mediafile/README: -------------------------------------------------------------------------------- 1 | This directory contains loaders for image and sound files. 2 | -------------------------------------------------------------------------------- /Xcode/BZFlag.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/Xcode/BZFlag.icns -------------------------------------------------------------------------------- /data/boxwall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/boxwall.png -------------------------------------------------------------------------------- /data/caution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/caution.png -------------------------------------------------------------------------------- /data/explode1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/explode1.png -------------------------------------------------------------------------------- /data/explode2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/explode2.png -------------------------------------------------------------------------------- /data/flag_won.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/flag_won.wav -------------------------------------------------------------------------------- /data/jumpjets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/jumpjets.png -------------------------------------------------------------------------------- /data/killteam.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/killteam.wav -------------------------------------------------------------------------------- /data/missile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/missile.png -------------------------------------------------------------------------------- /data/missile.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/missile.wav -------------------------------------------------------------------------------- /data/phantom.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/phantom.wav -------------------------------------------------------------------------------- /data/pyrwall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/pyrwall.png -------------------------------------------------------------------------------- /data/raindrop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/raindrop.png -------------------------------------------------------------------------------- /data/red_bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/red_bolt.png -------------------------------------------------------------------------------- /data/red_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/red_icon.png -------------------------------------------------------------------------------- /data/red_tank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/red_tank.png -------------------------------------------------------------------------------- /data/ricochet.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/ricochet.wav -------------------------------------------------------------------------------- /data/teamgrab.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/teamgrab.wav -------------------------------------------------------------------------------- /data/telelink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/telelink.png -------------------------------------------------------------------------------- /data/teleport.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/teleport.wav -------------------------------------------------------------------------------- /data/blend_flash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/blend_flash.png -------------------------------------------------------------------------------- /data/blue_bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/blue_bolt.png -------------------------------------------------------------------------------- /data/blue_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/blue_icon.png -------------------------------------------------------------------------------- /data/blue_laser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/blue_laser.png -------------------------------------------------------------------------------- /data/blue_tank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/blue_tank.png -------------------------------------------------------------------------------- /data/dusty_flare.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/dusty_flare.png -------------------------------------------------------------------------------- /data/explosion.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/explosion.wav -------------------------------------------------------------------------------- /data/flag_alert.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/flag_alert.wav -------------------------------------------------------------------------------- /data/flag_drop.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/flag_drop.wav -------------------------------------------------------------------------------- /data/flag_grab.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/flag_grab.wav -------------------------------------------------------------------------------- /data/flag_lost.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/flag_lost.wav -------------------------------------------------------------------------------- /data/green_bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/green_bolt.png -------------------------------------------------------------------------------- /data/green_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/green_icon.png -------------------------------------------------------------------------------- /data/green_laser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/green_laser.png -------------------------------------------------------------------------------- /data/green_tank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/green_tank.png -------------------------------------------------------------------------------- /data/hunt_select.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/hunt_select.wav -------------------------------------------------------------------------------- /data/hunter_bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/hunter_bolt.png -------------------------------------------------------------------------------- /data/hunter_tank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/hunter_tank.png -------------------------------------------------------------------------------- /data/menu_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/menu_arrow.png -------------------------------------------------------------------------------- /data/mountain1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/mountain1.png -------------------------------------------------------------------------------- /data/mountain2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/mountain2.png -------------------------------------------------------------------------------- /data/mountain3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/mountain3.png -------------------------------------------------------------------------------- /data/mountain4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/mountain4.png -------------------------------------------------------------------------------- /data/mountain5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/mountain5.png -------------------------------------------------------------------------------- /data/purple_bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/purple_bolt.png -------------------------------------------------------------------------------- /data/purple_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/purple_icon.png -------------------------------------------------------------------------------- /data/purple_tank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/purple_tank.png -------------------------------------------------------------------------------- /data/rabbit_bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/rabbit_bolt.png -------------------------------------------------------------------------------- /data/rabbit_tank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/rabbit_tank.png -------------------------------------------------------------------------------- /data/red_basetop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/red_basetop.png -------------------------------------------------------------------------------- /data/red_laser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/red_laser.png -------------------------------------------------------------------------------- /data/rogue_bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/rogue_bolt.png -------------------------------------------------------------------------------- /data/rogue_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/rogue_icon.png -------------------------------------------------------------------------------- /data/rogue_laser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/rogue_laser.png -------------------------------------------------------------------------------- /data/rogue_tank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/rogue_tank.png -------------------------------------------------------------------------------- /data/shot_tail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/shot_tail.png -------------------------------------------------------------------------------- /data/snowflake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/snowflake.png -------------------------------------------------------------------------------- /data/std_ground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/std_ground.png -------------------------------------------------------------------------------- /data/steamroller.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/steamroller.wav -------------------------------------------------------------------------------- /data/tetrawall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/tetrawall.png -------------------------------------------------------------------------------- /data/zone_ground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/zone_ground.png -------------------------------------------------------------------------------- /misc/art/title.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/misc/art/title.psd -------------------------------------------------------------------------------- /misc/stats/MANIFEST: -------------------------------------------------------------------------------- 1 | Changes 2 | Info.pm 3 | Makefile.PL 4 | MANIFEST 5 | README 6 | t/1.t 7 | -------------------------------------------------------------------------------- /misc/vars.txt: -------------------------------------------------------------------------------- 1 | set _explodeTime 2.5 2 | set _mirror "green 0.5" 3 | set _wingsJumpCount 3 4 | -------------------------------------------------------------------------------- /data/blue_basetop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/blue_basetop.png -------------------------------------------------------------------------------- /data/blue_basewall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/blue_basewall.png -------------------------------------------------------------------------------- /data/bzflag-48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/bzflag-48x48.png -------------------------------------------------------------------------------- /data/green_basetop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/green_basetop.png -------------------------------------------------------------------------------- /data/hunter_laser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/hunter_laser.png -------------------------------------------------------------------------------- /data/message_admin.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/message_admin.wav -------------------------------------------------------------------------------- /data/message_team.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/message_team.wav -------------------------------------------------------------------------------- /data/observer_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/observer_icon.png -------------------------------------------------------------------------------- /data/purple_laser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/purple_laser.png -------------------------------------------------------------------------------- /data/rabbit_laser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/rabbit_laser.png -------------------------------------------------------------------------------- /data/red_basewall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/red_basewall.png -------------------------------------------------------------------------------- /package/win32/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = nsis 2 | 3 | MAINTAINERCLEANFILES = \ 4 | Makefile.in 5 | -------------------------------------------------------------------------------- /src/3D/README: -------------------------------------------------------------------------------- 1 | This directory contains generic 3D object, texture, and font 2 | management routines. -------------------------------------------------------------------------------- /data/automatic_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/automatic_icon.png -------------------------------------------------------------------------------- /data/blue_super_bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/blue_super_bolt.png -------------------------------------------------------------------------------- /data/bzflag-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/bzflag-256x256.png -------------------------------------------------------------------------------- /data/green_basewall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/green_basewall.png -------------------------------------------------------------------------------- /data/green_super_bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/green_super_bolt.png -------------------------------------------------------------------------------- /data/message_private.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/message_private.wav -------------------------------------------------------------------------------- /data/purple_basetop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/purple_basetop.png -------------------------------------------------------------------------------- /data/purple_basewall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/purple_basewall.png -------------------------------------------------------------------------------- /data/red_super_bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/red_super_bolt.png -------------------------------------------------------------------------------- /data/rogue_super_bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/rogue_super_bolt.png -------------------------------------------------------------------------------- /src/geometry/models/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = tank 2 | 3 | MAINTAINERCLEANFILES = \ 4 | Makefile.in 5 | -------------------------------------------------------------------------------- /tools/modeltool/Q3BSP.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/tools/modeltool/Q3BSP.h -------------------------------------------------------------------------------- /data/hunter_super_bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/hunter_super_bolt.png -------------------------------------------------------------------------------- /data/purple_super_bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/purple_super_bolt.png -------------------------------------------------------------------------------- /data/rabbit_super_bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/rabbit_super_bolt.png -------------------------------------------------------------------------------- /package/win32/nsis/side.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/package/win32/nsis/side.bmp -------------------------------------------------------------------------------- /package/win32/nsis/header.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/package/win32/nsis/header.bmp -------------------------------------------------------------------------------- /package/win32/nsis/uninstall.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/package/win32/nsis/uninstall.ico -------------------------------------------------------------------------------- /data/fonts/DejaVuSansMonoBold_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansMonoBold_6.png -------------------------------------------------------------------------------- /data/fonts/DejaVuSansMonoBold_8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansMonoBold_8.png -------------------------------------------------------------------------------- /misc/fonts/DejaVuSansMono-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/misc/fonts/DejaVuSansMono-Bold.ttf -------------------------------------------------------------------------------- /package/win32/nsis/DisableCheck.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/package/win32/nsis/DisableCheck.bmp -------------------------------------------------------------------------------- /package/win32/nsis/EnableCheck.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/package/win32/nsis/EnableCheck.bmp -------------------------------------------------------------------------------- /Xcode/BZFlag.xcodeproj/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = \ 2 | project.pbxproj 3 | 4 | MAINTAINERCLEANFILES = \ 5 | Makefile.in 6 | -------------------------------------------------------------------------------- /data/fonts/DejaVuSansMonoBold_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansMonoBold_10.png -------------------------------------------------------------------------------- /data/fonts/DejaVuSansMonoBold_12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansMonoBold_12.png -------------------------------------------------------------------------------- /data/fonts/DejaVuSansMonoBold_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansMonoBold_16.png -------------------------------------------------------------------------------- /data/fonts/DejaVuSansMonoBold_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansMonoBold_24.png -------------------------------------------------------------------------------- /data/fonts/DejaVuSansMonoBold_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansMonoBold_32.png -------------------------------------------------------------------------------- /data/fonts/DejaVuSansMonoBold_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansMonoBold_48.png -------------------------------------------------------------------------------- /data/fonts/DejaVuSansMonoBold_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansMonoBold_64.png -------------------------------------------------------------------------------- /data/l10n/ISO-639-2_values_8bits.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/l10n/ISO-639-2_values_8bits.txt -------------------------------------------------------------------------------- /package/linux/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = bzflag.wrap.linux install.linux 2 | 3 | MAINTAINERCLEANFILES = \ 4 | Makefile.in 5 | -------------------------------------------------------------------------------- /data/fonts/DejaVuSansCondensedBold_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansCondensedBold_6.png -------------------------------------------------------------------------------- /data/fonts/DejaVuSansCondensedBold_8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansCondensedBold_8.png -------------------------------------------------------------------------------- /misc/fonts/DejaVuSansCondensed-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/misc/fonts/DejaVuSansCondensed-Bold.ttf -------------------------------------------------------------------------------- /data/fonts/DejaVuSansCondensedBold_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansCondensedBold_10.png -------------------------------------------------------------------------------- /data/fonts/DejaVuSansCondensedBold_12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansCondensedBold_12.png -------------------------------------------------------------------------------- /data/fonts/DejaVuSansCondensedBold_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansCondensedBold_16.png -------------------------------------------------------------------------------- /data/fonts/DejaVuSansCondensedBold_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansCondensedBold_24.png -------------------------------------------------------------------------------- /data/fonts/DejaVuSansCondensedBold_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansCondensedBold_32.png -------------------------------------------------------------------------------- /data/fonts/DejaVuSansCondensedBold_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansCondensedBold_48.png -------------------------------------------------------------------------------- /data/fonts/DejaVuSansCondensedBold_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BZFlag-Dev/bzflag/HEAD/data/fonts/DejaVuSansCondensedBold_64.png -------------------------------------------------------------------------------- /tools/TextTool2/TextTool2.xcodeproj/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = \ 2 | project.pbxproj 3 | 4 | MAINTAINERCLEANFILES = \ 5 | Makefile.in 6 | -------------------------------------------------------------------------------- /tools/modeltool/MSVC/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = \ 2 | modeltool.sln \ 3 | modeltool.vcxproj 4 | 5 | MAINTAINERCLEANFILES = \ 6 | Makefile.in 7 | -------------------------------------------------------------------------------- /package/rpm/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = \ 2 | bzflag-l.xpm \ 3 | bzflag-m.xpm \ 4 | bzflag-s.xpm 5 | 6 | MAINTAINERCLEANFILES = \ 7 | Makefile.in 8 | -------------------------------------------------------------------------------- /package/linux/bzflag.wrap.linux: -------------------------------------------------------------------------------- 1 | #!/bin/sh -f 2 | export MESA_GLX_FX=fullscreen 3 | /usr/local/bzflag/bin/bzflag.real -directory /usr/local/bzflag/data $* 4 | -------------------------------------------------------------------------------- /misc/filter.txt: -------------------------------------------------------------------------------- 1 | 0.0.0.0/0.0.0.0 c3po ACCEPT 2 | 127.0.0.1/255.255.255.255 _any_ ACCEPT 3 | 0.0.0.0/0.0.0.0 _registered_ ACCEPT 4 | 0.0.0.0/0.0.0.0 _unregistered_ DROP 5 | -------------------------------------------------------------------------------- /plugins/bzfscron/bzfscron.cfg: -------------------------------------------------------------------------------- 1 | * * * * * /say "testing" 2 | 10-20/2 */2 * * * /say "hello" 3 | 1,5,6,8 1-4,8-12 * * * /say "hello2" 4 | 0-10,20-30/2 * * * * /say "hello3" 5 | -------------------------------------------------------------------------------- /Xcode/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = \ 2 | BZFlag.xcodeproj 3 | 4 | EXTRA_DIST = \ 5 | BZFlag-Info.plist \ 6 | BZFlag.icns \ 7 | config.h 8 | 9 | MAINTAINERCLEANFILES = \ 10 | Makefile.in 11 | -------------------------------------------------------------------------------- /package/irix/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = \ 2 | bzflag.fti \ 3 | bzflag.ftr \ 4 | bzfs.fti \ 5 | idb \ 6 | spec-irix-mips2 \ 7 | spec-irix-mips3 8 | 9 | MAINTAINERCLEANFILES = \ 10 | Makefile.in 11 | -------------------------------------------------------------------------------- /src/date/README: -------------------------------------------------------------------------------- 1 | This directory contains a date stamp file that records when it was 2 | compiled. When linked against a binary, it is a convenient generic 3 | method for it to determine it's build date and time. 4 | -------------------------------------------------------------------------------- /src/geometry/README: -------------------------------------------------------------------------------- 1 | This directory contains 2D and 3D geometry facilities. This includes 2 | aspects such as object creation and rendering, ray intersection, 3 | view-space transformations, and scene management. 4 | -------------------------------------------------------------------------------- /include/README: -------------------------------------------------------------------------------- 1 | This is the public header directory. Presently there is no 2 | organization or distinction between which header goes with which 3 | library. There should, however, be no public headers included in this 4 | directory. 5 | -------------------------------------------------------------------------------- /misc/stats/Changes: -------------------------------------------------------------------------------- 1 | Revision history for Perl extension BZFlag::Info 2 | 3 | 1.7.1 Sun Nov 16 13:52:50 2003 4 | - fixed bugs in the package 5 | 6 | 1.7.0 Thu Nov 13 06:16:17 2003 7 | - original version; created for servers in the 1.7 series 8 | -------------------------------------------------------------------------------- /package/win32/nsis/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = \ 2 | BZFlag.nsi \ 3 | DisableCheck.bmp \ 4 | EnableCheck.bmp \ 5 | copying.rtf \ 6 | header.bmp \ 7 | side.bmp \ 8 | uninstall.ico 9 | 10 | MAINTAINERCLEANFILES = \ 11 | Makefile.in 12 | -------------------------------------------------------------------------------- /misc/bzfquery_example.php: -------------------------------------------------------------------------------- 1 | '; 10 | bzfdump($data); 11 | echo ''; 12 | 13 | ?> -------------------------------------------------------------------------------- /src/net/README: -------------------------------------------------------------------------------- 1 | This directory contains stuff for network handling. This should be 2 | generic code that could otherwise go into the common library, but is 3 | specific to networking. There should not be any code specific to the 4 | bzflag network protocol in here. 5 | -------------------------------------------------------------------------------- /misc/bzflag.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Version=0.9.4 3 | Type=Application 4 | Encoding=UTF-8 5 | Name=BZFlag 6 | TryExec=bzflag 7 | Exec=bzflag 8 | Categories=Game;ActionGame 9 | Icon=@DATADIR@bzflag-48x48.png 10 | Comment=A free multiplayer 3D tank battle game 11 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # http://EditorConfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | insert_final_newline = true 7 | trim_trailing_whitespace = true 8 | indent_style = space 9 | indent_size = 4 10 | tab_width = 4 11 | 12 | [*.md,*.markdown] 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /data/bzflag.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=BZFlag 3 | GenericName=Tank Battle Game 4 | Comment=Battle enemy tanks 5 | Keywords=capture;flag;tank;game;multiplayer;network; 6 | Exec=/usr/games/bzflag 7 | Icon=bzflag-48x48 8 | Type=Application 9 | Categories=Game;ActionGame; 10 | -------------------------------------------------------------------------------- /misc/bzfsd: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # This is a simple script that starts bzfs in the background and redirects 4 | # the output to a file. It could be useful together with the initscript. 5 | 6 | BZLOGFILE=/tmp/bzfs.log 7 | 8 | nohup /usr/local/bin/bzfs $* > $BZLOGFILE & 9 | 10 | -------------------------------------------------------------------------------- /MSVC/.editorconfig: -------------------------------------------------------------------------------- 1 | # http://EditorConfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | insert_final_newline = true 7 | trim_trailing_whitespace = true 8 | indent_style = space 9 | indent_size = 4 10 | tab_width = 4 11 | 12 | [*.md,*.markdown] 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /MSVC/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = build 2 | 3 | EXTRA_DIST = \ 4 | .editorconfig \ 5 | Version.rc \ 6 | bzfs.sln \ 7 | bzflag.sln \ 8 | bzadmin.sln \ 9 | fullbuild.sln \ 10 | bzflag.ico \ 11 | resource.h \ 12 | bzflag.rc 13 | 14 | MAINTAINERCLEANFILES = \ 15 | Makefile.in 16 | -------------------------------------------------------------------------------- /src/obstacle/README: -------------------------------------------------------------------------------- 1 | This directory contains collision detection stuff. Currently specific 2 | to BZFlag, it handles boxes, pyramids, teleporters, etc. This should 3 | be rewritten to do generic 3D collision detection on, at least, convex 4 | polyhedra. It should also do collision response. 5 | -------------------------------------------------------------------------------- /src/common/README: -------------------------------------------------------------------------------- 1 | This directory should only contain code that is not specific to bzflag 2 | logic and could probably even be used in other applications without 3 | modification. In general, this includes generic interfaces such as 4 | singletons, error handlers, and time keeping facilities. 5 | 6 | -------------------------------------------------------------------------------- /MSVC/build/makeHTML.bat: -------------------------------------------------------------------------------- 1 | ..\..\man\man2html.exe < ..\..\man\bzw.5.in > ..\..\man\bzw.html 2 | ..\..\man\man2html.exe < ..\..\man\bzflag.6.in > ..\..\man\bzflag.html 3 | ..\..\man\man2html.exe < ..\..\man\bzadmin.6.in > ..\..\man\bzadmin.html 4 | ..\..\man\man2html.exe < ..\..\man\bzfs.6.in > ..\..\man\bzfs.html 5 | -------------------------------------------------------------------------------- /tools/bzwtransform/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = bzwtransform 2 | 3 | bzwtransform_SOURCES = \ 4 | bzwTransform.cxx 5 | 6 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 7 | AM_CFLAGS = $(CONF_CFLAGS) 8 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 9 | 10 | EXTRA_DIST = \ 11 | input.bzt 12 | 13 | MAINTAINERCLEANFILES = \ 14 | Makefile.in 15 | -------------------------------------------------------------------------------- /tools/modeltool/wavefrontOBJ.h: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // wavefrontOBJ.h : definitions of the model classes 4 | // 5 | 6 | #ifndef _WAVEFRONT_OBJ_H_ 7 | #define _WAVEFRONT_OBJ_H_ 8 | 9 | #include "model.h" 10 | #include 11 | 12 | void readOBJ ( CModel &model, std::string file ); 13 | 14 | #endif //_WAVEFRONT_OBJ_H_ 15 | 16 | -------------------------------------------------------------------------------- /src/date/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libDate.la 2 | 3 | AM_CPPFLAGS = $(CONF_CPPFLAGS) -I$(top_srcdir)/include 4 | AM_CFLAGS = $(CONF_CFLAGS) 5 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 6 | 7 | MAINTAINERCLEANFILES = \ 8 | Makefile.in 9 | 10 | EXTRA_DIST = README 11 | 12 | libDate_la_LDFLAGS = -static 13 | libDate_la_SOURCES = \ 14 | buildDate.cxx 15 | -------------------------------------------------------------------------------- /plugins/pushstats/README.pushstats.txt: -------------------------------------------------------------------------------- 1 | ======================================================================== 2 | DYNAMIC LINK LIBRARY : pushstats plugin for BZFlag 3 | ======================================================================== 4 | 5 | This plugin provides 2.0.x support for the "push" style statistics 6 | gathering system that is integrated into BZFlag 3.0. 7 | -------------------------------------------------------------------------------- /tools/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = \ 2 | bzwtransform \ 3 | modeltool \ 4 | TextTool2 5 | 6 | .PHONY : bzwtransform modeltool TextTool2 7 | 8 | bzwtransform: 9 | @cd $@ && $(MAKE) $(AM_MAKEFLAGS) 10 | 11 | modeltool: 12 | @cd $@ && $(MAKE) $(AM_MAKEFLAGS) 13 | 14 | TextTool2: 15 | @cd $@ && $(MAKE) $(AM_MAKEFLAGS) 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /plugins/timedctf/help_timedctf_rules.txt: -------------------------------------------------------------------------------- 1 | ---------------------------------------------------- 2 | Goal of game: Capture opponent's flag before time 3 | runs out. If you don't, your team will be killed. 4 | ---------------------------------------------------- 5 | Watch server messages for game updates - how much 6 | time is left, etc. 7 | ---------------------------------------------------- 8 | -------------------------------------------------------------------------------- /tools/TextTool2/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = TextTool2.xcodeproj 2 | 3 | bin_PROGRAMS = TextTool2 4 | 5 | TextTool2_SOURCES = \ 6 | TextTool2.cpp 7 | TextTool2_CPPFLAGS = -I/usr/include/freetype2 8 | TextTool2_LDFLAGS = -lfreetype -lpng 9 | 10 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 11 | AM_CFLAGS = $(CONF_CFLAGS) 12 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 13 | 14 | EXTRA_DIST = \ 15 | README.txt 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /src/ogl/README: -------------------------------------------------------------------------------- 1 | The facilities in this directory wrap rendering state, and texture maps. 2 | There are a number of places outside this library where OpenGL is used, 3 | and those places need to be migrated over into this library. Ideally 4 | all rendering library calls will go through this interface. As OpenGL 5 | has the widest support of any rendering library, this is pretty much a 6 | non-issue (unless someone wants to port to a game console). 7 | -------------------------------------------------------------------------------- /tools/modeltool/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = MSVC 2 | 3 | bin_PROGRAMS = modeltool 4 | 5 | modeltool_SOURCES = \ 6 | model.h \ 7 | modeltool.cxx \ 8 | Q3BSP.cxx \ 9 | Q3BSP.h \ 10 | SimpleTextUtils.cxx \ 11 | SimpleTextUtils.h \ 12 | wavefrontOBJ.cxx \ 13 | wavefrontOBJ.h 14 | 15 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 16 | AM_CFLAGS = $(CONF_CFLAGS) 17 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 18 | 19 | MAINTAINERCLEANFILES = \ 20 | Makefile.in 21 | -------------------------------------------------------------------------------- /misc/fonts/README: -------------------------------------------------------------------------------- 1 | Please contact the BZFlag developers if there are any questions or 2 | concerns regarding existing fonts, the addition of new fonts, or 3 | modifications. All fonts included in BZFlag must be freely modifiable 4 | and freely redistributable. 5 | 6 | http://sourceforge.net/projects/dejavu/files/dejavu/2.35/dejavu-fonts-ttf-2.35.tar.bz2 7 | is the source for the Deja Vu font files here, which were extracted 8 | from that upstream file. 9 | -------------------------------------------------------------------------------- /plugins/teamflagreset/help_teamflagreset_admin.txt: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------ 2 | Team Flag Reset Admin Commands Available: 3 | ------------------------------------------------------ 4 | "tfron" - enable Team Flag Reset. 5 | "tfroff" - disable Team Flag Reset. 6 | "tfrtime " - change reset time 1-120 minutes. 7 | "tfrstatus" - indicate the status of the plugin. 8 | ------------------------------------------------------ 9 | -------------------------------------------------------------------------------- /plugins/fastmap/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = fastmap.la 2 | 3 | fastmap_la_SOURCES = fastmap.cpp 4 | fastmap_la_LDFLAGS = -module -avoid-version -shared 5 | 6 | AM_CPPFLAGS = $(CONF_CPPFLAGS) -I$(top_srcdir)/include 7 | AM_CFLAGS = $(CONF_CFLAGS) 8 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 9 | 10 | EXTRA_DIST = \ 11 | README.fastmap.txt \ 12 | fastmap.sln \ 13 | fastmap.vcxproj \ 14 | fastmap.vcxproj.filters 15 | 16 | MAINTAINERCLEANFILES = \ 17 | Makefile.in 18 | -------------------------------------------------------------------------------- /src/platform/SDLMain.h: -------------------------------------------------------------------------------- 1 | /* SDLMain.m - main entry point for our Cocoa-ized SDL app 2 | Initial Version: Darrell Walisser 3 | Non-NIB-Code & other changes: Max Horn 4 | 5 | Feel free to customize this file to suit your needs 6 | */ 7 | 8 | #ifndef _SDLMain_h_ 9 | #define _SDLMain_h_ 10 | 11 | #import 12 | 13 | @interface SDLMain : NSObject 14 | @end 15 | 16 | #endif /* _SDLMain_h_ */ 17 | -------------------------------------------------------------------------------- /plugins/Phoenix/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = Phoenix.la 2 | 3 | Phoenix_la_SOURCES = Phoenix.cpp 4 | Phoenix_la_CPPFLAGS = -I$(top_srcdir)/include 5 | Phoenix_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.Phoenix.txt \ 13 | Phoenix.sln \ 14 | Phoenix.vcxproj \ 15 | Phoenix.vcxproj.filters 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /plugins/fairCTF/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = fairCTF.la 2 | 3 | fairCTF_la_SOURCES = fairCTF.cpp 4 | fairCTF_la_CPPFLAGS = -I$(top_srcdir)/include 5 | fairCTF_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.fairCTF.txt \ 13 | fairCTF.sln \ 14 | fairCTF.vcxproj \ 15 | fairCTF.vcxproj.filters 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /plugins/killall/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = killall.la 2 | 3 | killall_la_SOURCES = killall.cpp 4 | killall_la_CPPFLAGS = -I$(top_srcdir)/include 5 | killall_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | killall.sln \ 13 | killall.vcxproj \ 14 | killall.vcxproj.filters \ 15 | README.killall.txt 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /plugins/rabidRabbit/help_rabidRabbit.txt: -------------------------------------------------------------------------------- 1 | 2 | ----------------------------------------------------------- 3 | Goal of game: 4 | 5 | Hunters: Kill the rabid rabbit before it enters its burrow! 6 | Rabbits: Run and hide in 'active' burrow and hunters die! 7 | ---------------------------------------------------------- 8 | Look for expanding rings in radar - this indicates the 9 | 'active' burrow for the rabid rabbit to run to. 10 | ---------------------------------------------------------- 11 | -------------------------------------------------------------------------------- /plugins/regFlag/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = regFlag.la 2 | 3 | regFlag_la_SOURCES = regFlag.cpp 4 | regFlag_la_CPPFLAGS = -I$(top_srcdir)/include 5 | regFlag_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.regFlag.txt \ 13 | regFlag.sln \ 14 | regFlag.vcxproj \ 15 | regFlag.vcxproj.filters 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /plugins/wwzones/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = wwzones.la 2 | 3 | wwzones_la_SOURCES = wwzones.cpp 4 | wwzones_la_CPPFLAGS = -I$(top_srcdir)/include 5 | wwzones_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.wwzones.txt \ 13 | wwzones.sln \ 14 | wwzones.vcxproj \ 15 | wwzones.vcxproj.filters 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | name: Formatting 2 | on: [push, pull_request] 3 | jobs: 4 | astyle: 5 | name: C++ astyle Lint 6 | runs-on: ubuntu-latest 7 | steps: 8 | - uses: actions/checkout@v2 9 | - name: Install astyle 10 | run: sudo apt-get install astyle 11 | - name: Check formatting 12 | run: | 13 | astyle --style=allman -nxjQ --convert-tabs --max-code-length=120 --recursive './*.cxx' './*.cpp' './*.h' 14 | git diff --exit-code 15 | -------------------------------------------------------------------------------- /plugins/airspawn/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = airspawn.la 2 | 3 | airspawn_la_SOURCES = airspawn.cpp 4 | airspawn_la_CPPFLAGS = -I$(top_srcdir)/include 5 | airspawn_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.airspawn.txt \ 13 | airspawn.sln \ 14 | airspawn.vcxproj \ 15 | airspawn.vcxproj.filters 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /src/platform/README: -------------------------------------------------------------------------------- 1 | This directory contains the interface to implement platform-dependent 2 | versions of a display, a visual, and a window. Also available is file 3 | I/O, text console output, time and timers, querying the user name, 4 | environment variables, signal handling, and more. 5 | 6 | BzfDisplay -- event handling, screen size, and video format changing 7 | BzfVisual -- wraps pixel format selection 8 | BzfWindow -- window management, gamma control, & mouse stuff 9 | BzfJoystick -- joystick management -------------------------------------------------------------------------------- /src/3D/Makefile.am: -------------------------------------------------------------------------------- 1 | if CLIENT_INCLUDED 2 | noinst_LTLIBRARIES = lib3D.la 3 | endif 4 | 5 | AM_CPPFLAGS = $(CONF_CPPFLAGS) -I$(top_srcdir)/include 6 | AM_CFLAGS = $(CONF_CFLAGS) 7 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 8 | 9 | MAINTAINERCLEANFILES = \ 10 | Makefile.in 11 | 12 | lib3D_la_LDFLAGS = -static 13 | lib3D_la_SOURCES = \ 14 | FontManager.cxx \ 15 | ImageFont.cxx \ 16 | TextureFont.cxx \ 17 | TextureManager.cxx \ 18 | ImageFont.h \ 19 | TextureFont.h 20 | 21 | EXTRA_DIST = \ 22 | README 23 | -------------------------------------------------------------------------------- /plugins/TimeLimit/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = TimeLimit.la 2 | 3 | TimeLimit_la_SOURCES = TimeLimit.cpp 4 | TimeLimit_la_CPPFLAGS = -I$(top_srcdir)/include 5 | TimeLimit_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.TimeLimit.txt \ 13 | TimeLimit.sln \ 14 | TimeLimit.vcxproj \ 15 | TimeLimit.vcxproj.filters 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /plugins/logDetail/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = logDetail.la 2 | 3 | logDetail_la_SOURCES = logDetail.cpp 4 | logDetail_la_CPPFLAGS = -I$(top_srcdir)/include 5 | logDetail_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.logDetail.txt \ 13 | logDetail.sln \ 14 | logDetail.vcxproj \ 15 | logDetail.vcxproj.filters 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /plugins/nagware/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = nagware.la 2 | 3 | nagware_la_SOURCES = nagware.cpp 4 | nagware_la_CPPFLAGS = -I$(top_srcdir)/include 5 | nagware_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.nagware.txt \ 13 | nagware.cfg \ 14 | nagware.sln \ 15 | nagware.vcxproj \ 16 | nagware.vcxproj.filters 17 | 18 | MAINTAINERCLEANFILES = \ 19 | Makefile.in 20 | -------------------------------------------------------------------------------- /plugins/koth/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = koth.la 2 | 3 | koth_la_SOURCES = koth.cpp 4 | koth_la_CPPFLAGS = -I$(top_srcdir)/include 5 | koth_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.koth.txt \ 13 | help_koth_admin.txt \ 14 | help_koth_rules.txt \ 15 | koth.sln \ 16 | koth.vcxproj \ 17 | koth.vcxproj.filters 18 | 19 | MAINTAINERCLEANFILES = \ 20 | Makefile.in 21 | -------------------------------------------------------------------------------- /MSVC/build/installer.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {de5ece1d-c89f-4c1c-bc13-cb990ac1f1f9} 6 | 7 | 8 | 9 | 10 | Installer Files 11 | 12 | 13 | -------------------------------------------------------------------------------- /plugins/flagStay/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = flagStay.la 2 | 3 | flagStay_la_SOURCES = flagStay.cpp 4 | flagStay_la_CPPFLAGS = -I$(top_srcdir)/include 5 | flagStay_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.flagStay.txt \ 13 | flagStay.bzw \ 14 | flagStay.sln \ 15 | flagStay.vcxproj \ 16 | flagStay.vcxproj.filters 17 | 18 | MAINTAINERCLEANFILES = \ 19 | Makefile.in 20 | -------------------------------------------------------------------------------- /plugins/HoldTheFlag/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = HoldTheFlag.la 2 | 3 | HoldTheFlag_la_SOURCES = HoldTheFlag.cpp 4 | HoldTheFlag_la_CPPFLAGS = -I$(top_srcdir)/include 5 | HoldTheFlag_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.HoldTheFlag.txt \ 13 | HoldTheFlag.sln \ 14 | HoldTheFlag.vcxproj \ 15 | HoldTheFlag.vcxproj.filters 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /plugins/chathistory/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = chathistory.la 2 | 3 | chathistory_la_SOURCES = chathistory.cpp 4 | chathistory_la_CPPFLAGS = -I$(top_srcdir)/include 5 | chathistory_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.chathistory.txt \ 13 | chathistory.sln \ 14 | chathistory.vcxproj \ 15 | chathistory.vcxproj.filters 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /plugins/rabbitTimer/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = rabbitTimer.la 2 | 3 | rabbitTimer_la_SOURCES = rabbitTimer.cpp 4 | rabbitTimer_la_CPPFLAGS = -I$(top_srcdir)/include 5 | rabbitTimer_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.rabbitTimer.txt \ 13 | rabbitTimer.sln \ 14 | rabbitTimer.vcxproj \ 15 | rabbitTimer.vcxproj.filters 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /plugins/recordmatch/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = recordmatch.la 2 | 3 | recordmatch_la_SOURCES = recordmatch.cpp 4 | recordmatch_la_CPPFLAGS = -I$(top_srcdir)/include 5 | recordmatch_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.recordmatch.txt \ 13 | recordmatch.sln \ 14 | recordmatch.vcxproj \ 15 | recordmatch.vcxproj.filters 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /src/net/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libNet.la 2 | 3 | AM_CPPFLAGS = $(CONF_CPPFLAGS) -I$(top_srcdir)/include 4 | AM_CFLAGS = $(CONF_CFLAGS) 5 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 6 | 7 | if BUGGY_MIPSPRO 8 | AM_CXXFLAGS += -LANG:std 9 | endif 10 | 11 | MAINTAINERCLEANFILES = \ 12 | Makefile.in 13 | 14 | libNet_la_LDFLAGS = -static 15 | libNet_la_SOURCES = \ 16 | Address.cxx \ 17 | AresHandler.cxx \ 18 | Pack.cxx \ 19 | Ping.cxx \ 20 | multicast.cxx \ 21 | network.cxx 22 | 23 | EXTRA_DIST = \ 24 | README 25 | -------------------------------------------------------------------------------- /data/l10n/Makefile.am: -------------------------------------------------------------------------------- 1 | l10ndir = $(pkgdatadir)/l10n 2 | dist_l10n_DATA = \ 3 | bzflag_cs_CZ.po \ 4 | bzflag_da.po \ 5 | bzflag_de.po \ 6 | bzflag_en_US_l33t.po \ 7 | bzflag_en_US_redneck.po \ 8 | bzflag_es.po \ 9 | bzflag_fr.po \ 10 | bzflag_it.po \ 11 | bzflag_kg.po \ 12 | bzflag_lt.po \ 13 | bzflag_nl.po \ 14 | bzflag_pt.po \ 15 | bzflag_ru.po \ 16 | bzflag_sk.po \ 17 | bzflag_sv.po 18 | 19 | EXTRA_DIST = \ 20 | bzflag_xx.po \ 21 | ISO-639-2_values_8bits.txt 22 | 23 | MAINTAINERCLEANFILES = \ 24 | Makefile.in 25 | -------------------------------------------------------------------------------- /package/rpm/bzflag-s.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * bzflag_xpm[] = { 3 | "16 16 3 1", 4 | " c None", 5 | ". c #808080", 6 | "+ c #000000", 7 | " ", 8 | " ", 9 | " ", 10 | " ..... .......", 11 | "+++++++. +++++++", 12 | "+++..+++ ....+++", 13 | "+++ .++ .++.", 14 | "+++..++. .+++ ", 15 | "+++++++. +++. ", 16 | "+++...++ .+++ ", 17 | "+++ .++..+++. ", 18 | "++++++++ +++++++", 19 | "+++++++. +++++++", 20 | " ", 21 | " ", 22 | " "}; 23 | -------------------------------------------------------------------------------- /plugins/thiefControl/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = thiefControl.la 2 | 3 | thiefControl_la_SOURCES = thiefControl.cpp 4 | thiefControl_la_CPPFLAGS = -I$(top_srcdir)/include 5 | thiefControl_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.thiefControl.txt \ 13 | thiefControl.sln \ 14 | thiefControl.vcxproj \ 15 | thiefControl.vcxproj.filters 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /plugins/RogueGenocide/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = RogueGenocide.la 2 | 3 | RogueGenocide_la_SOURCES = RogueGenocide.cpp 4 | RogueGenocide_la_CPPFLAGS = -I$(top_srcdir)/include 5 | RogueGenocide_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.RogueGenocide.txt \ 13 | RogueGenocide.sln \ 14 | RogueGenocide.vcxproj \ 15 | RogueGenocide.vcxproj.filters 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /plugins/autoFlagReset/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = autoFlagReset.la 2 | 3 | autoFlagReset_la_SOURCES = autoFlagReset.cpp 4 | autoFlagReset_la_CPPFLAGS = -I$(top_srcdir)/include 5 | autoFlagReset_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.autoFlagReset.txt \ 13 | autoFlagReset.sln \ 14 | autoFlagReset.vcxproj \ 15 | autoFlagReset.vcxproj.filters 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /src/scene/Makefile.am: -------------------------------------------------------------------------------- 1 | if CLIENT_INCLUDED 2 | noinst_LTLIBRARIES = libSceneDB.la 3 | endif 4 | 5 | AM_CPPFLAGS = $(CONF_CPPFLAGS) -I$(top_srcdir)/include 6 | AM_CFLAGS = $(CONF_CFLAGS) 7 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 8 | 9 | MAINTAINERCLEANFILES = \ 10 | Makefile.in 11 | 12 | libSceneDB_la_LDFLAGS = -static 13 | libSceneDB_la_SOURCES = \ 14 | Occluder.cxx \ 15 | Occluder.h \ 16 | Octree.cxx \ 17 | Octree.h \ 18 | SceneDatabase.cxx \ 19 | ZSceneDatabase.cxx \ 20 | BSPSceneDatabase.cxx 21 | 22 | EXTRA_DIST = \ 23 | README 24 | -------------------------------------------------------------------------------- /plugins/rabidRabbit/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = rabidRabbit.la 2 | 3 | rabidRabbit_la_SOURCES = rabidRabbit.cpp 4 | rabidRabbit_la_CPPFLAGS = -I$(top_srcdir)/include 5 | rabidRabbit_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.rabidRabbit.txt \ 13 | help_rabidRabbit.txt \ 14 | rabidRabbit.sln \ 15 | rabidRabbit.vcxproj \ 16 | rabidRabbit.vcxproj.filters 17 | 18 | MAINTAINERCLEANFILES = \ 19 | Makefile.in 20 | -------------------------------------------------------------------------------- /plugins/shockwaveDeath/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = shockwaveDeath.la 2 | 3 | shockwaveDeath_la_SOURCES = shockwaveDeath.cpp 4 | shockwaveDeath_la_CPPFLAGS = -I$(top_srcdir)/include 5 | shockwaveDeath_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.shockwaveDeath.txt \ 13 | shockwaveDeath.sln \ 14 | shockwaveDeath.vcxproj \ 15 | shockwaveDeath.vcxproj.filters 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /plugins/keepaway/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = keepaway.la 2 | 3 | keepaway_la_SOURCES = keepaway.cpp 4 | keepaway_la_CPPFLAGS = -I$(top_srcdir)/include 5 | keepaway_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.keepaway.txt \ 13 | help_keepaway_admin.txt \ 14 | help_keepaway_rules.txt \ 15 | keepaway.sln \ 16 | keepaway.vcxproj \ 17 | keepaway.vcxproj.filters 18 | 19 | MAINTAINERCLEANFILES = \ 20 | Makefile.in 21 | -------------------------------------------------------------------------------- /plugins/timedctf/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = timedctf.la 2 | 3 | timedctf_la_SOURCES = timedctf.cpp 4 | timedctf_la_CPPFLAGS = -I$(top_srcdir)/include 5 | timedctf_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.timedctf.txt \ 13 | help_timedctf_admin.txt \ 14 | help_timedctf_rules.txt \ 15 | timedctf.sln \ 16 | timedctf.vcxproj \ 17 | timedctf.vcxproj.filters 18 | 19 | MAINTAINERCLEANFILES = \ 20 | Makefile.in 21 | -------------------------------------------------------------------------------- /src/Makefile.am: -------------------------------------------------------------------------------- 1 | if CLIENT_INCLUDED 2 | BZFLAG_DIR = bzflag 3 | else 4 | BZFLAG_DIR = 5 | endif 6 | 7 | if SERVER_INCLUDED 8 | BZFS_DIR = bzfs 9 | else 10 | BZFS_DIR = 11 | endif 12 | 13 | if BZADMIN_INCLUDED 14 | BZADMIN_DIR = bzadmin 15 | else 16 | BZADMIN_DIR = 17 | endif 18 | 19 | SUBDIRS = \ 20 | 3D \ 21 | common \ 22 | net \ 23 | game \ 24 | geometry \ 25 | obstacle \ 26 | ogl \ 27 | scene \ 28 | platform \ 29 | mediafile \ 30 | date \ 31 | ${BZFS_DIR} \ 32 | ${BZFLAG_DIR} \ 33 | ${BZADMIN_DIR} 34 | 35 | MAINTAINERCLEANFILES = \ 36 | Makefile.in 37 | -------------------------------------------------------------------------------- /misc/stats/t/1.t: -------------------------------------------------------------------------------- 1 | # Before `make install' is performed this script should be runnable with 2 | # `make test'. After `make install' it should work as `perl 1.t' 3 | 4 | ######################### 5 | 6 | # change 'tests => 1' to 'tests => last_test_to_print'; 7 | 8 | use Test; 9 | BEGIN { plan tests => 1 }; 10 | use BZFlag::Info; 11 | ok(1); # If we made it this far, we're ok. 12 | 13 | ######################### 14 | 15 | # Insert your test code below, the Test::More module is use()ed here so read 16 | # its man page ( perldoc Test::More ) for help writing this test script. 17 | -------------------------------------------------------------------------------- /plugins/shockwaveDeath/README.shockwaveDeath.txt: -------------------------------------------------------------------------------- 1 | BZFlag Server Plugin: shockwaveDeath 2 | ================================================================================ 3 | 4 | The shockwaveDeath plugin causes shockwaves to appear where a tank blows up. 5 | So don't get too close when shooting another tank or you're get caught in the 6 | explosion! 7 | 8 | 9 | Loading the plugin 10 | -------------------------------------------------------------------------------- 11 | 12 | This plugin takes no optional arguments, so load it with: 13 | 14 | -loadplugin shockwaveDeath 15 | -------------------------------------------------------------------------------- /plugins/recordmatch/README.recordmatch.txt: -------------------------------------------------------------------------------- 1 | BZFlag Server Plugin: recordmatch 2 | ================================================================================ 3 | 4 | The recordmatch plugin automatically saves a recording of each timed match, from 5 | which it can be played back by a replay server. It uses the filename format of: 6 | match-YYYYMMDD-hh:mm:ss.rec 7 | 8 | 9 | Loading the plugin 10 | -------------------------------------------------------------------------------- 11 | 12 | This plugin takes no optional arguments, so load it with: 13 | -loadplugin recordmatch 14 | -------------------------------------------------------------------------------- /plugins/teamflagreset/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = teamflagreset.la 2 | 3 | teamflagreset_la_SOURCES = teamflagreset.cpp 4 | teamflagreset_la_CPPFLAGS = -I$(top_srcdir)/include 5 | teamflagreset_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.teamflagreset.txt \ 13 | help_teamflagreset_admin.txt \ 14 | teamflagreset.sln \ 15 | teamflagreset.vcxproj \ 16 | teamflagreset.vcxproj.filters 17 | 18 | MAINTAINERCLEANFILES = \ 19 | Makefile.in 20 | -------------------------------------------------------------------------------- /plugins/pushstats/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = pushstats.la 2 | 3 | pushstats_la_SOURCES = pushstats.cpp 4 | pushstats_la_CPPFLAGS= -I$(top_srcdir)/include -I$(top_srcdir)/plugins/plugin_utils 5 | pushstats_la_LDFLAGS = -module -avoid-version -shared 6 | pushstats_la_LIBADD = $(top_builddir)/plugins/plugin_utils/libplugin_utils.la 7 | 8 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 9 | AM_CFLAGS = $(CONF_CFLAGS) 10 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 11 | 12 | EXTRA_DIST = \ 13 | README.pushstats.txt \ 14 | pushstats.sln \ 15 | pushstats.vcxproj 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /plugins/Phoenix/README.Phoenix.txt: -------------------------------------------------------------------------------- 1 | BZFlag Server Plugin: Phoenix 2 | ================================================================================ 3 | 4 | The Phoenix plugin store the position of a tank when they die and respawns them 5 | in the exact same spot. This can be problematic if there are death physics or 6 | water on the map, so avoid the plugin in those cases. 7 | 8 | 9 | Loading the plugin 10 | -------------------------------------------------------------------------------- 11 | 12 | This plugin takes no optional arguments, so load it with: 13 | 14 | -loadplugin Phoenix 15 | -------------------------------------------------------------------------------- /plugins/playHistoryTracker/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = playHistoryTracker.la 2 | 3 | playHistoryTracker_la_SOURCES = playHistoryTracker.cpp 4 | playHistoryTracker_la_CPPFLAGS = -I$(top_srcdir)/include 5 | playHistoryTracker_la_LDFLAGS = -module -avoid-version -shared 6 | 7 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 8 | AM_CFLAGS = $(CONF_CFLAGS) 9 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 10 | 11 | EXTRA_DIST = \ 12 | README.playHistoryTracker.txt \ 13 | playHistoryTracker.sln \ 14 | playHistoryTracker.vcxproj \ 15 | playHistoryTracker.vcxproj.filters 16 | 17 | MAINTAINERCLEANFILES = \ 18 | Makefile.in 19 | -------------------------------------------------------------------------------- /src/ogl/Makefile.am: -------------------------------------------------------------------------------- 1 | if CLIENT_INCLUDED 2 | noinst_LTLIBRARIES = libGLKit.la 3 | endif 4 | 5 | AM_CPPFLAGS = \ 6 | $(SDL_CFLAGS) \ 7 | $(CONF_CPPFLAGS) \ 8 | -I$(top_srcdir)/include 9 | AM_CFLAGS = $(CONF_CFLAGS) 10 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 11 | 12 | MAINTAINERCLEANFILES = \ 13 | Makefile.in 14 | 15 | libGLKit_la_LDFLAGS = -static 16 | libGLKit_la_SOURCES = \ 17 | OpenGLFramebuffer.cxx \ 18 | OpenGLGState.cxx \ 19 | OpenGLLight.cxx \ 20 | OpenGLMaterial.cxx \ 21 | OpenGLTexture.cxx \ 22 | OpenGLUtils.cxx \ 23 | RenderNode.cxx 24 | 25 | EXTRA_DIST = \ 26 | README 27 | -------------------------------------------------------------------------------- /data/fonts/readme: -------------------------------------------------------------------------------- 1 | The fonts in this directory were converted from true type fonts using 2 | BZFlag's TextTool2. TextTool2 is available in BZFlag's tools/ directory 3 | of the source distribution. 4 | 5 | Please contact one of the BZFlag developers if there are any questions 6 | or concerns regarding existing fonts, the addition of new fonts, or 7 | modifications. 8 | 9 | Any fonts being added must be freely modifiable and freely 10 | redistributable to be considered for inclusion. 11 | 12 | Original TTFs may be found at the following locations: 13 | 14 | Deja Vu fonts 15 | http://dejavu.sourceforge.net/ 16 | -------------------------------------------------------------------------------- /plugins/timedctf/help_timedctf_admin.txt: -------------------------------------------------------------------------------- 1 | ----------------------------------------------------- 2 | Timed CTF Admin Commands Available: 3 | ----------------------------------------------------- 4 | "tctfon" - enable Timed CTF mode. 5 | "tctfoff" - disable Timed CTF mode. 6 | "tctfsoundon" - enable Timed CTF sounds. 7 | "tctfsoundoff" - disable Timed CTF sounds. 8 | "tctftime " - change CTF time 1-120 minutes. 9 | "tctfstatus" - indicate the status of the plugin. 10 | "fairctfon" - enables fair ctf function. 11 | "fairctfoff" - disables fair ctf function. 12 | ----------------------------------------------------- 13 | -------------------------------------------------------------------------------- /plugins/plugin_utils/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libplugin_utils.la 2 | 3 | AM_CPPFLAGS = -I$(top_srcdir)/include $(CONF_CPPFLAGS) 4 | AM_CFLAGS = $(CONF_CFLAGS) 5 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 6 | 7 | libplugin_utils_la_SOURCES = \ 8 | plugin_utils.cpp \ 9 | plugin_utils.h \ 10 | plugin_files.cpp \ 11 | plugin_files.h \ 12 | plugin_groups.cpp \ 13 | plugin_groups.h \ 14 | plugin_config.cpp \ 15 | plugin_config.h 16 | libplugin_utils_la_LDFLAGS = -avoid-version 17 | 18 | MAINTAINERCLEANFILES = \ 19 | Makefile.in 20 | 21 | EXTRA_DIST = \ 22 | plugin_utils.sln \ 23 | plugin_utils.vcxproj \ 24 | plugin_utils.vcxproj.filters 25 | -------------------------------------------------------------------------------- /plugins/superUser/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = superUser.la 2 | 3 | superUser_la_SOURCES = superUser.cpp 4 | superUser_la_CPPFLAGS= -I$(top_srcdir)/include -I$(top_srcdir)/plugins/plugin_utils 5 | superUser_la_LDFLAGS = -module -avoid-version -shared 6 | superUser_la_LIBADD = $(top_builddir)/plugins/plugin_utils/libplugin_utils.la 7 | 8 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 9 | AM_CFLAGS = $(CONF_CFLAGS) 10 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 11 | 12 | EXTRA_DIST = \ 13 | README.superUser.txt \ 14 | superUser.cfg \ 15 | superUser.sln \ 16 | superUser.vcxproj \ 17 | superUser.vcxproj.filters 18 | 19 | MAINTAINERCLEANFILES = \ 20 | Makefile.in 21 | -------------------------------------------------------------------------------- /MSVC/build/man2html.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {640d419b-08ad-449e-a108-62b4a15df72a} 6 | 7 | 8 | {9e2dd7fc-3290-45c5-8153-fece7f080d48} 9 | 10 | 11 | 12 | 13 | Source Files 14 | 15 | 16 | -------------------------------------------------------------------------------- /misc/stats/README: -------------------------------------------------------------------------------- 1 | BZFlag::Info version 1.7.0 2 | =================== 3 | 4 | The BZFlag::Info module provides a class for extracting information about BZFlag servers. 5 | 6 | INSTALLATION 7 | 8 | To install this module type the following: 9 | 10 | perl Makefile.PL 11 | make 12 | make test 13 | make install 14 | 15 | DEPENDENCIES 16 | 17 | This module requires these other modules and libraries: 18 | 19 | LWP::UserAgent 20 | Socket 21 | 22 | COPYRIGHT AND LICENCE 23 | 24 | Copyright (c) 2003-2021 Tucker McLean, Tim Riker 25 | 26 | This program is free software; you can redistribute it and/or modify 27 | it under the same terms as Perl itself. 28 | -------------------------------------------------------------------------------- /plugins/SAMPLE_PLUGIN/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = SAMPLE_PLUGIN.la 2 | 3 | SAMPLE_PLUGIN_la_SOURCES = SAMPLE_PLUGIN.cpp 4 | SAMPLE_PLUGIN_la_CPPFLAGS= -I$(top_srcdir)/include -I$(top_srcdir)/plugins/plugin_utils 5 | SAMPLE_PLUGIN_la_LDFLAGS = -module -avoid-version -shared 6 | SAMPLE_PLUGIN_la_LIBADD = $(top_builddir)/plugins/plugin_utils/libplugin_utils.la 7 | 8 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 9 | AM_CFLAGS = $(CONF_CFLAGS) 10 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 11 | 12 | EXTRA_DIST = \ 13 | README.SAMPLE_PLUGIN.txt \ 14 | SAMPLE_PLUGIN.sln \ 15 | SAMPLE_PLUGIN.vcxproj \ 16 | SAMPLE_PLUGIN.vcxproj.filters 17 | 18 | MAINTAINERCLEANFILES = \ 19 | Makefile.in 20 | -------------------------------------------------------------------------------- /plugins/killall/README.killall.txt: -------------------------------------------------------------------------------- 1 | BZFlag Server Plugin: killall 2 | ================================================================================ 3 | 4 | This plugin adds an administrator command that kills every player on the server. 5 | 6 | 7 | Loading the plugin 8 | -------------------------------------------------------------------------------- 9 | 10 | This plugin takes no optional arguments, so load it with: 11 | 12 | -loadplugin killall 13 | 14 | 15 | Server Commands 16 | -------------------------------------------------------------------------------- 17 | 18 | If you are an administrator, you can kill every player on the map with: 19 | /killall 20 | -------------------------------------------------------------------------------- /plugins/bzfscron/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = bzfscron.la 2 | 3 | bzfscron_la_SOURCES = \ 4 | bzfscron.cpp \ 5 | CronJob.cpp \ 6 | CronJob.h 7 | bzfscron_la_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/plugins/plugin_utils 8 | bzfscron_la_LDFLAGS = -module -avoid-version -shared 9 | bzfscron_la_LIBADD = $(top_builddir)/plugins/plugin_utils/libplugin_utils.la 10 | 11 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 12 | AM_CFLAGS = $(CONF_CFLAGS) 13 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 14 | 15 | EXTRA_DIST = \ 16 | README.bzfscron.txt \ 17 | bzfscron.cfg \ 18 | bzfscron.sln \ 19 | bzfscron.vcxproj \ 20 | bzfscron.vcxproj.filters 21 | 22 | MAINTAINERCLEANFILES = \ 23 | Makefile.in 24 | -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- 1 | BZFlag Project 2 | ------ ------- 3 | 4 | BZFlag is distributed under either of these licenses: 5 | 6 | * The GNU Lesser General Public License (LGPL) version 2.1 - see COPYING.LGPL 7 | * Mozilla Public License version 2.0 - see COPYING.MPL 8 | 9 | at your option. The intention is to keep the project Open Source while allowing 10 | linking and distribution as widely as we can. Where possible, redistribution 11 | should also be dual-licensed. Where this is not possible, notice should be given 12 | as explained in the COPYING.MPL file. 13 | 14 | Submitted changes, patches, pull requests, are assigned to the current copyright 15 | holder to ease future license consideration. 16 | -------------------------------------------------------------------------------- /src/geometry/models/tank/Makefile.am: -------------------------------------------------------------------------------- 1 | MAINTAINERCLEANFILES = \ 2 | Makefile.in 3 | 4 | AM_CPPFLAGS = $(CONF_CPPFLAGS) -I$(top_srcdir)/include 5 | AM_CFLAGS = $(CONF_CFLAGS) 6 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 7 | 8 | if CLIENT_INCLUDED 9 | noinst_LTLIBRARIES = libTank.la 10 | endif 11 | 12 | libTank_la_LDFLAGS = -static 13 | libTank_la_SOURCES = \ 14 | high_barrel.cxx \ 15 | high_body.cxx \ 16 | high_ltread.cxx \ 17 | high_rtread.cxx \ 18 | high_turret.cxx \ 19 | low_barrel.cxx \ 20 | low_body.cxx \ 21 | low_ltread.cxx \ 22 | low_rtread.cxx \ 23 | low_turret.cxx \ 24 | medium_body.cxx \ 25 | medium_ltread.cxx \ 26 | medium_rtread.cxx \ 27 | medium_turret.cxx 28 | -------------------------------------------------------------------------------- /plugins/serverControl/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = serverControl.la 2 | 3 | serverControl_la_SOURCES = serverControl.cpp 4 | serverControl_la_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/plugins/plugin_utils 5 | serverControl_la_LDFLAGS = -module -avoid-version -shared 6 | serverControl_la_LIBADD = $(top_builddir)/plugins/plugin_utils/libplugin_utils.la 7 | 8 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 9 | AM_CFLAGS = $(CONF_CFLAGS) 10 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 11 | 12 | EXTRA_DIST = \ 13 | README.serverControl.txt \ 14 | serverControl.cfg \ 15 | serverControl.sln \ 16 | serverControl.vcxproj \ 17 | serverControl.vcxproj.filters 18 | 19 | MAINTAINERCLEANFILES = \ 20 | Makefile.in 21 | -------------------------------------------------------------------------------- /plugins/customflagsample/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = customflagsample.la 2 | 3 | customflagsample_la_SOURCES = customflagsample.cpp 4 | customflagsample_la_LDFLAGS = -module -avoid-version -shared 5 | customflagsample_la_CPPFLAGS= -I$(top_srcdir)/plugins/plugin_utils -I$(top_srcdir)/include 6 | customflagsample_la_LIBADD = $(top_builddir)/plugins/plugin_utils/libplugin_utils.la 7 | 8 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 9 | AM_CFLAGS = $(CONF_CFLAGS) 10 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 11 | 12 | EXTRA_DIST = \ 13 | README.customflagsample.txt \ 14 | customflagsample.sln \ 15 | customflagsample.vcxproj \ 16 | customflagsample.vcxproj.filters 17 | 18 | MAINTAINERCLEANFILES = \ 19 | Makefile.in 20 | -------------------------------------------------------------------------------- /plugins/customflagsample/README.customflagsample.txt: -------------------------------------------------------------------------------- 1 | BZFlag Server Plugin: customflagsample 2 | ================================================================================ 3 | 4 | This is a simple sample plugin for showing how to use custom flags. It adds a 5 | flag called "Custom Flag" with the flag abbreviation "CF". This custom flag 6 | just sends message to all users when it is picked up, dropped, and stolen, and 7 | when a player shoots or is shot with this flag. 8 | 9 | 10 | Loading the plugin 11 | -------------------------------------------------------------------------------- 12 | 13 | This plugin takes no optional arguments, so load it with: 14 | 15 | -loadplugin customflagsample 16 | -------------------------------------------------------------------------------- /plugins/keepaway/help_keepaway_rules.txt: -------------------------------------------------------------------------------- 1 | ---------------------------------------------------- 2 | Goal of game: find & hold the Keep Away flag for the 3 | indicated amount of time and server will kill all 4 | other teams/players. 5 | ---------------------------------------------------- 6 | Watch server messages for game updates - who holds 7 | the flag, how much time is left, etc. 8 | ---------------------------------------------------- 9 | You may send a message to player holding the flag 10 | with "/kas ". 11 | ---------------------------------------------------- 12 | You may check to see what current Keep Away flag is 13 | with "/kaf". 14 | ---------------------------------------------------- 15 | -------------------------------------------------------------------------------- /plugins/koth/help_koth_rules.txt: -------------------------------------------------------------------------------- 1 | ---------------------------------------------------- 2 | Goal of game: control center of map ("Hill") for the 3 | indicated amount of time and server will kill all 4 | other teams/players. 5 | ---------------------------------------------------- 6 | Look for yellow rings in center of map - this entire 7 | volume is the "Hill". 8 | ---------------------------------------------------- 9 | Watch server messages for game updates- who holds 10 | the hill, how much time is left, etc. 11 | ---------------------------------------------------- 12 | You may send a message to player holding the hill 13 | with "/kingsay ". 14 | ---------------------------------------------------- 15 | -------------------------------------------------------------------------------- /plugins/regFlag/README.regFlag.txt: -------------------------------------------------------------------------------- 1 | BZFlag Server Plugin: regFlag 2 | ================================================================================ 3 | 4 | When this plugin is loaded, players that are not registered and identified will 5 | not be able to grab flags (good or bad). They will be allowed to grab team 6 | flags so that CTF is still possible, however. 7 | 8 | The player will be notified that they need to be registered to grab flags. The 9 | message will appear at most once every 5 minutes. 10 | 11 | 12 | Loading the plugin 13 | -------------------------------------------------------------------------------- 14 | 15 | This plugin takes no optional arguments, so load it with: 16 | -loadplugin regFlag 17 | -------------------------------------------------------------------------------- /plugins/CustomZoneSample/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = CustomZoneSample.la 2 | 3 | CustomZoneSample_la_SOURCES = CustomZoneSample.cpp 4 | CustomZoneSample_la_CPPFLAGS= -I$(top_srcdir)/include -I$(top_srcdir)/plugins/plugin_utils 5 | CustomZoneSample_la_LDFLAGS = -module -avoid-version -shared 6 | CustomZoneSample_la_LIBADD = $(top_builddir)/plugins/plugin_utils/libplugin_utils.la 7 | 8 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 9 | AM_CFLAGS = $(CONF_CFLAGS) 10 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 11 | 12 | EXTRA_DIST = \ 13 | README.CustomZoneSample.txt \ 14 | CustomZoneSample.bzw \ 15 | CustomZoneSample.sln \ 16 | CustomZoneSample.vcxproj \ 17 | CustomZoneSample.vcxproj.filters 18 | 19 | MAINTAINERCLEANFILES = \ 20 | Makefile.in 21 | -------------------------------------------------------------------------------- /plugins/superUser/superUser.cfg: -------------------------------------------------------------------------------- 1 | # Plugin Configuration File 2 | # 3 | 4 | # superUser plugin options 5 | 6 | [Users] 7 | 8 | # If you want to grant a specific user extra permissions, you should put 9 | # a line similar to the ones below on this configuration file. The number 10 | # before the = represents the BZID of the user, which can be easily found 11 | # by looking at the URL of his forum profile. For example, Tim Riker's 12 | # profile is at forums.bzflag.org/memberlist.php?mode=viewprofile&u=1037, 13 | # which means that his BZID is 1037. Permissions should be inserted after 14 | # the = and be separated by commas. 15 | 48 = adminMessageReceive 16 | 51234 = setAll,kick,kill,shortban,adminMessageReceive 17 | -------------------------------------------------------------------------------- /plugins/thiefControl/README.thiefControl.txt: -------------------------------------------------------------------------------- 1 | BZFlag Server Plugin: thiefControl 2 | ================================================================================ 3 | 4 | The thiefControl plugin prevents players from stealing flags from their 5 | teammates. It ignore rogues, since they don't have teammates. On CTF, it 6 | allows stealing the team flags for flag passing. When the plugin prevents a 7 | flag from being stolen, it also sends the would be thief a message and takes 8 | away their flag. 9 | 10 | 11 | Loading the plugin 12 | -------------------------------------------------------------------------------- 13 | 14 | This plugin takes no optional arguments, so load it with: 15 | 16 | -loadplugin thiefControl 17 | -------------------------------------------------------------------------------- /plugins/customPollTypeSample/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = customPollTypeSample.la 2 | 3 | customPollTypeSample_la_SOURCES = customPollTypeSample.cpp 4 | customPollTypeSample_la_CPPFLAGS= -I$(top_srcdir)/include -I$(top_srcdir)/plugins/plugin_utils 5 | customPollTypeSample_la_LDFLAGS = -module -avoid-version -shared 6 | customPollTypeSample_la_LIBADD = $(top_builddir)/plugins/plugin_utils/libplugin_utils.la 7 | 8 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 9 | AM_CFLAGS = $(CONF_CFLAGS) 10 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 11 | 12 | EXTRA_DIST = \ 13 | README.customPollTypeSample.txt \ 14 | customPollTypeSample.sln \ 15 | customPollTypeSample.vcxproj \ 16 | customPollTypeSample.vcxproj.filters 17 | 18 | MAINTAINERCLEANFILES = \ 19 | Makefile.in 20 | -------------------------------------------------------------------------------- /src/mediafile/Makefile.am: -------------------------------------------------------------------------------- 1 | if CLIENT_INCLUDED 2 | noinst_LTLIBRARIES = libMediaFile.la 3 | endif 4 | 5 | AM_CPPFLAGS = -DINSTALL_DATA_DIR=\"$(pkgdatadir)\" $(CONF_CPPFLAGS) \ 6 | -I$(top_srcdir)/include 7 | AM_CFLAGS = $(CONF_CFLAGS) 8 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 9 | 10 | MAINTAINERCLEANFILES = \ 11 | Makefile.in 12 | 13 | libMediaFile_la_LDFLAGS = -static 14 | libMediaFile_la_SOURCES = \ 15 | ImageFile.cxx \ 16 | ImageFile.h \ 17 | MediaFile.cxx \ 18 | PNGImageFile.cxx \ 19 | PNGImageFile.h \ 20 | SGIImageFile.cxx \ 21 | SGIImageFile.h \ 22 | AudioFile.cxx \ 23 | AudioFile.h \ 24 | WaveAudioFile.h \ 25 | WaveAudioFile.cxx 26 | 27 | EXTRA_DIST = \ 28 | OggAudioFile.cxx \ 29 | OggAudioFile.h \ 30 | README 31 | -------------------------------------------------------------------------------- /MSVC/build/makehtml.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Man Files 6 | 7 | 8 | Man Files 9 | 10 | 11 | Man Files 12 | 13 | 14 | Man Files 15 | 16 | 17 | 18 | 19 | {11ebd005-b37b-47ea-bf87-586c9c6d6e6a} 20 | 21 | 22 | -------------------------------------------------------------------------------- /include/mathRoutine.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 2024 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | // System headers 14 | #include "common.h" 15 | 16 | extern float bzInverseSqrt(float x); 17 | 18 | // Local Variables: *** 19 | // mode: C++ *** 20 | // tab-width: 4 *** 21 | // c-basic-offset: 4 *** 22 | // indent-tabs-mode: nil *** 23 | // End: *** 24 | // ex: shiftwidth=4 tabstop=4 25 | -------------------------------------------------------------------------------- /plugins/airspawn/README.airspawn.txt: -------------------------------------------------------------------------------- 1 | BZFlag Server Plugin: airspawn 2 | ================================================================================ 3 | 4 | The airspawn plugin modifies the spawn location of all tanks, moving them up 5 | into the air a specified number of units. Do note that if there are objects 6 | above the ground that it will be possible that tanks spawn inside solid objects. 7 | 8 | 9 | Loading the plugin 10 | -------------------------------------------------------------------------------- 11 | 12 | The plugin can be loaded without arguments to spawn takes 10 units higher. 13 | 14 | -loadplugin airspawn 15 | 16 | You can also pass a positive float value to the plugin to use a different value. 17 | 18 | -loadplugin airspawn,15.5 19 | -loadplugin airspawn,6 20 | -------------------------------------------------------------------------------- /man/Makefile.am: -------------------------------------------------------------------------------- 1 | man_MANS = bzadmin.6 bzflag.6 bzfs.6 bzw.5 2 | if HASPOD2MAN 3 | noinst_MANS = bzfquery.6 4 | endif 5 | 6 | EXTRA_DIST = bzadmin.6.in bzflag.6.in bzfs.6.in bzw.5.in 7 | 8 | bzfquery.6: $(top_srcdir)/misc/bzfquery.pl 9 | pod2man $(top_srcdir)/misc/bzfquery.pl > $@ 10 | 11 | edit = sed \ 12 | -e 's|@BUILD_DATE[@]|$(BUILD_DATE)|g' \ 13 | -e 's|@PACKAGE_STRING[@]|$(PACKAGE_STRING)|g' \ 14 | -e 's|@INSTALL_DATA_DIR[@]|$(pkgdatadir)|g' 15 | 16 | bzflag.6 bzadmin.6 bzfs.6 bzw.5 : Makefile 17 | $(edit) '$(srcdir)/$@.in' >$@ 18 | bzflag.6: $(srcdir)/bzflag.6.in 19 | bzadmin.6: $(srcdir)/bzadmin.6.in 20 | bzfs.6: $(srcdir)/bzfs.6.in 21 | bzw.5: $(srcdir)/bzw.5.in 22 | 23 | CLEANFILES = bzadmin.6 bzflag.6 bzfquery.6 bzfs.6 bzw.5 24 | 25 | MAINTAINERCLEANFILES = \ 26 | Makefile.in 27 | -------------------------------------------------------------------------------- /MSVC/build/date.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {79e5d136-dd26-4b4d-a3fc-ac86587929e5} 6 | 7 | 8 | {2e39e7d5-a84a-42b9-8ea5-01fb97963d0c} 9 | 10 | 11 | 12 | 13 | Header Files 14 | 15 | 16 | 17 | 18 | Source Files 19 | 20 | 21 | -------------------------------------------------------------------------------- /plugins/api_notes: -------------------------------------------------------------------------------- 1 | notes on yon API 2 | ============================================================================== 3 | 4 | * export directory stuff so plugins can make/open files 5 | * add new "2.0" map objects to api 6 | * add event callbacks for the anti-cheat code sections 7 | * expose API for superkill, start, end, reset commands. 8 | * check other /commands and see what else could be exported. 9 | * add setFlagList hook 10 | * add allow flag hook 11 | * add disallow flag hook 12 | * add allow team flag hook 13 | * add On Team Score Change hook 14 | * add on player score change hook 15 | * add api to add meshes 16 | * have maps be able to specify required plugins 17 | * add ability for a plugin to be unique ( load once ). 18 | * add hook for shot message, move message, teleport message, and "need TP destination" 19 | -------------------------------------------------------------------------------- /plugins/serverSidePlayerSample/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = serverSidePlayerSample.la 2 | 3 | serverSidePlayerSample_la_SOURCES = \ 4 | playerHandler.cpp \ 5 | playerHandler.h \ 6 | serverSidePlayerSample.cpp 7 | serverSidePlayerSample_la_CPPFLAGS= -I$(top_srcdir)/include -I$(top_srcdir)/plugins/plugin_utils 8 | serverSidePlayerSample_la_LDFLAGS = -module -avoid-version -shared 9 | serverSidePlayerSample_la_LIBADD = $(top_builddir)/plugins/plugin_utils/libplugin_utils.la 10 | 11 | AM_CPPFLAGS = $(CONF_CPPFLAGS) 12 | AM_CFLAGS = $(CONF_CFLAGS) 13 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 14 | 15 | EXTRA_DIST = \ 16 | README.serverSidePlayerSample.txt \ 17 | serverSidePlayerSample.sln \ 18 | serverSidePlayerSample.vcxproj \ 19 | serverSidePlayerSample.vcxproj.filters 20 | 21 | MAINTAINERCLEANFILES = \ 22 | Makefile.in 23 | -------------------------------------------------------------------------------- /plugins/fastmap/README.fastmap.txt: -------------------------------------------------------------------------------- 1 | BZFlag Server Plugin: fastmap 2 | ================================================================================ 3 | 4 | The world cache can be sent using either the game protocol or via HTTP. The 5 | game protocol method is much slower, especially when there is more latency to 6 | the game server. However, serving a cache file via HTTP normally required 7 | manually generating and copying the file, and was prone to the file becoming 8 | outdated. The fastmap plugin uses the HTTP server built into bzfs to 9 | automatically serve an up-to-date cache file without any complicated setup. 10 | 11 | 12 | Loading the plugin 13 | -------------------------------------------------------------------------------- 14 | 15 | This plugin takes no optional arguments, so load it with: 16 | 17 | -loadplugin fastmap 18 | -------------------------------------------------------------------------------- /src/bzfs/Authentication.cxx: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | /* interface header */ 14 | #include "Authentication.h" 15 | 16 | Authentication::Authentication() : globallyAuthenticated(false) 17 | { 18 | } 19 | 20 | // Local Variables: *** 21 | // mode: C++ *** 22 | // tab-width: 4 *** 23 | // c-basic-offset: 4 *** 24 | // indent-tabs-mode: nil *** 25 | // End: *** 26 | // ex: shiftwidth=4 tabstop=4 27 | -------------------------------------------------------------------------------- /plugins/playHistoryTracker/README.playHistoryTracker.txt: -------------------------------------------------------------------------------- 1 | BZFlag Server Plugin: playHistoryTracker 2 | ================================================================================ 3 | 4 | This plugin tracks kills and shows messages for killing sprees (multiple kills 5 | without dying). At 5 kills in a row, it shows a "Rampage!" message. At 10, it 6 | shows a "Killing Spree!" message. At 20, it shows "Unstoppable!!", and for 7 | every 5 after that it shows "continues to rage on". If a player kills another 8 | player that had reached one of the spree thresholds, it will show a special 9 | message indicating who stopped their spree. 10 | 11 | 12 | Loading the plugin 13 | -------------------------------------------------------------------------------- 14 | 15 | This plugin takes no optional arguments, so load it with: 16 | -loadplugin playHistoryTracker 17 | -------------------------------------------------------------------------------- /src/bzadmin/UIMap.cxx: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #include "UIMap.h" 14 | 15 | UIAdder::UIAdder(const std::string& name, UICreator creator) 16 | { 17 | UIMap::instance()[name] = creator; 18 | } 19 | 20 | 21 | // Local Variables: *** 22 | // mode: C++ *** 23 | // tab-width: 4 *** 24 | // c-basic-offset: 4 *** 25 | // indent-tabs-mode: nil *** 26 | // End: *** 27 | // ex: shiftwidth=4 tabstop=4 28 | -------------------------------------------------------------------------------- /plugins/koth/koth.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {76c608f7-0ff9-4eb6-93eb-0c16341ec060} 9 | 10 | 11 | {8397de86-46c1-438d-9fed-9bf7651af2b3} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/platform/BzfVisual.cxx: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #include "BzfVisual.h" 14 | 15 | BzfVisual::BzfVisual() 16 | { 17 | // do nothing 18 | } 19 | 20 | BzfVisual::~BzfVisual() 21 | { 22 | // do nothing 23 | } 24 | 25 | // Local Variables: *** 26 | // mode: C++ *** 27 | // tab-width: 4 *** 28 | // c-basic-offset: 4 *** 29 | // indent-tabs-mode: nil *** 30 | // End: *** 31 | // ex: shiftwidth=4 tabstop=4 32 | -------------------------------------------------------------------------------- /tools/TextTool2/README.txt: -------------------------------------------------------------------------------- 1 | TextTool2 2 | 3 | This is a re-write of the TextTool program. This version uses FreeType2 and 4 | libPNG to render font textures and write the appropriate files. This tool 5 | requires that you provide the directory where the TrueType font files may be 6 | found as the first argument, and the directory where the output files should 7 | be written as the second argument. 8 | 9 | This tool links against FreeType2, libPNG, libz, and bzip2. Although the 10 | source code should compile on most *nix platforms, right now only a Mac OS X 11 | project file is provided to avoid adding dependencies to the main BZFlag 12 | project. 13 | 14 | PLEASE NOTE: if you increase the font sizes resulting in larger texture 15 | sizes, please make sure to edit the default "maxTextureSize" BZDB setting 16 | as well to avoid the BZFlag client downsampling your textures. 17 | -------------------------------------------------------------------------------- /plugins/Phoenix/Phoenix.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {8a2f6097-f5f4-45cf-a39c-bcf145654e95} 9 | 10 | 11 | {1e320af8-eb98-4dd4-8136-e0c64002c36f} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/airspawn/airspawn.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {bbee06ff-51f5-4dc2-8d87-17a1ec3dfe9a} 9 | 10 | 11 | {7c4ddeb0-d8ba-4f5f-8642-a6a9a412fb65} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/flagStay/flagStay.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {69eaa468-9d9b-4ef0-a326-0213b1fa6561} 9 | 10 | 11 | {5cabd969-aa11-4467-bc9b-35801dc287ff} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/keepaway/keepaway.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {588a8074-d893-4936-9a49-eae2dd9f3ad4} 9 | 10 | 11 | {c1c229b2-0e09-4c9d-9644-1e6d38153639} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/killall/killall.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {9ad078ae-2080-49fa-ba21-6314c768fbf8} 9 | 10 | 11 | {39e012e4-9c32-47f5-8eda-f9e7d13f7d9f} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/nagware/nagware.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {23484407-6aa6-4975-bdb8-68e5c656dab0} 9 | 10 | 11 | {d0c2e7f3-de6e-45a0-91a9-9540057e6695} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/regFlag/regFlag.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {3a01f499-64da-46cf-893e-7b510307a64a} 9 | 10 | 11 | {385d0537-6dde-4656-91a7-a781808f91dc} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/timedctf/timedctf.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {c2c0865d-5516-4440-9abb-c7e03f58555c} 9 | 10 | 11 | {80ce1264-72af-44d5-9523-234a3dc2a8fa} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/wwzones/wwzones.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {434ba587-8c28-4dcf-a162-98327e7bb7c4} 9 | 10 | 11 | {2ece80bf-37d4-46aa-ac42-d7272190fceb} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/common/mathRoutine.cxx: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 2024 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | // System headers 14 | #include 15 | 16 | float bzInverseSqrt(float x) 17 | { 18 | if (!(x > 1.0E-12)) 19 | return 1.0E6; 20 | return 1.0f / sqrtf(x); 21 | } 22 | 23 | // Local Variables: *** 24 | // mode: C++ *** 25 | // tab-width: 4 *** 26 | // c-basic-offset: 4 *** 27 | // indent-tabs-mode: nil *** 28 | // End: *** 29 | // ex: shiftwidth=4 tabstop=4 30 | -------------------------------------------------------------------------------- /plugins/TimeLimit/TimeLimit.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {0f437320-0e15-4b3f-816f-a887536eeaf1} 9 | 10 | 11 | {61f9496e-d785-4775-9962-549baba51a0f} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/logDetail/logDetail.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {f6cc0a46-1fa9-4f08-a4f7-6a1ad7e41461} 9 | 10 | 11 | {de8726eb-018f-489d-aaa0-dc9f8a8ba637} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/pushstats/pushstats.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {fc4a44ba-ecb5-47d9-888b-604fcc7c1ea6} 9 | 10 | 11 | {3dd3f6d7-c34d-4307-adc6-6906e39572a0} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/HoldTheFlag/HoldTheFlag.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {e9e7c8f2-0e6c-4efa-82de-6caff1d98d17} 9 | 10 | 11 | {55ef2a55-4692-4a97-b228-4852ace3bd13} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/chathistory/chathistory.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {7e0bfa81-a5c0-4ced-9984-dd222bd97bbf} 9 | 10 | 11 | {79f07612-a014-4f49-9b9f-7b18d493d987} 12 | 13 | 14 | 15 | 16 | Source Files 17 | 18 | 19 | 20 | 21 | Header FIles 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/rabbitTimer/rabbitTimer.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {1a793270-3c56-4366-87c0-b7032e0ebb8b} 9 | 10 | 11 | {f3e71ffb-bb2c-4f9e-888c-827027f19828} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/rabidRabbit/rabidRabbit.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {86a58d5d-c3ca-46a4-bdac-4c151d004d7c} 9 | 10 | 11 | {d8573595-9d1e-4ce0-9c9a-48e7ea4a57f3} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/recordmatch/recordmatch.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {9e4d55c2-cb12-4f00-82c5-97f93b7fb74f} 9 | 10 | 11 | {e10e109c-09e4-48e6-8284-57a60dec54ec} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/RogueGenocide/RogueGenocide.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {d0f78cd1-f190-4988-b5f3-427ca35c01e9} 9 | 10 | 11 | {4e3db84a-c779-4599-b092-c3881a539fdb} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/SAMPLE_PLUGIN/SAMPLE_PLUGIN.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Header Files 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | {f99a4822-7b5e-42c4-9742-d9612728a92b} 14 | 15 | 16 | {a9c45c79-89ca-4f86-8561-6f2bc4d866d2} 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/serverControl/serverControl.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {799e779f-e746-47ce-a124-8a1f418f956f} 9 | 10 | 11 | {c7506409-f5a1-49a8-a892-275150a1a7dc} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/teamflagreset/teamflagreset.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {ef17aaba-1b00-421a-b311-8d35dd1a8a5d} 9 | 10 | 11 | {229de5da-392f-4bc0-a29b-1a88c05b00cc} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/thiefControl/thiefControl.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {afb29c1c-6990-48b8-a59c-d82b08299dd6} 9 | 10 | 11 | {493a6267-8077-4da8-8837-fcc4a0b4e112} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Sources Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/shockwaveDeath/shockwaveDeath.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {566f659e-fc13-4e47-add7-b467a5bdeebc} 9 | 10 | 11 | {b7fbd455-2770-453b-b7d0-724153826773} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/game/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libGame.la 2 | 3 | AM_CPPFLAGS = $(LIBCURL_CPPFLAGS) $(CONF_CPPFLAGS) -I$(top_srcdir)/include 4 | AM_CFLAGS = $(CONF_CFLAGS) 5 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 6 | 7 | MAINTAINERCLEANFILES = \ 8 | Makefile.in 9 | 10 | libGame_la_LDFLAGS = -static 11 | libGame_la_SOURCES = \ 12 | BzMaterial.cxx \ 13 | CacheManager.cxx \ 14 | CollisionManager.cxx \ 15 | CommandsStandard.cxx \ 16 | DirectoryNames.cxx \ 17 | DynamicColor.cxx \ 18 | Frustum.cxx \ 19 | Intersect.cxx \ 20 | LagInfo.cxx \ 21 | LinkManager.cxx \ 22 | MsgStrings.cxx \ 23 | MeshTransform.cxx \ 24 | NetHandler.cxx \ 25 | PhysicsDriver.cxx \ 26 | PlayerInfo.cxx \ 27 | Ray.cxx \ 28 | ServerItem.cxx \ 29 | ServerAuth.cxx \ 30 | ServerList.cxx \ 31 | ServerListCache.cxx \ 32 | StartupInfo.cxx \ 33 | TextureMatrix.cxx 34 | 35 | 36 | EXTRA_DIST = \ 37 | README 38 | -------------------------------------------------------------------------------- /plugins/customflagsample/customflagsample.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {6fc820de-37d1-4118-9154-61df1070d1ec} 9 | 10 | 11 | {b5f9d1eb-9adb-40b2-8d06-e0f5926ef5e2} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/playHistoryTracker/playHistoryTracker.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {03c2cbaf-bba7-41a7-aa32-5f67ecfac90e} 9 | 10 | 11 | {8b77172a-7409-4154-b373-b43cfeafbdb1} 12 | 13 | 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | Source Files 22 | 23 | 24 | -------------------------------------------------------------------------------- /plugins/RogueGenocide/README.RogueGenocide.txt: -------------------------------------------------------------------------------- 1 | BZFlag Server Plugin: RogueGenocide 2 | ================================================================================ 3 | 4 | Normally, the Genocide flag will not affect rogue players, since they are not a 5 | true team. This plugin changes that behavior so that rogue players are 6 | affected. This would also allow a rogue player to shoot another rogue with the 7 | genocide flag and wipe out all rogues (including themself). A rogue shooting 8 | themself does not trigger the genocide effect unless the 'suicide' option is 9 | passed when loading the plugin. 10 | 11 | 12 | Loading the plugin 13 | -------------------------------------------------------------------------------- 14 | 15 | To load the plugin with default settings, use: 16 | -loadplugin RogueGenocide 17 | 18 | To allow a rogue to shoot themself to trigger a genocide, use: 19 | -loadplugin RogueGenocide,suicide 20 | -------------------------------------------------------------------------------- /plugins/koth/help_koth_admin.txt: -------------------------------------------------------------------------------- 1 | ---------------------------------------------------------- 2 | King of the Hill Commands Available: 3 | ---------------------------------------------------------- 4 | Admin only: 5 | "kothon" - King of the Hill mode on. 6 | "kothoff" - King of the Hill mode off. 7 | "kothtimemult <%>" - sets auto time multiplier per player. 8 | "kothtimemultmin <%>" - sets auto time minimum multiplier. 9 | "kothautotimeon" - enable the autotime function. 10 | "kothautotimeoff" - disable the autotime function. 11 | "kothsoundon" - enable the plugin's sounds. 12 | "kothsoundoff" - disable the plugin's sounds. 13 | "kothtime " - change hold time 1-7200 secs. 14 | "kothstatus" - return the status of the plugin. 15 | ---------------------------------------------------------- 16 | All Players: 17 | "kingsay " - message to player holding hill. 18 | ---------------------------------------------------------- 19 | -------------------------------------------------------------------------------- /plugins/Makefile.am: -------------------------------------------------------------------------------- 1 | # plugin_utils is used by other plugins, build first 2 | SUBDIRS = \ 3 | plugin_utils \ 4 | airspawn \ 5 | autoFlagReset \ 6 | bzfscron \ 7 | chathistory \ 8 | customflagsample \ 9 | customPollTypeSample \ 10 | CustomZoneSample \ 11 | fairCTF \ 12 | fastmap \ 13 | flagStay \ 14 | HoldTheFlag \ 15 | keepaway \ 16 | killall \ 17 | koth \ 18 | logDetail \ 19 | nagware \ 20 | Phoenix \ 21 | playHistoryTracker \ 22 | rabbitTimer \ 23 | rabidRabbit \ 24 | recordmatch \ 25 | regFlag \ 26 | RogueGenocide \ 27 | SAMPLE_PLUGIN \ 28 | serverControl \ 29 | serverSidePlayerSample \ 30 | shockwaveDeath \ 31 | superUser \ 32 | teamflagreset \ 33 | thiefControl \ 34 | timedctf \ 35 | TimeLimit \ 36 | wwzones \ 37 | @CUSTOM_PLUGIN_LIST@ 38 | 39 | DIST_SUBDIRS = \ 40 | $(SUBDIRS) 41 | 42 | EXTRA_DIST = \ 43 | api_notes \ 44 | pushstats \ 45 | newplug.sh 46 | 47 | MAINTAINERCLEANFILES = \ 48 | Makefile.in 49 | -------------------------------------------------------------------------------- /plugins/serverSidePlayerSample/README.serverSidePlayerSample.txt: -------------------------------------------------------------------------------- 1 | BZFlag Server Plugin: serverSidePlayerSample 2 | ================================================================================ 3 | 4 | This plugin joins a single server-side player as observer. It listens for 5 | events such as spawning and shots being fired and sends a message for each of 6 | these events. It also echos back private messages that are sent directly to it. 7 | 8 | So, it's not a plugin you'd want to run on your server as-is. It's merely an 9 | example of what the server-side player (SSP) API is currently capable of. 10 | Eventually, we may have the ability for SSP's to play the game, which would 11 | allow plugins to define their AI. 12 | 13 | 14 | Loading the plugin 15 | -------------------------------------------------------------------------------- 16 | 17 | This plugin takes no optional arguments, so load it with: 18 | -loadplugin serverSidePlayerSample 19 | -------------------------------------------------------------------------------- /src/bzflag/stars.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef __STARS_H__ 14 | #define __STARS_H__ 15 | 16 | #include "common.h" 17 | 18 | /** array of star positions */ 19 | extern const float stars[][6]; 20 | 21 | /** how many stars */ 22 | extern const unsigned int NumStars; 23 | 24 | 25 | #endif /* __STARS_H__ */ 26 | 27 | // Local Variables: *** 28 | // mode: C++ *** 29 | // tab-width: 4 *** 30 | // c-basic-offset: 4 *** 31 | // indent-tabs-mode: nil *** 32 | // End: *** 33 | // ex: shiftwidth=4 tabstop=4 34 | -------------------------------------------------------------------------------- /src/bzadmin/colors.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef COLORS_H 14 | #define COLORS_H 15 | 16 | // 1st 17 | #include "common.h" 18 | 19 | enum ColorCode 20 | { 21 | Default = 0, 22 | White, 23 | Red, 24 | Green, 25 | Blue, 26 | Purple, 27 | Yellow, 28 | Cyan 29 | }; 30 | 31 | #endif 32 | 33 | // Local Variables: *** 34 | // mode: C++ *** 35 | // tab-width: 4 *** 36 | // c-basic-offset: 4 *** 37 | // indent-tabs-mode: nil *** 38 | // End: *** 39 | // ex: shiftwidth=4 tabstop=4 40 | -------------------------------------------------------------------------------- /src/bzflag/callbacks.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | // common - 1st 14 | #include "common.h" 15 | 16 | // system headers 17 | #include 18 | 19 | void setFlagHelp(const std::string& name, void*); 20 | void setColor(const std::string& name, void*); 21 | void setDepthBuffer(const std::string& name, void*); 22 | 23 | 24 | // Local Variables: *** 25 | // mode: C++ *** 26 | // tab-width: 4 *** 27 | // c-basic-offset: 4 *** 28 | // indent-tabs-mode: nil *** 29 | // End: *** 30 | // ex: shiftwidth=4 tabstop=4 31 | -------------------------------------------------------------------------------- /misc/Template.cxx: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | // Template.cxx 14 | // A short description of the module's function 15 | 16 | 17 | #include "common.h" 18 | 19 | // interface header 20 | #include "Template.h" 21 | 22 | // system headers 23 | 24 | // common headers 25 | 26 | // local headers 27 | 28 | 29 | 30 | /* 31 | * Local Variables: *** 32 | * mode: C++ *** 33 | * tab-width: 4 *** 34 | * c-basic-offset: 4 *** 35 | * indent-tabs-mode: nil *** 36 | * End: *** 37 | * ex: shiftwidth=4 tabstop=4 38 | */ 39 | -------------------------------------------------------------------------------- /src/bzflag/AutoPilot.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef BZF_AUTOPILOT_H 14 | #define BZF_AUTOPILOT_H 15 | 16 | #include "common.h" 17 | 18 | // common headers 19 | #include "Flag.h" 20 | 21 | void doAutoPilot(float &rotation, float &speed); 22 | void teachAutoPilot(FlagType *, int); 23 | 24 | #endif // BZF_AUTOPILOT_H 25 | 26 | // Local Variables: *** 27 | // mode: C++ *** 28 | // tab-width: 4 *** 29 | // c-basic-offset: 4 *** 30 | // indent-tabs-mode: nil *** 31 | // End: *** 32 | // ex: shiftwidth=4 tabstop=4 33 | -------------------------------------------------------------------------------- /src/bzfs/WorldGenerators.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef __WORLD_GENERATORS_H__ 14 | #define __WORLD_GENERATORS_H__ 15 | 16 | // 1st 17 | #include "common.h" 18 | 19 | class WorldInfo; 20 | 21 | extern WorldInfo *defineTeamWorld(); 22 | extern WorldInfo *defineRandomWorld(); 23 | 24 | #endif // __WORLD_GENERATORS_H__ 25 | 26 | // Local Variables: *** 27 | // mode: C++ *** 28 | // tab-width: 4 *** 29 | // c-basic-offset: 4 *** 30 | // indent-tabs-mode: nil *** 31 | // End: *** 32 | // ex: shiftwidth=4 tabstop=4 33 | -------------------------------------------------------------------------------- /include/bzglob.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef BZ_GLOB_H 14 | #define BZ_GLOB_H 15 | 16 | // 1st 17 | #include "common.h" 18 | 19 | #include 20 | 21 | extern bool glob_match(const char* pattern, const char* string); 22 | extern bool glob_match(const std::string& pattern, const std::string& string); 23 | 24 | #endif 25 | 26 | /* 27 | * Local Variables: *** 28 | * mode: C *** 29 | * tab-width: 8 *** 30 | * c-basic-offset: 2 *** 31 | * indent-tabs-mode: t *** 32 | * End: *** 33 | * ex: shiftwidth=2 tabstop=8 34 | */ 35 | -------------------------------------------------------------------------------- /plugins/fastmap/fastmap.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Header Files 6 | 7 | 8 | Header Files 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | {2f6add12-54bf-4c6d-be61-ff3a87f4ce7f} 17 | 18 | 19 | {ba5c96af-a719-40ad-bd34-f84922330397} 20 | 21 | 22 | 23 | 24 | Source Files 25 | 26 | 27 | -------------------------------------------------------------------------------- /plugins/fairCTF/fairCTF.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Header Files 6 | 7 | 8 | Header Files 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | {3215c9f6-aa46-46df-9e6d-ec9fef28c54c} 17 | 18 | 19 | {c497c6a2-a84a-4e61-a5e6-094bccc52222} 20 | 21 | 22 | 23 | 24 | Source Files 25 | 26 | 27 | -------------------------------------------------------------------------------- /src/bzadmin/BZAdminUI.cxx: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #include "BZAdminClient.h" 14 | #include "BZAdminUI.h" 15 | 16 | 17 | void BZAdminUI::handleNewPacket(uint16_t) 18 | { 19 | if (client.getLastMessage().first.size() > 0) 20 | outputMessage(client.getLastMessage().first, 21 | client.getLastMessage().second); 22 | } 23 | 24 | // Local Variables: *** 25 | // mode: C++ *** 26 | // tab-width: 4 *** 27 | // c-basic-offset: 4 *** 28 | // indent-tabs-mode: nil *** 29 | // End: *** 30 | // ex: shiftwidth=4 tabstop=4 31 | -------------------------------------------------------------------------------- /plugins/superUser/superUser.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Header Files 6 | 7 | 8 | Header Files 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | {90020a95-8f8f-4982-a3ee-e44fa0447c9c} 17 | 18 | 19 | {c8183870-6670-47fe-aae4-ece9db24b1e5} 20 | 21 | 22 | 23 | 24 | Source Files 25 | 26 | 27 | -------------------------------------------------------------------------------- /MSVC/build/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = \ 2 | 3D.vcxproj \ 3 | 3D.vcxproj.filters \ 4 | bzflag.vcxproj \ 5 | bzflag.vcxproj.filters \ 6 | bzadmin.vcxproj \ 7 | bzadmin.vcxproj.filters \ 8 | bzfs.vcxproj \ 9 | bzfs.vcxproj.filters \ 10 | common.vcxproj \ 11 | common.vcxproj.filters \ 12 | config.h \ 13 | date.vcxproj \ 14 | date.vcxproj.filters \ 15 | game.vcxproj \ 16 | game.vcxproj.filters \ 17 | geometry.vcxproj \ 18 | geometry.vcxproj.filters \ 19 | installer.vcxproj \ 20 | installer.vcxproj.filters \ 21 | makehtml.vcxproj \ 22 | makehtml.vcxproj.filters \ 23 | man2html.vcxproj \ 24 | man2html.vcxproj.filters \ 25 | mediafile.vcxproj \ 26 | mediafile.vcxproj.filters \ 27 | net.vcxproj \ 28 | net.vcxproj.filters \ 29 | obstacle.vcxproj \ 30 | obstacle.vcxproj.filters \ 31 | ogl.vcxproj \ 32 | ogl.vcxproj.filters \ 33 | platform.vcxproj \ 34 | platform.vcxproj.filters \ 35 | scene.vcxproj \ 36 | scene.vcxproj.filters \ 37 | makeHTML.bat 38 | 39 | MAINTAINERCLEANFILES = \ 40 | Makefile.in 41 | -------------------------------------------------------------------------------- /misc/Template.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | // Template.h 14 | // A short description of the module's function 15 | 16 | #ifndef __TEMPLATE_H__ 17 | #define __TEMPLATE_H__ 18 | 19 | 20 | #include "common.h" 21 | 22 | // system headers 23 | 24 | // common headers 25 | 26 | // local headers 27 | 28 | 29 | 30 | #endif // __TEMPLATE_H__ 31 | 32 | 33 | /* 34 | * Local Variables: *** 35 | * mode: C++ *** 36 | * tab-width: 4 *** 37 | * c-basic-offset: 4 *** 38 | * indent-tabs-mode: nil *** 39 | * End: *** 40 | * ex: shiftwidth=4 tabstop=4 41 | */ 42 | -------------------------------------------------------------------------------- /plugins/autoFlagReset/autoFlagReset.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Header Files 6 | 7 | 8 | Header Files 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | {5774d266-4bb4-472c-bf74-b212b11af36b} 17 | 18 | 19 | {d41dd01f-5252-4665-a169-edf75a45e628} 20 | 21 | 22 | 23 | 24 | Source FIles 25 | 26 | 27 | -------------------------------------------------------------------------------- /src/obstacle/EmptySceneNodeGenerator.cxx: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #include "EmptySceneNodeGenerator.h" 14 | #include "WallSceneNode.h" 15 | 16 | // 17 | // EmptySceneNodeGenerator 18 | // 19 | 20 | EmptySceneNodeGenerator::~EmptySceneNodeGenerator() 21 | { 22 | } 23 | 24 | WallSceneNode* EmptySceneNodeGenerator::getNextNode(float, float, bool) 25 | { 26 | return NULL; 27 | } 28 | 29 | // Local Variables: *** 30 | // mode: C++ *** 31 | // tab-width: 4 *** 32 | // c-basic-offset: 4 *** 33 | // indent-tabs-mode: nil *** 34 | // End: *** 35 | // ex: shiftwidth=4 tabstop=4 36 | -------------------------------------------------------------------------------- /plugins/CustomZoneSample/CustomZoneSample.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Header Files 6 | 7 | 8 | Header Files 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | {e5f06829-910f-4b9c-aee1-2783081a8807} 17 | 18 | 19 | {a639634c-ea10-4f11-8bda-c360ab497277} 20 | 21 | 22 | 23 | 24 | Source Files 25 | 26 | 27 | -------------------------------------------------------------------------------- /package/irix/bzflag.ftr: -------------------------------------------------------------------------------- 1 | TYPE Bzflag 2 | MATCH tag == 0x00fc8001; 3 | LEGEND bzflag - a tank game 4 | SUPERTYPE Executable 5 | CMD OPEN $LEADER 6 | CMD ALTOPEN launch -m "Please enter desired options for bzflag:" \ 7 | -c $LEADER $REST 8 | ICON { 9 | if (opened) { 10 | include("../iconlib/generic.exec.open.fti"); 11 | } else { 12 | include("../iconlib/generic.exec.closed.fti"); 13 | } 14 | include("iconlib/bzflag.fti"); 15 | } 16 | 17 | TYPE Bzfs 18 | MATCH tag == 0x00fc8002; 19 | LEGEND bzfs - server for bzflag 20 | SUPERTYPE Executable 21 | CMD OPEN launch -m "Please enter desired options for bzfs\nEx. `-c' or `-h -s -t'" \ 22 | -c $LEADER $REST 23 | CMD ALTOPEN launch -m "Please enter desired options for bzfs\nEx. `-c' or `-h -s -t'" \ 24 | -c $LEADER $REST 25 | ICON { 26 | if (opened) { 27 | include("../iconlib/generic.exec.open.fti"); 28 | } else { 29 | include("../iconlib/generic.exec.closed.fti"); 30 | } 31 | include("iconlib/bzfs.fti"); 32 | } 33 | -------------------------------------------------------------------------------- /tools/bzwtransform/input.bzt: -------------------------------------------------------------------------------- 1 | #A simple rotation around the origin 2 | #where the boxes and pyramids grow in height 3 | 4 | transform 5 | box 6 | position 300 0 0 7 | size 10 10 10 8 | rotation 0 9 | end 10 | 11 | pyramid 12 | position 200 0 0 13 | size 4 4 12 14 | rotation 0 15 | end 16 | 17 | matrix 18 | position 19 | rotate 10 20 | end 21 | size 22 | scale 1.0 1.0 1.05 23 | end 24 | rotation 10 25 | end 26 | count 36 27 | end 28 | 29 | #A simple rotation around the center of the box 30 | 31 | transform 32 | box 33 | position 50 50 0 34 | size 40 10 10 35 | rotation 0 36 | end 37 | 38 | matrix 39 | size 40 | scale 1.0 1.0 1.0 41 | end 42 | rotation 10 43 | end 44 | count 36 45 | end 46 | 47 | #A simple translation 48 | 49 | transform 50 | box 51 | position -400 -400 0 52 | size 8 8 5 53 | rotation 0 54 | end 55 | 56 | matrix 57 | position 58 | translate 25 25 5 59 | end 60 | size 61 | scale 1.0 1.0 1.0 62 | end 63 | rotation 10 64 | end 65 | count 32 66 | end 67 | -------------------------------------------------------------------------------- /plugins/customPollTypeSample/customPollTypeSample.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Header Files 6 | 7 | 8 | Header Files 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | {f140ad51-8a4d-42a6-9d8a-2836924bc324} 17 | 18 | 19 | {c3fa9722-2bb7-40ff-a2ed-ba88cea971f0} 20 | 21 | 22 | 23 | 24 | Source Files 25 | 26 | 27 | -------------------------------------------------------------------------------- /plugins/thiefControl/thiefControl.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 12.00 2 | # Visual Studio 14 3 | VisualStudioVersion = 14.0.25123.0 4 | MinimumVisualStudioVersion = 10.0.40219.1 5 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "thiefControl", "thiefControl.vcxproj", "{C7E4CB54-110E-4DA1-86E5-612DE727419A}" 6 | EndProject 7 | Global 8 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 9 | Debug|Win32 = Debug|Win32 10 | Release|Win32 = Release|Win32 11 | EndGlobalSection 12 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 13 | {C7E4CB54-110E-4DA1-86E5-612DE727419A}.Debug|Win32.ActiveCfg = Debug|Win32 14 | {C7E4CB54-110E-4DA1-86E5-612DE727419A}.Debug|Win32.Build.0 = Debug|Win32 15 | {C7E4CB54-110E-4DA1-86E5-612DE727419A}.Release|Win32.ActiveCfg = Release|Win32 16 | {C7E4CB54-110E-4DA1-86E5-612DE727419A}.Release|Win32.Build.0 = Release|Win32 17 | EndGlobalSection 18 | GlobalSection(SolutionProperties) = preSolution 19 | HideSolutionNode = FALSE 20 | EndGlobalSection 21 | EndGlobal 22 | -------------------------------------------------------------------------------- /src/bzflag/RoofTops.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef BZF_ROOF_TOPS_H 14 | #define BZF_ROOF_TOPS_H 15 | 16 | // common header 17 | #include "common.h" 18 | 19 | namespace RoofTops 20 | { 21 | 22 | void load(); 23 | void clear(); 24 | 25 | // returns 0.0f if there are no buildings 26 | float getTopHeight(float x, float y, float maxHeight); 27 | } 28 | 29 | 30 | #endif // BZF_ROOF_TOPS_H 31 | 32 | 33 | // Local Variables: *** 34 | // mode: C++ *** 35 | // tab-width: 4 *** 36 | // c-basic-offset: 4 *** 37 | // indent-tabs-mode: nil *** 38 | // End: *** 39 | // ex: shiftwidth=4 tabstop=4 40 | -------------------------------------------------------------------------------- /src/obstacle/ObstacleSceneNodeGenerator.cxx: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #include "ObstacleSceneNodeGenerator.h" 14 | 15 | 16 | // 17 | // ObstacleSceneNodeGenerator 18 | // 19 | 20 | ObstacleSceneNodeGenerator::ObstacleSceneNodeGenerator() : 21 | node(0) 22 | { 23 | // do nothing 24 | } 25 | 26 | ObstacleSceneNodeGenerator::~ObstacleSceneNodeGenerator() 27 | { 28 | // do nothing 29 | } 30 | 31 | // Local Variables: *** 32 | // mode: C++ *** 33 | // tab-width: 4 *** 34 | // c-basic-offset: 4 *** 35 | // indent-tabs-mode: nil *** 36 | // End: *** 37 | // ex: shiftwidth=4 tabstop=4 38 | -------------------------------------------------------------------------------- /misc/groups.conf: -------------------------------------------------------------------------------- 1 | # 2 | # This is an example of a bzfs groupdb file 3 | # 4 | # 1. Comment lines start with a '#' character. 5 | # 6 | # 2. The group name must be followed by the ':' character. 7 | # 8 | # 3. Permissions from previously defined groups can be 9 | # referenced by using *GROUPNAME, where GROUPNAME is 10 | # the name group to be referenced. 11 | # 12 | # Please see the bzfs.6 man page for further information. 13 | # 14 | 15 | 16 | # 17 | # A very simple group 18 | # 19 | 20 | SIMPLEKICKERS: KICK 21 | 22 | 23 | # 24 | # Define some groups to be referenced later 25 | # 26 | 27 | ANTI: ANTIBAN ANTIKICK ANTIPOLL ANTIPOLLBAN ANTIPOLLKICK 28 | 29 | DISPLAY: PLAYERLIST SHOWOTHERS BANLIST ADMINMESSAGERECEIVE 30 | 31 | BOOT: KICK BAN SHORTBAN UNBAN 32 | 33 | SET: SETVAR LAGWARN FLAGMOD 34 | 35 | 36 | # 37 | # Use the '*' character to reference previous groups 38 | # 39 | 40 | OPS: *ANTI *DISPLAY *SET *BOOT 41 | 42 | SUBOPS: *ANTI *DISPLAY KICK SHORTBAN 43 | 44 | -------------------------------------------------------------------------------- /src/game/README: -------------------------------------------------------------------------------- 1 | Included here should be the core non-generic logic of bzflag. The 2 | aspects of the game that are potentially useful to other applications 3 | (server, client, or otherwise) should be put here instead of into the 4 | application front-ends. The game lib is a middle layer sitting 5 | between the generic common functionality that is completely 6 | application-agnostic and the logic and appearance completely specific 7 | to a single particular application. This means that there should be 8 | no explicit display code such as OpenGL calls. In the 9 | model-view-controller paradigm, this library is for the model and and 10 | view-agnostic controllers. 11 | 12 | If your code is not bz-specific or could not potentially be used in 13 | another application, it probably doesn't belong in here -- it probably 14 | belongs in the common library. If your code cannot really be used in 15 | another application without modification, perhaps specific or tied to 16 | rendering (e.g. OpenGL calls) or display of data, it probably doesn't 17 | belong in here. 18 | -------------------------------------------------------------------------------- /src/bzflag/SilenceDefaultKey.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | 14 | #ifndef __SILENCEDEFAULTKEY_H__ 15 | #define __SILENCEDEFAULTKEY_H__ 16 | 17 | #include "HUDuiDefaultKey.h" 18 | 19 | 20 | class SilenceDefaultKey : public HUDuiDefaultKey 21 | { 22 | public: 23 | SilenceDefaultKey(); 24 | bool keyPress(const BzfKeyEvent&); 25 | bool keyRelease(const BzfKeyEvent&); 26 | }; 27 | 28 | #endif 29 | 30 | // Local Variables: *** 31 | // mode: C++ *** 32 | // tab-width: 4 *** 33 | // c-basic-offset: 4 *** 34 | // indent-tabs-mode: nil *** 35 | // End: *** 36 | // ex: shiftwidth=4 tabstop=4 37 | -------------------------------------------------------------------------------- /tools/modeltool/MSVC/modeltool.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 12.00 2 | # Visual Studio 14 3 | VisualStudioVersion = 14.0.25123.0 4 | MinimumVisualStudioVersion = 10.0.40219.1 5 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modeltool", "modeltool.vcxproj", "{75BC8894-499A-441C-B21B-875CA252507A}" 6 | EndProject 7 | Global 8 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 9 | Debug|Win32 = Debug|Win32 10 | Release|Win32 = Release|Win32 11 | EndGlobalSection 12 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 13 | {75BC8894-499A-441C-B21B-875CA252507A}.Debug|Win32.ActiveCfg = Debug|Win32 14 | {75BC8894-499A-441C-B21B-875CA252507A}.Debug|Win32.Build.0 = Debug|Win32 15 | {75BC8894-499A-441C-B21B-875CA252507A}.Release|Win32.ActiveCfg = Release|Win32 16 | {75BC8894-499A-441C-B21B-875CA252507A}.Release|Win32.Build.0 = Release|Win32 17 | EndGlobalSection 18 | GlobalSection(SolutionProperties) = preSolution 19 | HideSolutionNode = FALSE 20 | EndGlobalSection 21 | EndGlobal 22 | -------------------------------------------------------------------------------- /plugins/bzfscron/bzfscron.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Source Files 6 | 7 | 8 | Source Files 9 | 10 | 11 | 12 | 13 | Header Files 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | {97005159-0713-430e-8ffc-fc51184fc152} 25 | 26 | 27 | {816ae911-7b8f-4076-86dd-536229e04802} 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/scene/SceneDatabase.cxx: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | /* 14 | * 15 | */ 16 | 17 | #include "common.h" 18 | #include "SceneDatabase.h" 19 | 20 | // 21 | // SceneDatabase 22 | // 23 | 24 | SceneDatabase::SceneDatabase() 25 | { 26 | // do nothing 27 | } 28 | 29 | SceneDatabase::~SceneDatabase() 30 | { 31 | // do nothing 32 | } 33 | 34 | void SceneDatabase::setOccluderManager(int) 35 | { 36 | // do nothing 37 | } 38 | 39 | 40 | // Local Variables: *** 41 | // mode: C++ *** 42 | // tab-width: 4 *** 43 | // c-basic-offset: 4 *** 44 | // indent-tabs-mode: nil *** 45 | // End: *** 46 | // ex: shiftwidth=4 tabstop=4 47 | -------------------------------------------------------------------------------- /include/ServerAuth.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2024 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef BZF_SERVERAUTH_H 14 | #define BZF_SERVERAUTH_H 15 | 16 | #include "common.h" 17 | 18 | /* system interface headers */ 19 | #include 20 | 21 | /* common interface headers */ 22 | #include "StartupInfo.h" 23 | #include "cURLManager.h" 24 | 25 | class ServerAuth : cURLManager 26 | { 27 | public: 28 | ServerAuth(); 29 | virtual ~ServerAuth(); 30 | 31 | void requestToken(StartupInfo *info); 32 | void finalization(char *data, unsigned int length, bool good); 33 | 34 | private: 35 | StartupInfo *startupInfo; 36 | }; 37 | 38 | #endif // BZF_SERVERAUTH_H 39 | -------------------------------------------------------------------------------- /include/ParseColor.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef _PARSE_COLOR_H_ 14 | #define _PARSE_COLOR_H_ 15 | 16 | // 1st 17 | #include "common.h" 18 | 19 | #include 20 | #include 21 | 22 | extern bool parseColorCString(const char* str, float color[4]); 23 | extern bool parseColorString(const std::string& str, float color[4]); 24 | extern bool parseColorStream(std::istream& input, float color[4]); 25 | 26 | 27 | #endif // _PARSE_COLOR_H_ 28 | 29 | 30 | // Local Variables: *** 31 | // mode: C++ *** 32 | // tab-width: 4 *** 33 | // c-basic-offset: 4 *** 34 | // indent-tabs-mode: nil *** 35 | // End: *** 36 | // ex: shiftwidth=4 tabstop=4 37 | -------------------------------------------------------------------------------- /src/bzfs/DropGeometry.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef __DROP_GEOMETRY_H__ 14 | #define __DROP_GEOMETRY_H__ 15 | 16 | // 1st 17 | #include "common.h" 18 | 19 | class WorldInfo; 20 | 21 | 22 | namespace DropGeometry 23 | { 24 | 25 | bool dropFlag (float pos[3], float minZ, float maxZ); 26 | bool dropPlayer (float pos[3], float minZ, float maxZ); 27 | bool dropTeamFlag (float pos[3], float minZ, float maxZ, int team); 28 | } 29 | 30 | 31 | #endif /* __DROP_GEOMETRY_H__ */ 32 | 33 | // Local variables: *** 34 | // mode: C++ *** 35 | // tab-width: 4*** 36 | // c-basic-offset: 4 *** 37 | // indent-tabs-mode: nil *** 38 | // End: *** 39 | // ex: shiftwidth=4 tabstop=4 40 | -------------------------------------------------------------------------------- /src/bzflag/bzflag.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef BZF_BZFLAG_H 14 | #define BZF_BZFLAG_H 15 | 16 | #include "common.h" 17 | 18 | // system includes 19 | #include 20 | 21 | extern void dumpResources(); 22 | 23 | extern bool echoToConsole; 24 | extern bool echoAnsi; 25 | extern std::string alternateConfig; 26 | extern const char *argv0; 27 | extern struct tm userTime; 28 | 29 | #ifdef ROBOT 30 | extern int numRobotTanks; 31 | #endif 32 | 33 | #endif // BZF_BZFLAG_H 34 | 35 | // Local Variables: *** 36 | // mode: C++ *** 37 | // tab-width: 4 *** 38 | // c-basic-offset: 4 *** 39 | // indent-tabs-mode: nil *** 40 | // End: *** 41 | // ex: shiftwidth=4 tabstop=4 42 | -------------------------------------------------------------------------------- /src/bzfs/MasterBanList.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef __MASTER_BAN_LIST_H__ 14 | #define __MASTER_BAN_LIST_H__ 15 | 16 | // common implementation headers 17 | #include "cURLManager.h" 18 | 19 | class MasterBanList : cURLManager 20 | { 21 | public: 22 | const std::string &get(const std::string &URL); 23 | protected: 24 | std::string data; 25 | private: 26 | void finalization(char *cURLdata, unsigned int length, bool good); 27 | }; 28 | #endif //__MASTER_BAN_LIST_H__ 29 | 30 | // Local Variables: *** 31 | // mode: C++ *** 32 | // tab-width: 4 *** 33 | // c-basic-offset: 4 *** 34 | // indent-tabs-mode: nil *** 35 | // End: *** 36 | // ex: shiftwidth=4 tabstop=4 37 | -------------------------------------------------------------------------------- /src/obstacle/Triangulate.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef __TRIANGULATE_H__ 14 | #define __TRIANGULATE_H__ 15 | 16 | // 1st 17 | #include "common.h" 18 | 19 | /* system interface headers */ 20 | #include 21 | 22 | 23 | typedef struct 24 | { 25 | int indices[3]; 26 | } TriIndices; 27 | 28 | extern void triangulateFace(int count, const float* const* verts, 29 | std::vector& tris); 30 | 31 | 32 | #endif /* __TRIANGULATE_H__ */ 33 | 34 | // Local variables: *** 35 | // mode: C++ *** 36 | // tab-width: 4*** 37 | // c-basic-offset: 4 *** 38 | // indent-tabs-mode: nil *** 39 | // End: *** 40 | // ex: shiftwidth=4 tabstop=4 41 | -------------------------------------------------------------------------------- /include/EmptySceneNodeGenerator.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef __EMPTYSCENENODEGENERATOR_H__ 14 | #define __EMPTYSCENENODEGENERATOR_H__ 15 | 16 | #include "ObstacleSceneNodeGenerator.h" 17 | 18 | class EmptySceneNodeGenerator : public ObstacleSceneNodeGenerator 19 | { 20 | public: 21 | virtual ~EmptySceneNodeGenerator(); 22 | 23 | virtual WallSceneNode* getNextNode(float uRepeats, float vRepeats, 24 | bool lod); 25 | }; 26 | 27 | #endif 28 | 29 | // Local Variables: *** 30 | // mode: C++ *** 31 | // tab-width: 4 *** 32 | // c-basic-offset: 4 *** 33 | // indent-tabs-mode: nil *** 34 | // End: *** 35 | // ex: shiftwidth=4 tabstop=4 36 | -------------------------------------------------------------------------------- /src/platform/Makefile.am: -------------------------------------------------------------------------------- 1 | if CLIENT_INCLUDED 2 | noinst_LTLIBRARIES = libPlatform.la 3 | endif 4 | 5 | libPlatform_la_LDFLAGS = -static 6 | 7 | libPlatform_la_SOURCES = \ 8 | PlatformFactory.cxx \ 9 | BzfDisplay.cxx \ 10 | BzfJoystick.cxx \ 11 | BzfVisual.cxx \ 12 | BzfWindow.cxx \ 13 | BzfMedia.cxx \ 14 | SDLJoystick.cxx \ 15 | SDLJoystick.h \ 16 | SDLPlatformFactory.cxx \ 17 | SDLPlatformFactory.h \ 18 | SDLMedia.cxx \ 19 | SDLMedia.h \ 20 | SDL2Display.cxx \ 21 | SDL2Display.h \ 22 | SDL2Visual.cxx \ 23 | SDL2Visual.h \ 24 | SDL2Window.cxx \ 25 | SDL2Window.h 26 | 27 | if APPLE 28 | libPlatform_la_SOURCES += \ 29 | MacDataPath.cxx 30 | endif 31 | 32 | EXTRA_libPlatform_la_SOURCES = \ 33 | MacDataPath.cxx 34 | 35 | AM_CPPFLAGS = -DINSTALL_DATA_DIR=\"$(pkgdatadir)\" \ 36 | $(SDL_CFLAGS) \ 37 | $(CONF_CPPFLAGS) \ 38 | -I$(top_srcdir)/include 39 | AM_CFLAGS = $(CONF_CFLAGS) 40 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 41 | 42 | EXTRA_DIST = \ 43 | NewMedia.cxx \ 44 | NewMedia.h \ 45 | SDLMain.h \ 46 | SDLMain.m \ 47 | README 48 | 49 | MAINTAINERCLEANFILES = \ 50 | Makefile.in 51 | -------------------------------------------------------------------------------- /plugins/serverSidePlayerSample/serverSidePlayerSample.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Source Files 6 | 7 | 8 | Source Files 9 | 10 | 11 | 12 | 13 | Header Files 14 | 15 | 16 | Header Files 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | {803d8ae8-c0dc-4cc8-82b3-6c7a54632028} 25 | 26 | 27 | {d3f50fc1-dd26-4d02-8548-aa5e0f884440} 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/bzflag/Weapon.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef __WEAPON_H__ 14 | #define __WEAPON_H__ 15 | 16 | // BZFlag common header 17 | #include "common.h" 18 | 19 | #include 20 | #include "Flag.h" 21 | 22 | class Weapon 23 | { 24 | public: 25 | Weapon(); 26 | const void* unpack(const void*); 27 | 28 | public: 29 | FlagType *type; 30 | float pos[3]; 31 | float dir; 32 | float initDelay; 33 | std::vector delay; 34 | }; 35 | 36 | 37 | #endif /* __WEAPON_H__ */ 38 | 39 | // Local Variables: *** 40 | // mode: C++ *** 41 | // tab-width: 4 *** 42 | // c-basic-offset: 4 *** 43 | // indent-tabs-mode: nil *** 44 | // End: *** 45 | // ex: shiftwidth=4 tabstop=4 46 | -------------------------------------------------------------------------------- /m4/curses.m4: -------------------------------------------------------------------------------- 1 | # This macro tries to find curses, and defines HAVE_CURSES_H or HAVE_NCURSES_H 2 | # if any of those headers are found. It also defines CURSES_LIB. 3 | AC_DEFUN([MP_WITH_CURSES], [ 4 | mp_save_LIBS="$LIBS" 5 | CURSES_LIB="" 6 | 7 | ifdef([PKG_CHECK_MODULES], [ 8 | PKG_CHECK_MODULES([ncurses], [ncurses], 9 | [CURSES_LIB="$ncurses_LIBS"] 10 | AC_DEFINE(HAVE_NCURSES_H, , [Use the header file ncurses.h]) 11 | AC_SUBST(CURSES_LIB), 12 | [_CHECK_CURSES]) 13 | ], 14 | [_CHECK_CURSES]) 15 | LIBS="$mp_save_LIBS" 16 | ])dnl 17 | 18 | AC_DEFUN([_CHECK_CURSES], [ 19 | AC_CACHE_CHECK([for working ncurses], mp_cv_ncurses, 20 | [LIBS="$LIBS -lncurses" 21 | AC_LINK_IFELSE([ 22 | AC_LANG_PROGRAM([[#include 23 | ]], [[chtype a; int b=A_STANDOUT, c=KEY_LEFT; initscr(); 24 | ]])], [mp_cv_ncurses=yes], [mp_cv_ncurses=no])]) 25 | if test "$mp_cv_ncurses" = yes ; then 26 | AC_DEFINE(HAVE_NCURSES_H, , [Use the header file ncurses.h]) 27 | CURSES_LIB="-lncurses" 28 | AC_SUBST(CURSES_LIB) 29 | fi 30 | ])dnl 31 | -------------------------------------------------------------------------------- /src/bzflag/motd.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef __MOTD_H__ 14 | #define __MOTD_H__ 15 | 16 | // bzflag global header 17 | #include "common.h" 18 | 19 | // system interface header 20 | #include 21 | 22 | // common interface headers 23 | #include "cURLManager.h" 24 | 25 | class MessageOfTheDay : cURLManager 26 | { 27 | public: 28 | 29 | virtual void finalization(char *data, unsigned int length, bool good); 30 | void getURL(const std::string &URL); 31 | }; 32 | 33 | #endif //__MOTD_H__ 34 | 35 | // Local Variables: *** 36 | // mode: C++ *** 37 | // tab-width: 4 *** 38 | // c-basic-offset: 4 *** 39 | // indent-tabs-mode: nil *** 40 | // End: *** 41 | // ex: shiftwidth=4 tabstop=4 42 | -------------------------------------------------------------------------------- /src/bzfs/RejoinList.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef __REJOIN_LIST_H__ 14 | #define __REJOIN_LIST_H__ 15 | 16 | /* common header */ 17 | #include "common.h" 18 | 19 | /* system headers */ 20 | #include 21 | 22 | class RejoinList 23 | { 24 | public: 25 | RejoinList (); 26 | ~RejoinList (); 27 | 28 | bool add (int playerIndex); 29 | float waitTime (int playerIndex); 30 | 31 | private: 32 | std::list queue; 33 | }; 34 | 35 | 36 | #endif /* __REJOIN_LIST_H__ */ 37 | 38 | // Local Variables: *** 39 | // mode: C++ *** 40 | // tab-width: 4 *** 41 | // c-basic-offset: 4 *** 42 | // indent-tabs-mode: nil *** 43 | // End: *** 44 | // ex: shiftwidth=4 tabstop=4 45 | -------------------------------------------------------------------------------- /plugins/keepaway/help_keepaway_admin.txt: -------------------------------------------------------------------------------- 1 | ---------------------------------------------------------- 2 | Keep Away Commands Available: 3 | ---------------------------------------------------------- 4 | Admin only: 5 | "kaon" - enable Keep Away mode. 6 | "kaoff" - disable Keep Away mode. 7 | "katimemult <%>" - sets auto time multiplier per player. 8 | "katimemultmin <%>" - sets auto time minimum multiplier. 9 | "kaautotimeon" - enable the autotime function. 10 | "kaautotimeoff" - disable the autotime function. 11 | "kaffon" - enable forced flags. 12 | "kaffoff" - disable forced flags. 13 | "katime " - change hold time 1-7200 secs. 14 | "kastatus" - indicate the status of the plugin. 15 | "kaf+" - advance to next Keep Away flag. 16 | "kasoundon" - enable Keep Away sounds. 17 | "kasoundoff" - disable Keep Away sounds. 18 | "kaflagreseton" - enable auto Keep Away flag reset. 19 | "kaflagresetoff" - disable auto Keep Away flag reset. 20 | ---------------------------------------------------------- 21 | All Players: 22 | "kas " - message to player holding flag. 23 | "kaf" - indicate current Keep Away flag. 24 | ---------------------------------------------------------- 25 | -------------------------------------------------------------------------------- /include/bzfSDL.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef __BZFSDL_H__ 14 | #define __BZFSDL_H__ 15 | 16 | // 1st 17 | #include "common.h" 18 | 19 | /** this file contains headers necessary for SDL */ 20 | 21 | #ifdef HAVE_SDL2_SDL_H 22 | # include 23 | # include 24 | # include 25 | #else // autotools adds an SDL-specific include path 26 | # include "SDL.h" 27 | # include "SDL_thread.h" 28 | # include "SDL_stdinc.h" 29 | #endif //HAVE_SDL_SDL_H 30 | 31 | #endif /* __BZFSDL_H__ */ 32 | 33 | // Local Variables: *** 34 | // mode: C++ *** 35 | // tab-width: 4 *** 36 | // c-basic-offset: 4 *** 37 | // indent-tabs-mode: nil *** 38 | // End: *** 39 | // ex: shiftwidth=4 tabstop=4 40 | -------------------------------------------------------------------------------- /src/bzflag/ForceFeedback.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef __FORCE_FEEDBACK_H__ 14 | #define __FORCE_FEEDBACK_H__ 15 | 16 | // 1st 17 | #include "common.h" 18 | 19 | /* All functions in this namespace start playing a force feedback 20 | * effect if we have a FF-enabled joystick connected and the user 21 | * has enabled force feedback. 22 | */ 23 | namespace ForceFeedback 24 | { 25 | 26 | void death(); 27 | void shotFired(); 28 | void laserFired(); 29 | void shockwaveFired(); 30 | 31 | } 32 | 33 | #endif /* __FORCE_FEEDBACK_H__ */ 34 | 35 | // Local Variables: *** 36 | // mode: C++ *** 37 | // tab-width: 4 *** 38 | // c-basic-offset: 4 *** 39 | // indent-tabs-mode: nil *** 40 | // End: *** 41 | // ex: shiftwidth=4 tabstop=4 42 | -------------------------------------------------------------------------------- /src/bzflag/HUDuiDefaultKey.cxx: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | // interface header 14 | #include "HUDuiDefaultKey.h" 15 | 16 | // 17 | // HUDuiDefaultKey 18 | // 19 | 20 | HUDuiDefaultKey::HUDuiDefaultKey() 21 | { 22 | // do nothing 23 | } 24 | 25 | HUDuiDefaultKey::~HUDuiDefaultKey() 26 | { 27 | // do nothing 28 | } 29 | 30 | bool HUDuiDefaultKey::keyPress(const BzfKeyEvent&) 31 | { 32 | return false; 33 | } 34 | 35 | bool HUDuiDefaultKey::keyRelease(const BzfKeyEvent&) 36 | { 37 | return false; 38 | } 39 | 40 | // Local Variables: *** 41 | // mode: C++ *** 42 | // tab-width: 4 *** 43 | // c-basic-offset: 4 *** 44 | // indent-tabs-mode: nil *** 45 | // End: *** 46 | // ex: shiftwidth=4 tabstop=4 47 | -------------------------------------------------------------------------------- /plugins/autoFlagReset/README.autoFlagReset.txt: -------------------------------------------------------------------------------- 1 | BZFlag Server Plugin: autoFlagReset (Automatic Flag Reset) 2 | ================================================================================ 3 | 4 | Original author: L4m3r 5 | 6 | Automatic Flag Reset will automatically reset unused superflags at a fixed 7 | interval. This can be useful on maps that tend to get all their superflags 8 | taken from certain areas and left to accumulate in others. 9 | 10 | 11 | Loading the plugin 12 | -------------------------------------------------------------------------------- 13 | 14 | By default, the reset frequency is every 15 minutes. If that is acceptable, you 15 | can load the plugin without arguments. 16 | 17 | -loadplugin autoFlagReset 18 | 19 | If you wish to use a different reset frequency, you can specify that in minutes. 20 | 21 | -loadplugin autoFlagReset,30 22 | 23 | Optionally, the plugin can reset flags incrementally, spreading the resets 24 | over the time interval. This setting is recommended for servers with a lot of 25 | flags, because a large flag reset can hang clients. Enable this option by 26 | adding "i" to the end of the time parameter: 27 | 28 | -loadplugin autoFlagReset,30i 29 | -------------------------------------------------------------------------------- /src/bzflag/HUDuiDefaultKey.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | /* 14 | * HUDuiDefaultKey: 15 | * User interface class for the heads-up display. 16 | */ 17 | 18 | #ifndef __HUDUIDEFAULTKEY_H__ 19 | #define __HUDUIDEFAULTKEY_H__ 20 | 21 | #include "BzfEvent.h" 22 | 23 | class HUDuiDefaultKey 24 | { 25 | public: 26 | HUDuiDefaultKey(); 27 | virtual ~HUDuiDefaultKey(); 28 | 29 | virtual bool keyPress(const BzfKeyEvent&); 30 | virtual bool keyRelease(const BzfKeyEvent&); 31 | }; 32 | 33 | #endif // __HUDUIDEFAULTKEY_H__ 34 | 35 | // Local Variables: *** 36 | // mode: C++ *** 37 | // tab-width: 4 *** 38 | // c-basic-offset: 4 *** 39 | // indent-tabs-mode: nil *** 40 | // End: *** 41 | // ex: shiftwidth=4 tabstop=4 42 | -------------------------------------------------------------------------------- /src/bzfs/Authentication.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef BZF_AUTHENTICATION_H 14 | #define BZF_AUTHENTICATION_H 15 | 16 | /* bzflag special common - 1st one */ 17 | #include "common.h" 18 | 19 | class Authentication 20 | { 21 | public: 22 | Authentication(); 23 | 24 | bool isGlobal(void) const 25 | { 26 | return globallyAuthenticated; 27 | }; 28 | void global(bool set) 29 | { 30 | globallyAuthenticated = set; 31 | } 32 | private: 33 | bool globallyAuthenticated; 34 | }; 35 | 36 | #endif 37 | 38 | // Local Variables: *** 39 | // mode: C++ *** 40 | // tab-width: 4 *** 41 | // c-basic-offset: 4 *** 42 | // indent-tabs-mode: nil *** 43 | // End: *** 44 | // ex: shiftwidth=4 tabstop=4 45 | -------------------------------------------------------------------------------- /src/bzfs/MasterBanList.cxx: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | // interface header 14 | #include "MasterBanList.h" 15 | 16 | const std::string &MasterBanList::get(const std::string &URL) 17 | { 18 | data = ""; 19 | // get all up on the internet and go get the thing 20 | setURL(URL); 21 | performWait(); 22 | return data; 23 | } 24 | 25 | void MasterBanList::finalization(char *cURLdata, unsigned int length, 26 | bool good) 27 | { 28 | if (good) 29 | data = std::string(cURLdata, length); 30 | } 31 | 32 | // Local Variables: *** 33 | // mode: C++ *** 34 | // tab-width: 4 *** 35 | // c-basic-offset: 4 *** 36 | // indent-tabs-mode: nil *** 37 | // End: *** 38 | // ex: shiftwidth=4 tabstop=4 39 | -------------------------------------------------------------------------------- /include/bzsignal.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef __BZSIGNAL_H__ 14 | #define __BZSIGNAL_H__ 15 | 16 | // 1st 17 | #include "common.h" 18 | 19 | #include 20 | 21 | #if !defined(__sgi) 22 | /* some platforms don't have a SIG_PF type. */ 23 | #ifndef SIG_PF 24 | typedef void (*SIG_PF)(int); 25 | #endif 26 | #endif /* defined(__sgi) */ 27 | 28 | #ifdef __cplusplus 29 | extern "C" { 30 | #endif 31 | 32 | SIG_PF bzSignal(int signo, SIG_PF func); 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | 38 | #endif // __BZSIGNAL_H__ 39 | 40 | /* 41 | * Local Variables: *** 42 | * mode: C++ *** 43 | * tab-width: 8 *** 44 | * c-basic-offset: 2 *** 45 | * indent-tabs-mode: t *** 46 | * End: *** 47 | * ex: shiftwidth=2 tabstop=8 48 | */ 49 | -------------------------------------------------------------------------------- /src/bzflag/commands.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef __COMMANDS_H__ 14 | #define __COMMANDS_H__ 15 | 16 | // common - 1st 17 | #include "common.h" 18 | 19 | /* common interface headers */ 20 | #include "CommandManager.h" 21 | 22 | 23 | typedef struct CommandListItem 24 | { 25 | const char* name; 26 | CommandManager::CommandFunction func; 27 | const char* help; 28 | } CmdListItem; 29 | 30 | /* FIXME -- gcc is not liking array type with sizeof() without size 31 | * for some reason */ 32 | extern const CmdListItem commandList[29]; 33 | 34 | #endif /* __COMMANDS_H__ */ 35 | 36 | // Local Variables: *** 37 | // mode: C++ *** 38 | // tab-width: 4 *** 39 | // c-basic-offset: 4 *** 40 | // indent-tabs-mode: nil *** 41 | // End: *** 42 | // ex: shiftwidth=4 tabstop=4 43 | -------------------------------------------------------------------------------- /include/BaseSceneNodeGenerator.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef __BASESCENENODEGENERATOR_H__ 14 | #define __BASESCENENODEGENERATOR_H__ 15 | 16 | #include "ObstacleSceneNodeGenerator.h" 17 | #include "BaseBuilding.h" 18 | 19 | class BaseSceneNodeGenerator : public ObstacleSceneNodeGenerator 20 | { 21 | friend class SceneDatabaseBuilder; 22 | ~BaseSceneNodeGenerator(); 23 | public: 24 | WallSceneNode* getNextNode(float, float, bool); 25 | protected: 26 | BaseSceneNodeGenerator(const BaseBuilding *); 27 | private: 28 | const BaseBuilding *base; 29 | }; 30 | 31 | #endif 32 | 33 | // Local Variables: *** 34 | // mode: C++ *** 35 | // tab-width: 4 *** 36 | // c-basic-offset: 4 *** 37 | // indent-tabs-mode: nil *** 38 | // End: *** 39 | // ex: shiftwidth=4 tabstop=4 40 | -------------------------------------------------------------------------------- /src/bzadmin/Makefile.am: -------------------------------------------------------------------------------- 1 | MAINTAINERCLEANFILES = \ 2 | Makefile.in 3 | 4 | bin_PROGRAMS = bzadmin 5 | 6 | if HAVE_CURSES 7 | CURSES_SRC = CursesUI.h CursesUI.cxx CursesMenu.h CursesMenu.cxx 8 | else 9 | CURSES_SRC = 10 | 11 | EXTRA_bzadmin_SOURCES = \ 12 | CursesMenu.h \ 13 | CursesMenu.cxx \ 14 | CursesUI.h \ 15 | CursesUI.cxx 16 | endif 17 | 18 | AM_CPPFLAGS = \ 19 | -DBUILDING_BZADMIN \ 20 | $(LIBCURL_CPPFLAGS) \ 21 | $(CONF_CPPFLAGS) \ 22 | -I$(top_srcdir)/include 23 | AM_CFLAGS = $(CONF_CFLAGS) 24 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 25 | 26 | bzadmin_LDFLAGS = -static 27 | 28 | bzadmin_SOURCES = \ 29 | BZAdminClient.h \ 30 | BZAdminClient.cxx \ 31 | BZAdminUI.h \ 32 | BZAdminUI.cxx \ 33 | colors.h \ 34 | $(CURSES_SRC) \ 35 | OptionParser.h \ 36 | OptionParser.cxx \ 37 | PlayerInfo.h \ 38 | ServerLink.h \ 39 | ServerLink.cxx \ 40 | StdBothUI.h \ 41 | StdBothUI.cxx \ 42 | StdInUI.h \ 43 | StdInUI.cxx \ 44 | StdOutUI.h \ 45 | StdOutUI.cxx \ 46 | UIMap.h \ 47 | UIMap.cxx \ 48 | bzadmin.cxx \ 49 | curses_wrapper.h 50 | 51 | LDADD = \ 52 | ../date/libDate.la \ 53 | @CURSES_LIB@ \ 54 | ../game/libGame.la \ 55 | ../net/libNet.la \ 56 | ../common/libCommon.la \ 57 | $(LIBCURL) \ 58 | $(LIBCARES) \ 59 | $(LIBREGEX) 60 | -------------------------------------------------------------------------------- /Xcode/BZFlag-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | BZFlag 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIconFile 12 | BZFlag 13 | CFBundleIdentifier 14 | ${PRODUCT_BUNDLE_IDENTIFIER} 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | BZFlag 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | 2.4.31 23 | CFBundleSignature 24 | ???? 25 | CFBundleVersion 26 | 0 27 | LSApplicationCategoryType 28 | public.app-category.arcade-games 29 | LSMinimumSystemVersion 30 | ${MACOSX_DEPLOYMENT_TARGET} 31 | NSHumanReadableCopyright 32 | Copyright (c) 1993-2025 Tim Riker 33 | 34 | 35 | -------------------------------------------------------------------------------- /include/BoxSceneNodeGenerator.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef __BOXSCENENODEGENERATOR_H__ 14 | #define __BOXSCENENODEGENERATOR_H__ 15 | 16 | #include "ObstacleSceneNodeGenerator.h" 17 | #include "BoxBuilding.h" 18 | 19 | class BoxSceneNodeGenerator : public ObstacleSceneNodeGenerator 20 | { 21 | friend class SceneDatabaseBuilder; 22 | public: 23 | ~BoxSceneNodeGenerator(); 24 | 25 | WallSceneNode* getNextNode(float, float, bool); 26 | 27 | protected: 28 | BoxSceneNodeGenerator(const BoxBuilding*); 29 | 30 | private: 31 | const BoxBuilding* box; 32 | }; 33 | 34 | #endif 35 | 36 | // Local Variables: *** 37 | // mode: C++ *** 38 | // tab-width: 4 *** 39 | // c-basic-offset: 4 *** 40 | // indent-tabs-mode: nil *** 41 | // End: *** 42 | // ex: shiftwidth=4 tabstop=4 43 | -------------------------------------------------------------------------------- /plugins/nagware/nagware.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 12.00 2 | # Visual Studio 14 3 | VisualStudioVersion = 14.0.25123.0 4 | MinimumVisualStudioVersion = 10.0.40219.1 5 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nagware", "nagware.vcxproj", "{2A9BC706-C839-4091-B3CE-36E6E324565F}" 6 | EndProject 7 | Global 8 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 9 | Debug|Win32 = Debug|Win32 10 | Debug|x64 = Debug|x64 11 | Release|Win32 = Release|Win32 12 | Release|x64 = Release|x64 13 | EndGlobalSection 14 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 15 | {2A9BC706-C839-4091-B3CE-36E6E324565F}.Debug|Win32.ActiveCfg = Debug|Win32 16 | {2A9BC706-C839-4091-B3CE-36E6E324565F}.Debug|Win32.Build.0 = Debug|Win32 17 | {2A9BC706-C839-4091-B3CE-36E6E324565F}.Debug|x64.ActiveCfg = Debug|x64 18 | {2A9BC706-C839-4091-B3CE-36E6E324565F}.Debug|x64.Build.0 = Debug|x64 19 | {2A9BC706-C839-4091-B3CE-36E6E324565F}.Release|Win32.ActiveCfg = Release|Win32 20 | {2A9BC706-C839-4091-B3CE-36E6E324565F}.Release|x64.ActiveCfg = Release|x64 21 | EndGlobalSection 22 | GlobalSection(SolutionProperties) = preSolution 23 | HideSolutionNode = FALSE 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /src/bzadmin/StdOutUI.cxx: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | /* interface header */ 14 | #include "StdOutUI.h" 15 | 16 | /* system implementation headers */ 17 | #include 18 | 19 | 20 | // add this UI to the map 21 | UIAdder StdOutUI::uiAdder("stdout", &StdOutUI::creator); 22 | 23 | 24 | StdOutUI::StdOutUI(BZAdminClient& c) : BZAdminUI(c) 25 | { 26 | 27 | } 28 | 29 | 30 | void StdOutUI::outputMessage(const std::string& msg, ColorCode) 31 | { 32 | std::cout< 20 | 21 | // bzfs-specific headers 22 | #include "WorldFileLocation.h" 23 | 24 | 25 | class WorldFileObstacle : public WorldFileLocation 26 | { 27 | public: 28 | WorldFileObstacle(); 29 | virtual bool read(const char *cmd, std::istream&); 30 | 31 | protected: 32 | bool driveThrough; 33 | bool shootThrough; 34 | bool ricochet; 35 | }; 36 | 37 | #endif /* __WORLDFILEOBSTACLE_H__ */ 38 | 39 | // Local variables: *** 40 | // mode: C++ *** 41 | // tab-width: 4*** 42 | // c-basic-offset: 4 *** 43 | // indent-tabs-mode: nil *** 44 | // End: *** 45 | // ex: shiftwidth=4 tabstop=4 46 | -------------------------------------------------------------------------------- /src/common/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libCommon.la 2 | 3 | AM_CPPFLAGS = -DINSTALL_DATA_DIR=\"$(pkgdatadir)\" \ 4 | $(LIBCURL_CPPFLAGS) \ 5 | $(CONF_CPPFLAGS) \ 6 | -I$(top_srcdir)/include 7 | AM_CFLAGS = $(CONF_CFLAGS) 8 | AM_CXXFLAGS = $(CONF_CXXFLAGS) 9 | 10 | libCommon_la_LDFLAGS = -static 11 | libCommon_la_SOURCES = \ 12 | AccessList.cxx \ 13 | AutoCompleter.cxx \ 14 | BzPNG.cxx \ 15 | BZDBCache.cxx \ 16 | BZDBLocal.cxx \ 17 | Bundle.cxx \ 18 | BundleMgr.cxx \ 19 | CommandManager.cxx \ 20 | ConfigFileManager.cxx \ 21 | Country.cxx \ 22 | ErrorHandler.cxx \ 23 | FileManager.cxx \ 24 | Flag.cxx \ 25 | GameTime.cxx \ 26 | KeyManager.cxx \ 27 | Language.cxx \ 28 | OSFile.cxx \ 29 | ParseColor.cxx \ 30 | PlayerState.cxx \ 31 | ShotUpdate.cxx \ 32 | StateDatabase.cxx \ 33 | Team.cxx \ 34 | TextChunkManager.cxx \ 35 | TextUtils.cxx \ 36 | TimeKeeper.cxx \ 37 | VotingBooth.cxx \ 38 | WordFilter.cxx \ 39 | bz_Locale.cxx \ 40 | bzfio.cxx \ 41 | bzglob.cxx \ 42 | bzsignal.cxx \ 43 | cURLManager.cxx \ 44 | global.cxx \ 45 | mathRoutine.cxx \ 46 | md5.cxx \ 47 | messages.cxx 48 | 49 | MAINTAINERCLEANFILES = \ 50 | Makefile.in 51 | 52 | EXTRA_DIST = \ 53 | README 54 | -------------------------------------------------------------------------------- /include/GameTime.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | /** 14 | * GameTime: 15 | * Manages the network time. 16 | * Time is stored as microseconds since the epoch. 17 | */ 18 | 19 | #ifndef BZF_GAME_TIME_H 20 | #define BZF_GAME_TIME_H 21 | 22 | #include "common.h" 23 | 24 | 25 | namespace GameTime 26 | { 27 | void reset(); 28 | void update(); 29 | 30 | void setStepTime(); 31 | double getStepTime(); 32 | 33 | int packSize(); 34 | void* pack(void *, float lag); 35 | const void* unpack(const void *); 36 | 37 | const float startRate = 1.0f; 38 | const float finalRate = 10.0f; 39 | } 40 | 41 | 42 | #endif // BZF_GAME_TIME_H 43 | 44 | // Local Variables: *** 45 | // mode: C++ *** 46 | // tab-width: 4 *** 47 | // c-basic-offset: 4 *** 48 | // indent-tabs-mode: nil *** 49 | // End: *** 50 | // ex: shiftwidth=4 tabstop=4 51 | -------------------------------------------------------------------------------- /plugins/serverSidePlayerSample/playerHandler.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef _PLAYER_HANDLER_H_ 14 | #define _PLAYER_HANDLER_H_ 15 | 16 | #include "bzfsAPI.h" 17 | 18 | class PlayerHandler: public bz_ServerSidePlayerHandler 19 | { 20 | public: 21 | virtual void added(int player); // it is required that the bot provide this method 22 | 23 | virtual void textMessage(int dest, int source, const char *text); 24 | 25 | virtual void playerSpawned(int player, const float pos[3], float rot); 26 | virtual void shotFired(int player, unsigned short shotID); 27 | }; 28 | 29 | #endif //_PLAYER_HANDLER_H_ 30 | 31 | 32 | // Local Variables: *** 33 | // mode: C++ *** 34 | // tab-width: 4 *** 35 | // c-basic-offset: 4 *** 36 | // indent-tabs-mode: nil *** 37 | // End: *** 38 | // ex: shiftwidth=4 tabstop=4 39 | -------------------------------------------------------------------------------- /misc/stats/Makefile.PL: -------------------------------------------------------------------------------- 1 | # Makefile.PL 2 | # 3 | # Copyright (c) 2003-2021 Tucker McLean, Tim Riker. 4 | # 5 | # This package is free software; you can redistribute it and/or 6 | # modify it under the terms of the license found in the file 7 | # named COPYING that should have accompanied this file. 8 | # 9 | # THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 10 | # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 11 | # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12 | ### 13 | 14 | use 5.006001; 15 | use ExtUtils::MakeMaker; 16 | # See lib/ExtUtils/MakeMaker.pm for details of how to influence 17 | # the contents of the Makefile that is written. 18 | WriteMakefile( 19 | 'NAME' => 'BZFlag::Info', 20 | 'VERSION_FROM' => 'Info.pm', # finds $VERSION 21 | 'PREREQ_PM' => {LWP::UserAgent => 0, Socket => 0}, # e.g., Module::Name => 1.1 22 | ($] >= 5.005 ? ## Add these new keywords supported since 5.005 23 | (ABSTRACT_FROM => 'Info.pm', # retrieve abstract from module 24 | AUTHOR => 'Tucker McLean ') : ()), 25 | ); 26 | 27 | # Local Variables: *** 28 | # mode: Perl *** 29 | # tab-width: 8 *** 30 | # c-basic-offset: 2 *** 31 | # indent-tabs-mode: t *** 32 | # End: *** 33 | # ex: shiftwidth=2 tabstop=8 34 | -------------------------------------------------------------------------------- /plugins/CustomZoneSample/CustomZoneSample.bzw: -------------------------------------------------------------------------------- 1 | options 2 | +f GM{5} 3 | +f SW{5} 4 | +f US{5} 5 | -set _worldSize 200 6 | end 7 | 8 | box 9 | pos 0 40 -1 10 | size 20 10 0.1 11 | end 12 | 13 | box 14 | pos 0 -40 -1 15 | size 20 10 0.1 16 | rot 90 17 | end 18 | 19 | box 20 | pos 50 50 -0.1 21 | size 20 10 0.1 22 | rot 45 23 | end 24 | 25 | msgzone 26 | pos 0 40 0 27 | size 20 10 0.1 28 | message "You entered a rectangular zone with the SW flag! I'll take it from you!" 29 | flag SW 30 | end 31 | 32 | msgzone 33 | pos 0 -40 0 34 | size 20 10 0.1 35 | rot 90 36 | message "You entered a 90 degree rotated rectangular zone with the GM flag! I'll take it from you!" 37 | flag GM 38 | end 39 | 40 | msgzone 41 | pos 50 50 0 42 | size 20 10 100 43 | rot 45 44 | message "You entered a 45 degree rotated rectangular zone with the US flag! I'll take it from you!" 45 | flag US 46 | end 47 | 48 | arc 49 | divisions 16 50 | angle 360 51 | ratio 1 52 | pos -50 -50 -1 53 | size 20 20 0.1 54 | end 55 | 56 | msgzone 57 | pos -50 -50 0 58 | height 10 59 | radius 20 60 | flag GM 61 | message "You entered a circular zone with the GM flag! I'll take it from you!" 62 | end 63 | -------------------------------------------------------------------------------- /src/bzflag/defaultBZDB.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | /* 14 | * defaultBZDB.h: 15 | * defaults for the BZDB 16 | */ 17 | 18 | #ifndef __DEFAULT_BZDB_H__ 19 | #define __DEFAULT_BZDB_H__ 20 | 21 | #include "StateDatabase.h" 22 | 23 | // default database entries 24 | struct DefaultDBItem 25 | { 26 | const char* name; 27 | const char* value; 28 | bool persistent; 29 | StateDatabase::Permission permission; 30 | StateDatabase::Callback callback; 31 | }; 32 | 33 | extern DefaultDBItem defaultDBItems[]; 34 | 35 | void loadBZDBDefaults ( void ); 36 | 37 | #endif // __DEFAULT_BZDB_H__ 38 | 39 | // Local Variables: *** 40 | // mode: C++ *** 41 | // tab-width: 4 *** 42 | // c-basic-offset: 4 *** 43 | // indent-tabs-mode: nil *** 44 | // End: *** 45 | // ex: shiftwidth=4 tabstop=4 46 | -------------------------------------------------------------------------------- /src/bzfs/FlagHistory.h: -------------------------------------------------------------------------------- 1 | /* bzflag 2 | * Copyright (c) 1993-2025 Tim Riker 3 | * 4 | * This package is free software; you can redistribute it and/or 5 | * modify it under the terms of the license found in the file 6 | * named COPYING that should have accompanied this file. 7 | * 8 | * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #ifndef __FLAGHISTORY_H__ 14 | #define __FLAGHISTORY_H__ 15 | 16 | // bzflag global header 17 | #include "global.h" 18 | 19 | // system headers 20 | #include 21 | #include 22 | 23 | // bzflag library headers 24 | #include "Flag.h" 25 | 26 | class FlagHistory 27 | { 28 | public: 29 | void clear(); 30 | std::string getStr(); 31 | void add(FlagType* type); 32 | std::vector getVec() 33 | { 34 | return flagHistory; 35 | } 36 | private: 37 | std::vector flagHistory; 38 | }; 39 | 40 | #endif /* __FLAGHISTORY_H__ */ 41 | 42 | // Local Variables: *** 43 | // mode: C++ *** 44 | // tab-width: 4 *** 45 | // c-basic-offset: 4 *** 46 | // indent-tabs-mode: nil *** 47 | // End: *** 48 | // ex: shiftwidth=4 tabstop=4 49 | -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- 1 | name: "Code Scanning - Action" 2 | 3 | on: 4 | push: 5 | branches: [2.4, master] 6 | pull_request: 7 | # The branches below must be a subset of the branches above 8 | branches: [2.4, master] 9 | schedule: 10 | - cron: '0 7 * * 2' 11 | workflow_dispatch: 12 | 13 | jobs: 14 | CodeQL-Build: 15 | runs-on: ubuntu-latest 16 | 17 | permissions: 18 | # required for all workflows 19 | security-events: write 20 | 21 | steps: 22 | - name: Checkout repository 23 | uses: actions/checkout@v3 24 | 25 | # Initializes the CodeQL tools for scanning. 26 | - name: Initialize CodeQL 27 | uses: github/codeql-action/init@v2 28 | # Override language selection by uncommenting this and choosing your languages 29 | # with: 30 | # languages: go, javascript, csharp, python, cpp, java 31 | 32 | - run: | 33 | sudo apt-get update && 34 | sudo apt-get install g++ libtool automake autoconf libsdl2-dev libcurl3-dev \ 35 | libc-ares-dev zlib1g-dev libncurses-dev libglew-dev libglm-dev make && 36 | ./autogen.sh && 37 | ./configure && 38 | make -j`nproc` 39 | 40 | - name: Perform CodeQL Analysis 41 | uses: github/codeql-action/analyze@v2 42 | --------------------------------------------------------------------------------