- [NEW] Nou cicle d'animació de 3 frames (0,1,2)

- [CHG] Retocades parts per a ajustar-se al cycle WALK
- [NEW] Gràfics de bancada de cuina
- [NEW] Gràfics de conveyor belt
- [NEW] Gràfics dels boosters
- [NEW] Amb ctrl es pot pasar camps numerics de 32 en 32.
This commit is contained in:
2024-07-01 12:42:54 +02:00
parent 69c1424e34
commit e6539f4989
8 changed files with 37 additions and 16 deletions

View File

@@ -2,6 +2,7 @@
#include "jdraw.h"
#include "jinput.h"
#include <string.h>
#include <SDL2/SDL.h>
namespace ui
{
@@ -133,7 +134,10 @@ namespace ui
{
draw::color(PAPER);
draw::rect(x+1, y+1, w-2, h-2);
return input::mouseWheel();
if (input::keyDown(SDL_SCANCODE_LCTRL))
return input::mouseWheel()*32;
else
return input::mouseWheel();
//if (input::mouseClk(1)) return 1;
//if (input::mouseClk(3)) return 3;
}