-#include "init.h" /* remake_world() */
-#include "io.h" /* io_round() */
-#include "map_object_actions.h" /* get_moa_id_by_name() */
-#include "map_objects.h" /* struct MapObj, get_player() */
-#include "world.h" /* global world */
+#include "cleanup.h" /* unset_cleanup_flag() */
+#include "god_commands.h" /* parse_god_command_(1|2|3)arg() */
+#include "hardcoded_strings.h" /* s */
+#include "io.h" /* io_round(), save_world() */
+#include "things.h" /* Thing, get_thing_action_id_by_name(), get_player(),
+ * try_thing_proliferation()
+ */
+#include "world.h" /* world */
+
+
+
+/* If "string" and "comparand" match in string, set "c_to_set" to value." */
+static uint8_t set_char_by_string_comparison(char * string, char * comparand,
+ char * c_to_set, char value);
+
+/* Return 1 on world.exists, else 0 and err_line() appropriate error message. */
+static uint8_t player_commands_allowed();
+
+/* Parse player command "tok0" with no argument to player action. */
+static uint8_t parse_player_command_0arg(char * tok0);
+
+/* Parse player command "tok0" with one argument "tok1" to player action. */
+static uint8_t parse_player_command_1arg(char * tok0, char * tok1);
+
+/* Parse/apply command "tok0" (read further tokens as necessary). */
+static uint8_t parse_command(char * tok0);