Commit graph

784 commits

Author SHA1 Message Date
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
UnknownShadow200
136ea14ed0 Fix selecting a texture pack locally, and then using /rejoin or /reload, not re-applying the server's texture pack. (Thanks 123DontMessWitMe) 2016-04-09 11:36:39 +10:00
UnknownShadow200
b15106c960 Fix client crashing in classic mode when pasting past 62*3 characters. 2016-04-09 07:44:16 +10:00
UnknownShadow200
119cd745ed Use same block names as classicube for wools, only show 'block name' in classic mode. (Thanks FrostFox) Fixes #147. 2016-04-09 07:29:20 +10:00
UnknownShadow200
d06ba7c249 Fix sheep collision bounds to be same as classicube (Thanks Buzz), closes #157. 2016-04-09 06:56:57 +10:00
UnknownShadow200
1934749aa1 Alt+Click in inventory menu should not close the menu (Thanks FabTheZen), closes #163. 2016-04-08 23:41:38 +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
fb0fdce7ab Client should provide visual feedback when respawning/spawning by slightly teleporting the player up one pixel. (Thanks FrostFox) Closes #158 2016-04-07 21:35:26 +10:00
UnknownShadow200
4946926552 Quick fix for compile errors in last commit. 2016-04-06 17:44:41 +10:00
UnknownShadow200
d1b26ef308 Use more concise block names. 2016-04-06 17:38:32 +10:00
UnknownShadow200
221dff8081 Quick fix for some maps not loading in singleplayer. 2016-04-05 22:06:57 +10:00
UnknownShadow200
ea997f2eae Fix animations being cleared when joining another world with the same texture pack. (Thanks 123DontMessWitMe) 2016-04-05 21:36:54 +10:00
UnknownShadow200
867e204825 Inventory menu should use classic background colour when in classic mode, also bedrock should not be shown when in classic mode but hax is disabled. (Thanks FrostFox) 2016-04-05 18:35:40 +10:00
UnknownShadow200
f9afc9e3ee 100 is not sensitive enough for some mice, increase it to 200. (Thanks RazorTheKing520) 2016-04-03 22:29:20 +10:00
UnknownShadow200
22217a833b Fix lava always being pickable (Thanks BPzeBanshee), closes #148. 2016-04-03 20:51:20 +10:00
UnknownShadow200
35fa930ece Fix texture pack/terrain.png not changing anymore when loaded from texcache, also 'always yes/no' should not be shown in the 'sure you want to visit url' dialog. 2016-04-03 15:17:57 +10:00
UnknownShadow200
d012d7dd0a Only refresh map borders when sides level changes, only refresh entire map when the texture pack is different to the last one. (Thanks FabTheZen) 2016-04-03 08:31:11 +10:00
UnknownShadow200
22be9bbfe0 First optimisation of classic mode background drawing. 2016-04-01 15:12:35 +11:00
UnknownShadow200
e66116bdf4 Fix respawn on non-air blocks. (Thanks goodlyay) 2016-04-01 11:44:51 +11: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
785222cc8f Fix being unable to 'jump' out of water onto slabs when colliding with solid slabs. (Thanks Jjp137) 2016-03-31 23:14:54 +11:00
UnknownShadow200
634b3213c3 Modularise LocalPlayer.Physics into separate PhysicsComponent. 2016-03-31 21:25:25 +11:00
UnknownShadow200
dbc2311435 Modularise ray casting into its own file. 2016-03-31 19:53:33 +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
1e19178b88 Release 0.98.8 2016-03-31 00:10:41 +11:00
UnknownShadow200
331f683a5c Implement same logic in launchers table widget too. 2016-03-30 23:22:44 +11:00
UnknownShadow200
32697c43ca Implement proper scrollbar for the block inventory, partially addresses #141. 2016-03-30 22:43:08 +11:00
UnknownShadow200
2ab0bba083 Tidy up generate level menu a bit. 2016-03-30 21:48:55 +11:00
UnknownShadow200
993b93558e Now all options show their values. 2016-03-30 18:34:37 +11:00
UnknownShadow200
37c6d8c84e Store enum type in the EnumValidator, in preparation for the options buttons to also show the enum value. 2016-03-30 18:03:52 +11:00
UnknownShadow200
abf965b346 Fix respawn not working properly with larger models. (Thanks goodlyay) 2016-03-30 17:27:09 +11:00