Commit graph

1344 commits

Author SHA1 Message Date
smallmodel
011bee9f33
Implemented MSG_HandleCGMBufferOverflow
Fixed CGM buffer error for non-connected clients
2023-08-17 18:23:24 +02:00
smallmodel
1b86e60548
Implemented all mohaas/mohaab features like animated farplanes, skybox speed/farplane, etc. 2023-08-17 17:39:54 +02:00
smallmodel
23e01fc1a7
Make sure to set m_data.containerValue when copying the value 2023-08-17 17:39:26 +02:00
smallmodel
2c9c80d7bc
Don't set the targetname if world doesn't exist
Prevent world from being retargeted
2023-08-17 17:39:12 +02:00
smallmodel
5146b1f36b
Made SetTargetName virtual functions 2023-08-17 17:37:43 +02:00
smallmodel
bc81fe78b2
Check if the ent is inside the hit entity (this fixes trigger_hurt issues in mp_stadt_dm 2023-08-17 16:10:29 +02:00
smallmodel
4de1b7c73b
When showing entities number, add maxs.z offset 2023-08-17 16:09:46 +02:00
smallmodel
3c8c4e9f97
Call SetSize() directly from setModel() 2023-08-17 16:09:29 +02:00
smallmodel
c366c10530
Fixed level/parm/game vars being overwritten 2023-08-17 16:09:09 +02:00
smallmodel
6f5106803d
Made firstLeafBrush and firstLeafSurface as intptr_t, as sometimes it's an offset to an unrelated memory location (in 64-bit, it could be a very far away memory location) 2023-08-17 16:08:40 +02:00
smallmodel
55a6b7956a
Changed event priorities 2023-08-17 16:07:51 +02:00
smallmodel
911d1f1706
Fixed OP_STORE_FIELD and OP_STORE_FIELD_REF 2023-08-17 16:07:38 +02:00
smallmodel
56fba733f3
Always cast targetlist to const array value, so the iteration remains untouched 2023-08-17 03:18:41 +02:00
smallmodel
a3c65ef7e4
Fixed containerValue allocation (mustn't allocate a new one) 2023-08-17 03:18:19 +02:00
smallmodel
73bc196592
Fixed cmd execution while iterating over a target list 2023-08-17 03:04:01 +02:00
smallmodel
8487099264
Fixed crash due to improper ScriptPointer usage 2023-08-17 03:03:40 +02:00
smallmodel
bdcd0dbd56
Fixed EventEnd copying and adding pointer value 2023-08-17 03:03:26 +02:00
smallmodel
3c2600648c
Fixed "immediateremove" wrong spelling 2023-08-17 03:03:08 +02:00
smallmodel
f1abfeced6
Fixed grammar for if/while/for statements with a single line and a semi-colon 2023-08-17 02:59:54 +02:00
smallmodel
99bce5a11a
Fixed identifiers like "break_formation" being treated as "break" and "_formation" separately 2023-08-17 01:08:37 +02:00
smallmodel
ab5a3604bf
Fixed grammar like "$(value).field"
Fixed newline in if statements
Fixed if/else being ambiguous
2023-08-17 01:05:55 +02:00
smallmodel
fab7d8539c
Fixed an extremely nasty bug with libmad: mad.h defines SIZEOF_INT to 4, libmad c files don't include this mad.h file, which mean libmad c files will use 8-bytes int, and snd_codec_mp3.c will use 4-bytes int 2023-08-16 20:53:20 +02:00
smallmodel
0347a5ca0b
Renamed MAX_CHANNELS to MAX_SKELETOR_CHANNELS to avoid conflict with sound channels (MAX_CHANNELS) 2023-08-16 20:51:19 +02:00
smallmodel
42ad1cb41c
Removed libmad from includes 2023-08-16 20:50:26 +02:00
smallmodel
64e3c18fb9
Removed assertion (not present in mohaa) 2023-08-16 19:22:10 +02:00
smallmodel
7e113359b3
Fixed crash with healrate 2023-08-16 19:14:05 +02:00
smallmodel
467802c466
Fixed crash when loading savegame 2023-08-16 19:13:52 +02:00
smallmodel
ce1b3aaee9
Fixed ArchiveAliases
Archive PathSearch
2023-08-16 19:13:38 +02:00
smallmodel
1a53bdd584
Implemented PathSearch::ArchiveDynamic 2023-08-16 18:48:38 +02:00
smallmodel
5521e7654d
Fixed number of script classes being replaced by the number of threads, causing archive read to go wrong 2023-08-16 18:29:36 +02:00
smallmodel
73716dd624
Fixed silly mistake in the container archive function 2023-08-16 18:29:06 +02:00
smallmodel
840d23dcac
Fixed sizeof(index) 2023-08-16 18:28:50 +02:00
smallmodel
525a0c7c82
Renamed and moved soundSystem_t to snd_local_new.h 2023-08-16 18:14:06 +02:00
smallmodel
46c35057fb
Made omohserver an interface 2023-08-16 18:13:47 +02:00
smallmodel
6d03b9763a
Using S_LoadData 2023-08-16 18:13:30 +02:00
smallmodel
9eaecb0a2a
Fixed a crash when loading a script, on non-MSVC binaries 2023-08-16 16:07:42 +02:00
smallmodel
f9232840e4
Fixed sprint not working 2023-08-16 13:17:01 +02:00
smallmodel
3ea40fda82
Fixed runspeed values 2023-08-16 13:16:56 +02:00
smallmodel
c357c2614a
Added DEBUG_DROP_ASSERT CMake definition 2023-08-16 13:16:04 +02:00
smallmodel
efed6d0eac
Fixed script developer printf 2023-08-16 02:43:22 +02:00
smallmodel
244220f031
Fixed spawnpoint issues due to trace mask 2023-08-16 02:37:57 +02:00
smallmodel
7ce87575bc
Added MASK_PLAYERSTART 2023-08-16 02:37:25 +02:00
smallmodel
401cfeda65
Make sure to not call CanSeeEnemy() if the enemy is NULL 2023-08-16 02:31:30 +02:00
smallmodel
a45a8c7742
Fixed sentient linking/unlinking 2023-08-16 02:31:12 +02:00
smallmodel
c80b360918
Fixed "ignoreclock" event name 2023-08-16 02:22:39 +02:00
smallmodel
8514ef6ef8
Fixed Objective::SetText event parameter 2023-08-16 02:18:23 +02:00
smallmodel
9b1dc34ea1
Fixed score data for mohaas/mohaab 2023-08-16 02:08:00 +02:00
smallmodel
f5490321e7
Set default explosion to "fx/fx_explosion.tik" 2023-08-16 02:04:28 +02:00
smallmodel
1f4393e3b2
Call DM_Team::AddKills when the player got killed 2023-08-16 01:32:53 +02:00
smallmodel
8aa6a16a27
Export g_TOWObjectiveMan 2023-08-16 01:32:07 +02:00