Commit graph

2327 commits

Author SHA1 Message Date
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
UnknownShadow200
75d4fb0549 Fix missing (void) declaration for C functions that take no args 2017-08-04 12:36:42 +10:00
UnknownShadow200
dd08385fdc Fix WeatherRenderer in C. 2017-08-04 12:32:24 +10:00
UnknownShadow200
446afae0bd Finish porting EnvRenderer to C. 2017-08-04 12:26:52 +10:00
UnknownShadow200
9172afcfc9 Combine MinimalEnvRenderer and StandardEnvRenderer, remove a bunch of yucky 'if X is Y', casts, game.ReplaceComponent 2017-08-04 11:36:51 +10:00
UnknownShadow200
4459621057 Fix audio failing to play in windows 2000 VM, should hopefully address #463 2017-08-03 21:43:30 +10:00
UnknownShadow200
08fd0b19a2 Fix sitting model not having skin cleared. 2017-08-03 14:53:57 +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
0695fe04eb Port ChickenModel to C. 2017-08-03 14:53:12 +10:00
UnknownShadow200
fa03620666 Port SpiderModel to C. 2017-08-03 14:52:51 +10:00
UnknownShadow200
bee207138c Only pick a block if the intersection point is exactly within reach distance. Should address #461. 2017-08-02 20:06:01 +10:00
UnknownShadow200
8ebc8cda7b Min model scale allowed is now 0.01 2017-07-30 21:26:24 +10:00
UnknownShadow200
de1b84883f Update readme to specify that it supports windows 98 (in a VM) 2017-07-30 13:40:56 +10:00