Quake3World.com
https://www.quake3world.com/forum/

Single-line cvar declaration
https://www.quake3world.com/forum/viewtopic.php?f=16&t=55017
Page 1 of 1

Author:  LegendGuard [ 08-21-2023 10:49 AM ]
Post subject:  Single-line cvar declaration

I made the cvar declaration only declare in single line instead declaring in 3 lines interacting 2 files:
https://github.com/LegendaryGuard/BFP/c ... 5384c9649a

This reduces time and effort when creating a cvar in the code.

You can find that in this repository too (if you want to start with Q3 code (also there's Team Arena)):
https://github.com/ec-/baseq3a

For reference, it was based by OpenJK, credits: Razor.

https://github.com/JACoders/OpenJK/blob ... e/g_cvar.c
https://github.com/JACoders/OpenJK/blob ... /g_xcvar.h

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/