mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 03:39:57 +02:00
Optimization for GoL, Added brush size and mouse wheel to lua!
This commit is contained in:
@@ -234,8 +234,8 @@ int ISWIRE;
|
||||
int GSPEED;
|
||||
int love[XRES/9][YRES/9];
|
||||
int lolz[XRES/9][YRES/9];
|
||||
unsigned char gol[XRES][YRES];
|
||||
unsigned char gol2[XRES][YRES][NGOL+1];
|
||||
unsigned char gol[YRES][XRES];
|
||||
unsigned char gol2[YRES][XRES][NGOL+1];
|
||||
int SEC;
|
||||
int SEC2;
|
||||
int console_mode;
|
||||
|
@@ -43,8 +43,8 @@
|
||||
int *lua_el_func, *lua_el_mode, *lua_gr_func;
|
||||
|
||||
void luacon_open();
|
||||
int luacon_step(int mx, int my, int selectl, int selectr);
|
||||
int luacon_mouseevent(int mx, int my, int mb, int event);
|
||||
int luacon_step(int mx, int my, int selectl, int selectr, int bsx, int bsy);
|
||||
int luacon_mouseevent(int mx, int my, int mb, int event, int mouse_wheel);
|
||||
int luacon_keyevent(int key, int modifier, int event);
|
||||
int luacon_eval(char *command);
|
||||
int luacon_part_update(int t, int i, int x, int y, int surround_space, int nt);
|
||||
|
Reference in New Issue
Block a user