X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fminigames%2Fminigames.qh;h=284001a0a22e97997b107a386601d9f75207345f;hb=1bb89291d13308a708e74a7434a79fa9967fa64f;hp=86fb778dcbc6f116da25b2610a66de9d82aa625d;hpb=2aed36e128f8f00da9c76f9e66baae89d5bb26b2;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/minigames/minigames.qh b/qcsrc/common/minigames/minigames.qh index 86fb778dc..284001a0a 100644 --- a/qcsrc/common/minigames/minigames.qh +++ b/qcsrc/common/minigames/minigames.qh @@ -1,7 +1,4 @@ -#ifndef MINIGAMES_H -#define MINIGAMES_H - -entity minigame_descriptors; +#pragma once // previous node in a doubly linked list .entity list_prev; @@ -15,7 +12,7 @@ int minigame_tile_letter(string id); // Get number index of a tile name // Note: this is 0 based, useful for mathematical operations -// Note: Since the tile notation starts from the bottom left, +// Note: Since the tile notation starts from the bottom left, // you may want to do number_of_rows - what_this_function_returns or something int minigame_tile_number(string id); @@ -88,7 +85,7 @@ int minigame_count_players(entity minigame); /// IMPORTANT: always read in client everything you send from the server! /// cmd(entity minigame_player, int argc, string command) /// self = client entity triggering this -/// argv(n) = console token +/// argv(n) = console token /// argc: number of console tokens /// command: full command string /// triggered when a player does "cmd minigame ..." with some unrecognized command @@ -123,5 +120,3 @@ entity msle_spawn(entity minigame_session, string class_name); int msle_id(string class_name); string msle_classname(int id); - -#endif