Smaller code changes - especially the switch from includes and constants to the new folder

This commit is contained in:
eYeWoRRy
2021-12-26 17:11:45 +01:00
parent 4263550e70
commit d264869b41
6 changed files with 127 additions and 286 deletions

42
includes/constants.php Normal file
View File

@@ -0,0 +1,42 @@
<?php
//Constants
define("_VERSION","v1.2.6");
define("_LISTMAXRELOADTIME",3000);
define("_MAXPLAYERS",50);
//Phasen
define ("PHASESETUP",0);
define ("PHASESPIELSETUP",1);
define ("PHASENACHTBEGINN",2);
define ("PHASENACHT1",3);
define ("PHASENACHT2",4);
define ("PHASENACHT3",5);
define ("PHASENACHT4",6);
define ("PHASENACHT5",7);
define ("PHASENACHTENDE",8);
define ("PHASETOTEBEKANNTGEBEN",9);
define ("PHASEBUERGERMEISTERWAHL",10);
define ("PHASEDISKUSSION",11);
define ("PHASEANKLAGEN",12);
define ("PHASEABSTIMMUNG",13);
define ("PHASESTICHWAHL",14);
define ("PHASENACHABSTIMMUNG",15);
define ("PHASESIEGEREHRUNG",16);
//Charaktere
define ("CHARKEIN",0);
define ("CHARDORFBEWOHNER",1);
define ("CHARWERWOLF",2);
define ("CHARSEHER",3);
define ("CHARHEXE",4);
define ("CHARJAEGER",5);
define ("CHARAMOR",6);
define ("CHARBESCHUETZER",7);
define ("CHARPARERM",8);
define ("CHARLYKANTROPH",9);
define ("CHARSPION",10);
define ("CHARMORDLUSTIGER",11);
define ("CHARPAZIFIST",12);
define ("CHARALTERMANN",13);
define ("CHARURWOLF",14);
?>