38 lines
		
	
	
		
			918 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			918 B
		
	
	
	
		
			Plaintext
		
	
	
	
| /*
 | |
| 文件名:DrawHudMain.nut
 | |
| 路径:Base/CallBack/DrawHudMain.nut
 | |
| 创建日期:2024-08-29	09:39
 | |
| 文件用途:
 | |
| */
 | |
| //血槽背景
 | |
| function L_HUD_BloodBackground() {
 | |
|     local RootTab = getroottable();
 | |
|     local obj = sq_getMyCharacter();
 | |
|     if (!obj) return;
 | |
|     if (RootTab.rawin("HudUi_Obj")) {
 | |
|         RootTab.HudUi_Obj.BottomShow(obj);
 | |
|     }
 | |
|     if (RootTab.rawin("EventList_Obj")) {
 | |
|         foreach(win in EventList_Obj.Events) {
 | |
|             win.EventShow(obj);
 | |
|         }
 | |
|     }
 | |
| 
 | |
| }
 | |
| 
 | |
| getroottable().Camera_Pos <- {};
 | |
| 
 | |
| //城镇摄像机
 | |
| function L_Sync_Camera_Pos(Camera_Object) {
 | |
|     // print(Camera_Object);
 | |
|     // print(Camera_Object);
 | |
|     getroottable().Camera_Pos.X <- L_sq_RA(Camera_Object + 0x638);
 | |
|     getroottable().Camera_Pos.Y <- L_sq_RA(Camera_Object + 0x63C);
 | |
| }
 | |
| 
 | |
| 
 | |
| function Sq_DrawChannel() {
 | |
|     // L_sq_DrawImg("interface2/cs_shop/cs_packageevent/2021_summer/hearoursummer_calendarui.img", 0, 0, 0);
 | |
| }
 | |
| 
 |