kitchen: README + MISSIONS/engine-c keep-drop notes

This commit is contained in:
Hernâni Marques 2026-09-17 21:48:48 +02:00
parent 1d351918da
commit 575d7d29b8
No known key found for this signature in database
130 changed files with 9817 additions and 1 deletions

View file

@ -0,0 +1,170 @@
openkknd: compiling...
In file included from src/rng.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/config.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/png.c:8:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/snapshot.c:6:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
src/snapshot.c: In Funktion »snapshot_capture«:
src/snapshot.c:62:5: warning: diese »if«-Klausel beschützt nicht … [-Wmisleading-indentation]
62 | if (camx < 0) camx = 0; if (camy < 0) camy = 0;
| ^~
src/snapshot.c:62:29: note: … diese Anweisung, aber letztere ist verwirrend eingerückt, als wäre sie abhängig von »if«
62 | if (camx < 0) camx = 0; if (camy < 0) camy = 0;
| ^~
In file included from src/map.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
src/map.c: In Funktion »map_init«:
src/map.c:66:13: warning: Variable »pos« wird nicht verwendet [-Wunused-variable]
66 | int pos = rng_range(rng, 8, m->w - 9);
| ^~~
In file included from src/sprites.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/units.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/buildings.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/projectiles.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/render.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
src/render.c: In Funktion »render_buildings«:
src/render.c:106:17: warning: Variable »pct« wird nicht verwendet [-Wunused-variable]
106 | int pct = (int)(b->build * 100);
| ^~~
In file included from src/input.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/ai.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/audio.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/save.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/engine.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/main.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
src/main.c: In Funktion »main«:
src/main.c:50:16: warning: Variable »diff« gesetzt, aber nicht verwendet [-Wunused-but-set-variable=]
50 | Difficulty diff = DIFF_NORMAL;
| ^~~~
src/main.c: Auf höchster Ebene:
src/main.c:32:13: warning: »save_snapshot« definiert, aber nicht verwendet [-Wunused-function]
32 | static void save_snapshot(Game *g, int n) {
| ^~~~~~~~~~~~~
openkknd: built -> ./openkknd
usage: ./openkknd [--easy|--normal|--hard] [--load savegame.kknd]

View file

@ -0,0 +1,2 @@
[hermes3:8b · 12616ms · ok]

View file

@ -0,0 +1,2 @@
<SCRATCHPAD>
{"arguments": {"path": "/home/vx/src/openkknd-hermes"}, "name": "read"}

View file

@ -0,0 +1,39 @@
==== 2026-07-13T09:32:32+02:00 QWEN start ====
qwen exit=0
{
"name": "exec",
"arguments": {
"command": "cd /home/vx/src/openkknd-qwen && ./build.sh"
}
}
==== qwen tree ====
insgesamt 136
drwxr-xr-x 1 vx vx 144 13. Jul 09:33 .
drwxr-xr-x 1 vx vx 76 13. Jul 09:32 ..
drwxr-xr-x 1 vx vx 36 11. Jul 06:59 assets
drwxr-xr-x 1 vx vx 0 11. Jul 06:38 benchmarks
-rwxr-xr-x 1 vx vx 699 11. Jul 14:19 build.sh
drwxr-xr-x 1 vx vx 430 11. Jul 14:24 gallery
drwxr-xr-x 1 vx vx 34 11. Jul 07:04 include
-rw-r--r-- 1 vx vx 1103 13. Jul 09:32 MISSION.md
-rwxr-xr-x 1 vx vx 124680 13. Jul 09:33 openkknd
-rw-r--r-- 1 vx vx 204 11. Jul 14:22 savegame.kknd
drwxr-xr-x 1 vx vx 290 11. Jul 14:20 src
==== 2026-07-13T09:33:15+02:00 HERMES start ====
hermes exit=0
<SCRATCHPAD>
{"arguments": {"path": "/home/vx/src/openkknd-hermes"}, "name": "read"}
==== hermes tree ====
insgesamt 136
drwxr-xr-x 1 vx vx 144 13. Jul 09:33 .
drwxr-xr-x 1 vx vx 76 13. Jul 09:32 ..
drwxr-xr-x 1 vx vx 36 11. Jul 06:59 assets
drwxr-xr-x 1 vx vx 0 11. Jul 06:38 benchmarks
-rwxr-xr-x 1 vx vx 699 11. Jul 14:19 build.sh
drwxr-xr-x 1 vx vx 430 11. Jul 14:24 gallery
drwxr-xr-x 1 vx vx 34 11. Jul 07:04 include
-rw-r--r-- 1 vx vx 1103 13. Jul 09:32 MISSION.md
-rwxr-xr-x 1 vx vx 124680 13. Jul 09:33 openkknd
-rw-r--r-- 1 vx vx 204 11. Jul 14:22 savegame.kknd
drwxr-xr-x 1 vx vx 290 11. Jul 14:20 src
==== 2026-07-13T09:33:39+02:00 DONE ====

View file

@ -0,0 +1,39 @@
==== 2026-07-13T09:32:32+02:00 QWEN start ====
qwen exit=0
{
"name": "exec",
"arguments": {
"command": "cd /home/vx/src/openkknd-qwen && ./build.sh"
}
}
==== qwen tree ====
insgesamt 136
drwxr-xr-x 1 vx vx 144 13. Jul 09:33 .
drwxr-xr-x 1 vx vx 76 13. Jul 09:32 ..
drwxr-xr-x 1 vx vx 36 11. Jul 06:59 assets
drwxr-xr-x 1 vx vx 0 11. Jul 06:38 benchmarks
-rwxr-xr-x 1 vx vx 699 11. Jul 14:19 build.sh
drwxr-xr-x 1 vx vx 430 11. Jul 14:24 gallery
drwxr-xr-x 1 vx vx 34 11. Jul 07:04 include
-rw-r--r-- 1 vx vx 1103 13. Jul 09:32 MISSION.md
-rwxr-xr-x 1 vx vx 124680 13. Jul 09:33 openkknd
-rw-r--r-- 1 vx vx 204 11. Jul 14:22 savegame.kknd
drwxr-xr-x 1 vx vx 290 11. Jul 14:20 src
==== 2026-07-13T09:33:15+02:00 HERMES start ====
hermes exit=0
<SCRATCHPAD>
{"arguments": {"path": "/home/vx/src/openkknd-hermes"}, "name": "read"}
==== hermes tree ====
insgesamt 136
drwxr-xr-x 1 vx vx 144 13. Jul 09:33 .
drwxr-xr-x 1 vx vx 76 13. Jul 09:32 ..
drwxr-xr-x 1 vx vx 36 11. Jul 06:59 assets
drwxr-xr-x 1 vx vx 0 11. Jul 06:38 benchmarks
-rwxr-xr-x 1 vx vx 699 11. Jul 14:19 build.sh
drwxr-xr-x 1 vx vx 430 11. Jul 14:24 gallery
drwxr-xr-x 1 vx vx 34 11. Jul 07:04 include
-rw-r--r-- 1 vx vx 1103 13. Jul 09:32 MISSION.md
-rwxr-xr-x 1 vx vx 124680 13. Jul 09:33 openkknd
-rw-r--r-- 1 vx vx 204 11. Jul 14:22 savegame.kknd
drwxr-xr-x 1 vx vx 290 11. Jul 14:20 src
==== 2026-07-13T09:33:39+02:00 DONE ====

View file

@ -0,0 +1,13 @@
KKND2 mission. You are the hermes3 coding agent.
Work ONLY in /home/vx/src/openkknd-hermes (already created, seeded from openkknd). Read MISSION.md there.
Tasks:
1) cd /home/vx/src/openkknd-hermes
2) Use exec to run: ./build.sh — fix any compile/link errors with real file edits (write/edit tools).
3) If build works, git init if needed and commit "kknd2: green build".
4) Write/update README.md with build/run instructions.
5) Optionally small improvements only after green build.
Do not touch /home/vx/openkknd or /home/vx/src/openkknd-qwen.
Use tools (exec, read, write, edit). Report what you did and build status.

