7384 Commits

Author SHA1 Message Date
UnknownShadow200
8956cc5abd Modularise MapRenderer class. 2016-04-20 08:41:22 +10:00
UnknownShadow200
10ca60c2d6 Fix rare crash when terrain.png changes to a different size partway through the map loading. 2016-04-20 08:16:05 +10:00
UnknownShadow200
b1a6e87d92 Occlusion code does not work currently and was disabled, therefore there is no need to include it in the output binary. 2016-04-20 07:37:30 +10:00
UnknownShadow200
48496794fe Modularise MapCw (to allow NBT read/write to be reused elsewhere) 2016-04-19 19:25:19 +10:00
UnknownShadow200
7bac3ea708 Fix players with default skins being messed up when they switch to a texture pack that has a different default skin type. (e.g. 64x32 --> 64x64) 2016-04-19 18:58:01 +10:00
UnknownShadow200
ef34766b2b More fixes for default.png, fix 'okay' widget not being properly closed when clicking on 'use font'. 2016-04-19 18:02:11 +10:00
UnknownShadow200
7d1e716eb4 Use ChatText methods everywhere now, except for titles. 2016-04-19 12:18:25 +10:00
UnknownShadow200
b9368a8a62 Make GenerateLevel menu description widgets match indention. 2016-04-19 11:54:46 +10:00
UnknownShadow200
ff9de47b1f Fix performance drop in gui introduced several commits ago. 2016-04-19 11:27:39 +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
976aab75ab Make UnhandledError message more helpful. (Thanks ironnoyes) 2016-04-19 10:07:15 +10:00
UnknownShadow200
7115728547 Reduce padding for FPS widget. 2016-04-18 21:44:10 +10:00
UnknownShadow200
461028d78b Reduce padding for extended help and player list too. 2016-04-18 20:57:20 +10:00
UnknownShadow200
a3d2a46baa Fix underline on default.png backend (Thanks FabTheZen), reduce padding in chat. 2016-04-18 20:24:51 +10:00
UnknownShadow200
790e1f783a Make GDI backend draw text consistently with default.png backend. 2016-04-18 16:49:53 +10:00
UnknownShadow200
fe746d58de Fix scroll wheel being too slow on OSX (Thanks AndrewPH), fix colour codes used internally showing up when pressing left alt. 2016-04-17 23:49:23 +10:00
UnknownShadow200
0428621f5d Use more optimised method to transfer bitmaps to the screen for launcher on windows. Cuts down redraw time from 20ms to 3ms for a 1920x1080 screen. 2016-04-17 10:40:54 +10:00
UnknownShadow200
fb7b63e5d9 'Back to game' is now nicer. 2016-04-16 23:36:42 +10:00
UnknownShadow200
69a0b146b6 Active option should be in yellow-ish text, also make 'done' buttons bigger in classic mode. (Thanks FrostFox) 2016-04-16 22:56:31 +10:00
UnknownShadow200
24b5db5bf6 Show prefix character in chat input (Thanks FrostFox), partially addresses #167. 2016-04-16 22:08:15 +10:00
UnknownShadow200
97128d295a Seamlessly convert the .bin files to .wav sounds for the user. 2016-04-16 20:56:59 +10:00
UnknownShadow200
3a8d699c2b Now don't show the 'missing files XYZ' for all the sound files. 2016-04-16 20:41:39 +10:00
UnknownShadow200
3716e9f88e Read from the .wav files now, but still need to convert the old .bin to .wav list. 2016-04-16 20:23:59 +10:00
UnknownShadow200
843da643c4 Write out .wav files instead of hardcoded binary format. Need to update the client to support this method. 2016-04-16 19:56:40 +10:00
UnknownShadow200
5f61e3f02a Controls should be bigger in classic mode, partially addresses #170. 2016-04-16 15:45:45 +10:00
UnknownShadow200
40bd1fe499 Fix being unable to extract default.zip with some programs. 2016-04-16 15:32:06 +10:00
UnknownShadow200
e5b77528ff Copy/Paste should work on OSX now. (Thanks AndrewPH) 2016-04-16 14:17:24 +10:00
UnknownShadow200
5e9f401449 Revert last commit, makes no sense to reimplement Clipboard handling. 2016-04-16 12:26:41 +10:00
UnknownShadow200
4387e18dea Implement native clipboard for windows backend. 2016-04-16 11:22:25 +10:00
UnknownShadow200
61af80b487 Fix launcher script not having proper working directory set on unix. 2016-04-16 08:29:30 +10:00
UnknownShadow200
647189616b Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-04-14 22:55:18 +10:00
UnknownShadow200
0e6f529303 Fix client crashing when font texture isn't 32bpp, closes #168. (Thanks AndrewPH) 2016-04-14 22:52:13 +10:00
UnknownShadow200
96d435edfc Optimise entity rendering, improves FPS when you have 100-200 models rendering. 2016-04-14 16:21:13 +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
02a21ab050 Alt+F4 and Cmd+Q on OSX should also close the launcher. (Thanks AndrewPH) 2016-04-14 11:51:52 +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
7803c582e3 Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-04-13 21:32:21 +10:00
UnknownShadow200
ce2efa5ba9 Properly fix workaround for D3 server bug. (Thanks Evander) 2016-04-13 21:30:14 +10:00
UnknownShadow200
4dca01a619 Optimise map rendering - we keep track of which 1D texture atlases actually have any chunks in the world using them at all (in addition to the test on visible chunks), thus we can skip entire rows. 2016-04-13 17:40:09 +10:00
UnknownShadow200
19af48ca3a Optimise default.png to draw characters in blocks (have same fontY and colour), minorly improves performance. 2016-04-11 20:06:50 +10:00
UnknownShadow200
b7342d79af Fix client clock showing 'minss' instead of 'mins' when playing for one hour and X minutes. (Thanks supasoph654) 2016-04-11 18:54:11 +10:00
UnknownShadow200
88215acf1d Fix http:// urls causing underline to be drawn wrongly. (Thanks BPzeBanshee) 2016-04-11 18:50:01 +10:00
UnknownShadow200
c797909e76 We can manually ignore colour codes for the default.png text drawing backend, allocates less memory and optimises performance. 2016-04-11 14:42:59 +10:00
UnknownShadow200
3de395cb9f Quick fix for console window showing. 2016-04-11 11:37:16 +10:00
UnknownShadow200
ed1e540c8e Add (untested) support for physics and custom blocks. 2016-04-11 10:20:10 +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
ba3418908d Fix top face in IsometricBlockRenderer being oriented incorrectly. (Thanks goodlyay) 2016-04-10 15:21:44 +10:00