Mercurial > msvpvf
comparison src/gui.c @ 36:4c5f3d8d31e1
Merge pull request #2 from mrpapersonic/actions
Add GitHub Actions CI
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Sun, 17 Apr 2022 02:58:48 -0400 |
parents | 800b9eabc548 |
children | 161ec4e87d0a |
comparison
equal
deleted
inserted
replaced
20:bf872a9c70d9 | 36:4c5f3d8d31e1 |
---|---|
31 #define COMBOBOX 1 | 31 #define COMBOBOX 1 |
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 = 11; | 36 int16_t version = 13; |
37 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); |