Skip to content
View in the app

A better way to browse. Learn more.

Learn more

next-wave-preview/addons/amxmodx/scripting/include/olds_td_waves.inc

olds_td_waves.inc
28 lines · 0.9 KB · Pawn include
Raw
/*
 * 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();

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.