menu_def.h 620 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef __MENU_DEF_
  2. #define __MENU_DEF_
  3. #include <SDL/SDL.h>
  4. #define CLIST_ITEMC 55
  5. #define TAB_NUM 4
  6. #define TAB_X 90
  7. #define TAB_Y 88
  8. #define TAB_XRES 850
  9. #define TAB_YRES 650
  10. #define MENU_ANIMATION_CORECTION 1
  11. typedef struct _CMD_LINE
  12. {
  13. int iParam[6];
  14. char cParam[2][256];
  15. int iAnim[200][18];
  16. SDL_TimerID uiTimerID;
  17. int iLastfrm;
  18. long iCounter;
  19. int iLayer;
  20. char bActive;
  21. char bEndActivate[2];
  22. struct _CMD_LINE *pCmdLine;
  23. } CMD_LINE;
  24. typedef struct _LIST_ITEM_
  25. {
  26. char text[256];
  27. long timespamp;
  28. } LIST_ITEM_;
  29. int FillStringList(char *cmask, LIST_ITEM_ ** list, int *isize);
  30. #endif