client: adjust resolution; server: set DISPLAY if unset
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmFpGQ4ACgkQO3+8IhRO Y5g1/w/8DX3AyCS8nf7oAkmp4345rSsdhv+3QrnB8PwAwUyW118Rq1H/oiVRjIZp 2QaQ5rCnMuo0+DHKzRoMGZNwjoCVo81XwvCsHgAGemhe4D9VgTgKeyI10eNzUwUg 48roEcdSs+1S5nMDrUvMk8WTfinZ2eCPUyGKkC966yVKzhWRoXtvyr1ymqyrNUIK uLQgGxULazIJDHZLYgxGaKJ86ti8nipkr97tUtLcCnlx37XM02mPQ3XmB2KH82GC DqfrflMgvVG1sk0kLcHXGSTJvFvStBZFfyOFIgmXurG/UvdGCFCEluQe0MdMjpGq kzaPtOBYDBpG/Ip4b9ogAqrrKJbaJUoqcNMh7bSucLAaFk4oNsNEKfS9d9BMbi/j mLVguL8eBktRbERIo9EMYR1NxjCGwaZEroSM0F7SWAjB884ss0GTkN8VNcXTD2v4 AwN5dnL+Q5eaGQ1j+8ztPKC32uVE2E4SGY6/jEzOrmOqQyJb/CfrigJThk/dIG4K dsupB8Y0M3OZt6Jm3Iv62Kqe8fvF8xmk/WzWjhHTwQSdWXglTkc29qY16MVUq4aX ZN24bQtanl01WIrQcrq+Xxh5S8Z8yH37gznRvM4iedECEENFXJNVvIMF0sp3z8x/ +5gNTc7p7omZ0IEQwmfHHNJxRWQv7TmoWrddAO1nXfTZmGcYQ4Q= =3Lqj -----END PGP SIGNATURE-----
2 files changed,
7 insertions(+),
3 deletions(-)
M
server/xrxs-srv.sh
→
server/xrxs-srv.sh
@@ -2,6 +2,10 @@ #!/bin/sh
PORT=5460 +if [ -z "${DISPLAY}"]; then + export DISPLAY=:0 +fi + case $1 in start) ./xrxs -s xrxs & sleep 1
M
uxn-client/xrxs.tal
→
uxn-client/xrxs.tal
@@ -69,6 +69,8 @@ #02c1 .System/r DEO2
#02cd .System/g DEO2 #02cb .System/b DEO2 + #0200 .Screen/width DEO2 + #0110 .Screen/height DEO2 ( initialize state ) #00 .ticker STZ #00 .state STZ@@ -591,7 +593,7 @@
.Mouse/y DEI2 #0028 SUB2 8// TOB .list-top LDZ ADD .select-index STZ .Mouse/state DEI #00 EQU ,&no-click JCN - .select-index LDZ .ncarts GTH ,&no-click JCN + .select-index LDZ .ncarts LDZ GTH ,&no-click JCN .state LDZ INC .state STZ ;set-button-state-by-key .Controller/vector DEO2 ;set-button-state-by-mouse .Mouse/vector DEO2@@ -949,8 +951,6 @@
@no-instr BRK ( constants ) -@spritesheet "xrxs.chr 00 -@fontsheet "zz.chr 00 @carts-file "n/carts 00 @slot-file "n/slot 00 @ctl-file "n/ctl 00