Subversion Repository Public Repository

fonline_sdk

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

Changeset 815

Committed by cvet on Sat 29 Sep, 2018 11:13:53 +0000

Commit Message:

Added possibility to set animation running callbacks
funcdef void AnimationCallbackFunc(Critter cr)
void Critter::AddAnimationCallback(uint anim1, uint anim2, float normalizedTime, AnimationCallbackFunc animationCallback) const
If anim1/anim2 equal to zero then it’s applied to all sequence.

Added method to determine bone position in offset of current hex position
bool Critter::GetBonePosition(hash boneName, int& boneX, int& boneY) const

Client function to determine tile name (hash)
hash GetTileName(uint16 hexX, uint16 hexY, bool roof, int layer)

Redesigned interaction with DrawMapSprite*.
Added new class MapSprite for pass to new function
void DrawMapSprite(MapSprite& mapSprite)
Older DrawMapSpriteProto and DrawMapSpriteExt are removed.
MapSprite class members:
uint SprId
uint16 HexX
uint16 HexY
hash ProtoId
int FrameIndex
int OffsX
int OffsY
bool IsFlat
bool NoLight
int DrawOrder
int DrawOrderHyOffset
int Corner
bool DisableEgg
uint Color
uint ContourColor
bool IsTweakOffs
int16 TweakOffsX
int16 TweakOffsY
bool IsTweakAlpha
uint8 TweakAlpha

Example of using this stuff for character footsteps
https://www.youtube.com/watch?v=gHdzbBOI_Sw

Changes

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