143 Commits

Author SHA1 Message Date
UnknownShadow200
e787c45147 ZipEntry doesn't need CompressedHeaderOffset 2017-09-18 19:15:24 +10:00
UnknownShadow200
db4275f571 Rewrite code to avoid usage of Dictionary 2017-09-15 17:38:33 +10:00
UnknownShadow200
113d3e3b5b Make the launcher compile with C# 2.0 compiler 2017-09-14 19:34:17 +10:00
UnknownShadow200
ad5b6064e6 Optimise particle rendering II 2017-09-12 23:39:29 +10:00
UnknownShadow200
f430c9508c Mipmaps work with animations now 2017-08-28 09:23:26 +10:00
UnknownShadow200
e28d029e39 Fix mipmaps with terrain.png less than 16x16, give arm model a collision size. 2017-08-28 08:51:40 +10:00
UnknownShadow200
3a7cc8924b Implement mipmaps with direct3d9 backend too. Fixes #214. 2017-08-22 23:47:00 +10:00
UnknownShadow200
ff177cd023 Start work on mipmaps support, fix plugin warning crashing client 2017-08-22 20:38:19 +10:00
UnknownShadow200
c23ba90c1f Make BlockInfo class static and break all plugins in the process. 2017-08-14 09:33:21 +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
daf7b95203 X 2017-07-22 16:12:47 +10:00
UnknownShadow200
e18da6a308 Fix issues with cached terrain.png not being updated when entry at same url is changed 2017-07-22 15:56:46 +10:00
UnknownShadow200
fc8d593b35 Define our own explict delegate types for better annotating arguments
also means less compile errors when compiling for .NET later than 2.0
2017-06-06 14:46:14 +10:00
UnknownShadow200
4268d7c7c1 Launcher is now capable of running without ClassicalSharp.exe 2017-05-23 10:04:18 +10:00
UnknownShadow200
90b1b1818d Remove all declarations in for loops, for pre C99 compatibility. 2017-05-13 00:03:11 +10:00
UnknownShadow200
5a49676c8a Start work on implementing 1D and 2D texture atlas in C. 2017-05-12 23:48:04 +10:00
UnknownShadow200
e6293df6a4 Implement basic file I/O operations in C 2017-05-07 13:27:14 +10:00
UnknownShadow200
d22cdb7e32 Port IGraphicsAPI to C 2017-05-04 15:48:26 +10:00
UnknownShadow200
19e2ff846c better var names 2017-04-09 12:35:31 +10:00
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