186 Commits

Author SHA1 Message Date
UnknownShadow200
e7410673e9 Fix client crashing on mono when taking a screenshot, but the client was started from a different directory. 2016-05-12 21:31:44 +10:00
UnknownShadow200
5498c5e4fa Use icons.png crosshairs if given, partially addresses #187. 2016-05-12 16:56:13 +10:00
UnknownShadow200
2717458067 Move everything to WorldEnv class. 2016-05-11 19:29:59 +10:00
UnknownShadow200
37273895dc Properly reset CPE state on server reconnection. 2016-05-09 23:35:44 +10:00
UnknownShadow200
ec050aaefc Move code away from TexturePackExtractor into their logical classes. 2016-05-08 23:27:58 +10:00
UnknownShadow200
723585661a Make Animations a game component, make TexturePackExtractor less hardcoded. 2016-05-08 23:05:56 +10:00
UnknownShadow200
b0f3faa530 Reduce 'popping' effect when leaving the ground and view bobbing is enabled, partially addresses #192. 2016-05-08 19:13:09 +10:00
UnknownShadow200
442d72bd6b More usage of IGameComponent 2016-05-08 18:53:52 +10:00
UnknownShadow200
f63ca316d7 Reject invalid terrain.png (non square, non power of 2) instead of crashing. (Thanks 123DMWM) 2016-05-06 13:19:11 +10:00
UnknownShadow200
5b8cf2b1c3 Also store ETags for 'If-None-Match' type cache methods (such as dropbox), fixes #180. 2016-05-02 16:51:40 +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
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
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
8807bff0db Fix sprites not being pickable when collision physics set to liquid. (Thanks goodlyay) 2016-04-08 09:48:55 +10:00
UnknownShadow200
22217a833b Fix lava always being pickable (Thanks BPzeBanshee), closes #148. 2016-04-03 20:51:20 +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
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
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
eb3bbc168a Separate player logic into separate component classes. 2016-02-16 23:37:18 +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
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
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
7413788adc Quick fix for the last commit. 2016-01-22 00:39:14 +11:00
UnknownShadow200
be005c791f Abstract away platform specific window/input handling. 2016-01-21 21:09:41 +11:00
UnknownShadow200
f7e8e41346 Fix coordinates not being converted into tile coordinates properly in launcher. 2016-01-21 00:40:02 +11:00
UnknownShadow200
1b4071f9eb Allow binding keyboard presses to act like mouse clicks. 2016-01-20 16:24:27 +11:00
UnknownShadow200
2c30831c53 Fixup rain particles outside the map and rain rendering in liquids. 2016-01-19 23:05:51 +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
7c7bc4e79d Add 'use CPE' button to nostalgia settings. 2016-01-12 22:15:54 +11:00
UnknownShadow200
6621f81cda Implement the old classic player list. 2016-01-12 14:26:39 +11:00
UnknownShadow200
a4c548cd14 Initial implementation of nostalgia options - can turn off custom blocks, and can turn off using server textures. 2016-01-11 19:44:50 +11:00