2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

46 lignes
978 B

  1. #ifndef IZ_TIMER_H
  2. #define IZ_TIMER_H
  3. #include <stdio.h>
  4. #include <time.h>
  5. /**
  6. * The start timestamp.
  7. * @sa IZ_TimerStart
  8. */
  9. static time_t IZ_TIMER_START_TIMESTAMP;
  10. /**
  11. * Gets the start timestamp.
  12. * @sa IZ_TIMER_START_TIMESTAMP
  13. */
  14. void IZ_TimerStart(void);
  15. /**
  16. * Gets the number of microseconds since the application timer has been started.
  17. * @return The number of microseconds.
  18. * @sa IZ_TimerElapsed()
  19. */
  20. unsigned int IZ_TimerElapsedRaw(void);
  21. /**
  22. * Gets the formatted elapsed time since the application timer has been started.
  23. * @return The formatted elapsed time.
  24. * @sa IZ_TimerElapsedRaw()
  25. */
  26. char* IZ_TimerElapsed(void);
  27. /**
  28. * Gets the formatted time in the current instant.
  29. * @return The formatted time in the current instant.
  30. */
  31. char* IZ_TimerNow(void);
  32. /**
  33. * Gets the formatted time in the current instant that can be safely added in file paths.
  34. * @return The formatted time in the current instant.
  35. */
  36. char* IZ_TimerNowPathSafe(void);
  37. #endif