Commit graph

2851 commits

Author SHA1 Message Date
pryon
c60c2c09e1 Fix incorrect TAB character width calculation and refactor logic 2024-06-10 14:06:30 +02:00
pryon
3254b3f044 Send SE_CHAR events (CharEvent) for ENTER, TAB and ESCAPE keys
So that UINotepad registers them as valid keypresses when typing
2024-06-10 14:04:55 +02:00
pryon
9a35d34fc3 Implement UINotepad
Also fix several original game bugs within, some cosmetical, some memory corrupting
2024-06-10 14:02:10 +02:00
pryon
4da5e26cdc Move CTRL macro to q_shared.h 2024-06-10 13:59:10 +02:00
smallmodel
8a28ad0c36
Fixed explosion effects on protocol below 2.0 2024-06-09 20:16:14 +02:00
smallmodel
e08b2fe382
Added cg_target_game 2024-06-09 20:10:30 +02:00
smallmodel
8b16e94829
Fixed grenade bounce sound overly playing 2024-06-09 19:56:41 +02:00
smallmodel
618223f01b
Ignore NumShaders in protocol version 8 and below 2024-06-09 19:32:15 +02:00
smallmodel
13c63d3e1f
Fixed wrong condition with msg broadcast visibility 2024-06-09 18:51:39 +02:00
smallmodel
8e0aa5185b
Fixed CGM endianness 2024-06-09 18:48:22 +02:00
smallmodel
2b01f092b3
Fixed german model always being set to german_wehrmacht_soldier 2024-06-09 18:23:06 +02:00
smallmodel
1fd238567e
Fixed animation loading endian 2024-06-09 17:55:57 +02:00
smallmodel
cb59edc963
Handle script exceptions in G_ServerSpawned 2024-06-09 16:56:42 +02:00
smallmodel
0ce70b9f8f
Improved/fixed archive support for big-endian platforms 2024-06-09 16:53:50 +02:00
smallmodel
57175cfa5c
Simplified the decompression algorithm and fixed it for big-endian 2024-06-09 16:45:10 +02:00
smallmodel
8aacdcefb8
Fixed lz77 endianness 2024-06-09 14:14:11 +02:00
smallmodel
69766ae87a
Added SwapValue 2024-06-09 13:19:31 +02:00
smallmodel
d3d2082e41
Removed useless print 2024-06-09 13:08:01 +02:00
smallmodel
de621f6acb
Made short3 implementation endianness independant
This fixes scripts not working properly as script variables key are using short3
2024-06-09 00:59:23 +02:00
smallmodel
a7c5067475
Fixed the execution of a method on the correct class 2024-06-09 00:07:11 +02:00
smallmodel
7282426736
Improved the networking code for big-endian architectures 2024-06-09 00:02:00 +02:00
smallmodel
0333fd86f8
MSG_DeltaNeeded_ver_15 was never called 2024-06-08 21:52:28 +02:00
smallmodel
ab91ade685
Explicitly use signed char for patch xy because some platforms use unsigned char by default 2024-06-08 19:56:24 +02:00
smallmodel
005afcd53d
Simplified CM_PickTerrainSquareMode 2024-06-08 19:20:27 +02:00
smallmodel
c1604c0c8c
Handle animation file endianness 2024-06-08 14:59:52 +02:00
smallmodel
5155c10136
Fixed scripts not working on big-endian architectures 2024-06-08 14:40:35 +02:00
smallmodel
28c6e3b398
Properly swap terrain patches for rendering on big-endian architectures 2024-06-08 12:48:36 +02:00
smallmodel
41244095b1
CMod_LoadTerrainIndexes: big-endian compatibility 2024-06-08 12:47:18 +02:00
smallmodel
a5535fa789
Make sure to initialize the widget's command handler to NULL.
This should fix #305
2024-06-08 01:40:36 +02:00
smallmodel
6796a8b3fe
Properly swap terrain patch values on big-endian systems 2024-06-08 01:08:58 +02:00
smallmodel
819dffcb86
Added MAX_TERRAIN_VARNODES 2024-06-08 01:05:47 +02:00
smallmodel
b54db17069
Added unsigned swaps 2024-06-08 01:03:08 +02:00
smallmodel
e27f2443e8
Fixed skel loading on big-endian systems 2024-06-08 00:53:39 +02:00
smallmodel
a1e0bc5d7c
Implemented TIKI_SwapSkel (used on Big-Endian systems) 2024-06-08 00:40:52 +02:00
smallmodel
28ea95b9ff
Added scale field 2024-06-08 00:08:54 +02:00
smallmodel
e3b9e48d8c
Added TIKI_SKEL_LOD_INDEXES 2024-06-07 22:38:45 +02:00
smallmodel
026b6b2562
Ignore endianness on skd/skb header signature, as it's a string 2024-06-07 22:08:46 +02:00
smallmodel
0fa380ecff
Correctly read the BSP checksum on big-endian systems 2024-06-07 22:01:24 +02:00
smallmodel
ebd885f053
Fixed Subclient not having the correct client name 2024-06-07 20:36:55 +02:00
smallmodel
74ccb03e54
Reduced compilation warnings 2024-06-07 20:34:13 +02:00
smallmodel
50264c4968
Make sure to cast the float number to int when using it in the format specifier 2024-06-07 20:25:47 +02:00
smallmodel
be222b64a1
Fixed one tiny instruction mistake that could cause issues with dynamic lights on terrains 2024-06-07 20:20:19 +02:00
smallmodel
db7ae4ffef
Properly clear the color values 2024-06-07 19:57:14 +02:00
smallmodel
884a76db4c
Drop error instead of throwing an exception to meet non-throwing exception specification 2024-06-07 19:55:33 +02:00
smallmodel
18e5c6e714
Use unsigned format specifier to match MAX_VOTEOPTIONS_BUFFER_LENGTH's type 2024-06-07 19:49:51 +02:00
smallmodel
468341b7d0
Explicitly mark as override 2024-06-07 19:49:29 +02:00
smallmodel
e03b976ffd
Added missing header on scriptclass.cpp source file 2024-06-07 19:42:10 +02:00
smallmodel
34ea099d87
Define _FILE_OFFSET_BITS to 64 due to a bug in readdir() affecting 32-bit architectures
readdir() would return NULL, setting errno to EOVERFLOW, unable to load pk3 files
2024-06-06 22:18:23 +02:00
smallmodel
1d887b4655
Fixed leaf light being incorrectly reassigned 2024-06-05 21:21:35 +02:00
smallmodel
6bb475abe7
Fixed PowerPC platform support with proper checks for endianness and ppc64 2024-06-05 21:13:06 +02:00