mirror of
https://github.com/luksamuk/engine-psx.git
synced 2025-04-28 21:38:02 +03:00
Change parallax scrollx to float factor
This commit is contained in:
parent
f6c6d49761
commit
bb4df1993d
5 changed files with 14 additions and 6 deletions
|
@ -35,7 +35,7 @@ typedef struct {
|
|||
typedef struct {
|
||||
uint8_t num_parts;
|
||||
uint8_t is_single;
|
||||
int16_t scrollx;
|
||||
int32_t scrollx;
|
||||
int16_t y0;
|
||||
uint16_t width; // Sum of all widths, calculated on load!
|
||||
ParallaxPart *parts;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue