Wed improvements

- Sprite preview:

- Separate "Add" menu:

- Light ranges can be controlled using Wed's scale mode:

error(string)

Outputs a message box with the given error message. Useful for debugging.

function test_player()
{
if (player == null)
{
error("The player doesn't exist in this level!");
}
}

on_t = test_player; // press the "T" key to check player's status

Multidimensional arrays

The new C-script compiler now supports an arbitrary number of array dimensions. I needed this feature so bad while I was developing the code for perfect AI and now it is here :)

var array[10][10][10];