2730 Commits

Author SHA1 Message Date
UnknownShadow200
42187bb598 Fix poor performance case in deflate reading, when input was at end of stream 2017-10-06 17:18:11 +11:00
UnknownShadow200
d1ea5db277 Fix some mistakes when there's not a lot of output bytes available 2017-10-06 15:36:54 +11:00
UnknownShadow200
24ca19efb9 Implement basic LZ77 decompressing 2017-10-06 13:51:19 +11:00
UnknownShadow200
478d96328a Fix huffman decoding bug. Now to implement LZ77 bit of deflate 2017-10-06 12:30:33 +11:00
UnknownShadow200
7d1b66f8b4 Fix compilation errors with deflate.c
Forgot to add deflate.h to previous git commit
2017-10-06 11:38:55 +11:00
UnknownShadow200
0630c8c585 Port .lvl and .fcm importers to C. 2017-10-06 10:38:49 +11:00
UnknownShadow200
76ecf4bde6 Deflate decompressor now works with streaming input. Still a bug somewhere though. 2017-10-05 23:53:05 +11:00
UnknownShadow200
bdc4c948cb Make texture width/height unsigned instead of signed 16 bits 2017-10-04 15:03:59 +11:00
UnknownShadow200
5b8f18ffdb Combine Respawn.h with World.h, fix some critical mistakes in deflate.c 2017-10-03 22:40:27 +11:00
UnknownShadow200
5770da738e Increase size of deflate input buffer to 4096 2017-10-03 21:00:23 +11:00
UnknownShadow200
7b19a49f0e Read length and dist for LZ77 2017-10-03 11:41:55 +11:00
UnknownShadow200
45ab141e81 Actually read using huffman accelerated table 2017-10-02 22:55:44 +11:00
UnknownShadow200
8b6abe1b33 Compute accelerated huffman codes, fix mistakes with uncompressed reading 2017-10-02 21:50:30 +11:00
UnknownShadow200
ad21af6c53 Fix last commit causing entity names to render wrongly 2017-10-01 10:46:20 +11:00
UnknownShadow200
1c00b428ce Fix text consisting of only colour codes (no actual chars) behaving differently depending on whether use font was on or off 2017-10-01 09:38:03 +11:00
UnknownShadow200
ee7fe69d40 On the crash dialog, show the directory of the client 2017-10-01 00:51:53 +10:00
UnknownShadow200
fa7d6d6b20 Implement fixed/static huffman tables 2017-09-30 16:09:53 +10:00
UnknownShadow200
3d230bc356 Now read literal and distance huffman tables 2017-09-30 15:52:14 +10:00
UnknownShadow200
9509742b32 huffman decoding works, although very slow 2017-09-30 11:12:35 +10:00
UnknownShadow200
118c0a1dde Revert "huffman decoding works, although very slow"
This reverts commit 6407f5c5ad9e33bd350ab3cb2a336f4125ebc678.
2017-09-30 11:11:05 +10:00
UnknownShadow200
6407f5c5ad huffman decoding works, although very slow 2017-09-30 11:10:33 +10:00
UnknownShadow200
6e39903c3b fix some mistakes in huffman table building. too tired. 2017-09-30 00:53:49 +10:00
UnknownShadow200
2cc9bf7801 fix undefined behaviour in Deflate.c 2017-09-30 00:45:50 +10:00
UnknownShadow200
2a5a916e4c Fix uninitalised variable usage in Camera file 2017-09-30 00:24:41 +10:00
UnknownShadow200
f2dc8c2bbd Create file implementation for Stream struct 2017-09-30 00:18:29 +10:00
UnknownShadow200
de7e424877 start work on writing huffman decoder for deflate 2017-09-29 23:32:08 +10:00
UnknownShadow200
3f8e1cb93e Increase env limits by a factor of 512 2017-09-29 19:46:14 +10:00
UnknownShadow200
29b4894c78 Fix opengl C backend crashing 2017-09-29 00:28:04 +10:00
UnknownShadow200
e614908177 Port DisplayDevice to C. 2017-09-29 00:05:34 +10:00
UnknownShadow200
97c100879f Port OpenGL context code across. 2017-09-28 23:51:18 +10:00
UnknownShadow200
a2c61c20f2 Mostly port OpenGL API to C. 2017-09-28 20:58:50 +10:00
UnknownShadow200
9556b1a384 If 'useclouds' is in the texture pack zip, then both the skybox and clouds render. 2017-09-28 12:23:45 +10:00
UnknownShadow200
a5265295e9 Divide skybox speed by 1024 instead of 128 2017-09-27 10:50:07 +10:00
UnknownShadow200
b85afc73f9 Add ability to rotate skybox 2017-09-27 10:12:05 +10:00
UnknownShadow200
fdb83f143e Fix launcher input widget caret still blinking when inserting text or moving cursor, fixes #376 2017-09-24 22:25:45 +10:00
UnknownShadow200
869a8639b8 Disable pushing when flying, start work on DEFLATE decompressor from scratch. 2017-09-23 12:23:57 +10:00
UnknownShadow200
372c4040da Fix mipmaps on windows 98 opengl backend 2017-09-22 00:12:26 +10:00
UnknownShadow200
acd19ceda2 get rid of generics usage in multiple places 2017-09-21 23:03:58 +10:00
UnknownShadow200
b09b9c74b0 get rid of generics usage in KeyBindingsScreen 2017-09-21 22:17:04 +10:00
UnknownShadow200
85bd926105 less usage of C# generics 2017-09-21 22:04:51 +10:00
UnknownShadow200
a20c91ccc3 Get rid of duplication FastColour.Parse and FastColour.TryParse 2017-09-21 15:52:50 +10:00
UnknownShadow200
a13c673d5f turns out GZipStream.ReadByte() allocates a 1 byte array each time, so avoid that 2017-09-20 14:49:00 +10:00
UnknownShadow200
39fa4279d3 Fix client not compiling when using 16 bit block ids 2017-09-20 09:59:06 +10:00
UnknownShadow200
38ea2919c2 eliminate pointless M11-M44 get/set in Matrix4 2017-09-19 23:41:32 +10:00
UnknownShadow200
7a77a34b14 Little bit less use of generics 2017-09-19 23:11:59 +10:00
UnknownShadow200
7000e9d0c1 Don't always recreate context when changing FPS, only do when vsync state changes, and only on direct3d9 backend. 2017-09-19 15:26:55 +10:00
UnknownShadow200
0b3cbfac7a Fix empty chat lines not contributing to height of box behind recent chat. 2017-09-19 11:03:05 +10:00
UnknownShadow200
e787c45147 ZipEntry doesn't need CompressedHeaderOffset 2017-09-18 19:15:24 +10:00
UnknownShadow200
92664c258a Add +/-push to disallow player pushing in MOTD. 2017-09-18 14:02:26 +10:00
UnknownShadow200
6113c4c270 Fix /client tp [invalid coords] tping you to 0,0,0 2017-09-17 23:41:31 +10:00