70 Commits

Author SHA1 Message Date
UnknownShadow200
619fd5ded4 Implement partial default.zip updates. 2016-05-15 20:44:32 +10:00
UnknownShadow200
088d939e1c Perform coordinate validation for animations (Thanks silly texture pack creators). 2016-05-14 22:05:52 +10:00
UnknownShadow200
8f8ae2f36f Initial work on texture packs. 2016-05-14 20:37:07 +10:00
UnknownShadow200
5498c5e4fa Use icons.png crosshairs if given, partially addresses #187. 2016-05-12 16:56:13 +10:00
UnknownShadow200
e59b2b4c2b Fix Z-fighting and incorrectly not drawing issues for translucent blocks. 2016-05-11 18:59:37 +10:00
UnknownShadow200
91cfde2fca Fix sound playing at top of now bottom of leg animation cycle. (Thanks goodlyay) 2016-05-11 17:10:16 +10:00
UnknownShadow200
d02d56d01b Textures array should be bytes not ints. 2016-05-10 15:08:12 +10:00
UnknownShadow200
ec050aaefc Move code away from TexturePackExtractor into their logical classes. 2016-05-08 23:27:58 +10:00
UnknownShadow200
723585661a Make Animations a game component, make TexturePackExtractor less hardcoded. 2016-05-08 23:05:56 +10:00
UnknownShadow200
d837b31f84 Also backspace in input should backspace colour code before the character. 2016-05-08 22:06:26 +10:00
UnknownShadow200
7042dccd2f Fix gui/gui.png not being treated as gui.png, fixes #188. 2016-05-06 15:32:43 +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
f63ca316d7 Reject invalid terrain.png (non square, non power of 2) instead of crashing. (Thanks 123DMWM) 2016-05-06 13:19:11 +10:00
UnknownShadow200
ca0b9cc038 Fix client crashing when animations.txt exists and animations.png is missing (Thanks Chameleonherman), fixes #183. 2016-05-06 12:38:21 +10:00
UnknownShadow200
5b8cf2b1c3 Also store ETags for 'If-None-Match' type cache methods (such as dropbox), fixes #180. 2016-05-02 16:51:40 +10:00
UnknownShadow200
e7f6fbc3c1 Fix clicking 'updates' in launcher when not connected to the internet crashing the launcher. 2016-04-21 07:42:42 +10:00
UnknownShadow200
7bac3ea708 Fix players with default skins being messed up when they switch to a texture pack that has a different default skin type. (e.g. 64x32 --> 64x64) 2016-04-19 18:58:01 +10:00
UnknownShadow200
0e6f529303 Fix client crashing when font texture isn't 32bpp, closes #168. (Thanks AndrewPH) 2016-04-14 22:52:13 +10: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
e1c6e1f015 Should be using or instead of and in UrlsList.Load, fixes crashing in certain circumstances. (Thanks 123DMWM and Gankuro) 2016-03-21 23:41:08 +11:00
UnknownShadow200
05336ee5ca Removed herobrine. 2016-02-11 11:43:00 +11:00
UnknownShadow200
d6e541bc91 Minor memory optimisations. 2016-02-02 19:04:20 +11:00
UnknownShadow200
7427d399c5 Particles now use the 1D texture atlas arrays. This means we no longer need a copy of the 2D terrain atlas in vram. 2016-01-31 23:54:45 +11:00
UnknownShadow200
0f87b7feb5 Specify whether the FastBitmap instance is readonly or not. (Mainly for android) 2016-01-21 21:19:23 +11:00
UnknownShadow200
101cbc5f06 Add more methods for android, add platform class to abstract away some platform differences. 2016-01-07 22:29:40 +11:00
UnknownShadow200
784bcd73b4 Allow using classic gui.png texture. 2016-01-02 23:49:05 +11:00
UnknownShadow200
36115c7b80 Add an 'always yes/always no' option to texture pack warning screen. 2016-01-02 23:20:35 +11:00
UnknownShadow200
53ddd3f829 Fix 'ping packet not being received for over 15 seconds' being shown when not actually disconnected, fix 'Use texture pack' always being shown. 2015-12-30 23:23:43 +11:00
UnknownShadow200
db930bbd66 Fix select texture pack being broken. (Thanks ShadowMewssacre) 2015-12-30 14:31:33 +11:00
UnknownShadow200
1bb4b9d99b Move texture packs and map files into their own sub-directories. 2015-12-30 13:54:33 +11:00
UnknownShadow200
f03148555e Use absolute instead of relative paths, launching ClassicalSharp from terminal works properly now. 2015-12-27 22:51:26 +11:00
UnknownShadow200
5ba8539c03 Initial progress on non 0 minX/Z and non 1 maxX/Z blocks. 2015-12-23 14:20:30 +11:00
UnknownShadow200
79690b405c Update SharpWave.dll to eliminate music crackling, load (but not used yet) gui.png texture. 2015-11-29 09:50:00 +11:00
UnknownShadow200
b83a5228f8 Modularise game class somewhat, start commenting the fields/properties of game class. 2015-11-28 20:20:04 +11:00
UnknownShadow200
0defe3b66c Block break particles should account for block height, more work on rain particles. 2015-11-22 23:58:10 +11:00
UnknownShadow200
97a38f3cf4 Show warning screen for first time a texture pack is sent to the client. Fix bugs with being able to press B in both error and map loading screens. 2015-11-14 17:56:36 +11:00
UnknownShadow200
d05fdd1aa0 Update entity names when default.png changes. 2015-11-11 15:02:58 +11:00
UnknownShadow200
c8061b64fd Cleanup SelectionManager, don't show all 64 spaces in ChatInputWidget. 2015-11-08 16:32:08 +11:00
UnknownShadow200
bab357300e Add a texture caching mechanism to reduce bandwidth usage and speed up texture pack loading. 2015-11-07 08:24:42 +11:00
UnknownShadow200
57d4a937c8 Press F8 (temp debug) to switch between default.png and arial for chat. 2015-10-28 16:40:36 +11:00
UnknownShadow200
2493feb86f Initial implementation of being able to switch between arial and default.png (only works for FPSscreen right now) 2015-10-28 07:20:15 +11:00
UnknownShadow200
72db7f7245 add support for italics and whatnot, add support for loading default.png from different texture packs (but I need to force redraw of all gui) 2015-10-27 19:46:22 +11:00
UnknownShadow200
c7ebbf985b Fix block model on AMD, fix /client gpu info crashing client, add support for default minecraft font. 2015-10-27 18:02:57 +11:00
UnknownShadow200
59aa0a1c07 Remove console window from default builds. 2015-10-27 07:08:46 +11:00
UnknownShadow200
f63d1e35e1 Begin to phase out usage of LogX/Y/Z calls, see issue #108 for why this is being done 2015-10-26 19:55:16 +11:00
UnknownShadow200
9e15c3775b Add tab to new launcher, make sprite bounding boxes exactly match the texture. 2015-10-22 18:29:12 +11:00
UnknownShadow200
d06bca9dba Fix crashing of client on all platforms, fix new launcher crashing on linux. 2015-10-21 19:23:42 +11:00
UnknownShadow200
7cf129963d More comments, new launcher works on linux. 2015-10-21 18:30:18 +11:00
UnknownShadow200
6c7fca02ef Hopefully fix UV issues with blocks and models on AMD cards. 2015-10-21 11:24:07 +11:00