Commit graph

879 commits

Author SHA1 Message Date
UnknownShadow200
7427c56e19 Fix client status widget returning too big a 'used height'. 2016-05-09 08:46:04 +10:00
UnknownShadow200
60111bcbf2 Add /cuboid command for singleplayer. (Thanks MrGoober) 2016-05-09 08:38:59 +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
5633b61fd9 Make select texture pack and load level menus nicer. 2016-05-08 23:41:12 +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
d837b31f84 Also backspace in input should backspace colour code before the character. 2016-05-08 22:06:26 +10:00
UnknownShadow200
36e727beae Fix texture pack not changing in singleplayer, tidy up save level menu. 2016-05-08 21:00:29 +10:00
UnknownShadow200
9c432833de Remove .lcl and .fcm exporter, use .schematic exporter which actually works in recent MCEdit. (Thanks goodlyay) 2016-05-08 20:37:41 +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
f5878f70a3 Create .lvl and .fcm level exporter. 2016-05-08 15:39:49 +10:00
UnknownShadow200
d74dc198e9 Reorganise save level screen. 2016-05-08 14:39:53 +10:00
UnknownShadow200
dfde526675 Fix single frame of lava fog in singleplayer. 2016-05-08 14:21:11 +10:00
UnknownShadow200
27f329ac15 Fix 'speed on' being in HUD even when on -hax maps. (Thanks 123DMWM) 2016-05-08 14:10:24 +10:00
UnknownShadow200
b352f1c7c9 Fog calculation should use camera position instead of entity's head position, fixes #191. (Thanks goodlyay) 2016-05-08 13:31:31 +10:00
UnknownShadow200
3aca306645 Fix pressing tab then escape clearing the items in the tab list but still showing its box. (Thanks JplaysClassic) 2016-05-08 13:18:11 +10:00
UnknownShadow200
579357c081 Reset all blocks on disconnection from server. 2016-05-08 00:20:28 +10:00
UnknownShadow200
faa8165b63 Fix client crashing when a LevelInit packet is received, but a Handshake packet was not received beforehand. (Thanks Lemmmy) 2016-05-07 07:26:01 +10:00
UnknownShadow200
7042dccd2f Fix gui/gui.png not being treated as gui.png, fixes #188. 2016-05-06 15:32:43 +10:00
UnknownShadow200
4d8b0fc3d8 Use bitflags instead of booleans for hidden so it can better fit in cache. 2016-05-06 13:43:25 +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
ca0b9cc038 Fix client crashing when animations.txt exists and animations.png is missing (Thanks Chameleonherman), fixes #183. 2016-05-06 12:38:21 +10:00
UnknownShadow200
66d11d7676 Don't draw shared faces for translucent blocks when one of them is a solid collision physics. (Thanks 123DMWM) 2016-05-04 14:31:08 +10:00
UnknownShadow200
024bb78cb1 Also log operating system when a crash occurs. 2016-05-03 10:56: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
0c84116f93 Do not reallocate ChunkInfo on Refresh(), reduces temp memory allocations. 2016-05-01 22:01:11 +10:00
UnknownShadow200
667c157ef6 Fix tab complete not working when names have _ or . in them. (Thanks goodlyay) 2016-05-01 20:57:59 +10:00
UnknownShadow200
1e3fad5930 Make all game components handle new map / new map loaded. 2016-05-01 11:23:38 +10:00
UnknownShadow200
afe2d05de0 Fix client crashing when entity has an empty name. (Thanks RandomPerson) 2016-04-30 08:26:30 +10:00
UnknownShadow200
a3c87467ab Minorly optimise model rendering. 2016-04-29 12:25:03 +10:00
UnknownShadow200
c2658dfced Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-04-28 09:35:48 +10:00
UnknownShadow200
c80781045d Skip drawing sprite groups we can never see. 2016-04-28 09:09:22 +10:00
UnknownShadow200
8391d0ae79 Group all sprite vertices by face. 2016-04-28 08:50:55 +10:00
UnknownShadow200
781692963b Fix issue when a chunk has exactly 65536 sprite vertices. 2016-04-28 08:37:13 +10:00
UnknownShadow200
9aecdd6194 Make loading singleplayer maps 33% faster. 2016-04-27 23:00:03 +10:00
UnknownShadow200
6ee9f75e29 Initial work on new collision engine. 2016-04-27 19:35:45 +10:00
UnknownShadow200
544f80a2f5 Client now rescales non-power of two skins, fixes crashing and closes #177. (Thanks MarsBarsFood) 2016-04-27 18:17:03 +10:00
UnknownShadow200
2bb67cd2f1 More usage of IGameComponent, modularise OnLoad. 2016-04-27 17:06:55 +10:00
UnknownShadow200
730d472da7 Quick fix for last commit 2016-04-27 14:42:43 +10:00
UnknownShadow200
7f2cd4191b Make ChunkUpdater code more concise. 2016-04-27 11:51:07 +10:00
UnknownShadow200
3f6b25dccb Round 2 of inlining performance hotspots. 2016-04-26 23:45:25 +10:00
UnknownShadow200
f6e5f84d57 Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-04-26 23:15:59 +10:00
UnknownShadow200
69783ae297 Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-04-26 23:09:01 +10:00
UnknownShadow200
c4834cc392 Inline performance hotspots. 2016-04-26 23:08:28 +10:00
UnknownShadow200
3efd2365e1 Make warning dialogs less hacky. 2016-04-26 19:03:06 +10:00
UnknownShadow200
7c88855491 More minor performance optimisations. 2016-04-26 12:19:29 +10:00
UnknownShadow200
b1f69e7c25 Optimise isometric block drawing. 2016-04-26 11:59:26 +10:00
UnknownShadow200
d50476e760 Allow camera to go 0.15 degrees closer to truly vertical (Thanks 123DMWM), also read code page instead of ascii strings for 'disconnect packets' and block names in 'DefineBlock'. 2016-04-26 11:42:08 +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