about summary refs log tree commit diff stats
path: root/data/maps/the_tenacious/rooms
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-09-01 12:31:16 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-09-01 12:31:16 -0400
commit30b1f0c5750c0620e1519308dde256d6053fd24c (patch)
tree5b2765ec2409c186f0a1f3195fbe88260ecbac29 /data/maps/the_tenacious/rooms
parentb338b5befb9b071fd83a8c89262febdd2c143dbe (diff)
downloadlingo2-archipelago-30b1f0c5750c0620e1519308dde256d6053fd24c.tar.gz
lingo2-archipelago-30b1f0c5750c0620e1519308dde256d6053fd24c.tar.bz2
lingo2-archipelago-30b1f0c5750c0620e1519308dde256d6053fd24c.zip
[Client] Display message when goaling
Diffstat (limited to 'data/maps/the_tenacious/rooms')
0 files changed, 0 insertions, 0 deletions
e.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#ifndef STEP_TYPE_H_38251870
#define STEP_TYPE_H_38251870

#include <string_view>
#include <stdexcept>

enum class StepType {
  none,
  wood,
  land_light,
  land,
  sand,
  water,
  mechanical,
  grass,
  unknown,
  paved,
  carpet,
  weak_wood,
  ladder_vine
};

inline StepType stepTypeFromString(std::string_view str) {
  if (str == "wood") return StepType::wood;
  if (str == "land_light") return StepType::land_light;
  if (str == "land") return StepType::land;
  if (str == "sand") return StepType::sand;
  if (str == "water") return StepType::water;
  if (str == "mechanical") return StepType::mechanical;
  if (str == "grass") return StepType::grass;
  if (str == "unknown") return StepType::unknown;
  if (str == "paved") return StepType::paved;
  if (str == "carpet") return StepType::carpet;
  if (str == "weak_wood") return StepType::weak_wood;
  if (str == "ladder_vine") return StepType::ladder_vine;
  return StepType::none;
}

inline std::string_view runningSfxForStepType(StepType step) {
  switch (step) {
    case StepType::wood: return "../res/sfx/running_wood.wav";
    case StepType::land_light: return "../res/sfx/running_land_light.wav";
    case StepType::land: return "../res/sfx/running_land.wav";
    case StepType::sand: return "../res/sfx/running_sand.wav";
    case StepType::water: return "../res/sfx/running_water.wav";
    case StepType::mechanical: return "../res/sfx/running_mechanical.wav";
    case StepType::grass: return "../res/sfx/running_grass.wav";
    case StepType::unknown: return "../res/sfx/running_unknown.wav";
    case StepType::paved: return "../res/sfx/running_paved.wav";
    case StepType::carpet: return "../res/sfx/running_carpet.wav";
    case StepType::weak_wood: return "../res/sfx/running_weak_wood.wav";
    case StepType::ladder_vine: return "../res/sfx/running_ladder_vine.wav";
    case StepType::none: throw std::invalid_argument("No running sfx for none step type");
  }
}

#endif /* end of include guard: STEP_TYPE_H_38251870 */