Commit Graph

51 Commits

Author SHA1 Message Date
UnknownShadow200 c23ba90c1f Make BlockInfo class static and break all plugins in the process. 2017-08-14 09:33:21 +10:00
UnknownShadow200 a49fda440f Remove the yucky 'is entity FakePlayer', instead store ModelBlock as a field. 2017-08-03 14:53:34 +10:00
UnknownShadow200 1f45428ec7 Revert "Merge remote-tracking branch 'refs/remotes/origin/Snowy'"
This reverts commit 300df2ff60, reversing
changes made to 652e697bf8.
2017-06-25 17:54:02 +10:00
UnknownShadow200 59673aba3a Initial implementation 2017-06-25 17:07:12 +10:00
UnknownShadow200 9d5f378be8 Don't render backfaces of held block. Fixes #443. 2017-06-25 14:49:17 +10:00
UnknownShadow200 2af0c76b4a Create IModel struct. 2017-06-17 18:07:14 +10:00
UnknownShadow200 b3c67bc711 Fix issue with updating not working on mono when space in path, fixes #391 2017-05-09 23:53:03 +10:00
UnknownShadow200 68e815e6ed Design initial event framework 2017-05-09 19:16:56 +10:00
UnknownShadow200 8888576bcb Move NoShade out of BlockModel, more work on D3D9 api in C 2017-05-09 11:45:46 +10:00
UnknownShadow200 4aad9a54cf less hardcoding in BlockModel 2017-05-08 23:00:29 +10:00
UnknownShadow200 e728e96be8 Move entity colour calculation to Entity 2017-05-08 22:51:40 +10:00
UnknownShadow200 feed58a2c7 Fix BlockModel (Thanks goodlyay) 2017-04-09 22:21:35 +10:00
UnknownShadow200 04cef2f247 Fix last commit 2017-04-09 08:40:06 +10:00
UnknownShadow200 20f638fb67 Make model system more flexible, less hardcoding in sitting model 2017-04-09 08:21:12 +10: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 7949aba790 don't bother fetching skins for entities with block models. 2017-02-01 16:34:49 +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 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 00f28e2039 Style: Start simplifying BlockInfo 2016-10-29 13:15:00 +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 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 8b2f429a43 Now with less pointless code duplication for entity model code. 2016-08-03 14:07:56 +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
UnknownShadow200 0fae1bab87 Fix depth testing for held block. 2016-06-25 21:02:20 +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
UnknownShadow200 46095f6db9 Use methods compatible with OpenTK 1.0 API. 2016-06-21 08:34:27 +10:00
UnknownShadow200 fe86ccc7be Don't draw names past a distance of 32, partially addresses #170. (Thanks FrostFox) 2016-06-05 23:38:29 +10:00