|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "tests.qh"Go to the source code of this file.
Functions | |
| TEST (Vehicles, Spawn) | |
| TEST (Weapons, Hurt) | |
| void | test_weapons_hurt (entity this) |
| TEST | ( | Vehicles | , |
| Spawn | ) |
Definition at line 40 of file tests.qc.
References ACTIVE_NOT, entity(), NEW, NUM_TEAM_1, SUCCEED, time, vehicle, and vehicle_initialize().
| TEST | ( | Weapons | , |
| Hurt | ) |
Definition at line 10 of file tests.qc.
References autocvar_g_spawnshieldtime, defer(), entity(), IT_UNLIMITED_AMMO, 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, Weapons, and WITH.
Definition at line 3 of file tests.qc.
References enemy, entity(), EXPECT_NE, and GetResource().
Referenced by TEST().