|
OpenCoD2-Plus
Call of Duty 2 client & server, rebuilt
|
Functions | |
| main () | |
Variables | |
| ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | |
| dict | DEFAULT_BINARY = {115: 'build/check-linux-10/cod2_lnxded', 118: 'build/check-linux/cod2_lnxded'} |
| str | LEVEL_SCRIPT |
Runs the script builtins that read animations, through a test mod.
python3 scripts/anim_builtins_test.py /path/to/CoD2 --protocol {115|118} [--binary PATH]
Writes a mod in a temporary home folder whose maps/mp/<map>.gsc calls
getanimlength, animhasnotetrack, getmovedelta and getangledelta on a
multiplayer animation, starts the server on it, and checks that the map
loads, the server keeps answering and no crash report is written. These
builtins call Scr_GetAnim, which returns a struct by value.
| anim_builtins_test.main | ( | ) |
| dict anim_builtins_test.DEFAULT_BINARY = {115: 'build/check-linux-10/cod2_lnxded', 118: 'build/check-linux/cod2_lnxded'} |
| str anim_builtins_test.LEVEL_SCRIPT |
| anim_builtins_test.ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) |