57 Commits

Author SHA1 Message Date
UnknownShadow200
0eec5dc504 Optimise selection box rendering. 2018-03-13 08:24:15 +11:00
UnknownShadow200
12e274af77 Port Commands to C. (also use caseless equals more often) 2018-03-13 08:04:52 +11:00
UnknownShadow200
05d0c8f635 Port SelectionBox to C. 2018-03-11 21:08:09 +11:00
UnknownShadow200
e92a56bb2a Optimise selection box rendering 2018-03-04 22:06:11 +11:00
UnknownShadow200
bc90eb9d52 Fix external plugins changing game.Graphics causing issues 2018-03-04 19:44:03 +11:00
UnknownShadow200
f48532207e Add a untested hacky workaround, to force OSX to use 32 bit architecture with mono >= 5.2 2017-10-22 00:06:00 +11:00
UnknownShadow200
bf846b80c0 Remove DrawMode/DrawVb/DrawIndexedVb, just provide DrawVb_Lines and DrawVb_IndexedTris 2017-07-03 23:56:05 +10:00
UnknownShadow200
db2b524b43 um oops 2017-06-03 08:51:56 +10:00
UnknownShadow200
a0b7050277 Port PickedPosRenderer to C. 2017-06-03 08:50:40 +10:00
UnknownShadow200
b304bed19a Don't store id in TabListEntry, saves a byte 2017-05-21 12:30:51 +10:00
UnknownShadow200
d947ac6988 Slightly less hardcoding 2017-02-01 17:36:09 +11:00
UnknownShadow200
98d435b110 fix licensing 2017-01-20 09:12:04 +11:00
UnknownShadow200
1aef52fab2 Use standard indentation for everything. 2016-11-27 14:47:09 +11:00
UnknownShadow200
2fa379746a Style: Finish simplifying BlockInfo 2016-10-29 13:49:33 +11:00
UnknownShadow200
7f92161077 Gfx: IGraphicsApi is no longer responsible for managing dynamic vertex buffers. Simplify dynamic vertex buffer code. 2016-10-12 19:28:00 +11:00
UnknownShadow200
2452cc93a7 Style: Use gfx consistently everywhere, instead of mixing api and graphics. 2016-10-12 12:25:12 +11:00
UnknownShadow200
273b3b32e2 Gfx: Remove unnecessary parameter from UpdateDynamicIndexedVb 2016-10-10 09:13:32 +11:00
UnknownShadow200
64cb13d0a6 Gfx: DeleteVb should reset the id too. 2016-10-01 17:45:17 +10:00
UnknownShadow200
01cdeee0eb Reduce code duplication of SelectionBox and AxisLinesRenderer. 2016-08-03 14:40:32 +10:00
UnknownShadow200
8c292d92e3 Use packed ints instead of 4 byte fields in vertex structs. 2016-07-10 11:23:20 +10:00
UnknownShadow200
9e1eca9491 Fix 20+names in classic list overflowing box size slightly, also fix selected outlined block being translucent causing entity shadows to disappear. 2016-07-08 20:42:22 +10:00
UnknownShadow200
2a233d9b11 Fix z-fighting and picking issues with water/lava. 2016-07-08 14:47:00 +10:00
UnknownShadow200
1dd58bf874 Fix selection outline writing to depth buffer when it should not be. 2016-07-07 22:59:52 +10:00
UnknownShadow200
b135d484b3 Allow custom texture packs to specify a file to use the built-in dynamic lava generation algorithm. (Thanks goodlyay) 2016-07-07 21:56:11 +10:00
UnknownShadow200
8bd253a455 Same selection colour as classicube client. 2016-06-26 17:22:20 +10:00
UnknownShadow200
46095f6db9 Use methods compatible with OpenTK 1.0 API. 2016-06-21 08:34:27 +10:00
UnknownShadow200
d6266ed61e Normalise line endings to end this madness. (Thanks Jjp137) 2016-06-11 17:56:37 +10:00
UnknownShadow200
e1d9b979cb Make water/lava be offset down by 1.5 pixels to match original classic. 2016-06-11 17:15:29 +10:00
UnknownShadow200
b2c642b8af Remove Block enum. 2016-06-11 15:29:45 +10:00
UnknownShadow200
41a85c95c1 Make selected block outline a bit better. 2016-06-09 00:26:39 +10:00
UnknownShadow200
585bde4454 Do not toggle depthwrite on/off in weather renderer unless necessary. 2016-06-08 15:16:31 +10:00
UnknownShadow200
1158193ad1 Fix selected block outline not showing when looking through map edge water. 2016-06-08 15:04:17 +10:00
UnknownShadow200
d06110f571 Make selected block lines smaller (Thanks Coliop). 2016-06-08 13:54:46 +10:00
UnknownShadow200
442d72bd6b More usage of IGameComponent 2016-05-08 18:53:52 +10:00
UnknownShadow200
1e3fad5930 Make all game components handle new map / new map loaded. 2016-05-01 11:23:38 +10:00
UnknownShadow200
fc4028f013 Initial work on adding Reset method to IGameComponent. (To reset state for reconnection to a server) 2016-04-24 23:13:29 +10:00
UnknownShadow200
669c88c4d0 Make various classes derive from IGameComponent for easier extensibility. 2016-04-23 12:08:57 +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
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
a78205c45a Add copyright notices to every source file. 2016-03-26 13:51:42 +11:00
UnknownShadow200
21c1c031c6 Allow placing blocks off map bedrock sides. (Thanks MrGoober) 2016-01-30 21:43:11 +11:00
UnknownShadow200
f8e19afe65 Implement clipping for third person camera, also fix sound selection method for blocks being wrong (Thanks 123DontMessWitMe) 2015-12-31 11:09:53 +11:00
UnknownShadow200
8b73b0a713 Minor code cleanup, separate event classes. 2015-12-29 16:24:54 +11:00
UnknownShadow200
31753e1f9e Selection boxes should expand outward instead of inward to match classicube (Thanks 123DontMessWitMe) 2015-12-22 11:27:29 +11:00
UnknownShadow200
8a934df673 Can press F7 to show axis lines. 2015-12-20 13:54:04 +11:00
UnknownShadow200
cc0dd16c42 Default.png should only not show pixels with A = 0, make clouds height be able to set to +-10,000, make snow/rain nicer, more work on 'alt text' input box. 2015-11-11 11:18:29 +11:00
UnknownShadow200
c8061b64fd Cleanup SelectionManager, don't show all 64 spaces in ChatInputWidget. 2015-11-08 16:32:08 +11:00
UnknownShadow200
928ab17ec2 More comments. 2015-11-03 16:26:15 +11:00
UnknownShadow200
f63d1e35e1 Begin to phase out usage of LogX/Y/Z calls, see issue #108 for why this is being done 2015-10-26 19:55:16 +11:00