40 Commits

Author SHA1 Message Date
UnknownShadow200
e20f57dcb5 Style: Namespace everything. 2016-09-26 18:33:05 +10:00
UnknownShadow200
0ab5ef4434 Rename INetworkProcessor to the more descriptive IServerConnection, since it does not necessarily actually use the network. 2016-09-11 12:52:00 +10:00
UnknownShadow200
a73630432e Don't centre cursor when window is not focused.
Fixes cursor being moved to centre of client's window, when you are interacting with another application, and you finish joining another map.
2016-08-03 14:57:50 +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
ea12b5a428 Also add very simple dynamic lighting. 2016-07-12 19:54:34 +10:00
UnknownShadow200
123b452fbc Fix crosshairs being every so slightly off centre. (Thanks goodlyay) 2016-06-23 12:41:46 +10:00
UnknownShadow200
d6266ed61e Normalise line endings to end this madness. (Thanks Jjp137) 2016-06-11 17:56:37 +10:00
UnknownShadow200
58aea5ca6b Refactor key bindings menus. 2016-06-10 15:19:14 +10:00
UnknownShadow200
41a85c95c1 Make selected block outline a bit better. 2016-06-09 00:26:39 +10:00
UnknownShadow200
1b8861b8a9 Don't render hotbar twice when inventory menu is open, oops. 2016-06-08 15:24:33 +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
087be01db2 Disable players tab list in singleplayer (makes no sense), disable alt text widget in classic mode. 2016-05-26 21:17:19 +10:00
UnknownShadow200
e610a191e0 Draw input text over top of hotbar (Thanks FrostFox). 2016-05-26 10:01:32 +10:00
UnknownShadow200
5498c5e4fa Use icons.png crosshairs if given, partially addresses #187. 2016-05-12 16:56:13 +10:00
UnknownShadow200
442d72bd6b More usage of IGameComponent 2016-05-08 18:53:52 +10:00
UnknownShadow200
3aca306645 Fix pressing tab then escape clearing the items in the tab list but still showing its box. (Thanks JplaysClassic) 2016-05-08 13:18:11 +10:00
UnknownShadow200
1e3fad5930 Make all game components handle new map / new map loaded. 2016-05-01 11:23:38 +10:00
UnknownShadow200
2bb67cd2f1 More usage of IGameComponent, modularise OnLoad. 2016-04-27 17:06:55 +10:00
UnknownShadow200
3b5f676a7a Fix scaling of all other default.png text. 2016-04-20 11:19:37 +10:00
UnknownShadow200
a8cd79abcd Fix client crashing after clicking 'chat scale', then 'use font', then 'chat scale' again. 2016-04-20 09:48:23 +10:00
UnknownShadow200
ef34766b2b More fixes for default.png, fix 'okay' widget not being properly closed when clicking on 'use font'. 2016-04-19 18:02:11 +10:00
UnknownShadow200
a3d2a46baa Fix underline on default.png backend (Thanks FabTheZen), reduce padding in chat. 2016-04-18 20:24:51 +10:00
UnknownShadow200
69a0b146b6 Active option should be in yellow-ish text, also make 'done' buttons bigger in classic mode. (Thanks FrostFox) 2016-04-16 22:56:31 +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
a78205c45a Add copyright notices to every source file. 2016-03-26 13:51:42 +11:00
UnknownShadow200
5668b3328f Chat/hud should still be rendered when map is loading/generating. (Thanks FabTheZen) 2016-02-04 16:27:26 +11:00
UnknownShadow200
70243e6838 Allow using non-arial font names. 2016-02-01 18:11:06 +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
6621f81cda Implement the old classic player list. 2016-01-12 14:26:39 +11:00
UnknownShadow200
7a866f351e Add auto tab-complete as an option under gui options. 2016-01-10 12:57:32 +11:00
UnknownShadow200
5e29f5cd23 Add tilde auto-completion (Thanks 123DontMessWitMe) 2016-01-09 20:00:20 +11:00
UnknownShadow200
8b73b0a713 Minor code cleanup, separate event classes. 2015-12-29 16:24:54 +11:00
UnknownShadow200
3789499245 Middle mouse click should change selected index, not swap block (Thanks goodlyay), also clicking on block in hotbar should move to that block in the block select screen (Thanks FabTheZen). 2015-12-25 13:23:59 +11:00
UnknownShadow200
7208d2e7dc Make text input bar have a small background when empty, allowing entering colour codes directly into chat, add support for clicking on urls. 2015-11-14 22:02:45 +11:00
UnknownShadow200
c5a1f5a27e Fix bug with tab list when help down from map change (Thanks 123DMWM), don't show sides/edge block if it is air, add basis for new colours/emotes gui. 2015-11-10 18:46:23 +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
f1a7a0e513 Remove 'Add new' from hotkeys, just clicking on empty hotkey line does the same thing. Make HUD show behind pause and block menu screen. 2015-11-08 17:03:44 +11:00