309 Commits

Author SHA1 Message Date
UnknownShadow200
c0865c4be0 Client: Add head model. 2016-10-18 10:57:42 +11:00
UnknownShadow200
f0047be63c Style: Remove CommandReader class, move stuff from ClassicalSharp.TexturePack to ClassicalSharp.Textures 2016-10-17 17:15:24 +11:00
UnknownShadow200
d24a929267 Core: Allow building up to 16 chunks per frame. 2016-10-17 16:42:38 +11:00
UnknownShadow200
0b7b5e3a83 Core: Fix model scale not working when computer is set to a language that doesn't use . as its decimal point. (Thanks Daeslender) 2016-10-15 10:25:25 +11:00
UnknownShadow200
7f92161077 Gfx: IGraphicsApi is no longer responsible for managing dynamic vertex buffers. Simplify dynamic vertex buffer code. 2016-10-12 19:28:00 +11:00
UnknownShadow200
2452cc93a7 Style: Use gfx consistently everywhere, instead of mixing api and graphics. 2016-10-12 12:25:12 +11:00
UnknownShadow200
f9c0f75208 Client: Move searcher for block collisions into separate class. 2016-10-10 14:42:05 +11:00
UnknownShadow200
273b3b32e2 Gfx: Remove unnecessary parameter from UpdateDynamicIndexedVb 2016-10-10 09:13:32 +11:00
UnknownShadow200
b576506b86 Gfx: add bool indicating whether texture should use managed or default pool. 2016-10-06 10:54:17 +11:00
UnknownShadow200
febe31b904 Style: Split IGraphicsAPI into IGraphicsAPI and IGraphicsAPI.Core, don't catch NotSupportException for invalid bitmap. 2016-10-05 18:25:21 +11:00
UnknownShadow200
25215c4b60 Client: Fix custom sprite blocks from last commit. 2016-10-05 11:14:14 +11:00
UnknownShadow200
ac1a6442a7 Core: Now resetting a custom block that overwrote a core block works properly now. Also fix texture pack not being reset in singleplayer when loading a level without one. 2016-10-04 14:09:20 +11:00
UnknownShadow200
64cb13d0a6 Gfx: DeleteVb should reset the id too. 2016-10-01 17:45:17 +10:00
UnknownShadow200
cfefe43a32 Launcher: Create slider widget
Also default names mode should be Hovered. (Thanks goodlyay)
2016-09-23 10:41:18 +10:00
UnknownShadow200
1839da07b4 Client: Reduce code duplication in Picking.cs 2016-09-22 15:50:45 +10:00
UnknownShadow200
49d16aa701 Style: Modularise protocol functions. 2016-09-15 12:02:19 +10:00
UnknownShadow200
899b705e54 Less code duplication in Chibi model. 2016-09-06 11:57:08 +10:00
UnknownShadow200
d837e52724 Better indentation 2016-08-30 12:49:24 +10:00
UnknownShadow200
fd879b0b00 Fix HackControl resetting jump height to default of 1.2 blocks, not user's jump height on non -hax maps. 2016-08-26 16:53:04 +10:00
UnknownShadow200
25b8f453ad Remove a redundant foreach. 2016-08-15 15:30:19 +10:00
UnknownShadow200
ff4b1eb723 Avoid foreach wherever possible. 2016-08-15 12:57:25 +10:00
UnknownShadow200
38be2f192e Make ticking tasks code more extensible. 2016-08-06 15:06:20 +10:00
UnknownShadow200
344688ca8d Fix last commit. 2016-08-03 14:26:42 +10:00
UnknownShadow200
8b2f429a43 Now with less pointless code duplication for entity model code. 2016-08-03 14:07:56 +10:00
UnknownShadow200
0141b7140b Make ModelCache code nicer. 2016-08-03 13:53:15 +10:00
UnknownShadow200
4ffa029fa9 Start on (non-working) player push. 2016-07-25 13:03:29 +10:00
UnknownShadow200
7432413a77 Move gui code to a separate class. 2016-07-25 12:11:55 +10:00
UnknownShadow200
7be81bea37 Fix most of remaining compilation errors on android project type. 2016-07-14 11:29:54 +10:00
UnknownShadow200
0da70b91eb Use android-compatible 'is 32bpp bitmap' test. 2016-07-14 00:15:25 +10:00
UnknownShadow200
ab9500bcd4 Permission values from 100 to 127 should also be treated as 'op permissions'. (Thanks Moosfet) 2016-07-13 22:05:41 +10:00
UnknownShadow200
8c292d92e3 Use packed ints instead of 4 byte fields in vertex structs. 2016-07-10 11:23:20 +10:00
UnknownShadow200
0160285b98 Remove unnecessary fields. 2016-07-09 18:02:45 +10:00
UnknownShadow200
b93b9c6070 Get dig animation mostly right. (Much much thanks to goodlyay and his gifs) 2016-07-08 23:30:08 +10:00
UnknownShadow200
9e1eca9491 Fix 20+names in classic list overflowing box size slightly, also fix selected outlined block being translucent causing entity shadows to disappear. 2016-07-08 20:42:22 +10:00
UnknownShadow200
499a60a42c Inline CollisionsComponent.GetBoundingBox. 2016-07-08 20:10:58 +10:00
UnknownShadow200
cd3072281a Make neighbouring border liquids (e.g. lava on left, stone on left and abovfe the lava) only interact with you on XMin/Zmin faces, to match original classic behaviour. (Thanks MrRockman888) 2016-07-08 16:48:38 +10:00
UnknownShadow200
2a233d9b11 Fix z-fighting and picking issues with water/lava. 2016-07-08 14:47:00 +10:00
UnknownShadow200
7236028106 Optimise lava animation slightly. 2016-07-07 22:01:36 +10:00
UnknownShadow200
b135d484b3 Allow custom texture packs to specify a file to use the built-in dynamic lava generation algorithm. (Thanks goodlyay) 2016-07-07 21:56:11 +10:00
Goodlyay
3c8ec93a0f Fix model bobbing. 2016-06-25 23:12:13 -07:00
UnknownShadow200
3a93918a2c Fall tilting should not be enabled in third person. 2016-06-26 09:21:37 +10:00
Goodlyay
570dbb43fb Smooth velTilt transition when starting fly/noclip. 2016-06-25 11:34:19 -07:00
UnknownShadow200
0fae1bab87 Fix depth testing for held block. 2016-06-25 21:02:20 +10:00
UnknownShadow200
6fe8991f33 Don't apply fall tilting when flying or noclip mode. 2016-06-25 20:35:04 +10:00
Goodlyay
ce2e297551 Add velocity based tilt to view bobbing. 2016-06-25 02:48:35 -07:00
UnknownShadow200
d3a0cb69c7 Use rewrited view bobbing by goodlyay. (Much much thanks) 2016-06-25 16:13:45 +10:00
UnknownShadow200
f960043a08 Colour held block, more work on dig anim. 2016-06-25 13:48:12 +10:00
UnknownShadow200
81a8fb3de5 Make view bobbing anim better. 2016-06-24 23:34:49 +10:00
UnknownShadow200
23f5be9370 More work on dig anim. 2016-06-24 22:30:09 +10:00
UnknownShadow200
ed6e4463c1 First part of heldblock rewrite. (Thanks goodlyay) 2016-06-24 20:53:22 +10:00