Changes between Version 1 and Version 2 of Loading
- Timestamp:
- Feb 23, 2008, 8:32:54 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Loading
v1 v2 42 42 but yields significant advantages: 43 43 * progress calculation is easy and smooth, 44 * all services of the main loop (especially input <sup id="fn_1_back">[wiki:#fn_1 1]</sup>) are available, and44 * all services of the main loop (especially input (1)) are available, and 45 45 * complexity due to reentering the main loop is avoided. 46 46 … … 56 56 {{{ 57 57 LDR_BeginRegistering(); 58 LDR_Register(..) for each sub-function <sup id="fn_2_back">[[#fn_2|2]]</sup>58 LDR_Register(..) for each sub-function (2) 59 59 LDR_EndRegistering(); 60 60 }}} … … 63 63 64 64 == Notes == 65 <cite id="fn_1">[wiki:#fn_1_back Note 1:] </cite> input is important, since we want to be able to abort long loads or even exit the game immediately. 66 67 <cite id="fn_2">[wiki:#fn_2_back Note 2:] </cite> !RegMemFun from !LoaderThunks.h may be used instead; it takes care of registering member functions, which would otherwise be messy. 65 1. input is important, since we want to be able to abort long loads or even exit the game immediately. 66 2. !RegMemFun from !LoaderThunks.h may be used instead; it takes care of registering member functions, which would otherwise be messy.