Commit graph

317 commits

Author SHA1 Message Date
smallmodel
6b79770783
Fixed HashCode for command_t (must be case-insensitive) 2023-09-18 23:35:11 +02:00
smallmodel
e95d71da0d
Added Com_DPrintf2 and Com_DebugPrintf 2023-09-17 19:33:17 +02:00
smallmodel
128c8f3c06
Added Sys_DebugPrint 2023-09-17 19:31:37 +02:00
smallmodel
fc3749e008
Added Event() constructor that accepts another event and the number of arguments 2023-09-17 16:26:48 +02:00
smallmodel
bcf3aad1b2
Added PointToSegmentDistanceSquared 2023-09-12 23:35:22 +02:00
smallmodel
36aa9bd802
Don't replace Z_Malloc, Z_TagMalloc and Z_Free in debug memory mode 2023-09-07 19:48:08 +02:00
smallmodel
f949f1e88d
Fixed offset of block in Free() with _DEBUG_MEMBLOCK 2023-09-07 19:31:17 +02:00
smallmodel
8af202bd5f
Fixed compilation errors with DEBUG_MEMORY on Linux because of CRT 2023-09-07 19:29:24 +02:00
smallmodel
4f8573784d
Removed con_set inheritance from con_arrayset 2023-09-07 18:58:27 +02:00
smallmodel
c5a46be23e
Optimized calls to Event() (avoid allocating a new Event when it can be reused) 2023-09-07 18:22:07 +02:00
smallmodel
47a3c0bf55
Optimized event name
Use a static char*, instead of an allocated str
2023-09-07 18:05:49 +02:00
smallmodel
6d2d35e82d
Fixed compile errors on newer versions of clang 2023-09-05 19:39:57 +02:00
smallmodel
5e23a6b640
Added DEBUG_MEM_BLOCK cmake definition to debug MEM_BlockAlloc code 2023-09-04 22:19:01 +02:00
smallmodel
be04f31256
Replaced eventInfo_t with DataNode
DataNode is now used only at initialization time and is destroyed after initialization
2023-09-04 21:38:58 +02:00
smallmodel
85dd881c97
Removed usage of HeapAlloc/HeapFree 2023-09-04 21:24:48 +02:00
smallmodel
d102f5a88a
set EV_LINKDOORS to -6.0f instead of -5.0f 2023-08-30 23:32:36 +02:00
smallmodel
f84794acbe
Added sv_pure support from ioq3 and mohaas/mohaab 2023-08-30 20:35:47 +02:00
smallmodel
5fdeb92429
Readded openmohaa to version string 2023-08-30 01:08:09 +02:00
smallmodel
b53466ea0d
Fixed cheats variable being improperly configured 2023-08-28 20:44:33 +02:00
smallmodel
8efae54450
Removed zero vectors assert in ProjectPointOnPlane(), it was removed since F.A.K.K 2 2023-08-27 17:13:12 +02:00
smallmodel
e87f9c5710
Removed calls to NET_Init() as this function is already called from main() 2023-08-26 21:14:35 +02:00
smallmodel
e41dcf03ad
Added CVAR_SERVERINFO flag to "protocol"
Removed CVAR_SERVERINFO flag from "com_protocol" (useless)
2023-08-26 18:15:39 +02:00
smallmodel
15860a7795
Windows NT and Linux being both multi-user system, the homepath now defaults to %APPDATA%\openmohaa (Windows NT) and ~/openmohaa (unix) 2023-08-25 22:58:55 +02:00
smallmodel
f61bda330e
Set homepath to "openmohaa" (win32) and ".openmohaa" (unix) 2023-08-25 22:55:27 +02:00
smallmodel
32cceebc47
Use the Git abbreviated commit hash for the product version 2023-08-24 23:33:29 +02:00
smallmodel
9d921df733
Added Git abbreviated commit hash 2023-08-24 23:33:19 +02:00
smallmodel
428f8c183d
Put the extension before the platform string 2023-08-24 23:33:07 +02:00
smallmodel
45aae54b32
Renamed "Base" to "Allied Assault" 2023-08-24 23:32:40 +02:00
smallmodel
a4fc25cca8
Increased the version number 2023-08-23 23:48:58 +02:00
smallmodel
fe38c7650f
Updated the version number 2023-08-21 00:31:14 +02:00
smallmodel
efce4703ca
Initialize demo_protocols from the com_protocol integer value 2023-08-21 00:19:46 +02:00
smallmodel
94ab4a5ac5
Moved MSG_ReadServerFrameTime and MSG_WriteServerFrameTime to qcommon/msg.cpp 2023-08-21 00:09:00 +02:00
smallmodel
6c65bba279
Fixed MSG_WritePackedAnimTime not writing the animation time sometimes 2023-08-20 02:33:08 +02:00
smallmodel
7d4cdac52c
Use WaitTillAllowed for waitTillTimeout, waitTillAny and WaitTillAnyTimeout 2023-08-20 01:46:38 +02:00
DJs3000
24f82e8e36
Add new arch (#61)
* Update q_platform.h

add e2k arch

* Update TargetArch.cmake

add e2k arch
2023-08-19 21:59:26 +00:00
smallmodel
4939927975
Fixed length decrease with an higher value 2023-08-19 23:07:47 +02:00
smallmodel
f9ef6733b9
Fixed errors on CMake 3.5 2023-08-19 23:07:12 +02:00
smallmodel
de08fe7ca3
Fixed linux compile error 2023-08-19 21:21:41 +02:00
smallmodel
3089cc8bc3
Avoid assigning the token to an str 2023-08-19 21:17:52 +02:00
smallmodel
50cfc7e5ad
Added STRING_VIEWMODELANIM_DONE 2023-08-19 21:06:25 +02:00
smallmodel
5b82cc4f11
Made Event::ErrorInternal const
Fixed ProcessEvent() not handling exceptions
2023-08-19 21:00:04 +02:00
smallmodel
46e57f0a1f
Added maxDataSize so the event can be preallocated 2023-08-19 20:48:46 +02:00
smallmodel
86a6dd020f
Check for WaitTillAllowed instead 2023-08-19 18:21:32 +02:00
smallmodel
4001de1dde
Implemented WaitTillAllowed for all classes 2023-08-19 18:10:38 +02:00
smallmodel
d2a967e577
Don't use the explicit class name to access Entry_allocator 2023-08-19 15:48:50 +02:00
smallmodel
2efeb7e972
Don't call Unregister with "delete" and "remove" in the destructor as UnregisterAll() will already do it
Don't call CancelPendingEvents() if the event system hasn't started
2023-08-19 15:39:59 +02:00
smallmodel
dce004ef13
Don't FreeAll() when destructing the block allocator, because it could be executed before containers destruction 2023-08-19 15:24:12 +02:00
smallmodel
9825e1e6f2
Formatted source files 2023-08-19 03:02:30 +02:00
smallmodel
b1753df1ed
Reworked con_set and con_arrayset so that they have their own Entry class 2023-08-19 02:56:51 +02:00
smallmodel
00644e7605
Alloc() and Free() will call malloc directly when debugging memory 2023-08-19 02:18:41 +02:00