Home
last modified time | relevance | path

Searched refs:ui_vm (Results 1 – 3 of 3) sorted by relevance

/dports/games/edge/Edge-1.35-source/src/
H A Dvm_player.cc42 extern coal::vm_c *ui_vm;
714 ui_vm->AddNativeFunction("player.num_players", PL_num_players); in VM_RegisterPlaysim()
715 ui_vm->AddNativeFunction("player.set_who", PL_set_who); in VM_RegisterPlaysim()
716 ui_vm->AddNativeFunction("player.is_bot", PL_is_bot); in VM_RegisterPlaysim()
717 ui_vm->AddNativeFunction("player.get_name", PL_get_name); in VM_RegisterPlaysim()
718 ui_vm->AddNativeFunction("player.get_pos", PL_get_pos); in VM_RegisterPlaysim()
722 ui_vm->AddNativeFunction("player.health", PL_health); in VM_RegisterPlaysim()
723 ui_vm->AddNativeFunction("player.armor", PL_armor); in VM_RegisterPlaysim()
725 ui_vm->AddNativeFunction("player.ammo", PL_ammo); in VM_RegisterPlaysim()
726 ui_vm->AddNativeFunction("player.ammomax", PL_ammomax); in VM_RegisterPlaysim()
[all …]
H A Dvm_hud.cc41 extern coal::vm_c *ui_vm;
540 ui_vm->AddNativeFunction("hud.game_mode", HD_game_mode); in VM_RegisterHUD()
541 ui_vm->AddNativeFunction("hud.game_name", HD_game_name); in VM_RegisterHUD()
542 ui_vm->AddNativeFunction("hud.map_name", HD_map_name); in VM_RegisterHUD()
543 ui_vm->AddNativeFunction("hud.map_title", HD_map_title); in VM_RegisterHUD()
545 ui_vm->AddNativeFunction("hud.which_hud", HD_which_hud); in VM_RegisterHUD()
547 ui_vm->AddNativeFunction("hud.get_time", HD_get_time); in VM_RegisterHUD()
565 ui_vm->AddNativeFunction("hud.thin_box", HD_thin_box); in VM_RegisterHUD()
578 ui_vm->AddNativeFunction("hud.play_sound", HD_play_sound); in VM_RegisterHUD()
583 VM_CallFunction(ui_vm, "begin_level"); in VM_BeginLevel()
[all …]
H A Dvm_coal.cc44 coal::vm_c *ui_vm; variable
324 ui_vm = coal::CreateVM(); in VM_InitCoal()
326 ui_vm->SetPrinter(VM_Printer); in VM_InitCoal()
328 VM_RegisterBASE(ui_vm); in VM_InitCoal()
335 if (ui_vm) in VM_QuitCoal()
337 delete ui_vm; in VM_QuitCoal()
338 ui_vm = NULL; in VM_QuitCoal()
354 if (! ui_vm->CompileFile((char *)data, filename)) in VM_LoadCoalFire()
370 if (! ui_vm->CompileFile((char *)data, name)) in VM_LoadLumpOfCoal()