#3924: Add debug GUI for qtscript
-------------------------------------------------+-------------------------
 Reporter:  Per                                  |             Owner:  Per
     Type:  patch (an actual patch, not a        |            Status:  new
  request for one)                               |         Milestone:
 Priority:  normal                               |  unspecified
Component:  Engine: Scripting / AI               |           Version:
 Keywords:  GUI qtscript qt javascript           |  git/master
 Blocking:                                       |        Blocked By:
                                                 |  Operating System:  All
                                                 |  /Non-Specific
-------------------------------------------------+-------------------------
 This commit adds a debug GUI that displays all script globals, triggers
 and labels, and allows you to double-click each label to center camera on
 and mark terrain under each label object. The dialog is kept continuously
 updated.

 
https://github.com/perim/warzone2100/commit/fde557574c0d6b65a21d3224d795c05336851c97

 I had to add a dependency on QtGui to the SDL backend, and use
 QApplication instead of QCoreApplication. This ''seems'' to have no ill
 effect.

 There are several possible future features that could be added to this.
 One idea is to add an input box for runtime evaluation of javascript code,
 which could be useful to set up testing scenarios. Another idea is to
 expose performance counters or logging calls for each scripting context.

-- 
Ticket URL: <http://developer.wz2100.net/ticket/3924>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Warzone2100-project mailing list
Warzone2100-project@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-project

Reply via email to