ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:updatecursor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
functions:updatecursor [2017/06/13 17:10] – created korshunfunctions:updatecursor [2017/06/13 17:13] korshun
Line 11: Line 11:
   * ''invertmouse''   * ''invertmouse''
  
 +This function needs to be called before everything else in a loop.
 +
 +===== Examples =====
 +<code>
 +while (true)
 +{
 +    UpdateCursor();
 +    DrawCursor(CursorX(), CursorY());
 +    Delay(1);
 +}
 +</code>
functions/updatecursor.txt · Last modified: 2017/06/13 17:15 by korshun