mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
84b2442fac
Initially, window can only handle calls by string parameters, ie `window "abc"`, however a window can also be called using its index in windowList, ex. `window 1`, this patch adds support to check reference type (ie checking using STRING or INT) and return window by index if applicable. `rect of window` of `workshop` used this feature to create a window named ball then referring to it using `window 1`, previously multiple windows were getting created, however now the existing window will be returned.