68 Commits

Author SHA1 Message Date
UnknownShadow200
3a91e4c993 Fix sounds playing even when not intersecting boundingbox (Thanks Empy), fix vertical sampling for non-fully high blocks being in the wrong location (Thanks goodlyay), fix not being able to use function keys in menu (Thanks WolfGangNS) 2016-01-02 21:08:50 +11:00
UnknownShadow200
0102471e91 Implement gas block draw type in BlockDefinitions, also allow press function keys in text input widget (Thanks FabTheZen). 2015-12-30 21:42:20 +11:00
UnknownShadow200
8b73b0a713 Minor code cleanup, separate event classes. 2015-12-29 16:24:54 +11:00
UnknownShadow200
42c38611df Fix texture coordinates being noticably offset in some rare cases. (Thanks 123DontMessWitMe) 2015-12-28 14:06:48 +11:00
UnknownShadow200
2b3326197f Fix lighting for non 0 minX/Y/Z and non 1 maxX/Z blocks. 2015-12-24 12:43:56 +11:00
UnknownShadow200
6fb7e099f9 Remove Height[] array and use MaxBB[].Y in its place, also fix sprites being drawn with wrong height in block in hand. 2015-12-23 17:43:45 +11:00
UnknownShadow200
6fb700ae8f Particles now work with non 0 min and non 1 max. 2015-12-23 15:30:34 +11:00
UnknownShadow200
5ba8539c03 Initial progress on non 0 minX/Z and non 1 maxX/Z blocks. 2015-12-23 14:20:30 +11:00
UnknownShadow200
aaea397140 Save 'simple arms anim' as an option, start work on supporting non 0 min/1 max cubes. 2015-12-20 23:28:35 +11:00
UnknownShadow200
8c1c3ef2c1 Save last position as spawn point when saving maps, fixes #122. (Thanks Jerralish) 2015-12-17 23:34:43 +11:00
UnknownShadow200
fa358f9ad2 Add rain particles, use particle pooling. 2015-12-17 18:35:05 +11:00
UnknownShadow200
2c98941832 Add untested code for the new BulkBlockUpdate CPE extension. 2015-12-16 22:16:34 +11:00
UnknownShadow200
42381461be Convert %codes to &codes in input bar, treat name textures as billboards. 2015-11-21 14:27:58 +11:00
UnknownShadow200
ba9851a82f Rain/Snow uses sunlight colour now, fix map borders using previous sun colour, new terrain.png size is shown in WarningScreen now. 2015-11-17 16:34:34 +11:00
UnknownShadow200
8130d91fc3 Bold selected name, some minor cleanup. 2015-11-04 20:36:01 +11:00
UnknownShadow200
f63d1e35e1 Begin to phase out usage of LogX/Y/Z calls, see issue #108 for why this is being done 2015-10-26 19:55:16 +11:00
UnknownShadow200
0d255b4586 More cleanup, fix map side textures being upside down. 2015-10-25 15:36:40 +11:00
UnknownShadow200
534294f646 More comments, separate heightmap calculation. 2015-10-25 08:32:17 +11:00
UnknownShadow200
bf18a732c5 Fix selected block box not showing behind translucent blocks, make it so that you are able to place blocks on the bottom layer of bedrock, fix ice physics. 2015-10-25 07:40:58 +11:00
UnknownShadow200
6748d3fe6d Fix entities being lit as shadows when standing in empty chunks, add support for 'push back' when placing blocks that intersect your position, making building much faster. Add more comments to various parts of the client. 2015-10-24 19:00:49 +11:00
UnknownShadow200
eb73f460ab Fix skating effect with liquids. 2015-10-11 09:13:46 +11:00
UnknownShadow200
5d2386b931 Fix slabs not occluding properly. 2015-10-09 17:47:05 +11:00
UnknownShadow200
1f54263749 Fix sprites not being full bright if they should, overhaul fps screen to also display current position and hack states. FPS can be hidden with option 'Show FPS' now. 2015-10-08 19:39:27 +11:00
UnknownShadow200
b0091a8628 Use isometric blocks in BlockSelectScreen. 2015-10-07 18:14:59 +11:00
UnknownShadow200
a74f6af339 Use isometric blocks in hotbar. (Doesn't work for sprites, texture bleeding for Direct3D9 build) 2015-10-07 16:16:39 +11:00
UnknownShadow200
dc5a29e9f1 Move CloudsLevel to map class, simplify various map set methods, reset texture pack to default if we can't download the .png or .zip., fixes #90. 2015-10-05 16:57:39 +11:00
UnknownShadow200
d0445ba54d More work on experimental occlusion culling. 2015-10-04 20:18:07 +11:00
UnknownShadow200
4d3331ae47 Prefer 24 bit depth buffer by default, only use the maximum used atlas in MapRenderer. 2015-10-04 15:24:20 +11:00
UnknownShadow200
69e23c88e1 Separate various aspects of 'Game' class into own separate classes. 2015-10-02 16:03:55 +10:00
UnknownShadow200
1740631f17 Simplify linux backend, use core vbo functions if running >= 1.5 opengl. 2015-10-01 18:10:22 +10:00
UnknownShadow200
a12ffa3730 Fix custom key bindings not being loaded, sprites are now rotated diagonally. 2015-09-27 08:48:51 +10:00
UnknownShadow200
397b4040e4 Add support for exporting as .cw files. Remove .fcm exporting support. 2015-09-26 18:45:58 +10:00
UnknownShadow200
ba565760c3 Add support for importing .cw maps. 2015-09-26 08:54:08 +10:00
UnknownShadow200
8575aea22b Add very simple .nbt parser. 2015-09-26 07:51:56 +10:00
UnknownShadow200
6c69baeb38 More physics (still to go: saplings) 2015-09-25 20:21:05 +10:00
UnknownShadow200
82d4f8b93a Fix issue with water level being below 0, leaves should not be skipped if they are not next to each other. (Fixes #47) 2015-09-23 14:03:43 +10:00
UnknownShadow200
dde58e8b1d Reorganise BlockInfo, more work on BlockDefinitions. 2015-09-22 16:48:04 +10:00
UnknownShadow200
60b87b7a6f Client should draw blocks at map boundaries. 2015-09-19 20:35:04 +10:00
UnknownShadow200
1a754f149e Fix issues with mouse cursor position on High-DPI displays. 2015-09-19 13:25:11 +10:00
UnknownShadow200
4b51c5c4c0 Add support for loading .dat files, mark single-player support as done. 2015-09-19 11:03:18 +10:00
UnknownShadow200
41c091e832 Fix rotations being slightly off, also push up player if they get stuck in a block. 2015-09-17 19:41:03 +10:00
UnknownShadow200
afb81d4088 More work on loading .dat, remove unused functions from SharpDX.Direct3d, fix #75. 2015-09-17 18:16:34 +10:00
UnknownShadow200
9d907b333b Add support for 16 bpp back buffers in Direct3D9 api (untested), more work on .dat format. 2015-09-15 20:02:46 +10:00
UnknownShadow200
6ce9f379a2 Fix second sprite lighting bug. 2015-09-15 17:37:28 +10:00
UnknownShadow200
6d690caa7a Fix sprite lighting bug. 2015-09-15 17:24:02 +10:00
UnknownShadow200
e15492aa44 Light emitting blocks should always be flat shaded at full brightness, fixes #69. 2015-09-13 14:33:43 +10:00
UnknownShadow200
8659760440 Fix some slab lighting bugs, support the ability to define animations with an animations.txt file, partially addresses #44. 2015-09-13 14:17:43 +10:00
UnknownShadow200
cef12ac553 Fix lighting bug with slabs. 2015-09-10 19:39:42 +10:00
UnknownShadow200
d705593c36 Add highly experimental, partial support for BlockDefinitions to address #42. 2015-09-08 06:28:30 +10:00
UnknownShadow200
5fb2f45189 Fix chunks not being refreshed properly when sunlight/shadowlight changes. Fix client raising EnvVariableChanged events even if new is equal to old, fixes #54. 2015-09-07 06:29:11 +10:00