[Feature] Add Support for item textures higher than 65,535 (#3494)

* [Feature] Add Support for item textures higher than 65,535

# Notes
- We were previously using `uint16` which has a max of `65,535`, but some of the new Live textures that are being used have values way beyond this.
- Updates quest API, commands, and database tables that also used `uint16`.

* Update version.h
This commit is contained in:
Alex King
2023-07-14 18:49:59 -04:00
committed by GitHub
parent b01486d767
commit e55f9b9d27
19 changed files with 178 additions and 262 deletions
+2 -2
View File
@@ -2269,8 +2269,8 @@ const NPCType* ZoneDatabase::GetMercType(uint32 id, uint16 raceid, uint32 client
else
tmpNPCType->special_abilities[0] = '\0';
tmpNPCType->d_melee_texture1 = Strings::ToInt(row[28]);
tmpNPCType->d_melee_texture2 = Strings::ToInt(row[29]);
tmpNPCType->d_melee_texture1 = Strings::ToUnsignedInt(row[28]);
tmpNPCType->d_melee_texture2 = Strings::ToUnsignedInt(row[29]);
tmpNPCType->prim_melee_type = Strings::ToInt(row[30]);
tmpNPCType->sec_melee_type = Strings::ToInt(row[31]);
tmpNPCType->runspeed = Strings::ToFloat(row[32]);