View file

@ -0,0 +1,13 @@
KKND2 mission. You are the qwen coding agent.
Work ONLY in /home/vx/src/openkknd-qwen (already created, seeded from openkknd). Read MISSION.md there.
Tasks:
1) cd /home/vx/src/openkknd-qwen
2) Use exec to run: ./build.sh — fix any compile/link errors with real file edits (write/edit tools).
3) If build works, git init if needed and commit "kknd2: green build".
4) Write/update README.md with build/run instructions.
5) Optionally small improvements only after green build.
Do not touch /home/vx/openkknd or /home/vx/src/openkknd-hermes.
Use tools (exec, read, write, edit). Report what you did and build status.

View file

@ -0,0 +1,170 @@
openkknd: compiling...
In file included from src/rng.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/config.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/png.c:8:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/snapshot.c:6:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
src/snapshot.c: In Funktion »snapshot_capture«:
src/snapshot.c:62:5: warning: diese »if«-Klausel beschützt nicht … [-Wmisleading-indentation]
62 | if (camx < 0) camx = 0; if (camy < 0) camy = 0;
| ^~
src/snapshot.c:62:29: note: … diese Anweisung, aber letztere ist verwirrend eingerückt, als wäre sie abhängig von »if«
62 | if (camx < 0) camx = 0; if (camy < 0) camy = 0;
| ^~
In file included from src/map.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
src/map.c: In Funktion »map_init«:
src/map.c:66:13: warning: Variable »pos« wird nicht verwendet [-Wunused-variable]
66 | int pos = rng_range(rng, 8, m->w - 9);
| ^~~
In file included from src/sprites.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/units.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/buildings.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/projectiles.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/render.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
src/render.c: In Funktion »render_buildings«:
src/render.c:106:17: warning: Variable »pct« wird nicht verwendet [-Wunused-variable]
106 | int pct = (int)(b->build * 100);
| ^~~
In file included from src/input.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/ai.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/audio.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/save.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/engine.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/main.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
src/main.c: In Funktion »main«:
src/main.c:50:16: warning: Variable »diff« gesetzt, aber nicht verwendet [-Wunused-but-set-variable=]
50 | Difficulty diff = DIFF_NORMAL;
| ^~~~
src/main.c: Auf höchster Ebene:
src/main.c:32:13: warning: »save_snapshot« definiert, aber nicht verwendet [-Wunused-function]
32 | static void save_snapshot(Game *g, int n) {
| ^~~~~~~~~~~~~
openkknd: built -> ./openkknd
usage: ./openkknd [--easy|--normal|--hard] [--load savegame.kknd]

View file

@ -0,0 +1,2 @@
[qwen2.5-coder:14b · 32316ms · ok]

View file

@ -0,0 +1,6 @@
{
"name": "exec",
"arguments": {
"command": "cd /home/vx/src/openkknd-qwen && ./build.sh"
}
}

View file

@ -0,0 +1,37 @@
#!/usr/bin/env bash
set -uo pipefail
export PATH="$HOME/.local/bin:/usr/bin:$PATH"
export OLLAMA_API_KEY=ollama-local
export OLLAMA_HOST=127.0.0.1
export OPENCLAW_TIMEOUT=1200
LOGDIR="${1:?}"
PROMPT_QWEN=$(cat "$LOGDIR/prompt-qwen.txt")
PROMPT_HERMES=$(cat "$LOGDIR/prompt-hermes.txt")
echo "==== $(date -Is) QWEN start ====" | tee -a "$LOGDIR/master.log"
# free VRAM for 14b
ollama-gpu stop hermes3:8b 2>/dev/null || true
ollama-gpu stop qwen2.5-coder:7b 2>/dev/null || true
"$HOME/agent-coder" --qwen14 -s openkknd-qwen "$PROMPT_QWEN" \
>"$LOGDIR/qwen.out" 2>"$LOGDIR/qwen.err"
echo "qwen exit=$?" | tee -a "$LOGDIR/master.log"
tail -40 "$LOGDIR/qwen.out" | tee -a "$LOGDIR/master.log"
# build proof
(cd "$HOME/src/openkknd-qwen" && ./build.sh) >"$LOGDIR/qwen-build.txt" 2>&1 || true
echo "==== qwen tree ====" | tee -a "$LOGDIR/master.log"
ls -la "$HOME/src/openkknd-qwen" | tee -a "$LOGDIR/master.log"
echo "==== $(date -Is) HERMES start ====" | tee -a "$LOGDIR/master.log"
ollama-gpu stop qwen2.5-coder:14b 2>/dev/null || true
ollama-gpu stop qwen2.5-coder:7b 2>/dev/null || true
"$HOME/agent-coder" --hermes -s openkknd-hermes "$PROMPT_HERMES" \
>"$LOGDIR/hermes.out" 2>"$LOGDIR/hermes.err"
echo "hermes exit=$?" | tee -a "$LOGDIR/master.log"
tail -40 "$LOGDIR/hermes.out" | tee -a "$LOGDIR/master.log"
(cd "$HOME/src/openkknd-hermes" && ./build.sh) >"$LOGDIR/hermes-build.txt" 2>&1 || true
echo "==== hermes tree ====" | tee -a "$LOGDIR/master.log"
ls -la "$HOME/src/openkknd-hermes" | tee -a "$LOGDIR/master.log"
echo "==== $(date -Is) DONE ====" | tee -a "$LOGDIR/master.log"