Xonotic
|
#include "tests.qh"
Go to the source code of this file.
Functions | |
TEST (Weapons, Hurt) | |
TEST (Vehicles, Spawn) | |
void | test_weapons_hurt (entity this) |
TEST | ( | Weapons | , |
Hurt | |||
) |
Definition at line 10 of file tests.qc.
References autocvar_g_spawnshieldtime, entity(), Weapon::m_id, NEW, NUM_TEAM_1, NUM_TEAM_2, PHYS_INPUT_BUTTON_ATCK, PHYS_INPUT_BUTTON_JUMP, SUCCEED, test_weapons_hurt(), W_GiveWeapon(), W_SwitchWeapon_Force(), weaponentities, and WITH.
TEST | ( | Vehicles | , |
Spawn | |||
) |
Definition at line 40 of file tests.qc.
References ACTIVE_NOT, entity(), NEW, NUM_TEAM_1, SUCCEED, time, v, vehicle, and vehicle_initialize().
Definition at line 3 of file tests.qc.
References enemy, EXPECT_NE, GetResource(), and RES_HEALTH.
Referenced by TEST().