Changes between Version 1 and Version 2 of Loading


Ignore:
Timestamp:
Feb 23, 2008, 8:32:54 PM (16 years ago)
Author:
Jan Wassenberg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Loading

    v1 v2  
    4242but yields significant advantages:
    4343 * 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, and
     44 * all services of the main loop (especially input (1)) are available, and
    4545 * complexity due to reentering the main loop is avoided.
    4646
     
    5656{{{
    5757  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)
    5959  LDR_EndRegistering();
    6060}}}
     
    6363
    6464== 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.