295 Commits

Author SHA1 Message Date
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
3efd2365e1 Make warning dialogs less hacky. 2016-04-26 19:03:06 +10:00
UnknownShadow200
fc4028f013 Initial work on adding Reset method to IGameComponent. (To reset state for reconnection to a server) 2016-04-24 23:13:29 +10:00
UnknownShadow200
669c88c4d0 Make various classes derive from IGameComponent for easier extensibility. 2016-04-23 12:08:57 +10:00
UnknownShadow200
9f933ac1d6 Make normal and classic mode buttons consistent. 2016-04-22 08:39:29 +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
8956cc5abd Modularise MapRenderer class. 2016-04-20 08:41:22 +10:00
UnknownShadow200
e51aefe4d7 Fix padding issues, also be more helpful when using 'OpenGL build with Intel GPU on windows.' 2016-04-19 10:17:24 +10:00
UnknownShadow200
131b18bc67 Quick fix for client not working in multiplayer. (Thanks MrGoober) 2016-04-14 15:29:05 +10:00
UnknownShadow200
bdbe0e0337 Modularise out model building code. 2016-04-14 14:56:54 +10:00
UnknownShadow200
a58bdddc2d Modularise picking handling into a separate file. 2016-04-14 14:31:55 +10:00
UnknownShadow200
08ae814bb2 Cmd+Q should close client on osx, closes #169. (Thanks AndrewPH) 2016-04-14 11:09:49 +10:00
UnknownShadow200
93c35029a3 Make zoom fov only active when key binding is held down, to match optifine. (Thanks 123DontMessWitMe) 2016-04-14 07:38:25 +10:00
UnknownShadow200
c050ae7a9e Add very basic .lvl importer (need to fallback physics blocks, no support for custom blocks), also tidy up some of the interfaces. 2016-04-11 09:55:02 +10:00
UnknownShadow200
0866009fef Alt+Scrolling in inventory should scroll hotbar instead (Thanks FabTheZen), closes #161. 2016-04-08 12:16:30 +10:00
UnknownShadow200
8807bff0db Fix sprites not being pickable when collision physics set to liquid. (Thanks goodlyay) 2016-04-08 09:48:55 +10:00
UnknownShadow200
4946926552 Quick fix for compile errors in last commit. 2016-04-06 17:44:41 +10:00
UnknownShadow200
22217a833b Fix lava always being pickable (Thanks BPzeBanshee), closes #148. 2016-04-03 20:51:20 +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
634b3213c3 Modularise LocalPlayer.Physics into separate PhysicsComponent. 2016-03-31 21:25:25 +11: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
d86f599a5d Modifiable liquids should affect all translucent blocks, translucent blocks should show as such in the block in hand, also fix seaming visibilities between translucent blocks on the outside of the map and inside it. 2016-03-29 20:32:09 +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
d70851a1b9 Pure classic mode should not intefere with normal mode settings. (Thanks FabTheZen) 2016-03-23 23:28:23 +11:00
UnknownShadow200
1bf578664d Scale gui elements in increments of 10. 2016-03-23 12:16:01 +11:00
UnknownShadow200
36237616d2 Fix pushback placing being permanently disabled after visiting a -hax map. (Thanks Goodlyay) Launcher now compares version numbers, rather than release dates. 2016-03-17 16:49:40 +11:00
UnknownShadow200
b859739cb7 Show texture pack download status in top right corner. 2016-03-02 13:37:45 +11:00
UnknownShadow200
3e05ba60de Make jump height calculation more precise and only show three significant figures (Thanks MrGoober), also always show generate/load options but disabled in multiplayer. 2016-02-27 08:54:37 +11:00
UnknownShadow200
6f595f81ec Fix shadows on map water sides (Thanks Lemon), fix liquids being offset incorrectly. 2016-02-20 00:00:39 +11:00
UnknownShadow200
f78af8e815 Implement basic entity shadows. 2016-02-18 22:09:57 +11:00
UnknownShadow200
eb3bbc168a Separate player logic into separate component classes. 2016-02-16 23:37:18 +11:00
UnknownShadow200
53bf3e7b27 Alt+scroll should act as hotbar scroll (thanks FabTheZen), fix Z-fighting of transluscent blocks. (thanks MrGoober) 2016-02-10 00:06:48 +11:00
UnknownShadow200
1275ece957 Support saving/loading BlockDefinitions blocks in singleplayer. 2016-02-09 16:18:02 +11:00
UnknownShadow200
20205a42fb Fix NamesMode not being loaded. 2016-02-07 09:16:07 +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
25a4f792fe More work on own entity shadow. 2016-02-05 13:31:52 +11:00
UnknownShadow200
bfe9e287c6 Less popping in of chunks on fog border (Thanks MrGoober), also can press F8 to show a shadow above the block you are standing on. (Thanks MrGoober) 2016-02-05 00:10:01 +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
d6e541bc91 Minor memory optimisations. 2016-02-02 19:04:20 +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
21c1c031c6 Allow placing blocks off map bedrock sides. (Thanks MrGoober) 2016-01-30 21:43:11 +11:00
UnknownShadow200
c3ffec20a2 Save 'show FPS' option, also refresh the level if a BlockDefinition is added/changed/removed after the level loaded the first time. 2016-01-30 21:26:59 +11:00
UnknownShadow200
b46f2cff5f Don't overwrite launcher settings, partially fix launcher crashing issue in classic mode. 2016-01-28 12:48:51 +11:00
UnknownShadow200
3794876119 Initial implementation of classic options menu. 2016-01-24 00:14:56 +11:00
UnknownShadow200
70a45f3290 Some minor fixes for TextColors CPE extension. 2016-01-22 22:34:02 +11:00
UnknownShadow200
94f72a6efe Chat should only scale with vertical window size. (Thanks FabTheZen) 2016-01-22 00:48:49 +11:00