Commit graph

785 commits

Author SHA1 Message Date
OM
d82eb25487 Use q_version.h 2023-06-19 23:34:12 +02:00
OM
c9577629d2 Added versioning system 2023-06-19 23:33:59 +02:00
OM
19b4ba5db0 Moved version stuff to q_version.h 2023-06-19 19:57:50 +02:00
OM
f7e18fe7c1 Updated version number 2023-06-18 19:11:37 +02:00
OM
ed330e63fe Commented out unused gamespy libraries 2023-06-18 19:11:05 +02:00
OM
281fa4a844 Windows: uses installed SDL first 2023-06-18 18:23:40 +02:00
OM
ff2bc55c4a Added C_ONLY def so ASM code never gets compiled 2023-06-18 12:18:27 +02:00
OM
ca11cdb54e Fixed CMakeLists (tested with CMake 3.10) 2023-06-18 12:18:10 +02:00
OM
baa67f7095 Removed BoxOnPlaneSide ASM version 2023-06-18 02:34:32 +02:00
OM
4a4f1bcb62 Prevent .lib files from being exported 2023-06-17 20:16:00 +02:00
OM
c8f25c5a03 Small fixes 2023-06-17 17:00:17 +02:00
OM
147851c506 Moved flex/bison generated files to subfolder "generated"
Added FLEX/BISON cmake generation
2023-06-17 16:54:12 +02:00
OM
04c7565281 Fixed a few warnings 2023-06-17 02:27:12 +02:00
Zack Middleton
570e53d9fb Fix macOS client/server failing to start from terminal
The macOS client and server were completely unusable when run from a
terminal. They blocked forever in `[NSApp run];` which was called by
Sys_InitProtocolHandler(). `applicationDidFinishLaunching` was never
called to exit the NSApp run loop.

Use SDL's SDL_DROPFILE event to receive URLs to handle on macOS instead.
This also handles URLs while the game is running (connect to new server)
instead of nothing happening when clicking a link while the game is
running.
2023-06-17 02:19:29 +02:00
OM
d19b91263f Cast to float 2023-06-17 02:09:56 +02:00
OM
6a6d472658 Moved lib importation (wsock, threads, etc) to syslib 2023-06-17 02:09:50 +02:00
OM
7830a02068 Removed bg_lib (useless) 2023-06-17 02:09:11 +02:00
OM
5b97245dd1 Reworked CMakeLists 2023-06-17 01:44:38 +02:00
OM
ba881b768d Added _LINUX define for gamespy 2023-06-17 01:43:42 +02:00
OM
c287638f99 Reworked file inclusion (using relative path) 2023-06-17 01:24:20 +02:00
OM
2ac8f3e39d Removed game.cpp/level.cpp from server folder as they were useless 2023-06-17 01:23:52 +02:00
OM
e4fa0fff3a Renamed **game** to **fgame** 2023-06-15 23:44:02 +02:00
OM
55c0366382 Fixed FFA scoreboard 2023-06-11 13:03:14 +02:00
OM
0c8af97818 Increased *DEF_COMSOUNDMEGS* to 16
Fatal error out if no sound was freed
2023-06-11 12:49:19 +02:00
OM
d2146807fd S_FreeOldestSound: returns *qfalse* if the sound wasn't freed 2023-06-11 12:48:39 +02:00
OM
425406bf94 Safe NULL m_spawnthing check 2023-06-11 12:41:34 +02:00
OM
e28563a7f4 Assert on debug builds 2023-06-11 12:41:02 +02:00
OM
a46fd50654 Set S_COLOR to empty strings 2023-05-31 20:16:45 +02:00
OM
8e04842a0b Added stuff from ioq3 2023-05-31 19:55:37 +02:00
OM
50a625239a Adding CVAR_PROTECTED flags for fs_basepath 2023-05-31 19:41:21 +02:00
OM
b1dc544c5e export Q_isanumber and Q_isintegral 2023-05-31 19:40:36 +02:00
OM
c79fd4b35b Set DEFAULT_BASEDIR to NULL to use cwd instead 2023-05-31 19:40:19 +02:00
OM
3f34b73458 Moved temp models code from **cg_commands.cpp** to **cg_tempmodels.cpp** 2023-05-30 22:03:34 +02:00
OM
59ce9cb349 Added **TCGEN_ENVIRONMENT_MAPPED2** and **TCGEN_SUN_REFLECTION** (unimplemented) 2023-05-30 01:08:34 +02:00
OM
2506625e59 Added **RB_CalcEnvironmentTexCoords2** (not really implemented) 2023-05-30 01:06:52 +02:00
OM
1f053c2548 Set **tess.vertexColorValid** to true for polys 2023-05-30 00:22:15 +02:00
OM
7258117ff3 Added **BEAM_FADE** and fixed modulation 2023-05-30 00:22:00 +02:00
OM
5153892447 Added BEAM_FADE 2023-05-30 00:21:40 +02:00
OM
d5970ff198 Scoreboard fix 2023-05-30 00:21:28 +02:00
OM
80e22921a7 Fixed **settiki** event name 2023-05-29 22:07:23 +02:00
OM
ede2177fa9 Added LALT/LSHIFT/LCTRL (binds to the same key) 2023-05-29 22:06:00 +02:00
OM
518b2abf0a Improved mouse sensitivity 2023-05-29 21:17:53 +02:00
OM
418e84620c Removed useless statement 2023-05-29 21:14:55 +02:00
OM
19716b20c0 Fixed kar98 zoom overlay 2023-05-29 21:14:43 +02:00
OM
6f1b23ddb8 Added **"scalecvar"** widget command (used by Spearhead and Breakthrough compass) 2023-05-29 20:32:22 +02:00
OM
c958bef261 Added **ui_compass_scale**
Fixed gmbox/dmbox locations (AA/SH/BT)
2023-05-29 20:31:57 +02:00
OM
f2dd4149a8 Call **UI_ResolutionChange** in **CL_StartHunkUsers** 2023-05-29 20:31:17 +02:00
OM
471393c389 Emitters fixes
Implemented "spin" from Spearhead and Breakthrough
2023-05-29 19:03:24 +02:00
OM
509cd72921 Added **T2_COLOR_AVEL** 2023-05-29 18:06:58 +02:00
OM
8f6ba3261e Output vLight values even if unimplemented 2023-05-29 15:53:01 +02:00