48 Commits

Author SHA1 Message Date
UnknownShadow200
e20f57dcb5 Style: Namespace everything. 2016-09-26 18:33:05 +10:00
UnknownShadow200
7432413a77 Move gui code to a separate class. 2016-07-25 12:11:55 +10:00
UnknownShadow200
1b8861b8a9 Don't render hotbar twice when inventory menu is open, oops. 2016-06-08 15:24:33 +10:00
UnknownShadow200
e9ea36a03c First pass of optimising isometric block drawing. 2016-05-13 18:06:20 +10:00
UnknownShadow200
5498c5e4fa Use icons.png crosshairs if given, partially addresses #187. 2016-05-12 16:56:13 +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
b9368a8a62 Make GenerateLevel menu description widgets match indention. 2016-04-19 11:54:46 +10:00
UnknownShadow200
3f146a15e6 Don't clamp the cursor to the centre of the block when scrolling in the inventory screen. (Thanks FabTheZen) 2016-04-01 10:24:47 +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
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
37d055244d Fix compiler warnings about unused code on Mono, also fix tab moving cursor to middle not end of input widgets. (Thanks FabTheZen) 2016-01-14 09:57:36 +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
59a968662b Add control left for half speed modifier, also save spawn yaw/pitch (Thanks FabTheZen). 2016-01-08 17:52:58 +11:00
UnknownShadow200
526fa9669c Properly fix rope, also draw selected texture over top of isometric blocks. 2016-01-06 23:21:00 +11:00
UnknownShadow200
784bcd73b4 Allow using classic gui.png texture. 2016-01-02 23:49:05 +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
59d0b2da74 Treat .zip as texture packs in EnvMapAppearance packets, use builds.json for determing latest builds. 2015-12-01 10:41:48 +11:00
UnknownShadow200
3a15ef9024 Fix hotbar scaling blocks wrong, fix skins not working when used by multiple entities (Thanks 123DMWM) 2015-11-30 15:14:10 +11:00
UnknownShadow200
a13d3147bc Use gui.png. 2015-11-30 14:16:48 +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
75fce33012 Move gui options into own screen, allow scaling of chat size in addition to overall hud size. 2015-11-22 11:07:57 +11:00
UnknownShadow200
2f940aebaa Option for all hud scaling, replaces chat font size. Also make block select screen slightly less big at higher scalings. 2015-11-15 21:49:35 +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
736f17001f Chat position should be reset upon closing input, border in block hotbar should scale, slightly reduce size of blocks in block hotbar. 2015-11-10 11:29:38 +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
0ed701e438 Fly should not be enabled when flying permission is disabled. 2015-11-08 18:40:07 +11:00
UnknownShadow200
928ab17ec2 More comments. 2015-11-03 16:26:15 +11:00
UnknownShadow200
c2bd4c7971 Store last entered text in new launcher, more comments in new launcher, don't scroll past last server unless the launcher can show all servers in the table. 2015-10-29 20:41:18 +11:00
UnknownShadow200
e83957c685 More code commenting and cleanup. 2015-10-25 20:34:47 +11:00
UnknownShadow200
e9c190c28c Refactor and comment gui, make tab list higher up and more solid. 2015-10-09 16:47:39 +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
UnknownShadow200
69e23c88e1 Separate various aspects of 'Game' class into own separate classes. 2015-10-02 16:03:55 +10:00
UnknownShadow200
63a42bbc68 Rewrite backend for 2D drawing to be far more modular. 2015-09-28 17:10:27 +10:00
UnknownShadow200
067f87ce37 Use default op block permissions regardless of whether BlockPermissions is used or not. BlockPermissions settings always override other attempts to set permissions. 2015-09-27 06:40:33 +10:00
UnknownShadow200
a119b2bddf Add support for EnvMapApperance v2 packets, other various cleanup. 2015-09-23 19:53:12 +10:00
UnknownShadow200
dde58e8b1d Reorganise BlockInfo, more work on BlockDefinitions. 2015-09-22 16:48:04 +10:00
UnknownShadow200
46a09255cc Try to find cause of crash found in comments in #61. 2015-09-09 06:28:48 +10:00
UnknownShadow200
03b21b62a7 Do not use our own special packed atlas, use the standard atlas in preparation for #42. 2015-09-06 08:13:21 +10:00
UnknownShadow200
7826f84b55 Consistency of Game/Window - now just use game. Start work on adding crosshairs. 2015-09-01 18:03:36 +10:00
UnknownShadow200
1590664f68 Make IGraphicsApi even more consistent. 2015-08-04 07:17:20 +10:00
UnknownShadow200
4cc1e27157 Cleanup the solution - move the client's files and folders into their own folder. 2015-07-25 06:45:14 +10:00