Mercurial > msvpvf
comparison src/gui.c @ 28:1b8d066e55ae
actually define our enum properly...
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Thu, 07 Apr 2022 23:54:24 -0400 |
parents | 0d19cff70e93 |
children | 61b9a9ba7fee |
comparison
equal
deleted
inserted
replaced
27:7103ac60ebdc | 28:1b8d066e55ae |
---|---|
32 #define LISTBOX 2 | 32 #define LISTBOX 2 |
33 #define SAVE_FILE_BUTTON 3 | 33 #define SAVE_FILE_BUTTON 3 |
34 | 34 |
35 HWND hWndListBox, hWndComboBox; | 35 HWND hWndListBox, hWndComboBox; |
36 int16_t version = 13; | 36 int16_t version = 13; |
37 static enum type { | 37 enum types { |
38 vf, | 38 vf, |
39 veg | 39 veg |
40 }; | 40 } type; |
41 char* file_name = " "; | 41 char* file_name = " "; |
42 | 42 |
43 void set_data(unsigned char magic[], uint16_t version, FILE* target) { | 43 void set_data(unsigned char magic[], uint16_t version, FILE* target) { |
44 int i; | 44 int i; |
45 fseek(target, 0x46, SEEK_SET); | 45 fseek(target, 0x46, SEEK_SET); |