89 Commits

Author SHA1 Message Date
UnknownShadow200
e20f57dcb5 Style: Namespace everything. 2016-09-26 18:33:05 +10:00
UnknownShadow200
d837e52724 Better indentation 2016-08-30 12:49:24 +10:00
UnknownShadow200
cc92a2794e oldWidth/oldHeight is never used in the gui code, removed it. 2016-07-25 12:24:57 +10:00
UnknownShadow200
7432413a77 Move gui code to a separate class. 2016-07-25 12:11:55 +10:00
UnknownShadow200
7fa3fb5ca1 Error screen is same colour as classic, minor performance optimisations for mesh building. 2016-07-06 23:47:48 +10:00
UnknownShadow200
29696560be Fix changing a colour code not changing colour in chat, only extended input widget. 2016-06-25 23:04:25 +10:00
UnknownShadow200
11f2695771 Make bottom right text group same location as normal chat group, reduce code duplication. 2016-06-20 20:21:07 +10:00
UnknownShadow200
d6266ed61e Normalise line endings to end this madness. (Thanks Jjp137) 2016-06-11 17:56:37 +10:00
UnknownShadow200
1ab620559b Fix key bindings not working due to mono compiler issue with enum initalisers. 2016-06-10 17:17:10 +10:00
UnknownShadow200
58aea5ca6b Refactor key bindings menus. 2016-06-10 15:19:14 +10:00
UnknownShadow200
1011111de7 Use original classic background colours, don't show chat background box in pure classic. (Thanks FrostFox), closes #167. 2016-05-28 23:39:54 +10:00
UnknownShadow200
e610a191e0 Draw input text over top of hotbar (Thanks FrostFox). 2016-05-26 10:01:32 +10:00
UnknownShadow200
e05c1a14ed More work on EnvMapAppearance v3. 2016-05-12 16:13:08 +10:00
UnknownShadow200
d837b31f84 Also backspace in input should backspace colour code before the character. 2016-05-08 22:06:26 +10:00
UnknownShadow200
94171a52e7 Revert debugging code from previous commit. 2016-04-24 13:58:19 +10:00
UnknownShadow200
0cc3d97ff6 Fix rain (Thanks goodlyay) 2016-04-24 13:55:36 +10:00
UnknownShadow200
0b1e9af081 Fix very rare crash when the server supports partial messages but the user's chat font has never changed and you try to paste text for all three lines. (Thanks MrGoober and tornato) 2016-04-22 11:40:14 +10:00
UnknownShadow200
35fa930ece Fix texture pack/terrain.png not changing anymore when loaded from texcache, also 'always yes/no' should not be shown in the 'sure you want to visit url' dialog. 2016-04-03 15:17:57 +10:00
UnknownShadow200
27ff9d3e44 Check CursorVisible in the game property instead of manually getting it beforehand. (Less error prone) 2016-03-31 16:33:36 +11:00
UnknownShadow200
32697c43ca Implement proper scrollbar for the block inventory, partially addresses #141. 2016-03-30 22:43:08 +11:00
UnknownShadow200
7a2e5d6049 Organise most things into namespaces. 2016-03-27 09:33:51 +11:00
UnknownShadow200
d8e8d32340 Show progress bar for fetching resources in the launcher. 2016-03-26 20:04:13 +11:00
UnknownShadow200
b857bf23ec Implement 'classic + hax' mode, also show 'choose mode' instead of 'pure classic mode' in the launcher. 2016-03-26 17:45:52 +11:00
UnknownShadow200
a78205c45a Add copyright notices to every source file. 2016-03-26 13:51:42 +11:00
UnknownShadow200
663f6f2a8c Remove leftover debugging code. 2016-03-03 22:07:17 +11:00
UnknownShadow200
c5b2ff1efe Implement multi-line link wrapping. 2016-03-03 21:46:21 +11:00
UnknownShadow200
b859739cb7 Show texture pack download status in top right corner. 2016-03-02 13:37:45 +11:00
UnknownShadow200
32f6ba8563 Fix chat not scrolling back properly when many empty lines. (Thanks Good) 2016-03-02 12:53:02 +11:00
UnknownShadow200
2d4e6a7394 Fix status messages overlapping the F9 clock when moving to other worlds. (Thanks 123DMWM) 2016-03-02 10:54:09 +11:00
UnknownShadow200
da6c5eed3d Fix fire playing wood sound, clipboard copying with invalid characters should still insert the valid characters (Thanks 123DontMessWitMe), add 0 chatlines support and fix crashing on chatlines less than 10. (Thanks mtndewissewthing) 2016-02-08 21:23:09 +11:00
UnknownShadow200
4811f15bf3 Announcement texture should be in top quarter, fix non-32 bpp terrain.png files crashing client when saved to texturecache (Thanks goodlyay), fix hotkeys not being removed when closing client then the launcher (Thanks 123DontMessWitMe). 2016-02-07 11:59:53 +11:00
UnknownShadow200
36ff4f7b6e Add 'time been playing for' that can be shown by pressing F9 (Thanks BDlikes), finally finish entity shadows. 2016-02-05 18:51:06 +11:00
UnknownShadow200
70243e6838 Allow using non-arial font names. 2016-02-01 18:11:06 +11:00
UnknownShadow200
4279ed3f78 Make menu in 'pure classic mode' more like original classic. 2016-01-30 23:20:03 +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
bcd9d665cd Fix chat being moved slightly up a new texture pack is received(Thanks 123DontMessWitMe), and fix not being able to cycle fog distance forwards when view distance is past 'max fog' from EnvMapAppearance 2 packet. (Thanks again 123DontMessWitMe) 2016-01-19 00:13:24 +11:00
UnknownShadow200
f6d083f280 Slightly reduce own player bobbing to be less noticable (Thanks Cecil), add a confirmation dialog when selecting 'no/always no' to a texture pack (Thanks goodlyay), move arial chat font back to its more logical place in gui options. (Thanks FabTheZen) 2016-01-15 22:18:11 +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
f4ce55cb5c Keypad enter sends chat, double jump loads option and defaults to false, fly is not affected by speed multiplier (Thanks nyxzimus), control+backspace should not remove the space (Thanks FabTheZen), fixes #126. 2016-01-12 10:22:58 +11:00
UnknownShadow200
b79de4c457 Create and implement the CpeTextColours extension. 2016-01-10 21:05:46 +11:00
UnknownShadow200
5e29f5cd23 Add tilde auto-completion (Thanks 123DontMessWitMe) 2016-01-09 20:00:20 +11:00
UnknownShadow200
6ac0e096a4 Add a warning to chat (always shown at button of chat area) when using multiple-line messages on servers that don't support LongerMessages. 2016-01-09 15:23:28 +11:00
UnknownShadow200
da1d880c8c Some minor touchups: play place sound, allow using arrow keys in launcher colour scheme, can press F1 when chat input is open. (Thanks Fudgie and ScruffyRules) 2016-01-07 22:55:49 +11:00
UnknownShadow200
edd321762e Fix clickable chat not properly checking input for invalid characters on non-FullCP437 servers. (Thanks WhatIDoHere) 2016-01-05 13:33:31 +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
15bb7b1716 HUD scale should not affect chat (Thanks bludude4), start work on singleplayer generator. 2015-12-04 14:32:08 +11:00
UnknownShadow200
5987d152b1 Respect whether a block is 'full bright' for block models. 2015-12-01 16:58:43 +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
c08ce14c92 Option to disable clicking chat copies to input bar. 2015-11-23 13:21:13 +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