Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_init_exit.c
| Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | |||||
| #endif | #endif | ||||
| #include "GHOST_Path-api.h" | #include "GHOST_Path-api.h" | ||||
| #include "GHOST_C-api.h" | #include "GHOST_C-api.h" | ||||
| #include "RNA_define.h" | #include "RNA_define.h" | ||||
| #include "WM_api.h" | #include "WM_api.h" | ||||
| #include "WM_types.h" | #include "WM_types.h" | ||||
| #include "WM_message.h" | |||||
| #include "wm_cursors.h" | #include "wm_cursors.h" | ||||
| #include "wm_event_system.h" | #include "wm_event_system.h" | ||||
| #include "wm.h" | #include "wm.h" | ||||
| #include "wm_files.h" | #include "wm_files.h" | ||||
| #include "wm_window.h" | #include "wm_window.h" | ||||
| #include "ED_anim_api.h" | #include "ED_anim_api.h" | ||||
| ▲ Show 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | void WM_init(bContext *C, int argc, const char **argv) | ||||
| BLF_init(); /* Please update source/gamengine/GamePlayer/GPG_ghost.cpp if you change this */ | BLF_init(); /* Please update source/gamengine/GamePlayer/GPG_ghost.cpp if you change this */ | ||||
| BLT_lang_init(); | BLT_lang_init(); | ||||
| /* reports cant be initialized before the wm, | /* reports cant be initialized before the wm, | ||||
| * but keep before file reading, since that may report errors */ | * but keep before file reading, since that may report errors */ | ||||
| wm_init_reports(C); | wm_init_reports(C); | ||||
| WM_msgbus_types_init(); | |||||
| /* get the default database, plus a wm */ | /* get the default database, plus a wm */ | ||||
| wm_homefile_read(C, NULL, G.factory_startup, false, true, NULL, NULL); | wm_homefile_read(C, NULL, G.factory_startup, false, true, NULL, NULL); | ||||
| BLT_lang_set(NULL); | BLT_lang_set(NULL); | ||||
| if (!G.background) { | if (!G.background) { | ||||
| ▲ Show 20 Lines • Show All 429 Lines • Show Last 20 Lines | |||||