58 Commits

Author SHA1 Message Date
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
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
b859739cb7 Show texture pack download status in top right corner. 2016-03-02 13:37:45 +11:00
UnknownShadow200
17f87dbbbb Left clicking outside table in block select screen should close it, also improve picking for map borders when outside the map. 2016-02-17 20:45:48 +11:00
UnknownShadow200
70243e6838 Allow using non-arial font names. 2016-02-01 18:11:06 +11:00
UnknownShadow200
bb5977b75e Don't show water/lava blocks in pure classic mode (Thanks FrostFox), only show scrollbar when necessary in inventory. 2016-01-31 00:27:29 +11:00
UnknownShadow200
775a4cf383 CPE blocks should not be shown in singleplayer when 'Allow CPE' is set to false. (Thanks 123DontMessWitMe) 2016-01-24 11:17:32 +11:00
UnknownShadow200
c057114de2 Blocks that cannot be placed/deleted should still be shown in the inventory, only invalid blocks should be hidden. (Thanks gemsgem) 2016-01-14 19:29:11 +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
bbe3820e95 Initial implementation of head vs body yaw roation, also use default.png in more places instead of always hardcoding arial. (Thanks Vladcosmonaut) 2016-01-12 21:32:31 +11:00
UnknownShadow200
a6cd5f82d5 Allow clicking on chat input to move caret to that position, also fix double clicking options crashing (Thanks nyxzimus). 2016-01-08 21:14:24 +11:00
UnknownShadow200
0f95d6d92f Can drag scrollbar in block select screen. 2015-12-25 14:44:28 +11:00
UnknownShadow200
5d65eca0b8 Scrolling with mouse wheel should not affect mouse position in select screen. 2015-12-25 14:10:43 +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
a5d91ca5cb Fix using scroll wheel on last column past last valid item crashing the client. (Thanks nyxzimus) 2015-12-22 19:10:54 +11:00
UnknownShadow200
cfcab93452 Add reconnect button to error screen. (Thanks 123DontMessWitMe) 2015-12-22 11:08:55 +11:00
UnknownShadow200
35e0f8cab5 Also include block id in BlockSelectScreen, add invert mouse opition (Thanks Cecil) 2015-12-21 21:10:15 +11:00
UnknownShadow200
851f430a40 When opening block select screen, selected block should be at bottom of visible portion of table not top (thanks imjonnyboy). Noclip should not have drag applied when no movement keys are behind held down. 2015-12-21 17:23:36 +11:00
UnknownShadow200
56c146306a Fix not being able to climb into custom liquids from standard liquids (Thanks 123DontMessWitMe). 2015-12-21 10:44:52 +11:00
UnknownShadow200
8a934df673 Can press F7 to show axis lines. 2015-12-20 13:54:04 +11:00
UnknownShadow200
d104b7f09d Add scrollable block select screen. 2015-12-18 11:39:34 +11:00
UnknownShadow200
89c2ae40f9 Fix not being able to slide up small blocks with height < slab height (Thanks Empy), now use actual model's collision size instead of the default humanoid collision size, closes #110. 2015-12-15 23:32:37 +11:00
UnknownShadow200
0e331ce01a Fix trees not being generated in singleplayer (Thanks Jerralish), fix some issues with selection bounds not being calculated correctly for BlockDefinitions blocks. 2015-12-09 21:20:47 +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
4f01d562d0 Make block select screen easier to use. 2015-11-29 12:31:56 +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
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
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
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
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
e83957c685 More code commenting and cleanup. 2015-10-25 20:34:47 +11:00
UnknownShadow200
a10fe0336f Able to bind mouse buttons to keyboard, fix various things with the launcher. 2015-10-22 12:03:47 +11:00
UnknownShadow200
e726a4aef8 Remove invalidate as it didn't fix issues on linux, other minor cleanup. 2015-10-21 06:15:49 +11:00
UnknownShadow200
f639de8f7b More work on simplifying gui functions, more work on new launcher. 2015-10-19 18:19:05 +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
b0091a8628 Use isometric blocks in BlockSelectScreen. 2015-10-07 18:14:59 +11:00
UnknownShadow200
4d3331ae47 Prefer 24 bit depth buffer by default, only use the maximum used atlas in MapRenderer. 2015-10-04 15:24:20 +11:00
UnknownShadow200
4778ef8c32 Make StringBuffer 100% less unsafe. 2015-10-03 09:36:29 +10:00
UnknownShadow200
69e23c88e1 Separate various aspects of 'Game' class into own separate classes. 2015-10-02 16:03:55 +10:00
UnknownShadow200
0979c0597e Fix translucent blocks, fix clipboard crashing the client. 2015-09-30 13:49:37 +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