コード例 #1
0
 // Token: 0x0600007E RID: 126 RVA: 0x000073A0 File Offset: 0x000055A0
 private static void GmEventMgrInit()
 {
     AppMain.gm_eve_mgr_tcb = AppMain.MTM_TASK_MAKE_TCB(new AppMain.GSF_TASK_PROCEDURE(AppMain.gmEveMgrMain), new AppMain.GSF_TASK_PROCEDURE(AppMain.gmEveMgrDest), 0U, 0, 4240U, 5, () => new AppMain.GMS_EVE_MGR_WORK(), "GM_EVT_MGR");
     AppMain.GMS_EVE_MGR_WORK gms_EVE_MGR_WORK = (AppMain.GMS_EVE_MGR_WORK)AppMain.gm_eve_mgr_tcb.work;
     gms_EVE_MGR_WORK.Clear();
     AppMain.g_gm_eve_mgr_work             = gms_EVE_MGR_WORK;
     AppMain.g_gm_eve_mgr_work.map_size[0] = ( ushort )(AppMain.gm_eve_data.width << 8);
     AppMain.g_gm_eve_mgr_work.map_size[1] = ( ushort )(AppMain.gm_eve_data.height << 8);
 }
コード例 #2
0
ファイル: GmEventManager.cs プロジェクト: uwx/Sonic4Episode1
 private static void GmEventMgrInit()
 {
     AppMain.gm_eve_mgr_tcb = AppMain.MTM_TASK_MAKE_TCB(new AppMain.GSF_TASK_PROCEDURE(AppMain.gmEveMgrMain), new AppMain.GSF_TASK_PROCEDURE(AppMain.gmEveMgrDest), 0U, (ushort)0, 4240U, 5, (AppMain.TaskWorkFactoryDelegate)(() => (object)new AppMain.GMS_EVE_MGR_WORK()), "GM_EVT_MGR");
     AppMain.GMS_EVE_MGR_WORK work = (AppMain.GMS_EVE_MGR_WORK)AppMain.gm_eve_mgr_tcb.work;
     work.Clear();
     AppMain.g_gm_eve_mgr_work             = work;
     AppMain.g_gm_eve_mgr_work.map_size[0] = (ushort)((uint)AppMain.gm_eve_data.width << 8);
     AppMain.g_gm_eve_mgr_work.map_size[1] = (ushort)((uint)AppMain.gm_eve_data.height << 8);
 }