Subversion Repository Public Repository

fonline_sdk

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Changeset 820

Committed by cvet on Tue 09 Oct, 2018 20:19:33 +0000

Commit Message:

From engine excluded hardcoded specific item protos and item types/components.
New items flags
bool IsStatic – determine that item not generated and still in single instance for all map instances;
bool IsWall – determine that is wall for mapper interface, contour drawing, lowest draw order, for correct lighting calculations and minimap;
bool IsScenery – determine that is scenery for mapper interface, minimap, contour drawing and lowest draw order against other items on hex;
bool IsCanOpen – engine handles item open/close state and affect bool Opened property (doors and containers);
bool IsScrollBlock – instead of special hex now used this flag;
bool IsHiddenPicture – used for hide picture on client but send item, because now IsHidden static items not send to client;
bool IsTrigger – set this flag for dynamic or static items if you want to catch them in EventItemWalk or EventStaticItemWalk;
bool IsHiddenInStatic – hide static items in resulted functions like GetStaticItem/GetStaticItems for performance boost.

Properties
TriggerNum Weapon.Anim1 Grid.ToMap Grid.ToMapEntire Grid.ToMapDir
are excluded from engine.

Removed following methods
void Critter::TransitToMap(Map map, hash entire)
Item Map::GetDoor(uint16 hexX, uint16 hexY)
uint Map::CountEntire(hash entire) const
array<hash> Map::GetAllEntires() const
bool Map::GetEntireCoords(hash entire, uint skip, uint16& hexX, uint16& hexY) const
bool Map::GetEntireCoords(hash entire, uint skip, uint16& hexX, uint16& hexY, uint8& dir) const
uint Map::GetEntireCoords(hash entire, array<uint16> hexX, array<uint16> hexY, array<uint8> dirs) const
bool Map::GetNearEntireCoords(hash& entire, uint16& hexX, uint16& hexY) const
bool Map::GetNearEntireCoords(hash& entire, uint16& hexX, uint16& hexY, uint8& dir) const

Renamed
Map::GetScenery -> Map::GetStaticItem
Map::GetSceneries -> Map::GetStaticItems

Changes

Removed /Modules/Core/Entire.fos

Removed /Modules/Core/Items

Removed /Modules/Core/Resources/Core/Blockers

Modified /Binaries/ASCompiler/ASCompiler.exe Diff

Modified /Binaries/ASCompiler/ASCompiler.pdb Diff

Modified /Binaries/ASCompiler/ASCompiler32 Diff

Modified /Binaries/ASCompiler/ASCompiler32.exe Diff

Modified /Binaries/ASCompiler/ASCompiler32.pdb Diff

Modified /Binaries/ASCompiler/ASCompiler64 Diff

Modified /Binaries/Client/Android/libs/armeabi-v7a/libFOnline.so Diff

Modified /Binaries/Client/Android/libs/x86/libFOnline.so Diff

Modified /Binaries/Client/Linux/FOnline32 Diff

Modified /Binaries/Client/Linux/FOnline64 Diff

Modified /Binaries/Client/Web/FOnline.js Diff

Modified /Binaries/Client/Web/FOnline.js.mem Diff

Modified /Binaries/Client/Web/FOnline_Debug.js Diff

Modified /Binaries/Client/Web/FOnline_Debug.js.mem Diff

Modified /Binaries/Client/Windows/FOnline.exe Diff

Modified /Binaries/Client/Windows/FOnline.pdb Diff

Modified /Binaries/Client/Windows/FOnline64.exe Diff

Modified /Binaries/Client/Windows/FOnline64.pdb Diff

Modified /Binaries/Mapper/Mapper.exe Diff

Modified /Binaries/Mapper/Mapper.pdb Diff

Modified /Binaries/Mapper/Mapper32 Diff

Modified /Binaries/Mapper/Mapper32.exe Diff

Modified /Binaries/Mapper/Mapper32.pdb Diff

Modified /Binaries/Mapper/Mapper64 Diff

Modified /Binaries/Server/FOnlineServer.exe Diff

Modified /Binaries/Server/FOnlineServer.pdb Diff

Modified /Binaries/Server/FOnlineServer32 Diff

Modified /Binaries/Server/FOnlineServer32.exe Diff

Modified /Binaries/Server/FOnlineServer32.pdb Diff

Modified /Binaries/Server/FOnlineServer64 Diff

Modified /Binaries/Server/FOnlineServerDaemon32 Diff

Modified /Binaries/Server/FOnlineServerDaemon64 Diff

Modified /Modules/Core/Core.fos Diff