2389 Commits

Author SHA1 Message Date
UnknownShadow200
6da1d02e67 More porting of WinGLNative to C again 2017-08-17 22:42:15 +10:00
UnknownShadow200
af6ae217d2 More porting of WinGLNative to C. 2017-08-17 13:56:33 +10:00
UnknownShadow200
a64cd21880 Fix case under which you can add two of same block to hotbar. (Thanks goodlyay) 2017-08-17 12:18:20 +10:00
UnknownShadow200
5b28cdc161 Begin porting WinGLNative to C. 2017-08-17 12:12:27 +10:00
UnknownShadow200
083316bd66 Finish porting MouseDevice to C. 2017-08-17 10:35:02 +10:00
UnknownShadow200
a7508a990a Don't break backwards compatibility of OpenTK.dll with release launcher, fixes #466. 2017-08-17 09:03:04 +10:00
UnknownShadow200
96c11b3206 If we try to set inventory slot to already used slot, push the old block to the free IDs. 2017-08-16 20:45:08 +10:00
UnknownShadow200
e9b6a97987 Fix custom blocks not loading in singleplayer from last few commits 2017-08-16 17:21:24 +10:00
UnknownShadow200
42e1fdc3d1 Implement InventoryOrder CPE extension. 2017-08-16 11:06:26 +10:00
UnknownShadow200
39c1fb563c Start porting MouseDevice to C. 2017-08-16 09:26:49 +10:00
UnknownShadow200
99ca17407d Use precise mouse wheel delta everywhere. 2017-08-15 23:27:23 +10:00
UnknownShadow200
985f76fd6b Port KeyboardDevice and Key to C. 2017-08-15 22:49:01 +10:00
UnknownShadow200
3a17e6d4c9 'Select block' in pure classic mode. 2017-08-15 21:30:29 +10:00
UnknownShadow200
8f0ba399cd Implement pressing G to replace selected block in inventory with air. Partially addresses #465. (Thanks hellosammu / goodlyay) 2017-08-15 13:27:55 +10:00
UnknownShadow200
91d33a9136 Completely redesign the C event handling. 2017-08-15 13:17:51 +10:00
UnknownShadow200
89e5b4e770 More work on Window.h, combine the various event headers together 2017-08-15 08:39:15 +10:00
UnknownShadow200
31896f2547 Default skin server of multiplayer is classicube skin server 2017-08-14 16:52:23 +10:00
UnknownShadow200
3179e93b3e Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2017-08-14 16:16:11 +10:00
UnknownShadow200
5a03fda9bd Get rid of InventoryPermissions and just use bool array instead 2017-08-14 09:54:42 +10:00
UnknownShadow200
c23ba90c1f Make BlockInfo class static and break all plugins in the process. 2017-08-14 09:33:21 +10:00
UnknownShadow200
78a4765142 Make inventory slot -> Block mapping publicly accessible 2017-08-13 23:04:37 +10:00
UnknownShadow200
9116a8116c Fallback to CF_TEXT if trying to get CF_UNICODETEXT from clipboard fails 2017-08-13 22:44:25 +10:00
UnknownShadow200
bf19bae85a Ungroup multiple instances from taskbar, use native pinvoke for clipboard. 2017-08-13 19:18:59 +10:00
UnknownShadow200
ad7c213630 don't crash when texture pack zip has some invalid entries. Fixes #423. 2017-08-12 22:31:33 +10:00
UnknownShadow200
f59f8cbda3 Fix broken dev builds 2017-08-12 21:33:29 +10:00
UnknownShadow200
7be0759995 Fix control characters causing a name entry to be 1 pixel taller, which would result in a server list entry not having a name (but having players and software) with a very particular window height. (Thanks _123DMWM) 2017-08-12 00:03:27 +10:00
UnknownShadow200
d93401418a Fix hovered name still being drawn unscaled with AllUnscaled names mode, even when you aren't allowed to see all names. 2017-08-11 23:05:09 +10:00
UnknownShadow200
dc27dccaec Fix being able to press B to open inventory, during map load or generation. 2017-08-11 23:03:04 +10:00
UnknownShadow200
62fc09a53f Names shouldn't be affected by fog colour. Fixes #462. 2017-08-11 22:56:16 +10:00
UnknownShadow200
fab2604398 Rename TwoWayPing -> CpeTwoWayPing 2017-08-10 09:19:14 +10:00
UnknownShadow200
fb4f16c24e Combine Vectors/Vector3I.h, combine Block/BlockEnums.h 2017-08-09 15:17:19 +10:00
UnknownShadow200
10d880980b Remove child_window in WinGLNative.
This allows for OpenGL to use exclusive fullscreen mode, and partially addresses #310 in supporting exclusive full screen in direct3d9 mode.
2017-08-09 12:56:28 +10:00
UnknownShadow200
fa570cb1a0 Rectangle -> Rectangle2D 2017-08-08 22:18:07 +10:00
UnknownShadow200
211c8e810b Fix wrong entrypoint being used. 2017-08-08 17:09:58 +10:00
UnknownShadow200
76bf08a61b Make network stuff publicly accesible, addresses #464 but not really. 2017-08-08 14:39:35 +10:00
UnknownShadow200
50c6a66082 #if 0 out all C code that's not used, finish port of Stream to C. 2017-08-08 12:30:00 +10:00
UnknownShadow200
4e169c14bd Actually add DisplayDevice.c to the solution 2017-08-08 11:40:17 +10:00
UnknownShadow200
0f720bfbe2 Port DisplayDevice to C. 2017-08-08 09:52:11 +10:00
UnknownShadow200
04dfac3cbe I accidentally broke the launcher ooopppsss 2017-08-08 00:22:55 +10:00
UnknownShadow200
e6ec7037aa Fix screen bounds determining in some cases in X11DisplayDevice 2017-08-08 00:03:00 +10:00
UnknownShadow200
63530be40a Start porting DisplayDevice to C. 2017-08-07 22:21:34 +10:00
UnknownShadow200
6e92beec24 More removal of unused features from OpenTK 2017-08-07 21:34:37 +10:00
UnknownShadow200
bb7af017d7 Since we don't care about available resolutions, remove the code and same the memory allocated to store them 2017-08-07 20:55:38 +10:00
UnknownShadow200
907e9f2515 IDisplayDeviceDriver doesn't need to be a class anymore. 2017-08-07 20:23:05 +10:00
UnknownShadow200
7db43b7ed7 Remove more unused from OpenTK 2017-08-07 19:33:09 +10:00
UnknownShadow200
37a260a727 Remove unused Title get/set from OpenTK 2017-08-07 19:21:37 +10:00
UnknownShadow200
5f3980aecc Remove unused winapi func declarations 2017-08-07 13:24:21 +10:00
UnknownShadow200
b9b9478712 oops forgot to sav one file in last commit 2017-08-07 13:08:17 +10:00
UnknownShadow200
a968a137a1 Significantly simplify DisplayDevice 2017-08-07 13:04:29 +10:00
UnknownShadow200
e24ef9e4e6 Fix keyboard/input layout change not working when client had focus 2017-08-05 22:33:46 +10:00