home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 51 / PCGamer51_17Demos.iso / games / CM / CyclingManagerDemoCangas.exe / CyclingManagerDemo / scripts / inrace / groups.cnh < prev    next >
Text File  |  2001-05-21  |  1KB  |  46 lines

  1. // func void Groups_UpdateButtonStates()
  2. typedef func void TYPE_Groups_UpdateButtonStates();
  3. var TYPE_Groups_UpdateButtonStates Groups_UpdateButtonStates;
  4.  
  5. // func void Groups_UpdatePosition()
  6. typedef func void TYPE_Groups_UpdatePosition();
  7. var TYPE_Groups_UpdatePosition Groups_UpdatePosition;
  8.  
  9. // func void Groups_Update ()
  10. typedef func void TYPE_Groups_Update ();
  11. var TYPE_Groups_Update Groups_Update;
  12.  
  13. // func void Groups_Create ()
  14. typedef func void TYPE_Groups_Create ();
  15. var TYPE_Groups_Create Groups_Create;
  16.  
  17. // func i32x Groups_Event (i32x _iComponentID,i32x _iEvent)
  18. typedef func i32x TYPE_Groups_Event (i32x _iComponentID,i32x _iEvent);
  19. var TYPE_Groups_Event Groups_Event;
  20.  
  21. // func void Groups_Init(i32x _iRaceMode)
  22. typedef func void TYPE_Groups_Init(i32x _iRaceMode);
  23. var TYPE_Groups_Init Groups_Init;
  24.  
  25. // -------------------------------------------------------------------------------
  26.  
  27. typedef struct sGroups
  28. {
  29.     i32x m_iActive;
  30.  
  31.     i32x        m_iNumGroups;
  32.     i32x        m_iMove;
  33.     i32x        m_iMx;
  34.     i32x        m_iMy;
  35.     i32x        m_iActiveGroup;
  36.  
  37.     i32x        m_iCurrent;
  38.  
  39.     i32x        m_cGroups[180];    // max 180 groups
  40.     i32x        m_cIdToIndex[181];    // For fast finding
  41.  
  42.     component    pGroups;
  43.     ObjectFunc    oFunc;
  44. } sGroups;
  45. var sGroups oGroups;
  46.