jsettlers / settlers-remake

A Remake of "The Settlers III" for Windows, Linux, Mac and Android
http://www.settlers-android-clone.com
MIT License
356 stars 100 forks source link

Many mostly graphics related changes #767

Open paulwedeck opened 5 years ago

paulwedeck commented 5 years ago

I reduced the number of shader to three:

There no longer is any pre gl2 render path because there are barly any remaining users:

I rewrote the FogOfWar algorithm to better fit the Backgrounds needs and to respect to current game speed/pause status.

GeometryHandles are no replaced by *DrawHandles. Most Textures and Geometries are bundled together in ManagedHandles hold by GLDrawContext that only create a single buffer and texture instead of one per SingleImage. Only parts of ManagedHandles can be used to draw via the unified-multi shader.

andreas-eberle commented 5 years ago

Wow, this looks massive. I'll need some time to check this all out. Thanks already for your work!

paulwedeck commented 5 years ago

419b2e2 fixes #769 for some characters (only that that I could extract from the labels_* files)