|
OpenCoD2-Plus
Call of Duty 2 client & server, rebuilt
|
Namespaces | |
| namespace | view_weapon_test |
Functions | |
| view_weapon_test.game_log (home) | |
| view_weapon_test.parse (text) | |
| view_weapon_test.still (frame) | |
| view_weapon_test.landings (frames) | |
| view_weapon_test.check_damage_kick (text, check) | |
| view_weapon_test.check_view_bob (text, check) | |
| view_weapon_test.check_view_animation (text, check) | |
| view_weapon_test.check_jump_speed (frames, check) | |
| view_weapon_test.check_perturb (text, check) | |
| view_weapon_test.shock_start (text) | |
| view_weapon_test.check_trace (frames, check) | |
| view_weapon_test.main () | |
Variables | |
| view_weapon_test.ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | |
| dict | view_weapon_test.DEFAULT_CLIENT = {115: 'build/check-linux-10/cod2_linux', 118: 'build/check-linux/cod2_linux'} |
| dict | view_weapon_test.DEFAULT_SERVER = {115: 'build/check-linux-10/cod2_lnxded', 118: 'build/check-linux/cod2_lnxded'} |
| str | view_weapon_test.WEAPON = 'kar98k_mp' |
| str | view_weapon_test.GAMETYPE |
| str | view_weapon_test.CONFIG |
| view_weapon_test.LINE | |
| view_weapon_test.KICK = re.compile(r'\[viewdamage\] t=(-?\d+) dmg=(-?\d+) delta=(-?\d+) pitch=(\S+) roll=(\S+) kick=(\S+) (\S+)') | |
| view_weapon_test.BOB = re.compile(r'\[viewbob\] hbob=(\S+) fwd=(\S+) right=(\S+)') | |
| view_weapon_test.ANIM = re.compile(r'\[viewanim\] t=(-?\d+) turn=(\S+) move=(\S+) (\S+) (\S+)') | |
| view_weapon_test.PERTURB = re.compile(r'\[perturb\] t=(-?\d+) det=(\S+) delta=(\S+) (\S+)') | |