use screen.h instead of sdlscreen.h, etc.
Create grafx2-win32 MSVC++ project create keycode.h various fixes
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
#include "misc.h"
|
||||
#include "operatio.h"
|
||||
#include "pages.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "screen.h"
|
||||
#include "windows.h"
|
||||
|
||||
#if defined(__VBCC__) || defined(__GP2X__) || defined(__WIZ__) || defined(__CAANOO__)
|
||||
@@ -961,8 +961,11 @@ void Rotate_brush_1_5(void)
|
||||
// On corrige les coordonnées de la ligne si la touche shift est appuyée...
|
||||
cursor_x = Paintbrush_X;
|
||||
cursor_y = Paintbrush_Y;
|
||||
#if defined(USE_SDL) || defined(USE_SDL2)
|
||||
if(SDL_GetModState() & KMOD_SHIFT)
|
||||
Clamp_coordinates_regular_angle(Brush_rotation_center_X,Brush_rotation_center_Y,&cursor_x,&cursor_y);
|
||||
// TODO : portable
|
||||
#endif
|
||||
|
||||
if ( (cursor_x!=old_x) || (cursor_y!=old_y) || (prev_state!=2) )
|
||||
{
|
||||
@@ -1032,8 +1035,11 @@ void Rotate_brush_0_5(void)
|
||||
// On corrige les coordonnées de la ligne si la touche shift est appuyée...
|
||||
cursor_x = Paintbrush_X;
|
||||
cursor_y = Paintbrush_Y;
|
||||
#if defined(USE_SDL) || defined(USE_SDL2)
|
||||
if(SDL_GetModState() & KMOD_SHIFT)
|
||||
Clamp_coordinates_regular_angle(Brush_rotation_center_X,Brush_rotation_center_Y,&cursor_x,&cursor_y);
|
||||
// TODO
|
||||
#endif
|
||||
|
||||
if ((cursor_x!=old_x) || (cursor_y!=old_y) || (prev_state!=3))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user