/*
* olds_hill_api.inc - what the Contested Hill Meter expects from a King of the Hill core
* (library "olds_hill"). Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later.
*
* A core that offers these natives lets the meter decide when a team scores. Without them
* the meter plugin keeps its own score from the box in configs/olds_hill.ini.
*/
#if defined _olds_hill_api_included
#endinput
#endif
#define _olds_hill_api_included
#define OLDS_HILL_SIDE_T 1
#define OLDS_HILL_SIDE_CT 2
/* The box of the hill in play; returns 0 when there is no hill. */
native olds_hill_get_zone(Float:mins[3], Float:maxs[3]);
/* Adds points to a side (OLDS_HILL_SIDE_*), with the core's own messages and win check. */
native olds_hill_add_score(side, points);
/* 1 = the core stops scoring on its own and waits for olds_hill_add_score. */
native olds_hill_set_external(on);