New formula to calculate drawn map sizes, now every FeatureSize leads to an unique size
It works by using 4 hardcoded map sizes and the rest is simply interpolated.
Size 1: 1024×512
Size 6: 2048×1024
Size 12: 4096×2048 (default, compatible with pre-1.0.0)
Size 25: 8192×4096
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := physlayer
LOCAL_CFLAGS := -O2
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(MISC_DIR)/liblua $(MISC_DIR)/liblua $(JNI_DIR)/SDL/include
LOCAL_SRC_FILES := hwpacksmounter.c \
physfslualoader.c \
physfsrwops.c \
LOCAL_SHARED_LIBRARIES += SDL lua
include $(BUILD_SHARED_LIBRARY)