From 52bcf39ca52d63b8813a65af7871b27fd6eb23ec Mon Sep 17 00:00:00 2001 From: alice Date: Mon, 26 Aug 2024 13:41:02 +0100 Subject: [PATCH] `templates`: Remove trailing spaces --- templates/c/wasmdemo.wasmp | 12 ++++++------ templates/d/src/tic80.d | 2 +- templates/d/wasmdemo.wasmp | 12 ++++++------ templates/zig/cart.wasmp | 12 ++++++------ 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/templates/c/wasmdemo.wasmp b/templates/c/wasmdemo.wasmp index 46fa1ab95..7ff8b648c 100644 --- a/templates/c/wasmdemo.wasmp +++ b/templates/c/wasmdemo.wasmp @@ -2,8 +2,8 @@ -- script: wasm """"""""""""""""""""""""""""""""""""""" -WASM is a binary format. The demo -binary code is embedded in this +WASM is a binary format. The demo +binary code is embedded in this cartridge, the source code is not. Run the cart to see the demo. @@ -11,17 +11,17 @@ This demo exits for completeness, but you can't (yet) develop WASM projects using the built-in editor. -The code used to build this project +The code used to build this project can be found in the TIC-80 repo: https://github.com/nesbox/TIC-80/templates/c -This demo was built with C, but many -languages are supported. You simply +This demo was built with C, but many +languages are supported. You simply build your project with your external compiler, then import the final WASM binary into your cartridge: - + import binary out.wasm See README.md for details. diff --git a/templates/d/src/tic80.d b/templates/d/src/tic80.d index 796cbeea5..ec91496c5 100644 --- a/templates/d/src/tic80.d +++ b/templates/d/src/tic80.d @@ -3,7 +3,7 @@ module tic80; extern(C): struct MouseData { - short x; short y; + short x; short y; byte scrollx; byte scrolly; bool left; bool middle; bool right; } diff --git a/templates/d/wasmdemo.wasmp b/templates/d/wasmdemo.wasmp index dce2594d2..de3304548 100644 --- a/templates/d/wasmdemo.wasmp +++ b/templates/d/wasmdemo.wasmp @@ -2,8 +2,8 @@ -- script: wasm """"""""""""""""""""""""""""""""""""""" -WASM is a binary format. The demo -binary code is embedded in this +WASM is a binary format. The demo +binary code is embedded in this cartridge, the source code is not. Run the cart to see the demo. @@ -11,17 +11,17 @@ This demo exits for completeness, but you can't (yet) develop WASM projects using the built-in editor. -The code used to build this project +The code used to build this project can be found in the TIC-80 repo: https://github.com/nesbox/TIC-80/templates/d -This demo was built with D, but many -languages are supported. You simply +This demo was built with D, but many +languages are supported. You simply build your project with your external compiler, then import the final WASM binary into your cartridge: - + import binary out.wasm See README.md for details. diff --git a/templates/zig/cart.wasmp b/templates/zig/cart.wasmp index d8840551d..ba36e05ea 100644 --- a/templates/zig/cart.wasmp +++ b/templates/zig/cart.wasmp @@ -2,8 +2,8 @@ -- script: wasm """"""""""""""""""""""""""""""""""""""" -WASM is a binary format. The demo -binary code is embedded in this +WASM is a binary format. The demo +binary code is embedded in this cartridge, the source code is not. Run the cart to see the demo. @@ -11,18 +11,18 @@ This demo exits for completeness, but you can't (yet) develop WASM projects using the built-in editor. -The code used to build this project +The code used to build this project can be found in the TIC-80 repo: https://github.com/nesbox/TIC-80 /demos/wasm/ -This demo was built with Zig, but many -languages are supported. You simply +This demo was built with Zig, but many +languages are supported. You simply build your project with your external compiler, then import the final WASM binary into your cartridge: - + import binary out.wasm To learn more visit our Wiki and