Rename the game

Author Mitja Felicijan <mitja.felicijan@gmail.com> 2026-05-09 21:26:10 +0200
Committer Mitja Felicijan <mitja.felicijan@gmail.com> 2026-05-09 21:36:04 +0200
Commit e8b9deefa9a3fc05a2c0c0006af3c5a6e33e7fac (patch)
-rw-r--r-- Makefile 2
-rw-r--r-- README.md 5
-rw-r--r-- config.h 2
-rw-r--r-- maps/deck1.map 2
-rw-r--r-- maps/demo1.map 2
-rw-r--r-- maps/demo2.map 2
-rw-r--r-- maps/demo3.map 2
-rw-r--r-- maps/demo4.map 2
-rw-r--r-- menu.c 2
-rwxr-xr-x tbrun.sh 2
-rw-r--r-- trenchbroom/esv-pathfinder/Entities.fgd 0
-rw-r--r-- trenchbroom/esv-pathfinder/GameConfig.cfg 0
-rw-r--r-- trenchbroom/esv-pathfinder/GameEngineProfiles.cfg 0
13 files changed, 17 insertions, 14 deletions
diff --git a/Makefile b/Makefile
...
13
RAYLIB_VER   := raylib-6.0_$(SYSTEM)
13
RAYLIB_VER   := raylib-6.0_$(SYSTEM)
14
CFLAGS       := -std=c99 -v -g -I./vendor/$(RAYLIB_VER)/include
14
CFLAGS       := -std=c99 -v -g -I./vendor/$(RAYLIB_VER)/include
15
LDFLAGS      := ./vendor/$(RAYLIB_VER)/lib/libraylib.a -lm
15
LDFLAGS      := ./vendor/$(RAYLIB_VER)/lib/libraylib.a -lm
16
GAME         := bin/stalag
16
GAME         := bin/pathfinder
17
HEXDUMP      := bin/hexdump
17
HEXDUMP      := bin/hexdump
18
PACKER       := bin/packer
18
PACKER       := bin/packer
19
SOURCES      := main.c map.c game.c player.c interface.c assets.c menu.c
19
SOURCES      := main.c map.c game.c player.c interface.c assets.c menu.c
...
diff --git a/README.md b/README.md
  
1
Exploratory Science Vessel
  
2
ESV Pathfinder
  
3
  
1
## Trenchbroom setup
4
## Trenchbroom setup
2
  
5
  
3
```sh
6
```sh
4
ln -s ~/Projects/stalag/trenchbroom/stalag/ ~/.TrenchBroom/games/
7
ln -s ~/Projects/esv-pathfinder/trenchbroom/esv-pathfinder/ ~/.TrenchBroom/games/
5
```
8
```
6
  
9
  
7
- Check that `path` in `GameEngineProfiles.cfg` points to game executable.
10
- Check that `path` in `GameEngineProfiles.cfg` points to game executable.
...
diff --git a/config.h b/config.h
...
3
  
3
  
4
#define WINDOW_WIDTH 1280
4
#define WINDOW_WIDTH 1280
5
#define WINDOW_HEIGHT 720
5
#define WINDOW_HEIGHT 720
6
#define WINDOW_TITLE "Stalag"
6
#define WINDOW_TITLE "ESV Pathfinder"
7
  
7
  
8
#define VFS_DATA_PAK "data.pak"
8
#define VFS_DATA_PAK "data.pak"
9
  
9
  
...
diff --git a/maps/deck1.map b/maps/deck1.map
1
// Game: Stalag
1
// Game: ESV Pathfinder
2
// Format: Standard
2
// Format: Standard
3
// entity 0
3
// entity 0
4
{
4
{
...
diff --git a/maps/demo1.map b/maps/demo1.map
1
// Game: Stalag
1
// Game: ESV Pathfinder
2
// Format: Standard
2
// Format: Standard
3
// entity 0
3
// entity 0
4
{
4
{
...
diff --git a/maps/demo2.map b/maps/demo2.map
1
// Game: Stalag
1
// Game: ESV Pathfinder
2
// Format: Standard
2
// Format: Standard
3
// entity 0
3
// entity 0
4
{
4
{
...
diff --git a/maps/demo3.map b/maps/demo3.map
1
// Game: Stalag
1
// Game: ESV Pathfinder
2
// Format: Standard
2
// Format: Standard
3
// entity 0
3
// entity 0
4
{
4
{
...
diff --git a/maps/demo4.map b/maps/demo4.map
1
// Game: Stalag
1
// Game: ESV Pathfinder
2
// Format: Standard
2
// Format: Standard
3
// entity 0
3
// entity 0
4
{
4
{
...
diff --git a/menu.c b/menu.c
...
17
	int screenWidth = GetScreenWidth();
17
	int screenWidth = GetScreenWidth();
18
	int screenHeight = GetScreenHeight();
18
	int screenHeight = GetScreenHeight();
19
  
19
  
20
	const char *title = "STALAG";
20
	const char *title = "ESV Pathfinder";
21
	const char *sub = "Press ENTER to Start";
21
	const char *sub = "Press ENTER to Start";
22
  
22
  
23
	int titleSize = 60;
23
	int titleSize = 60;
...
diff --git a/tbrun.sh b/tbrun.sh
...
59
done
59
done
60
  
60
  
61
cd "$SCRIPT_DIR"
61
cd "$SCRIPT_DIR"
62
DEBUG=1 ./bin/stalag --map "$MAP" \
62
DEBUG=1 ./bin/pathfinder --map "$MAP" \
63
	${FPS:+--fps "$FPS"} \
63
	${FPS:+--fps "$FPS"} \
64
	${WIDTH:+--width "$WIDTH"} \
64
	${WIDTH:+--width "$WIDTH"} \
65
	${HEIGHT:+--height "$HEIGHT"}
65
	${HEIGHT:+--height "$HEIGHT"}
diff --git a/trenchbroom/esv-pathfinder/Entities.fgd b/trenchbroom/esv-pathfinder/Entities.fgd
...
diff --git a/trenchbroom/esv-pathfinder/GameConfig.cfg b/trenchbroom/esv-pathfinder/GameConfig.cfg
1
{
1
{
2
  "version": 9,
2
  "version": 9,
3
  "name": "Stalag",
3
  "name": "ESV Pathfinder",
4
  
4
  
5
  "fileformats": [
5
  "fileformats": [
6
    { "format": "Standard" }
6
    { "format": "Standard" }
...
22
  },
22
  },
23
  
23
  
24
  "softMapBounds": "-4096 -4096 -4096 4096 4096 4096"
24
  "softMapBounds": "-4096 -4096 -4096 4096 4096 4096"
25
}
25
}
diff --git a/trenchbroom/esv-pathfinder/GameEngineProfiles.cfg b/trenchbroom/esv-pathfinder/GameEngineProfiles.cfg
1
{
1
{
2
	"profiles": [
2
	"profiles": [
3
		{
3
		{
4
			"name": "Stalag",
4
			"name": "ESV Pathfinder",
5
			"parameters": "--fps 120 --width 1920 --height 1080 --map maps/${MAP_BASE_NAME}.map",
5
			"parameters": "--fps 120 --width 1920 --height 1080 --map maps/${MAP_BASE_NAME}.map",
6
			"path": "/home/m/Projects/stalag/tbrun.sh"
6
			"path": "/home/m/Projects/esv-pathfinder/tbrun.sh"
7
		}
7
		}
8
	],
8
	],
9
	"version": 1
9
	"version": 1
...