180 Commits

Author SHA1 Message Date
UnknownShadow200
3dfe3847b9 Add DrawText/MeasureText to C platform API 2017-10-28 21:15:29 +11:00
UnknownShadow200
98a08a3f3a Fix particles being shaded wrongly. (Thanks CyberToon) 2017-10-25 17:36:58 +11:00
UnknownShadow200
9556b1a384 If 'useclouds' is in the texture pack zip, then both the skybox and clouds render. 2017-09-28 12:23:45 +10:00
UnknownShadow200
b85afc73f9 Add ability to rotate skybox 2017-09-27 10:12:05 +10:00
UnknownShadow200
a13c673d5f turns out GZipStream.ReadByte() allocates a 1 byte array each time, so avoid that 2017-09-20 14:49:00 +10:00
UnknownShadow200
d27aba4c70 Obsolete MakeBool ButtonWidget maker 2017-09-16 21:35:23 +10:00
UnknownShadow200
e798f0f7ac Less lambda usage 2017-09-16 16:12:09 +10:00
UnknownShadow200
db4275f571 Rewrite code to avoid usage of Dictionary 2017-09-15 17:38:33 +10:00
UnknownShadow200
4413fc69e6 Get rid of nearly all lambda usage 2017-09-15 10:10:49 +10:00
UnknownShadow200
5c2ac98003 Begin rewriting client to eliminate all usage of lambdas 2017-09-14 23:14:44 +10:00
UnknownShadow200
e9b6a97987 Fix custom blocks not loading in singleplayer from last few commits 2017-08-16 17:21:24 +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
c05d6ee882 Fix blocks not being tinted in singleplayer. (Thanks Kingoscargames1) 2017-07-11 23:57:34 +10:00
UnknownShadow200
4cd17f8aab Partially port EnvRenderer to C. 2017-06-01 16:38:04 +10:00
UnknownShadow200
7953796732 Writing 64 bit integers is unused anyways, so remove the func 2017-05-17 22:49:11 +10:00
UnknownShadow200
73b6d9f489 Start porting stream I/O to C 2017-05-17 22:44:03 +10:00
UnknownShadow200
e728e96be8 Move entity colour calculation to Entity 2017-05-08 22:51:40 +10:00
UnknownShadow200
34f84ef280 simplify a bit 2017-05-07 16:42:14 +10:00
UnknownShadow200
e5656bcf8e Implement more collide types, fixes #417 2017-04-28 21:44:33 +10:00
UnknownShadow200
d0a85c7975 Bugfixes for last commit 2017-04-22 15:19:39 +10:00
UnknownShadow200
747e3183d6 Modularise lighting more 2017-04-22 15:03:06 +10:00
UnknownShadow200
0d927dfe2e Move code out of World.SetBlock 2017-04-22 13:53:31 +10:00
UnknownShadow200
af44329f1e x 2017-04-21 19:47:48 +10:00
UnknownShadow200
5f3bd8336c make lighting api consistent 2017-04-21 17:59:53 +10:00
UnknownShadow200
dccef50a90 Fix SetPermission sent before Handshake crashing client 2017-04-17 12:56:07 +10:00
UnknownShadow200
f71d88c699 Use sides offset instead. (Thanks goodlyay) 2017-04-16 15:16:34 +10:00
UnknownShadow200
e3582a8dff fix 2017-04-16 14:21:50 +10:00
UnknownShadow200
2b3b99d03d Allow changing sides height separately 2017-04-16 14:00:06 +10:00
UnknownShadow200
fdd4b93fdb Fix incorrect lighting when replacing slab lower with slab upper 2017-02-26 23:38:22 +11:00
UnknownShadow200
fe7b494a84 comments 2017-02-25 19:11:53 +11:00
UnknownShadow200
2738713a83 Skip inside faces for all opaque blocks, even those that are not a full solid block. 2017-02-21 08:27:09 +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
cf06302e33 Fix leftover issues 2017-02-16 16:42:50 +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
e02faa36e5 Add exp fog (thanks goodlyay) 2017-02-06 11:56:22 +11:00
UnknownShadow200
d947ac6988 Slightly less hardcoding 2017-02-01 17:36:09 +11:00
UnknownShadow200
e7aa519846 more concise interpolation, fix last commit 2017-01-25 22:30:56 +11:00
UnknownShadow200
98d435b110 fix licensing 2017-01-20 09:12:04 +11:00
UnknownShadow200
e33d39685c Style: Make more code available to external plugins. 2016-12-03 19:26:38 +11:00
UnknownShadow200
75f0a73841 Style: Indent catch and switch properly. 2016-12-02 15:31:34 +11:00
UnknownShadow200
619ebafca1 more work on abstracting lighting 2016-12-02 15:29:23 +11:00
UnknownShadow200
b9f404ad08 more work on abstracting lighting 2016-12-02 15:05:09 +11:00
UnknownShadow200
4d1ef1a65b more work on lighting abstraction 2016-11-29 21:25:39 +11:00
UnknownShadow200
2986773b51 Abstract block lighting 2016-11-29 21:01:18 +11:00
UnknownShadow200
250ab7f417 Do same for launcher 2016-11-27 14:50:45 +11:00
UnknownShadow200
1aef52fab2 Use standard indentation for everything. 2016-11-27 14:47:09 +11:00
UnknownShadow200
96710328a8 Core: Fix respawning in singleplayer sometimes putting you inside a block
also a minor touchup to reduce IModel code
2016-11-06 14:40:39 +11:00
UnknownShadow200
2fa379746a Style: Finish simplifying BlockInfo 2016-10-29 13:49:33 +11:00
UnknownShadow200
00f28e2039 Style: Start simplifying BlockInfo 2016-10-29 13:15:00 +11:00