Home
last modified time | relevance | path

Searched refs:AngleConvert (Results 1 – 10 of 10) sorted by relevance

/dports/games/alephone/alephone-release-20190331/Source_Files/Lua/
H A Dlua_projectiles.cpp43 const float AngleConvert = 360/float(FULL_CIRCLE); variable
63 double elevation = projectile->elevation * AngleConvert; in Lua_Projectile_Get_Elevation()
73 lua_pushnumber(L, (double) object->facing * AngleConvert); in Lua_Projectile_Get_Facing()
155 projectile->elevation = static_cast<int>(elevation / AngleConvert); in Lua_Projectile_Set_Elevation()
166 object->facing = static_cast<int>(lua_tonumber(L, 2) / AngleConvert); in Lua_Projectile_Set_Facing()
H A Dlua_objects.cpp41 const float AngleConvert = 360/float(FULL_CIRCLE); variable
71 lua_pushnumber(L, (double) object->facing * AngleConvert); in get_object_facing()
122 object->facing = static_cast<int>(lua_tonumber(L, 2) / AngleConvert); in set_object_facing()
175 lua_pushnumber(L, (double) object->facing * AngleConvert); in Lua_Effect_Get_Facing()
281 object->facing = static_cast<int>(lua_tonumber(L, 2) / AngleConvert); in Lua_Effect_Set_Facing()
H A Dlua_saved_objects.cpp33 const float AngleConvert = 360/float(FULL_CIRCLE); variable
43 lua_pushnumber(L, (double) object->facing * AngleConvert); in get_saved_object_facing()
H A Dlua_player.cpp61 const float AngleConvert = 360/float(FULL_CIRCLE); variable
216 lua_cameras[camera_index].path.path_angles[angle_index].yaw = static_cast<short>(yaw/AngleConvert); in Lua_Camera_Path_Angles_New()
217 …cameras[camera_index].path.path_angles[angle_index].pitch = static_cast<short>(pitch/AngleConvert); in Lua_Camera_Path_Angles_New()
1375 …_cast<int>(vertical_velocity * WORLD_ONE), static_cast<int>(direction/AngleConvert), static_cast<i… in Lua_Player_Accelerate()
1757 …FIXED_INTEGERAL_PART(get_player_data(Lua_Player::Index(L, 1))->variables.elevation) * AngleConvert; in Lua_Player_Get_Elevation()
1764 …FIXED_INTEGERAL_PART(get_player_data(Lua_Player::Index(L, 1))->variables.direction) * AngleConvert; in Lua_Player_Get_Direction()
1772 … FIXED_INTEGERAL_PART(pdata->variables.direction + pdata->variables.head_direction) * AngleConvert; in Lua_Player_Get_Head_Direction()
2041 player->variables.direction = INTEGER_TO_FIXED((int)(facing/AngleConvert)); in Lua_Player_Set_Direction()
2059 …player->variables.head_direction = INTEGER_TO_FIXED((int)(facing/AngleConvert)) - player->variable… in Lua_Player_Set_Head_Direction()
2080 player->variables.elevation = INTEGER_TO_FIXED((int)(elevation/AngleConvert)); in Lua_Player_Set_Elevation()
H A Dlua_monsters.cpp40 const float AngleConvert = 360/float(FULL_CIRCLE); variable
554 …_cast<int>(vertical_velocity * WORLD_ONE), static_cast<int>(direction/AngleConvert), static_cast<i… in Lua_Monster_Accelerate()
752 lua_pushnumber(L, (double) object->facing * AngleConvert); in Lua_Monster_Get_Facing()
882 object->facing = static_cast<int>(lua_tonumber(L, 2) / AngleConvert); in Lua_Monster_Set_Facing()
H A Dlua_hud_script.cpp69 extern float AngleConvert;
H A Dlua_hud_objects.cpp58 const float AngleConvert = 360/float(FULL_CIRCLE); variable
1811 lua_pushnumber(L, info.direction * AngleConvert); in Lua_MotionSensor_Blip_Get_Direction()
2023 double angle = FIXED_INTEGERAL_PART(current_player->variables.direction) * AngleConvert; in Lua_HUDPlayer_Get_Direction()
2030 double angle = FIXED_INTEGERAL_PART(current_player->variables.elevation) * AngleConvert; in Lua_HUDPlayer_Get_Elevation()
2042 …double dir = (360.0 - (FIXED_INTEGERAL_PART(current_player->variables.direction) * AngleConvert)) … in Lua_HUDPlayer_Velocity_Get_Forward()
2052 …double dir = (360.0 - (FIXED_INTEGERAL_PART(current_player->variables.direction) * AngleConvert)) … in Lua_HUDPlayer_Velocity_Get_Perpendicular()
H A Dlua_map.cpp2641 const float AngleConvert = 360/float(FULL_CIRCLE); variable
2646 lua_pushnumber(L, static_cast<double>(media->current_direction) * AngleConvert); in Lua_Media_Get_Direction()
2711 media->current_direction = static_cast<angle>(lua_tonumber(L, 2) / AngleConvert); in Lua_Media_Set_Direction()
/dports/games/alephone/alephone-release-20190331/Source_Files/RenderOther/
H A Dscreen_shared.h549 const float AngleConvert = 360/float(FULL_CIRCLE); in DisplayPosition() local
564 sprintf(temporary, "Yaw = %8.3f",AngleConvert*Angle); in DisplayPosition()
569 sprintf(temporary, "Pitch = %8.3f",AngleConvert*Angle); in DisplayPosition()
/dports/games/alephone/alephone-release-20190331/Source_Files/
H A Dshell.cpp1524 const float AngleConvert = 360/float(FULL_CIRCLE); in dump_screen() local
1542 metadata["Yaw"] = boost::lexical_cast<std::string>(world_view->yaw * AngleConvert); in dump_screen()
1547 metadata["Pitch"] = boost::lexical_cast<std::string>(pitch * AngleConvert); in dump_screen()