Subversion Repository Public Repository

fonline_sdk

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

Changeset 489

Committed by cvet on Fri 27 Mar, 2015 20:12:39 +0000

Commit Message:

Перенесен интерфейс персонажа.
Из движка удален код введенных интерфейсов, поэтому использовать сейчас можно будет только их скриптовые аналоги.
В связи с этим были вынесены из движка некоторые данные персонажа, которые использовались в этих интерфейсах.

При возникновении ошибки при вызове движковых функций и методов теперь вызывается исключение, т.е. выполнение скрипта прерывается, а не продолжается, как было раньше.

В свойства добавлена поддержка строк (string) и массивов примитивов (int[], uint64[] и т.п.).
Они синхронизируются по тому же принципу, что и обычные примитивы.

Лексемы предметов перемещены в новые свойства, в строку Lexems
#pragma property "Item Public string Lexems"
void Item::SetLexems
string@ ItemCl::Lexems

Для сохранения текстовых файлов добавлена функция
bool SaveText(string& filePath, string& text)
Для сохранения скриншотов добавлена функция
bool SaveScreenshot(string& filePath)
Удалены функции
bool SaveScreenshot()
bool SaveLogFile()
void filename_logfile( string& filename )
void filename_screenshot( string& filename )

Удален следующий скриптовый функционал:
hash ItemCl::GetScriptId() const
uint GetMessageFilters(int[]@+ filters)
void SetMessageFilters(int[]@+ filters)
int GetScroll(int scrollElement)
void SetScroll(int scrollElement, int value)
bool __ConsoleActive
string@ GetLastError()

В скриптовый GUIObject добавлено свойство
bool IsNotCathcable
что означает, что за этот элемент нельзя перетаскивать панель.

Changes

Added /Client/data/art/intrface/arrow_down_off.png

Added /Client/data/art/intrface/arrow_down_on.png

Added /Client/data/art/intrface/arrow_up_off.png

Added /Client/data/art/intrface/arrow_up_on.png

Added /Client/data/art/intrface/cha_switcher_karma.png

Added /Client/data/art/intrface/cha_switcher_kills.png

Added /Client/data/art/intrface/cha_switcher_perks.png

Added /Client/data/art/intrface/slider.png

Added /Client/data/art/intrface/slider_dec.png

Added /Client/data/art/intrface/slider_inc.png

Added /Tools/InterfaceEditor/gui/default/Character.fogui

Modified /Client/FOnline Diff

Modified /Client/FOnline.exe Diff

Modified /Client/FOnline.pdb Diff

Modified /Client/data/art/intrface/default.ini Diff

Modified /Server/FOnlineServer Diff

Modified /Server/FOnlineServer.exe Diff

Modified /Server/FOnlineServer.pdb Diff

Modified /Server/FOnlineServerDaemon Diff

Modified /Server/scripts/_client_defines.fos Diff

Modified /Server/scripts/_defines.fos Diff

Modified /Server/scripts/_msgstr.fos Diff

Modified /Server/scripts/client_main.fos Diff

Modified /Server/scripts/den_barbekky_boy.fos Diff

Modified /Server/scripts/den_virgin.fos Diff

Modified /Server/scripts/explode.fos Diff

Modified /Server/scripts/fix_boy.fos Diff

Modified /Server/scripts/fonline.h Diff

Modified /Server/scripts/fonline_test.dll Diff

Modified /Server/scripts/fonline_test.so Diff

Modified /Server/scripts/fonline_test_client.dll Diff

Modified /Server/scripts/fonline_test_client.so Diff

Modified /Server/scripts/fonline_tla.dll Diff

Modified /Server/scripts/fonline_tla_client.dll Diff

Modified /Server/scripts/game_event_caches.fos Diff

Modified /Server/scripts/gui.fos Diff

Modified /Server/scripts/gui_h.fos Diff

Modified /Server/scripts/gui_screens.fos Diff

Modified /Server/scripts/input.fos Diff

Modified /Server/scripts/main.fos Diff

Modified /Server/scripts/map_ncr_bazaar.fos Diff

Modified /Server/scripts/map_ncr_downtown.fos Diff

Modified /Server/scripts/mapper_main.fos Diff

Modified /Server/scripts/navarro.fos Diff

Modified /Server/scripts/ncr_kess.fos Diff

Modified /Server/scripts/ncr_michael.fos Diff

Modified /Server/scripts/ncr_postman.fos Diff

Modified /Server/scripts/ncr_siege.fos Diff

Modified /Server/scripts/ncr_westin.fos Diff

Modified /Server/scripts/q_hunter.fos Diff

Modified /Server/scripts/q_spy_mission.fos Diff

Modified /Server/scripts/redd_q_wanamingo.fos Diff

Modified /Server/scripts/sandbag.fos Diff

Modified /Server/scripts/se_android.fos Diff

Modified /Server/scripts/test.fos Diff

Modified /Server/scripts/vcity_common.fos Diff

Modified /Server/scripts/wanted.fos Diff

Modified /Tools/ASCompiler/ASCompiler Diff

Modified /Tools/ASCompiler/ASCompiler.exe Diff

Modified /Tools/ASCompiler/ASCompiler.pdb Diff

Modified /Tools/InterfaceEditor/InterfaceEditor.exe Diff

Modified /Tools/InterfaceEditor/Newtonsoft.Json.dll Diff

Modified /Tools/InterfaceEditor/gui/default/Game.fogui Diff

Modified /Tools/InterfaceEditor/gui/default/Inventory.fogui Diff

Modified /Tools/InterfaceEditor/gui/default/Registration.fogui Diff

Modified /Tools/InterfaceEditor/gui/default.foguischeme Diff

Modified /Tools/Mapper/Mapper Diff

Modified /Tools/Mapper/Mapper.exe Diff

Modified /Tools/Mapper/Mapper.pdb Diff