Commit graph

154 commits

Author SHA1 Message Date
UnknownShadow200
4401823fab Rain speed / Snow speed / Weather falloff are not hardcoded. 2016-05-12 09:34:00 +10:00
UnknownShadow200
2717458067 Move everything to WorldEnv class. 2016-05-11 19:29:59 +10:00
UnknownShadow200
0ab4014001 Fix non-water translucent back faces disappearing when not in same chunk as the player even though the player may be able to see its back faces. 2016-05-11 17:50:32 +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
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
4d8b0fc3d8 Use bitflags instead of booleans for hidden so it can better fit in cache. 2016-05-06 13:43:25 +10:00
UnknownShadow200
0c84116f93 Do not reallocate ChunkInfo on Refresh(), reduces temp memory allocations. 2016-05-01 22:01:11 +10:00
UnknownShadow200
1e3fad5930 Make all game components handle new map / new map loaded. 2016-05-01 11:23:38 +10:00
UnknownShadow200
c80781045d Skip drawing sprite groups we can never see. 2016-04-28 09:09:22 +10:00
UnknownShadow200
781692963b Fix issue when a chunk has exactly 65536 sprite vertices. 2016-04-28 08:37:13 +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
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
0cc3d97ff6 Fix rain (Thanks goodlyay) 2016-04-24 13:55:36 +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
4dff63a70f Fix previous commit to work with view bobbing. (Thanks BPzeBanshee) 2016-04-20 17:54:46 +10:00
UnknownShadow200
e6fd65a61f Fix block change animation switching block too late. (Thanks goodlyay) 2016-04-20 17:31:50 +10:00
UnknownShadow200
0920837bcb Fix client crashing when switching to a texture pack with less used 1D atlases. (Thanks MrGoober) 2016-04-20 16:04:12 +10:00
UnknownShadow200
02d861b275 Quick fix for commit 8956cc5abd 2016-04-20 11:40:07 +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
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
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
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
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
221dff8081 Quick fix for some maps not loading in singleplayer. 2016-04-05 22:06: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
2a67f8f698 Remove Pack=1 arguments which were causing runtime errors on specific mono versions, partially addresses #93. (Thanks Jjp137) 2016-03-30 15:59:55 +11:00
UnknownShadow200
3865bc6888 Rename vertices structs to a more concise one, also fix issue with progress bar very very rarely overflowing when the server overflows on computing the progress value, by instead computing it client-side. (Thanks 123DontMessWitMe) 2016-03-29 20:45:52 +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
a78205c45a Add copyright notices to every source file. 2016-03-26 13:51:42 +11:00
UnknownShadow200
ddc38805b0 Implement sprite mirroring, closes #56. 2016-02-29 18:11:37 +11:00
UnknownShadow200
5f00aad7be Fix alex skin detection for non 64x64 skins. 2016-02-22 22:14:28 +11:00
UnknownShadow200
b66fdffae9 Fix entity shadows definitely, fix launcher not proper updating in some circumstances. (Thanks FabTheZen) 2016-02-20 00:19:22 +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
f78af8e815 Implement basic entity shadows. 2016-02-18 22:09:57 +11:00
UnknownShadow200
eb3bbc168a Separate player logic into separate component classes. 2016-02-16 23:37:18 +11:00
UnknownShadow200
357b20619a Fix update script on linux not restarting launcher. 2016-02-14 10:26:39 +11:00
UnknownShadow200
25a4f792fe More work on own entity shadow. 2016-02-05 13:31:52 +11:00
UnknownShadow200
bfe9e287c6 Less popping in of chunks on fog border (Thanks MrGoober), also can press F8 to show a shadow above the block you are standing on. (Thanks MrGoober) 2016-02-05 00:10:01 +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
2c30831c53 Fixup rain particles outside the map and rain rendering in liquids. 2016-01-19 23:05:51 +11:00
UnknownShadow200
fd8e765b8b Optimise big maps to be even faster, optimise double/triple jump with speed to be much faster and use much less memory. 2016-01-17 21:56:22 +11:00
UnknownShadow200
bbe3820e95 Initial implementation of head vs body yaw roation, also use default.png in more places instead of always hardcoding arial. (Thanks Vladcosmonaut) 2016-01-12 21:32:31 +11:00