124 Commits

Author SHA1 Message Date
UnknownShadow200
946e5075ac More fixes II 2017-02-11 17:39:27 +11:00
UnknownShadow200
92c2aad07d Better crash dialog message 2017-02-10 11:13:46 +11:00
UnknownShadow200
e9137b6361 Inline lava animation calculation. 2017-02-07 23:00:04 +11:00
UnknownShadow200
b45bb70785 some micro optimisations 2017-02-07 22:53:54 +11:00
UnknownShadow200
f96c93c932 combine lava and water animation 2017-02-07 22:22:27 +11:00
UnknownShadow200
f1c28e2a38 remember to release file handle when reading cached texture pack. (Thanks goodlyay) 2017-02-01 12:40:27 +11:00
UnknownShadow200
0d5aba3e1b fix compile error and minor cleanup 2017-01-31 10:06:50 +11:00
UnknownShadow200
c00ae07a47 Merge pull request #296 from CybertronicToon/patch-2
Create WaterAnimation.cs
2017-01-31 09:56:31 +11:00
CybertronicToon
a97e2c69c9 Removed the commented out col inversion
It is unnecessary to have it in there commented out.
2017-01-30 14:55:37 -06:00
CybertronicToon
3440c898be Edited flame heat
Made the flame heat 0.1, instead of the previous incorrect 0.06. This makes it look correct.
2017-01-30 14:52:42 -06:00
CybertronicToon
b7e9eb4579 More accurate animation runs at proper speed
The more accurate animation now runs at the proper speed, so it is no longer necessary to call the function twice.
2017-01-30 13:27:40 -06:00
CybertronicToon
2ea6ca9165 More accurate water animation
Made the water animation more accurate, uses the same variables as in Goodlyay's guide.
2017-01-30 13:24:34 -06:00
CybertronicToon
c292995c40 Added water animation to animations.cs
Added the dynamic animation for water to animations.cs
2017-01-30 03:26:20 -06:00
CybertronicToon
52efb8aa70 Create WaterAnimation.cs
File with code for water animation.
2017-01-30 03:24:08 -06:00
UnknownShadow200
f90f5efc93 link to github mirror 2017-01-30 19:55:27 +11:00
UnknownShadow200
fb95a6a8b4 extract entry from texcache before doing async resource check. avoids 1-2 seconds of pink textures 2017-01-30 14:47:38 +11:00
UnknownShadow200
69d6bd228e make sure input bitmaps are 32bpp everywhere 2017-01-24 09:11:47 +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
0d3102c868 Finish plugin support 2016-12-03 18:49:21 +11:00
UnknownShadow200
75f0a73841 Style: Indent catch and switch properly. 2016-12-02 15:31:34 +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
f0047be63c Style: Remove CommandReader class, move stuff from ClassicalSharp.TexturePack to ClassicalSharp.Textures 2016-10-17 17:15:24 +11:00
UnknownShadow200
2452cc93a7 Style: Use gfx consistently everywhere, instead of mixing api and graphics. 2016-10-12 12:25:12 +11:00
UnknownShadow200
b576506b86 Gfx: add bool indicating whether texture should use managed or default pool. 2016-10-06 10:54:17 +11:00
UnknownShadow200
2c5aa39274 Client: Fix memory leak with animations.png. (Thanks 123DMWM) 2016-09-27 08:37:36 +10:00
UnknownShadow200
77c3ce331f Client: Microoptimisations for lava animation. 2016-09-22 13:07:39 +10:00
UnknownShadow200
cb7aba8e9e Make lava animation web scalable. (16x,32x,64x) 2016-09-22 12:42:33 +10:00
UnknownShadow200
da8ebc61b1 Fix last compile errors for android backend. 2016-09-11 12:45:23 +10:00
UnknownShadow200
59ee780aca Fix some of compile errors for android target. 2016-09-11 11:58:59 +10:00
UnknownShadow200
83aaf4091d Should be using the 'lastmodified' provided for our own 'if modified since' header, fixes texture packs from some web servers always being redownloaded. (Thanks CookieNetwork) 2016-08-28 13:45:25 +10:00
UnknownShadow200
6b2651b8fb Split up Utils.cs into Utils.cs and Utils.Math.cs, also use our own ToLower() method that does not make any extra memory allocations. 2016-08-15 20:00:57 +10:00
UnknownShadow200
4033dcff1a Avoid the temp mem allocation for reading compressed data in ZipReader. 2016-08-15 18:49:06 +10:00
UnknownShadow200
ff4b1eb723 Avoid foreach wherever possible. 2016-08-15 12:57:25 +10:00
UnknownShadow200
38be2f192e Make ticking tasks code more extensible. 2016-08-06 15:06:20 +10:00
UnknownShadow200
3fdda6ab92 Make TexturePackExtractor less hardcoded. 2016-07-25 12:22:10 +10:00
UnknownShadow200
7432413a77 Move gui code to a separate class. 2016-07-25 12:11:55 +10:00
UnknownShadow200
7be81bea37 Fix most of remaining compilation errors on android project type. 2016-07-14 11:29:54 +10:00
UnknownShadow200
0da70b91eb Use android-compatible 'is 32bpp bitmap' test. 2016-07-14 00:15:25 +10:00
UnknownShadow200
719d741a9b More fixups for android backend. 2016-07-13 22:48:28 +10:00
UnknownShadow200
02fc19e1e7 Fixup OpenGLES api for IGraphicsApi changes. 2016-07-13 22:26:43 +10:00
UnknownShadow200
a9b3c0876e Fix last commit. 2016-07-12 20:15:19 +10:00
UnknownShadow200
7711515aee Fix last commit. (Oops) 2016-07-12 20:14:19 +10:00
UnknownShadow200
ea12b5a428 Also add very simple dynamic lighting. 2016-07-12 19:54:34 +10:00
UnknownShadow200
35844e526d Optimise lava animation algorithm. 2016-07-09 18:17:27 +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
7236028106 Optimise lava animation slightly. 2016-07-07 22:01:36 +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
5ec0fc783a Add lava animation like classic. (Much much thanks to goodlyay) 2016-07-03 17:04:26 +10:00