X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=tabakrolletjie%2Fconstants.py;h=5529b60693245f2ce269588263dc422194c6b6e7;hb=3be7289209734c0fbdab80d55274e8b128770c40;hp=380c27780a3e3672dcaf4c40a1d6731c633f206f;hpb=8f284092fa33c1a96644a5d82a785a2b259e2356;p=tabakrolletjie.git diff --git a/tabakrolletjie/constants.py b/tabakrolletjie/constants.py index 380c277..5529b60 100644 --- a/tabakrolletjie/constants.py +++ b/tabakrolletjie/constants.py @@ -22,10 +22,12 @@ OBSTACLE_CATEGORY = 1 << 0 LIGHT_CATEGORY = 1 << 1 MOULD_CATEGORY = 1 << 2 FITTINGS_CATEGORY = 1 << 3 +TURNIP_CATEGORY = 1 << 4 # Font definitions FONTS = { 'sans': 'DejaVuSans.ttf', + 'bold': 'DejaVuSans-Bold.ttf', } # Sound stuff @@ -36,3 +38,14 @@ BUFFER = 1024 DEFAULT_VOLUME = 1.0 NO_SOUND = os.environ.get("TABAK_NO_SOUND", "").lower() in ("1", "y", "yes") + +# Color constants +COLOURS = { + "red": (255, 0, 0), + "green": (0, 255, 0), + "blue": (0, 0, 255), + "cyan": (0, 255, 255), + "yellow": (255, 255, 0), + "magenta": (255, 0, 255), + "white": (255, 255, 255), +}