284 Commits

Author SHA1 Message Date
UnknownShadow200
43752348bf Break up the giant InventoryScreen class to be more modular.
(separate table widget, and scrollbar widget)
2017-10-14 23:24:01 +11:00
UnknownShadow200
aa4d06537b Start porting GUI widgets to C, port word wrapper to C. 2017-10-14 20:31:10 +11:00
UnknownShadow200
16968464f0 forgot to commit particle files 2017-10-14 10:09:30 +11:00
UnknownShadow200
7ce3bfae73 Start porting IDrawer2D to C. 2017-10-13 21:09:10 +11:00
UnknownShadow200
41c2320dc6 More work on porting GUI to C. 2017-10-11 11:48:29 +11:00
UnknownShadow200
bdc4c948cb Make texture width/height unsigned instead of signed 16 bits 2017-10-04 15:03:59 +11:00
UnknownShadow200
1c00b428ce Fix text consisting of only colour codes (no actual chars) behaving differently depending on whether use font was on or off 2017-10-01 09:38:03 +11:00
UnknownShadow200
7a77a34b14 Little bit less use of generics 2017-09-19 23:11:59 +10:00
UnknownShadow200
0b3cbfac7a Fix empty chat lines not contributing to height of box behind recent chat. 2017-09-19 11:03:05 +10:00
UnknownShadow200
e798f0f7ac Less lambda usage 2017-09-16 16:12:09 +10:00
UnknownShadow200
5c2ac98003 Begin rewriting client to eliminate all usage of lambdas 2017-09-14 23:14:44 +10:00
UnknownShadow200
75169baada Get rid of GuiElement.Metadata 2017-09-07 12:32:48 +10:00
UnknownShadow200
82646f5cdb Get rid of some widget code duplication. 2017-08-20 17:22:10 +10:00
UnknownShadow200
84865b1a57 Allow code page 437 chars in hotkeys and level save 2017-07-28 20:58:40 +10:00
UnknownShadow200
bf846b80c0 Remove DrawMode/DrawVb/DrawIndexedVb, just provide DrawVb_Lines and DrawVb_IndexedTris 2017-07-03 23:56:05 +10:00
UnknownShadow200
fc8d593b35 Define our own explict delegate types for better annotating arguments
also means less compile errors when compiling for .NET later than 2.0
2017-06-06 14:46:14 +10:00
UnknownShadow200
673ae93b0c Replace properties with fields in 2D classes, remove unused 2D classes methods. 2017-05-28 14:52:19 +10:00
UnknownShadow200
b304bed19a Don't store id in TabListEntry, saves a byte 2017-05-21 12:30:51 +10:00
UnknownShadow200
b9fdc37928 Don't hardcode font size in TextAtlas to 16 2017-04-23 17:27:58 +10:00
UnknownShadow200
d1d0493970 Fix double colour code in classic mode 2017-04-20 11:07:10 +10:00
UnknownShadow200
f9d011af6e Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2017-04-10 10:46:30 +10:00
UnknownShadow200
3136fc5c12 less foreach usage 2017-04-10 10:45:41 +10:00
UnknownShadow200
115f1e305c Fix some things in pull request
keybind didn't apply to hotbar + num

don't change keybind enum order because it breaks plugins
2017-04-06 19:27:26 +10:00
Unknown
42017ad596 Made inventory switching re-bindable and fixed CRTL selecting in inventory screen closing inventory screen.
Inventory switching(I.E. Pressing ALT in-game showing a second inventory) is now re-bindable.

Pressing the CRTL keys should've allowed the user to select a block without the inventory screen closing, but this was not the case. Instead, that functionality was binded to the ALT keys. It has now been re-binded to the CRTL keys.
2017-04-05 18:55:01 -07:00
UnknownShadow200
d45e32c8b4 Trees should only grow on grass (Thanks McBean56545) 2017-03-05 15:21:01 +11:00
UnknownShadow200
a01589b88a Fix caret being slightly out on X axis 2017-03-05 13:25:39 +11:00
UnknownShadow200
220d0a9132 fix last commit 2017-03-01 18:41:05 +11:00
UnknownShadow200
3384b1aa55 fix last commit 2017-03-01 17:43:40 +11:00
UnknownShadow200
93b99aa3f0 Add multiple hotbars for inventory.
You can use alt to switch between first and second hotbar. You can also use alt+number to switch to the nth hotbar.
2017-03-01 17:21:27 +11:00
UnknownShadow200
dd0b497136 Initial work on inventory that supports multiple hotbars. 2017-03-01 15:54:52 +11:00
UnknownShadow200
b7c251256d Better Drawer2D api 2017-02-28 10:46:03 +11:00
UnknownShadow200
06ba0208bc comments 2017-02-25 18:44:27 +11:00
UnknownShadow200
e03e370983 Fix being unable to change values in options when hud is turned off with F1 2017-02-22 16:54:33 +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
6205e81eb0 All buttons have consistent height now 2017-02-18 12:56:29 +11:00
UnknownShadow200
42866d7345 Make all button heights consistent 2017-02-18 11:58:33 +11:00
UnknownShadow200
d58c37596b Avoid stretching button textures. (Thanks goodlyay) 2017-02-18 11:50:46 +11:00
Goodlyay
2e8b788a35 Quick fix for hotbar selector 2017-02-16 04:06:14 -08:00
Goodlyay
70c2665c69 Text and hotbar scale with window by whole integer
Also fix chat shadow offset.
2017-02-16 03:56:41 -08:00
UnknownShadow200
b71970c896 Reproduce original client's behaviour of cutting off bottom two pixels in gui 2017-02-16 21:03:04 +11:00
UnknownShadow200
a16eaca72d Fix last few issues 2017-02-16 16:54:27 +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
096930653d More fixes 2017-02-11 17:07:29 +11:00
UnknownShadow200
d584228d0f scale hearts texture 2017-01-20 14:21:56 +11:00
UnknownShadow200
9aa8809e78 hud now displays blocks count 2017-01-20 13:55:51 +11:00
UnknownShadow200
98d435b110 fix licensing 2017-01-20 09:12:04 +11:00
UnknownShadow200
d8bdcc6889 simplify extended help in Hack Settings 2017-01-16 15:09:29 +11:00
UnknownShadow200
2726ae9a02 Revert last commit 2017-01-04 19:38:41 +11:00
UnknownShadow200
a87d8b3fdd Allow 64 chars in classic mode chat input 2017-01-04 18:56:32 +11:00
UnknownShadow200
75f0a73841 Style: Indent catch and switch properly. 2016-12-02 15:31:34 +11:00