60 Commits

Author SHA1 Message Date
UnknownShadow200
8583c51cfc More configurable physics 2017-03-04 22:41:31 +11:00
UnknownShadow200
06ba0208bc comments 2017-02-25 18:44:27 +11:00
UnknownShadow200
005d0cebe2 For the 0-1 people who bother, make 12 bit block ids as easy as a compile time switch. 2017-02-19 22:29:07 +11:00
UnknownShadow200
a3290a8442 Better scrollbar in inventory (Thanks goodlyay) 2017-02-18 22:27:26 +11:00
UnknownShadow200
35b37dbff9 Fix block models being wrongly full bright (Thanks goodlyay) 2017-02-16 17:26:42 +11:00
UnknownShadow200
c92ebcac6c Use BlockID typedef instead of hardcoding byte everywhere.
In the 0.00001% chance someone changes blockid to be 16 bits
2017-02-16 16:31:17 +11:00
UnknownShadow200
5ac30a225d Fix block models being incorrectly culled (Thanks Tree) 2017-02-12 13:24:29 +11:00
UnknownShadow200
a2aa233759 fix tinting 2017-02-07 16:33:39 +11:00
UnknownShadow200
69dd8af17c reduce code duplication 2017-02-07 15:19:06 +11:00
UnknownShadow200
862690993f Fixed entity model bobbing. (Thanks Mrrockman888) 2017-02-07 14:26:29 +11:00
UnknownShadow200
42d1f63db7 get picking working with arbitary model rotation 2017-02-07 10:38:02 +11:00
UnknownShadow200
7949aba790 don't bother fetching skins for entities with block models. 2017-02-01 16:34:49 +11:00
UnknownShadow200
7a96cac27e microoptimisations 2017-01-25 23:09:42 +11:00
UnknownShadow200
e7aa519846 more concise interpolation, fix last commit 2017-01-25 22:30:56 +11:00
UnknownShadow200
55093847db initial entity rotation. breaks multiplayer. 2017-01-25 21:16:11 +11:00
UnknownShadow200
b08f640bbe bobbing is now field instead of property 2017-01-20 17:41:49 +11:00
UnknownShadow200
f16df0002c Optimise entity rendering 2017-01-20 16:29:11 +11:00
UnknownShadow200
530e9eb09c make code work with abstract Entity class instead of Player class 2017-01-20 12:16:38 +11:00
UnknownShadow200
98d435b110 fix licensing 2017-01-20 09:12:04 +11:00
UnknownShadow200
fd6fbe5582 Fix issues with tinted full bright blocks. (Thanks setey1) 2017-01-08 11:37:04 +11:00
UnknownShadow200
e820ddc6a8 fix wrong UV mapping in block models 2017-01-06 13:16:21 +11:00
UnknownShadow200
eddf8229f0 Optimise block tinting 2016-12-21 14:27:24 +11:00
Goodlyay
a4cb1e80be Core: add block tinting
Uses the fog colour components of the block to tint it if the name ends
with "#".
2016-12-20 19:05:29 -08:00
UnknownShadow200
405fe46544 make more things public 2016-12-04 19:02:16 +11:00
UnknownShadow200
e33d39685c Style: Make more code available to external plugins. 2016-12-03 19:26:38 +11:00
UnknownShadow200
619ebafca1 more work on abstracting lighting 2016-12-02 15:29:23 +11:00
UnknownShadow200
2986773b51 Abstract block lighting 2016-11-29 21:01:18 +11:00
UnknownShadow200
1aef52fab2 Use standard indentation for everything. 2016-11-27 14:47:09 +11:00
UnknownShadow200
96710328a8 Core: Fix respawning in singleplayer sometimes putting you inside a block
also a minor touchup to reduce IModel code
2016-11-06 14:40:39 +11:00
UnknownShadow200
00f28e2039 Style: Start simplifying BlockInfo 2016-10-29 13:15:00 +11:00
UnknownShadow200
fafd087292 Client: Giant model is now just an alias for bigger humanoid model, instead of separate model class. 2016-10-18 17:03:55 +11:00
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
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
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
64cb13d0a6 Gfx: DeleteVb should reset the id too. 2016-10-01 17:45:17 +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
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
8c292d92e3 Use packed ints instead of 4 byte fields in vertex structs. 2016-07-10 11:23:20 +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
Goodlyay
3c8ec93a0f Fix model bobbing. 2016-06-25 23:12:13 -07:00
UnknownShadow200
0fae1bab87 Fix depth testing for held block. 2016-06-25 21:02:20 +10: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