Skip to content

Commit 8f462e5

Browse files
committed
Add Unix system console header and visuals guide documentation
- Created a new header file `unix_syscon.h` for Unix system console functions, including console creation, destruction, and event handling. - Added a comprehensive `VISUALS.md` guide detailing player highlighting features, color customization, outline thickness, and legacy name changes for the FnQuake3 engine.
1 parent fcc060c commit 8f462e5

32 files changed

Lines changed: 2958 additions & 106 deletions

LICENSE

Lines changed: 0 additions & 2 deletions
This file was deleted.

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ ifeq ($(USE_SYSTEM_VORBIS),1)
280280
endif
281281

282282
# extract version info
283-
VERSION=$(shell sed -n 's/^[[:space:]]*#define[[:space:]]*FNQ3_VERSION_STRING[[:space:]]*"\([^"]*\)".*/\1/p' $(VERSION_HEADER))
283+
VERSION=$(shell awk -F'"' '/^[[:space:]]*#define[[:space:]][[:space:]]*FNQ3_VERSION_STRING[[:space:]][[:space:]]*"/ { print $$2; exit }' $(VERSION_HEADER))
284284

285285
# common qvm definition
286286
ifeq ($(ARCH),x86_64)
@@ -332,6 +332,7 @@ endif
332332

333333
ifeq ($(USE_SDL),1)
334334
BASE_CFLAGS += -DSDL_FUNCTION_POINTER_IS_VOID_POINTER=1
335+
BASE_CFLAGS += -DUSE_SDL_SYSCON=1
335336
endif
336337

337338
ifeq ($(USE_CURL),1)
@@ -1246,6 +1247,7 @@ endif # !USE_SDL
12461247
else # !MINGW
12471248

12481249
Q3OBJ += \
1250+
$(B)/client/unix_syscon.o \
12491251
$(B)/client/unix_main.o \
12501252
$(B)/client/unix_shared.o \
12511253
$(B)/client/linux_signals.o
@@ -1377,6 +1379,7 @@ ifdef MINGW
13771379
else
13781380
Q3DOBJ += \
13791381
$(B)/ded/linux_signals.o \
1382+
$(B)/ded/unix_syscon.o \
13801383
$(B)/ded/unix_main.o \
13811384
$(B)/ded/unix_shared.o
13821385
endif

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ FnQuake3 is a modernized Quake III Arena engine project built around a simple go
2323

2424
## Features
2525

26+
- Optional player highlighting with rimlight and stencil border effects, per-mode team or free colors, and teammate/enemy override colors. See the [Visuals guide](docs/VISUALS.md).
2627
- Flexible 4:3-aware aspect correction for HUDs, menus, UI model widgets, and cinematics, with sensible widescreen options when you want them. See the [Aspect Correction guide](docs/ASPECT_CORRECTION.md).
2728
- A much more capable console, including configurable scaling, smoother scrolling, mouse interaction, text selection, drag and drop, and an optional live tab-completion popup. See the [Console guide](docs/CONSOLE.md).
2829
- CPMA/CNQ3-style rainbow text color escapes, with live preview right in the console input line.
@@ -49,6 +50,7 @@ FnQuake3 is a modernized Quake III Arena engine project built around a simple go
4950
## Documentation
5051

5152
- [Build Guide](BUILD.md) if you want to compile FnQuake3 yourself.
53+
- [Visuals Guide](docs/VISUALS.md) for player highlighting and the current visual presentation controls.
5254
- [Aspect Correction Guide](docs/ASPECT_CORRECTION.md) for HUD, menu, and cinematic presentation options.
5355
- [Console Guide](docs/CONSOLE.md) for console scaling, interaction, completion, and appearance.
5456
- [Technical Notes](docs/TECHNICAL.md) for maintainers, release flow, and repo conventions.

0 commit comments

Comments
 (0)