69 Commits

Author SHA1 Message Date
UnknownShadow200
83aaf4091d Should be using the 'lastmodified' provided for our own 'if modified since' header, fixes texture packs from some web servers always being redownloaded. (Thanks CookieNetwork) 2016-08-28 13:45:25 +10:00
UnknownShadow200
38be2f192e Make ticking tasks code more extensible. 2016-08-06 15:06:20 +10:00
UnknownShadow200
7432413a77 Move gui code to a separate class. 2016-07-25 12:11:55 +10:00
UnknownShadow200
3ffb85b2cb Merge pull request #226 from Goodlyay/master
Add unfinished smooth lighting as an option (Thanks UnknownShadow200!)
2016-07-09 18:55:10 +10:00
UnknownShadow200
de89dc891e Cache native window width and height. 2016-07-09 18:43:07 +10:00
UnknownShadow200
4281dead19 Allow switching between normal / smooth lighting mesh building at runtime. 2016-07-09 16:10:32 +10:00
UnknownShadow200
7fa3fb5ca1 Error screen is same colour as classic, minor performance optimisations for mesh building. 2016-07-06 23:47:48 +10:00
UnknownShadow200
f960043a08 Colour held block, more work on dig anim. 2016-06-25 13:48:12 +10:00
UnknownShadow200
ed6e4463c1 First part of heldblock rewrite. (Thanks goodlyay) 2016-06-24 20:53:22 +10:00
UnknownShadow200
d6266ed61e Normalise line endings to end this madness. (Thanks Jjp137) 2016-06-11 17:56:37 +10:00
UnknownShadow200
db3c91bf55 Fix: Classic mode should always use default.zip. (Thanks Tree) 2016-05-31 18:24:31 +10:00
UnknownShadow200
c4f1f69cbd Use a single tab list code base for both CPE ExtPlayerList and original tab list behaviour. 2016-05-29 21:37:38 +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
be28a782f5 Don't show CPE blocks unless the server supports them. 2016-05-16 18:04:42 +10:00
UnknownShadow200
66e9329eb4 Read skybox.png from the texture pack if given. 2016-05-14 20:51:26 +10:00
UnknownShadow200
5498c5e4fa Use icons.png crosshairs if given, partially addresses #187. 2016-05-12 16:56:13 +10:00
UnknownShadow200
3fa57fa6ac Add UserEvent events class. Only event currently is when user has manually placed a block. 2016-05-09 00:26:36 +10:00
UnknownShadow200
ec050aaefc Move code away from TexturePackExtractor into their logical classes. 2016-05-08 23:27:58 +10:00
UnknownShadow200
442d72bd6b More usage of IGameComponent 2016-05-08 18:53:52 +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
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
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
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
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
1bf578664d Scale gui elements in increments of 10. 2016-03-23 12:16:01 +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
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
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
3794876119 Initial implementation of classic options menu. 2016-01-24 00:14:56 +11:00
UnknownShadow200
94f72a6efe Chat should only scale with vertical window size. (Thanks FabTheZen) 2016-01-22 00:48:49 +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
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
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
UnknownShadow200
b79de4c457 Create and implement the CpeTextColours extension. 2016-01-10 21:05:46 +11:00
UnknownShadow200
7a866f351e Add auto tab-complete as an option under gui options. 2016-01-10 12:57:32 +11:00
UnknownShadow200
2aa00c1684 Optimise large maps even further. 2016-01-04 22:14:03 +11:00
UnknownShadow200
784bcd73b4 Allow using classic gui.png texture. 2016-01-02 23:49:05 +11:00
UnknownShadow200
36115c7b80 Add an 'always yes/always no' option to texture pack warning screen. 2016-01-02 23:20:35 +11:00