Commit graph

21 commits

Author SHA1 Message Date
UnknownShadow200
21e8a34b36 Make ParticleManager an IGameComponent, remember to release native textures. 2016-05-13 16:26:31 +10:00
UnknownShadow200
e8bd5033f3 Reduce code duplication for particles. 2016-05-11 19:37:31 +10:00
UnknownShadow200
2717458067 Move everything to WorldEnv class. 2016-05-11 19:29:59 +10:00
UnknownShadow200
b0f3faa530 Reduce 'popping' effect when leaving the ground and view bobbing is enabled, partially addresses #192. 2016-05-08 19:13:09 +10:00
UnknownShadow200
4d8b0fc3d8 Use bitflags instead of booleans for hidden so it can better fit in cache. 2016-05-06 13:43:25 +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
357b20619a Fix update script on linux not restarting launcher. 2016-02-14 10:26:39 +11:00
UnknownShadow200
7427d399c5 Particles now use the 1D texture atlas arrays. This means we no longer need a copy of the 2D terrain atlas in vram. 2016-01-31 23:54:45 +11:00
UnknownShadow200
a682a57e31 Don't allocate an object reference to the game class for every particle, instead pass it as an argument. Also use new more organised options key, which are still backwards compatible. 2016-01-31 22:53:42 +11:00
UnknownShadow200
2c30831c53 Fixup rain particles outside the map and rain rendering in liquids. 2016-01-19 23:05:51 +11:00
UnknownShadow200
6478ddb987 Allow using scroll wheel in 'colour scheme' in launcher, other minor touchups. 2015-12-31 23:15:40 +11:00
UnknownShadow200
b0c7f5f55a Now particle block break spawning works properly with non 0 minX/Y/Z and non 1 maxX/Z, also fix client taking focus even when not the foreground window (Thanks Joseph) 2015-12-23 23:05:09 +11:00
UnknownShadow200
6fb7e099f9 Remove Height[] array and use MaxBB[].Y in its place, also fix sprites being drawn with wrong height in block in hand. 2015-12-23 17:43:45 +11:00
UnknownShadow200
6fb700ae8f Particles now work with non 0 min and non 1 max. 2015-12-23 15:30:34 +11:00
UnknownShadow200
fa358f9ad2 Add rain particles, use particle pooling. 2015-12-17 18:35:05 +11:00
UnknownShadow200
04c47d493d Setup framework for AudioManager class. 2015-11-27 07:33:56 +11:00
UnknownShadow200
184625e82f Oops, remove duplicate folder. 2015-11-27 07:23:44 +11:00
UnknownShadow200
b1a972a905 Add SoundPatcher and refactor ResourceFetcher, in preparation for fetching sound/music resources. 2015-11-27 07:22:29 +11:00