Goblin-King
June 22nd, 2009, 12:47
Version 2.4.0
Implemented a new launcher. You may notice it now relies less on Windows specific components, presents a more uniform user experience across the launcher and the actual game mode, allows increased flexibility such as returning to the launcher if the client connection is lost, as well as allowing us to develop the functionality of the launcher more flexibly in the future.
Added the function genericcontrol.hasIcon, which can be used to check if an icon that was set was actually loaded into the control.
Added script support for scrolling lists, formatted text controls and image controls. The functions windowcontrol.getScrollState and windowcontrol.setScrollPosition can be used to perform the operations, and the windowcontrol.onScroll handler is available for detecting changes.
Parameter coordinates to windowcontrol.onDrag were useless if the position of the receiving control was adjusted during a drag. The parameters are now based on the position of the control at the time the drag was started.
Added the bitmapwidget.setSize function to the scripting interface. This allows the implementation of widgets whose dimensions are not dependent on the size of the bitmap image contained inside. The widget frame will be adjusted to this size, and the contained bitmap will be scaled down to fit if it is too large to fit the given bounds.
Added a "center" panel & control anchor point. This allows both horizontal and vertical anchors to be set at the center of a window or parent control.
Support for local mode extensions was added. When local mode is started with a locally installed ruleset, any compatible extensions also locally installed can be enabled. When browsing campaigns previously played, the extensions enabled by the host on the last session will be automatically loaded.
The token drop script handlers will now be properly called, for tokens not marked modifiable and when performed by a client. Make sure to disallow the operations in the handlers if necessary.
Fixed a crash bug involving extension exclusion groups.
The databasenode.createNode function should no longer create invalid nodes when called to create child nodes to nodes not owned, as a client. In such a case, the function acts like the function databasenode.getChild. This also applies to DB.createNode. Windows otherwise created, such as using windowlist.createWindow or Interface.openWindow will create a window with no data source under such circumstances.
Implemented a new launcher. You may notice it now relies less on Windows specific components, presents a more uniform user experience across the launcher and the actual game mode, allows increased flexibility such as returning to the launcher if the client connection is lost, as well as allowing us to develop the functionality of the launcher more flexibly in the future.
Added the function genericcontrol.hasIcon, which can be used to check if an icon that was set was actually loaded into the control.
Added script support for scrolling lists, formatted text controls and image controls. The functions windowcontrol.getScrollState and windowcontrol.setScrollPosition can be used to perform the operations, and the windowcontrol.onScroll handler is available for detecting changes.
Parameter coordinates to windowcontrol.onDrag were useless if the position of the receiving control was adjusted during a drag. The parameters are now based on the position of the control at the time the drag was started.
Added the bitmapwidget.setSize function to the scripting interface. This allows the implementation of widgets whose dimensions are not dependent on the size of the bitmap image contained inside. The widget frame will be adjusted to this size, and the contained bitmap will be scaled down to fit if it is too large to fit the given bounds.
Added a "center" panel & control anchor point. This allows both horizontal and vertical anchors to be set at the center of a window or parent control.
Support for local mode extensions was added. When local mode is started with a locally installed ruleset, any compatible extensions also locally installed can be enabled. When browsing campaigns previously played, the extensions enabled by the host on the last session will be automatically loaded.
The token drop script handlers will now be properly called, for tokens not marked modifiable and when performed by a client. Make sure to disallow the operations in the handlers if necessary.
Fixed a crash bug involving extension exclusion groups.
The databasenode.createNode function should no longer create invalid nodes when called to create child nodes to nodes not owned, as a client. In such a case, the function acts like the function databasenode.getChild. This also applies to DB.createNode. Windows otherwise created, such as using windowlist.createWindow or Interface.openWindow will create a window with no data source under such circumstances.