home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 April / Gamestar_83_2006-04_dvd.iso / Dema / demowot_english.exe / Script / Source / core.inc < prev    next >
Text File  |  2005-03-11  |  950b  |  39 lines

  1. /* Core functions
  2.  *
  3.  * (c) Copyright 1998-2003, ITB CompuPhase
  4.  * This file is provided as is (no warranties).
  5.  */
  6. #if defined _core_included
  7.   #endinput
  8. #endif
  9. #define _core_included
  10. #pragma library Core
  11.  
  12. native heapspace();
  13.  
  14. native funcidx(const name[]);
  15.  
  16. native numargs();
  17. native getarg(arg, index=0);
  18. native setarg(arg, index=0, value);
  19.  
  20. native strlen(const string[]);
  21. native strpack(dest[], const source[]);
  22. native strunpack(dest[], const source[]);
  23.  
  24. native tolower(c);
  25. native toupper(c);
  26. native swapchars(c);
  27.  
  28. native random(max);
  29.  
  30. native min(value1, value2);
  31. native max(value1, value2);
  32. native clamp(value, min=cellmin, max=cellmax);
  33.  
  34. native getproperty(id=0, const name[]="", value=cellmin, string[]="");
  35. native setproperty(id=0, const name[]="", value=cellmin, const string[]="");
  36. native deleteproperty(id=0, const name[]="", value=cellmin);
  37. native existproperty(id=0, const name[]="", value=cellmin);
  38.  
  39.