/*
* olds_td_waves.inc - what a Tower Defence core offers to add-ons such as the Next Wave
* Preview (olds.ro). A core (or a bridge plugin in front of one) calls the two forwards and
* may register the library "olds_td" with the two natives.
* Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later.
*/
#if defined _olds_td_waves_included
#endinput
#endif
#define _olds_td_waves_included
/* A wave was cleared: the break before wave + 1 begins. */
forward td_wave_end(wave);
/* A wave begins. */
forward td_wave_start(wave);
/**
* What a wave holds.
* @param count enemies in the wave
* @param types their kinds, e.g. "fast, armoured, flying"
* @param lane the lane or path they use
* @return 1, or 0 when there is no such wave
*/
native td_get_wave_info(wave, &count, types[], typesLen, lane[], laneLen);
/* How many waves the game has. */
native td_get_wave_count();