1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 18:24:05 +02:00
Commit graph

233 commits

Author SHA1 Message Date
62026515d7 string table messages write 2021-07-19 18:00:14 +02:00
a794df5a5f remove old loop bin what was used for performance measurements 2021-07-18 22:41:21 +02:00
34533a9608 write TempEntitiesMessage 2021-07-18 21:41:06 +02:00
7fe9fd0fce dont store table name as string in sendpropdefinition 2021-07-18 20:31:38 +02:00
e901fca07a remove last Rc<String> usage 2021-07-18 20:16:03 +02:00
67e1a3ef32 write DataTablePacket 2021-07-18 16:40:25 +02:00
26e57ca59b ParseSendTable write 2021-07-18 16:18:34 +02:00
35b0bb15ee cvar write 2021-07-18 15:11:19 +02:00
a55217cc55 game event writing 2021-07-18 15:03:26 +02:00
5573ec5db2 clippy fixes 2021-07-17 15:37:15 +02:00
71f85bfe45 game event write work 2021-07-17 15:02:16 +02:00
36077864ad remove the need to read raw game event before transforming into game event 2021-07-16 23:51:35 +02:00
b517df0e57 add GameEventType::as_str 2021-07-16 21:51:48 +02:00
715c41aecc classinfo fix and write 2021-07-16 21:35:27 +02:00
54f16e2031 bitbuffer update 2021-07-16 21:22:34 +02:00
5ec81e168f write wip 2021-07-15 22:41:58 +02:00
af669d34df voice encoding 2021-07-13 22:36:25 +02:00
9a9bcdc9df some write progress 2021-07-13 20:42:59 +02:00
5ea5983a74 make user info parsing reusable 2021-07-11 17:32:34 +02:00
746176ceb5 player entity ids are off by 1 2021-07-11 17:10:02 +02:00
3ab0a1b325 0.2.5 2021-07-11 16:11:15 +02:00
5547e31810 0.2.4 2021-07-11 16:07:03 +02:00
9f96257b80 const new for SendPropIdentifier 2021-07-11 15:07:50 +02:00
c2fe8eca07 ignore empty text messages 2021-06-03 23:44:43 +02:00
bb79d269d8 add some sanity checks to compressed and decompressed size for snap encoded string tables 2021-05-23 14:09:28 +02:00
3b1f9b89b5 update dependencies 2021-05-22 17:44:29 +02:00
4d87f5b279 prevent panic on invalid compressed stringtable size
fixes #2
2021-05-22 17:35:27 +02:00
e2a631cef3 fix handling of some saytext2 messages 2021-02-16 17:13:27 +01:00
a3fc003437 shove changes_often into the enum 2021-02-13 16:55:22 +01:00
0a34318c65 normalize prop definitions during flatening 2021-02-13 16:39:11 +01:00
35519d5fce dont stop prop and table name in sendprop 2021-02-13 14:48:55 +01:00
df9a6a138e strongly typed sendpropdefinition 2021-02-13 01:25:03 +01:00
1258827b54 update dependencies 2021-02-12 23:21:27 +01:00
3f4722bfea allow creating owned Demo 2021-01-11 20:59:40 +01:00
Tails8521
6ecb665f33 make handler public so custom analyzers can impl BorrowMessageHandler 2021-01-11 20:47:21 +01:00
Tails8521
b7e6db1f4f made DemoTicker cloneable 2021-01-11 20:46:58 +01:00
2e740c8f2f dont hard error when packet is cut off 2021-01-11 00:10:45 +01:00
8f754d3f44 fix handling of mallformed utf8 2020-12-06 21:22:53 +01:00
e5e54de65d make parserstate static 2020-12-06 20:55:02 +01:00
25f24b63f6 remove the need to allocate all messages in a packet 2020-12-06 19:30:54 +01:00
28ad5fafde cow string table name 2020-12-06 19:26:18 +01:00
9f0acad361 cow stringtable 2020-12-06 17:42:15 +01:00
f9116ef9f7 loop binary for 'perf' reasons 2020-12-06 17:09:11 +01:00
a4ddd586dd borrowed data 2020-12-06 00:55:54 +01:00
fed1da5cb0 non buffered bitbuffer 2020-12-05 22:49:39 +01:00
35c6f19a2c analyser access 2020-11-30 20:31:30 +01:00
992941b5e4 fmt 2020-11-30 20:31:30 +01:00
Lasse Dalegaard
63b2f2e599 Rename VoiceInit extra_data to sampling_rate
When quality is 255, an extra field is included in the VoiceInit
message. This field is the sampling rate for the voice codec selected.
This commit simply renames that field from `extra_data` as it is
currently known.

Interestingly, this field is present, but doesn't match when CELT HQ is
used. If `sv_voicecodec = vaudio_celt_high` on the server, the sampling
rate is still specified as 22050 Hz(as for CELT non-HQ) rather than the
expected 44100 Hz.  The client code will instead look for `vaudio_celt`
and `vaudio_celt_high` as codec name, and use these to to index a lookup
table that specifies the correct sampling rate and frame size. For
`vaudio_celt` 22050 Hz with 512 samples per frame is used, while
`vaudio_celt_high` uses 44100 Hz with 1024 samples per frame.
2020-03-27 13:07:22 +01:00
8f2c732945 fixes 2020-03-05 23:34:05 +01:00
c0117de169 adjust to bitbuffer rename 2020-02-13 00:02:43 +01:00