ec- / baseq3a

Unofficial Quake III Arena gamecode patch
26 stars 24 forks source link

Simplify cvar declaration to a single line of each #25

Closed LegendaryGuard closed 1 year ago

LegendaryGuard commented 1 year ago

It's an improvement in development efficiency by simplifying the declaration of cvars. Previously, it was necessary to write 3 lines of code and modify 2 different files to declare a cvar.

With this modification, the declaration can be done in a single line of code in a single file, significantly reducing the time and effort required. This not only simplifies the development process but also enhances code readability by reducing redundancy. This improvement will contribute to faster and more efficient development in the project.

Credits: Razor