2747 Commits

Author SHA1 Message Date
UnknownShadow200
9734be499e Port particles to C. 2017-10-13 23:45:15 +11:00
UnknownShadow200
7ce3bfae73 Start porting IDrawer2D to C. 2017-10-13 21:09:10 +11:00
UnknownShadow200
01fc0ba001 Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2017-10-13 17:42:21 +11:00
UnknownShadow200
bee175eb7c Eliminate generics usage in Particle classes 2017-10-13 12:10:03 +11:00
UnknownShadow200
0dca6357f8 squeeze a little bit of extra performance out of deflate decompressor 2017-10-12 23:57:02 +11:00
UnknownShadow200
41c2320dc6 More work on porting GUI to C. 2017-10-11 11:48:29 +11:00
UnknownShadow200
4171ae4e37 Start porting GUI code to C. 2017-10-10 18:12:38 +11:00
UnknownShadow200
057a7336a3 Optimise deflate compressor and .lvl loader even further 2017-10-09 20:34:50 +11:00
UnknownShadow200
94401a3c62 Optimise deflate decompression even further 2017-10-09 15:53:06 +11:00
UnknownShadow200
955891467b Put try{} catch{} around Console.WriteLine, fixes crashing on WINE when run without terminal 2017-10-08 20:59:24 +11:00
UnknownShadow200
d04e257e57 Accelerate common case in deflate decompressor 2017-10-08 17:24:04 +11:00
UnknownShadow200
f9fe9359db Release 0.99.9.4, because why not 0.99.9.4 2017-10-08 16:51:09 +11:00
UnknownShadow200
c2bbbbc8ce improve performance of deflate decompressor by quite a bit 2017-10-08 10:49:35 +11:00
UnknownShadow200
c6f7e557c5 Fix mistakes in PNG decoder 2017-10-08 01:09:01 +11:00
UnknownShadow200
75f031fd90 Add a PNG decoder to C client I (almost entirely) wrote from scratch 2017-10-07 23:06:04 +11:00
UnknownShadow200
ac0cc1749b Port .zip reader to C. 2017-10-07 12:42:28 +11:00
UnknownShadow200
0cc10ed7a5 Optimise deflate decompressor to be about 20% faster for large test file 2017-10-06 22:35:09 +11:00
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