41 Commits

Author SHA1 Message Date
UnknownShadow200
6ab5dbc3ae Separate LauncherTableWidget into LauncherTableWidget and LauncherTableView. 2016-05-15 11:50:16 +10:00
UnknownShadow200
2717458067 Move everything to WorldEnv class. 2016-05-11 19:29:59 +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
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
781692963b Fix issue when a chunk has exactly 65536 sprite vertices. 2016-04-28 08:37:13 +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
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
6f595f81ec Fix shadows on map water sides (Thanks Lemon), fix liquids being offset incorrectly. 2016-02-20 00:00:39 +11:00
UnknownShadow200
869b4132be Redesign the updates screen in the launcher to be simpler. Start work on auto update checking, though broken for some reason and I am too tired to figure out why. Also fix blocks with height of one pixel not affecting the speed modifier. 2016-02-14 00:01:52 +11:00
UnknownShadow200
53bf3e7b27 Alt+scroll should act as hotbar scroll (thanks FabTheZen), fix Z-fighting of transluscent blocks. (thanks MrGoober) 2016-02-10 00:06:48 +11:00
UnknownShadow200
3b3a155243 Optimise chunk mesh building functions even further. 2016-02-03 13:31:57 +11:00
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
2b3326197f Fix lighting for non 0 minX/Y/Z and non 1 maxX/Z blocks. 2015-12-24 12:43:56 +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
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
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
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
a12ffa3730 Fix custom key bindings not being loaded, sprites are now rotated diagonally. 2015-09-27 08:48:51 +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
6ce9f379a2 Fix second sprite lighting bug. 2015-09-15 17:37:28 +10:00
UnknownShadow200
7826f84b55 Consistency of Game/Window - now just use game. Start work on adding crosshairs. 2015-09-01 18:03:36 +10:00
UnknownShadow200
db800f3b32 Slightly optimise ChunkMeshBuilder, fix lava not being fully lit on all tile sides. 2015-09-01 16:33:05 +10:00
UnknownShadow200
ffa96b651b Some stylistic cleanup in BlockInfo.Culling, use TileSide.Sides instead of an apparent magical constant, minor simplifications in mesh building code. 2015-08-29 08:16:49 +10:00
UnknownShadow200
fece6e6da0 Minor optimisations in ChunkMeshBuilder, store (y - 1) in heightmap so we don't have to also check against block height. 2015-08-28 06:13:18 +10:00
UnknownShadow200
2ffa078e75 Experimental heightmap optimisation. Runs a lot quicker. (750ms to 600ms for 256 sized map, 24s to 12s for 512 sized map. 2015-08-25 06:39:54 +10:00
UnknownShadow200
4e34637a05 Minor code cleanup. 2015-08-15 13:51:22 +10:00
UnknownShadow200
dd2eb1105a Use single index buffer for all chunks. Very minor increase in performance, but does slightly reduce memory usage. 2015-08-03 19:17:53 +10:00
UnknownShadow200
618ded14e0 Add experimental optimisation of grouping vertices by faces, then skipping all vertices of a face if that face is always back facing. Improves FPS by 50 - 100 in some cases. On slower card, imrpvoed FPS by 5-30. 2015-08-03 17:25:42 +10:00
UnknownShadow200
4cc1e27157 Cleanup the solution - move the client's files and folders into their own folder. 2015-07-25 06:45:14 +10:00