Take either of these files and save as .vscode/tasks.json in your orx project.
Based on the vscode reference material here: https://code.visualstudio.com/docs/editor/tasks
| [Inspector] | |
| Shader = Outline | |
| [Outline] | |
| UseCustomParam = true | |
| ParamList = texture # time # highlight | |
| time = time 3.1415926 | |
| highlight = (1, 1, 1) | |
| Code = " | |
| uniform float width = 5.0; |
| [Object] | |
| ; All the actual object definition | |
| ; ... | |
| OnCreate = > @, Input.EnableSet < true | |
| OnDelete = > @, Input.EnableSet < false | |
| ; Game event handlers | |
| EventHandlerList= DropperEvents | |
| ; Inputs |
| # This is a basic workflow to help you get started with Actions | |
| name: CI | |
| # Controls when the workflow will run | |
| on: | |
| # Triggers the workflow on push or pull request events but only for the master branch | |
| push: | |
| branches: [ master ] | |
| pull_request: |
| [Knight] | |
| Position = (0, 0, 0) | |
| AnimationSet = KnightAnimationSet | |
| Scale = 12 | |
| ; Animation | |
| [KnightAnimationSet] | |
| Texture = data/texture/characters/knight_.png | |
| FrameSize = (24, 24) |
Take either of these files and save as .vscode/tasks.json in your orx project.
Based on the vscode reference material here: https://code.visualstudio.com/docs/editor/tasks
| let max_ocaml_int = Int64.of_int max_int | |
| let read_file input_channel (header : Tar_cstruct.Header.t) = | |
| let file_size = header.file_size in | |
| assert (file_size <= max_ocaml_int); | |
| let buf = Cstruct.create (Int64.to_int file_size) in | |
| Tar_cstruct.really_read input_channel buf; | |
| buf | |
| let rec read_files input_channel accu = |
| module One = struct | |
| type t | |
| end | |
| module Two = struct | |
| type t | |
| end | |
| module Tag_incomplete_match = struct | |
| type one = One.t |
| ==== Building orxLIB (debug64) ==== | |
| orxParam.c | |
| In file included from ../../../include/memory/orxMemory.h:50, | |
| from ../../../src/main/orxParam.c:34: | |
| ../../../src/main/orxParam.c: In function ‘orxParam_SetArgs’: | |
| ../../../include/debug/orxDebug.h:300:9: error: null argument where non-null required (argument 2) [-Werror=nonnull] | |
| 300 | strncpy(zBuffer, FILE, 256); \ | |
| | ^~~~~~~ | |
| ../../../src/main/orxParam.c:794:5: note: in expansion of macro ‘orxDEBUG_SETBASEFILENAME’ | |
| 794 | orxDEBUG_SETBASEFILENAME(orxNULL); |
| ; Add SmokeTrail as a child object, adjusting the position of the spawner as needed, to get a smoke trail | |
| ; or exhaust effect. | |
| [SmokeTrail] | |
| Spawner = SmokeSpawner | |
| [SmokeSpawner] | |
| Object = SmokeParticle | |
| Position = (-17, 0, -1) | |
| UseRelativeSpeed = true |
| { | |
| // Make changes here to the bash.exe profile | |
| "guid": "{a515ab70-2da7-4310-930d-b98cb83a16a2}", | |
| "name": "OCaml Cygwin bash", | |
| "commandline": "C:/OCaml64/bin/bash.exe --login -i", | |
| "icon": "https://ocaml.org/img/favicon32x32.ico", | |
| "hidden": false | |
| } |