48 Commits

Author SHA1 Message Date
UnknownShadow200
a2aa233759 fix tinting 2017-02-07 16:33:39 +11:00
UnknownShadow200
f680bd0706 Optimise inventory rendering 2017-02-07 16:18:56 +11:00
UnknownShadow200
69dd8af17c reduce code duplication 2017-02-07 15:19:06 +11:00
UnknownShadow200
98d435b110 fix licensing 2017-01-20 09:12:04 +11:00
UnknownShadow200
eddf8229f0 Optimise block tinting 2016-12-21 14:27:24 +11:00
Goodlyay
a4cb1e80be Core: add block tinting
Uses the fog colour components of the block to tint it if the name ends
with "#".
2016-12-20 19:05:29 -08:00
UnknownShadow200
1aef52fab2 Use standard indentation for everything. 2016-11-27 14:47:09 +11:00
UnknownShadow200
00f28e2039 Style: Start simplifying BlockInfo 2016-10-29 13:15:00 +11:00
UnknownShadow200
f0047be63c Style: Remove CommandReader class, move stuff from ClassicalSharp.TexturePack to ClassicalSharp.Textures 2016-10-17 17:15:24 +11:00
UnknownShadow200
273b3b32e2 Gfx: Remove unnecessary parameter from UpdateDynamicIndexedVb 2016-10-10 09:13:32 +11:00
UnknownShadow200
8c292d92e3 Use packed ints instead of 4 byte fields in vertex structs. 2016-07-10 11:23:20 +10:00
UnknownShadow200
b5d4093873 Fix sprites being mirrored incorrectly in inventory. (Thanks 123DMWM) 2016-07-09 23:35:03 +10:00
UnknownShadow200
d6266ed61e Normalise line endings to end this madness. (Thanks Jjp137) 2016-06-11 17:56:37 +10:00
UnknownShadow200
2d7cf38a52 Final pass of optimising isometric block drawing. 2016-05-13 19:06:49 +10:00
UnknownShadow200
ce4d050c73 Second pass of optimising isometric block drawing. 2016-05-13 18:26:49 +10:00
UnknownShadow200
e9ea36a03c First pass of optimising isometric block drawing. 2016-05-13 18:06:20 +10:00
UnknownShadow200
4d8b0fc3d8 Use bitflags instead of booleans for hidden so it can better fit in cache. 2016-05-06 13:43:25 +10:00
UnknownShadow200
3f6b25dccb Round 2 of inlining performance hotspots. 2016-04-26 23:45:25 +10:00
UnknownShadow200
b1f69e7c25 Optimise isometric block drawing. 2016-04-26 11:59:26 +10:00
UnknownShadow200
ba3418908d Fix top face in IsometricBlockRenderer being oriented incorrectly. (Thanks goodlyay) 2016-04-10 15:21:44 +10:00
UnknownShadow200
3865bc6888 Rename vertices structs to a more concise one, also fix issue with progress bar very very rarely overflowing when the server overflows on computing the progress value, by instead computing it client-side. (Thanks 123DontMessWitMe) 2016-03-29 20:45:52 +11:00
UnknownShadow200
7a2e5d6049 Organise most things into namespaces. 2016-03-27 09:33:51 +11:00
UnknownShadow200
a78205c45a Add copyright notices to every source file. 2016-03-26 13:51:42 +11:00
UnknownShadow200
1af8e2488a Fix adding/removing custom colours causing chat to be moved up, also fix alt text widget being drawn over top of text input widget. 2016-01-27 23:40:09 +11:00
UnknownShadow200
cccea6f233 Fix sprites in the inventory/hotbar not rendering the four parts in the correct Z order, also make sprites a little bit bigger. 2016-01-27 23:26:55 +11:00
UnknownShadow200
599944d943 Fix isometric blocks/block models sampling from wrong vertical location and fix order of rendering of elements in the hotbar. (Thanks 123DontMessWitMe) 2016-01-17 16:40:14 +11:00
UnknownShadow200
c11f1d2ebd Add separate option for hotbar and inventory scale (Thanks FabTheZen), also fix blocks in hotbar not properly scaling on large resolutions. 2016-01-13 23:32:26 +11:00
UnknownShadow200
363a847152 Use animations in inventory and hotbar. (Thanks FabTheZen) 2016-01-13 23:12:03 +11:00
UnknownShadow200
169a5538f6 Fix some isometric blocks top faces being drawn with the wrong texture coords. (Thanks 123DontMessWitMe) 2016-01-08 10:35:14 +11:00
UnknownShadow200
619a713ae7 Make the updates screen nicer to use. 2016-01-02 21:50:28 +11:00
UnknownShadow200
06b0562695 Touchup launcher a bit and make default height 40 pixels smaller, also fix clicking 'use sounds' multiple times causing the client to crash. 2015-12-31 15:26:04 +11:00
UnknownShadow200
0102471e91 Implement gas block draw type in BlockDefinitions, also allow press function keys in text input widget (Thanks FabTheZen). 2015-12-30 21:42:20 +11:00
UnknownShadow200
09757d6316 Fix isometric blocks not respecting fullbright (Thanks Empy), fix 'stepping/walking' physics not working with custom stairs. 2015-12-28 22:12:23 +11:00
UnknownShadow200
ac1934b37f Fix isometric block textures being back to front, fix isometric block textures not using minBB/maxBB for u coordinates in x/z face quads. 2015-12-27 21:22:11 +11:00
UnknownShadow200
66e0bc887c Isometric block rendering now works with non 0 minX/Y/Z and non 1 maxX/Z. 2015-12-23 21:58:05 +11:00
UnknownShadow200
6fb7e099f9 Remove Height[] array and use MaxBB[].Y in its place, also fix sprites being drawn with wrong height in block in hand. 2015-12-23 17:43:45 +11:00
UnknownShadow200
4ccbc900a1 Option to hide block in hand, make back to X smaller and move quit game to right of it, use waithandle instead of Thread.sleep so music thread doesn't keep client alive. 2015-11-30 08:08:32 +11:00
UnknownShadow200
b38a61cea6 Fix client crashing if default texture pack didn't have default.png, block hotbar now shows when block select screen is enabled. Block hotbar and select screen now scale natively with resolution. 2015-11-09 19:53:24 +11:00
UnknownShadow200
c8061b64fd Cleanup SelectionManager, don't show all 64 spaces in ChatInputWidget. 2015-11-08 16:32:08 +11:00
UnknownShadow200
f678a2b6c6 Update main screenshot to use default.png 2015-10-29 06:28:23 +11:00
UnknownShadow200
e1a244e319 Implement servers list and stuff. 2015-10-20 12:57:18 +11:00
UnknownShadow200
59990d2899 More comments, improve gui: Autohide chat when input bar isn't in use, hide selection box when gui is hidden. 2015-10-11 20:22:20 +11:00
UnknownShadow200
1f54263749 Fix sprites not being full bright if they should, overhaul fps screen to also display current position and hack states. FPS can be hidden with option 'Show FPS' now. 2015-10-08 19:39:27 +11:00
UnknownShadow200
d084385215 Fix 2D gui being affected by fog when in lava, optimise IsometricBlockDrawer by avoiding redundant calculations. 2015-10-08 16:47:53 +11:00
UnknownShadow200
ad57351cf2 Fix isometric blocks. Save chat font size and mouse sensitivity settings. Enter and keypad enter now do the same thing as clicking on 'OK' in menu screens. 2015-10-07 19:39:20 +11:00
UnknownShadow200
b0091a8628 Use isometric blocks in BlockSelectScreen. 2015-10-07 18:14:59 +11:00
UnknownShadow200
a74f6af339 Use isometric blocks in hotbar. (Doesn't work for sprites, texture bleeding for Direct3D9 build) 2015-10-07 16:16:39 +11:00
UnknownShadow200
b000dcd543 Add functionality for isometric block drawing for gui, simplify and arrange graphics api info, add warning for intel graphics cards users that they should use Direct3D build because of the lousy OpenGL implementation. 2015-10-06 20:15:48 +11:00