Commit graph

343 commits

Author SHA1 Message Date
smallmodel
17af75a9bb
Formatted TIKI source files 2023-11-06 18:08:53 +01:00
smallmodel
1fb8e25209
Use PRId64 and PRIu64 format specifier for sprintf in str with 64-bit int constructor 2023-11-04 00:41:06 +01:00
smallmodel
bd86acf118
EV_REMOVE should be -9.0 2023-11-03 22:07:43 +01:00
smallmodel
bd2c1c387b
Added Event::Exists() to check if a given command name exists 2023-11-02 20:05:59 +01:00
smallmodel
1698f6d1bf
The return value of an event must be the first value 2023-11-02 19:53:26 +01:00
smallmodel
1184843318
Set dirty timer in SetTime() 2023-10-30 22:59:04 +01:00
smallmodel
5824022745
Added ScriptRemove 2023-10-30 22:03:37 +01:00
smallmodel
3ecb5bd06a
Fixed WaitExecuteThreadInternal() waiting on the group instead of the thread 2023-10-30 21:59:47 +01:00
smallmodel
43bb5ce653
Fixed BroadcastEvent not returning true with 1 processed listener + Fixed UnregisterTarget not removing the name 2023-10-27 21:03:07 +02:00
smallmodel
30d26c3e44
Fixed register/unregistration 2023-10-27 20:42:01 +02:00
smallmodel
dc028b87e4
Added const unsigned char* hashcode 2023-10-27 19:58:38 +02:00
smallmodel
0d1b7a9c8a
Added int64 support 2023-10-27 19:58:29 +02:00
smallmodel
fb4bf4fcaa
Fixed wrong value() for GetGameScript in CreateScriptInternal() 2023-10-26 20:07:49 +02:00
smallmodel
64a3b04181
Fixed CM_SightTraceThroughBrush() implementation 2023-10-24 19:29:38 +02:00
smallmodel
766d4d23bf
Incremented MAX_LOOPBACK otherwise the client would drop the gamestate while loading 2023-10-22 19:47:43 +02:00
smallmodel
290cd5501c
Obfuscation should be 0 by default 2023-10-15 16:12:01 +02:00
smallmodel
7041acfd51
Added visual obfuscation feature (not implemented yet) 2023-10-14 19:56:06 +02:00
smallmodel
60e07cc4ff
Fixed wrong const string values 2023-10-13 19:57:21 +02:00
smallmodel
6f66a1d1c3
Moved Container::Archive to archive.h source file to avoid compilation errors 2023-10-12 20:45:49 +02:00
smallmodel
31f3c25b18
Implemented Archive with only arc parameter 2023-10-12 20:30:17 +02:00
smallmodel
39ac9f7de6
Added more const strings from 2.0 and above 2023-10-11 19:31:31 +02:00
smallmodel
f24303dd78
Use a correct implementation for fSign() 2023-10-07 23:49:49 +02:00
smallmodel
3142865fef
Added MacOS support 2023-10-03 17:02:23 +02:00
smallmodel
999d6a449b
Fixed toPitch() with zero coordinates 2023-10-01 14:46:06 +02:00
smallmodel
a65aa2a0d0
Fixed CrossProduct being wrong due to parameters being modified while doing the operation 2023-10-01 14:45:24 +02:00
smallmodel
36fc0b6e8a
Formatted document 2023-10-01 14:21:23 +02:00
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