set MAX_FILE_LENGTH to about 2 megabytes

This commit is contained in:
fluidvanadium 2025-02-04 07:11:31 +00:00
parent dab976d4ef
commit 399656d1ab
No known key found for this signature in database
GPG key ID: C47646895F2455BC

View file

@ -8,7 +8,7 @@ constexpr int MAX_NAME_LENGTH = 0xff;
// max size for chat messages and text contents // max size for chat messages and text contents
constexpr int MAX_TEXT_LENGTH = 0xfff; constexpr int MAX_TEXT_LENGTH = 0xfff;
// max size for deck files and pictures // max size for deck files and pictures
constexpr int MAX_FILE_LENGTH = 0xffffff; // about 16 mega bytes constexpr int MAX_FILE_LENGTH = 0x1fffff; // about 2 megabytes
constexpr uint MINIMUM_DIE_SIDES = 2; constexpr uint MINIMUM_DIE_SIDES = 2;
constexpr uint MAXIMUM_DIE_SIDES = 1000000; constexpr uint MAXIMUM_DIE_SIDES = 1000000;