mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-18 14:11:16 +02:00
Move version check out of main()
This commit is contained in:
committed by
Simon Robertshaw
parent
88823cf604
commit
97da8593d9
@@ -20,9 +20,16 @@
|
||||
#ifndef UPDATE_H
|
||||
#define UPDATE_H
|
||||
|
||||
#include <defines.h>
|
||||
|
||||
extern int version_check;
|
||||
|
||||
char *exe_name(void);
|
||||
int update_start(char *data, int len);
|
||||
int update_finish(void);
|
||||
void update_cleanup(void);
|
||||
void update_finalize(pixel *vid_buf);
|
||||
void update_notify_ui_draw(pixel *vid_buf);
|
||||
void update_notify_ui_process(pixel *vid_buf, int mb, int mbq, int mx, int my);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user