* nasrano

* Add station budget & salary

* Initial balance

* Vending machine UI

* Pricing for vending machines

* Finish economy

* Eftpos

* Finish eftpos

* Put eftpos into lockers

* Vending machine prices

* Small fixes

* Fix atm UI

* Add atms to maps

* fix

* reset

* Add PDA program

* Maps again

---------

Co-authored-by: Mona Hmiza <>
Co-authored-by: rhailrake <49613070+rhailrake@users.noreply.github.com>
This commit is contained in:
Aviu00
2023-10-02 16:50:02 +09:00
committed by Aviu00
parent 707cdf3afa
commit 16c8b95da4
109 changed files with 2043 additions and 30 deletions

View File

@@ -0,0 +1,20 @@
uniform sampler2D SCREEN_TEXTURE;
uniform highp vec4 first_color = vec4(1.0);
uniform highp vec4 second_color = vec4(0.0, 0.0, 0.0, 1.0);
uniform highp float position = 0.0;
uniform highp float size = 1.0;
uniform highp float angle = 90.0;
void fragment() {
highp float pivot = position + 0.5;
highp vec2 uv = UV - pivot;
highp float rotated = uv.x * cos(radians(angle)) - uv.y * sin(radians(angle));
highp float pos = smoothstep((1.0 - size) + position, size + 0.0001 + position, rotated + pivot);
COLOR = mix(first_color, second_color, pos);
}