125 Commits

Author SHA1 Message Date
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
a3c87467ab Minorly optimise model rendering. 2016-04-29 12:25:03 +10:00
UnknownShadow200
544f80a2f5 Client now rescales non-power of two skins, fixes crashing and closes #177. (Thanks MarsBarsFood) 2016-04-27 18:17:03 +10:00
UnknownShadow200
3f6b25dccb Round 2 of inlining performance hotspots. 2016-04-26 23:45:25 +10:00
UnknownShadow200
69783ae297 Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-04-26 23:09:01 +10:00
UnknownShadow200
c4834cc392 Inline performance hotspots. 2016-04-26 23:08:28 +10:00
UnknownShadow200
7c88855491 More minor performance optimisations. 2016-04-26 12:19:29 +10:00
UnknownShadow200
7bac3ea708 Fix players with default skins being messed up when they switch to a texture pack that has a different default skin type. (e.g. 64x32 --> 64x64) 2016-04-19 18:58:01 +10:00
UnknownShadow200
ef34766b2b More fixes for default.png, fix 'okay' widget not being properly closed when clicking on 'use font'. 2016-04-19 18:02:11 +10:00
UnknownShadow200
69a0b146b6 Active option should be in yellow-ish text, also make 'done' buttons bigger in classic mode. (Thanks FrostFox) 2016-04-16 22:56:31 +10:00
UnknownShadow200
96d435edfc Optimise entity rendering, improves FPS when you have 100-200 models rendering. 2016-04-14 16:21:13 +10:00
UnknownShadow200
bdbe0e0337 Modularise out model building code. 2016-04-14 14:56:54 +10:00
UnknownShadow200
d06ba7c249 Fix sheep collision bounds to be same as classicube (Thanks Buzz), closes #157. 2016-04-09 06:56:57 +10:00
UnknownShadow200
2a67f8f698 Remove Pack=1 arguments which were causing runtime errors on specific mono versions, partially addresses #93. (Thanks Jjp137) 2016-03-30 15:59:55 +11:00
UnknownShadow200
3865bc6888 Rename vertices structs to a more concise one, also fix issue with progress bar very very rarely overflowing when the server overflows on computing the progress value, by instead computing it client-side. (Thanks 123DontMessWitMe) 2016-03-29 20:45:52 +11:00
UnknownShadow200
7a2e5d6049 Organise most things into namespaces. 2016-03-27 09:33:51 +11:00
UnknownShadow200
5a5fab381a Zombies should have same hitbox as humans. 2016-03-27 00:55:17 +11:00
UnknownShadow200
b857bf23ec Implement 'classic + hax' mode, also show 'choose mode' instead of 'pure classic mode' in the launcher. 2016-03-26 17:45:52 +11:00
UnknownShadow200
4e9f92d378 Add giant model. (Thanks tornato) 2016-03-26 16:14:12 +11:00
UnknownShadow200
95447bbe25 Mirrored this time proeprly for sure. 2016-03-26 14:37:04 +11:00
UnknownShadow200
c1abb51dbc Fix bottom face of 64x64 skins being wrongly mirrored. (Thanks goodlyay) 2016-03-26 14:06:22 +11:00
UnknownShadow200
a78205c45a Add copyright notices to every source file. 2016-03-26 13:51:42 +11:00
UnknownShadow200
a234af2443 Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-03-25 22:59:01 +11:00
UnknownShadow200
52d471b4fd More work on custom models. 2016-03-25 22:58:51 +11:00
UnknownShadow200
00f4dc134a Initial work on a 'select mode' menu for the launcher, also fix mirroring of left side for 64x32 skins. (Thanks goodlyay) 2016-03-25 07:54:28 +11:00
UnknownShadow200
22c99b10c8 Reduce code duplication for chibi model. 2016-03-24 19:13:25 +11:00
UnknownShadow200
79eea2d1b7 Quick fix for 64x64 skins again. (Thanks goodlyay) 2016-03-24 18:43:03 +11:00
UnknownShadow200
1c219447e5 Fix mirroring and thin arms on 64x64 skins. (Thanks goodlyay) 2016-03-24 18:31:28 +11:00
UnknownShadow200
73ed96be7e Fixes for humanoid model. (Agank thanks goodlyay) 2016-03-24 16:39:07 +11:00
UnknownShadow200
62bad71edc Quick fix for last commit. 2016-03-24 16:19:09 +11:00
UnknownShadow200
f6002ffa0b Start work on new humanoidmodel code (Big thanks to goodlyay). 2016-03-24 16:14:13 +11:00
UnknownShadow200
a4e66f7145 Scrolling of mouse wheel should be swallowed by the pause and other menu screens. (Thanks Jjp137) 2016-03-23 17:29:43 +11:00
UnknownShadow200
ae55a133ee Update all other models to use SetRotOrigin method. 2016-03-22 20:41:39 +11:00
UnknownShadow200
0a7d368c53 Move rotation origin setting to part definitions, not at draw method. 2016-03-22 19:14:04 +11:00
UnknownShadow200
2541f7423d Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-03-19 13:38:42 +11:00
UnknownShadow200
d6e99eb4ba Fix using 'block' as a model name crashing the client. (Thanks goodlyay) 2016-03-19 13:38:02 +11:00
UnknownShadow200
41a1ef7113 Client uses your account name and skin from the main menu in singleplayer, also add a /client model command to change model in singleplayer. 2016-03-17 17:08:47 +11:00
UnknownShadow200
91b7353885 Start work on custom models. 2016-03-06 23:04:23 +11:00
UnknownShadow200
04ade22693 Make Chibi's model more consistent with the other models, also make set its name height to be just above the head. 2016-02-29 08:46:02 +11:00
UnknownShadow200
5f00aad7be Fix alex skin detection for non 64x64 skins. 2016-02-22 22:14:28 +11:00
UnknownShadow200
8208935b34 (Code by goodlyay) Added a chibi model. Thanks again goodlyay. 2016-02-19 19:55:48 +11:00
UnknownShadow200
2cb3322c34 Modularise Entity and Player class more. 2016-02-16 23:58:17 +11:00
UnknownShadow200
eb3bbc168a Separate player logic into separate component classes. 2016-02-16 23:37:18 +11:00
UnknownShadow200
ff64b2c23e Fix head yaw rotating incorrectly compared to yaw. (Thanks goodlyay) 2016-02-09 22:23:43 +11:00
UnknownShadow200
c28e1f343f Default speed modifier should be 10, to match ClassiCube. 2016-02-05 21:39:51 +11:00
UnknownShadow200
599944d943 Fix isometric blocks/block models sampling from wrong vertical location and fix order of rendering of elements in the hotbar. (Thanks 123DontMessWitMe) 2016-01-17 16:40:14 +11:00
UnknownShadow200
363a847152 Use animations in inventory and hotbar. (Thanks FabTheZen) 2016-01-13 23:12:03 +11:00
UnknownShadow200
6a2514af4e Fix 'use classic gui' option not being shown (Thanks venom983), fix view matrix having issues when spectating someone who is looking straight up or down in classicube. (Thanks 123DontMessWitMe) 2016-01-13 22:16:45 +11:00
UnknownShadow200
bbe3820e95 Initial implementation of head vs body yaw roation, also use default.png in more places instead of always hardcoding arial. (Thanks Vladcosmonaut) 2016-01-12 21:32:31 +11:00
UnknownShadow200
526fa9669c Properly fix rope, also draw selected texture over top of isometric blocks. 2016-01-06 23:21:00 +11:00