Branch: refs/heads/master
Home: https://github.com/Warzone2100/warzone2100
Commit: 52ab1be90ddb25d84977b4effb476ddac68522cd
https://github.com/Warzone2100/warzone2100/commit/52ab1be90ddb25d84977b4effb476ddac68522cd
Author: haoNoQ <[email protected]>
Date: 2014-11-22 (Sat, 22 Nov 2014)
Changed paths:
M src/cluster.cpp
M src/qtscript.cpp
M src/qtscriptfuncs.cpp
M src/qtscriptfuncs.h
M src/visibility.cpp
Log Message:
-----------
qtscript: Add eventGroupSeen and improve eventArea.
- Now eventObjectSeen and eventGroupSeen
are triggered for labels only.
- The new '.subscriber' property of OBJECT
and GROUP labels controls which player's
viewer object can trigger these events.
- eventArea now also supports '.subscriber',
and no longer uses the '.player' property
for that purpose.
- eventArea is fixed to work for overlapping areas.
- A new kind of label, RADIUS, is implemented,
works similarly to AREA, just with different shape.
- Label list in jsdebug is updated to display
the new label properties.
- Rename resetArea() to resetLabel(). Keep the
original function for compatibility.
Patch originally by Per.
Commit: 3bab86b1311b9c6058ff12a52724a34da26e3fec
https://github.com/Warzone2100/warzone2100/commit/3bab86b1311b9c6058ff12a52724a34da26e3fec
Author: haoNoQ <[email protected]>
Date: 2014-11-22 (Sat, 22 Nov 2014)
Changed paths:
M data/base/script/campaign/cam1-2.js
M data/base/script/campaign/cam1-3.js
M data/base/script/campaign/cam1a.js
M data/base/script/campaign/cam1b.js
M data/base/script/campaign/libcampaign.js
M data/base/wrf/cam1/cam1a/labels.json
M data/base/wrf/cam1/cam1b/labels.json
M data/base/wrf/cam1/sub1-2/labels.json
M data/base/wrf/cam1/sub1-3/labels.json
Log Message:
-----------
jscam: Update campaign lib and levels with new API.
- Simplify eventArea, which no longer needs
subscriber specified by level scripts, as
it's part of the label now.
- No longer poll for eventSeen.
- Use RADIUS labels when circular trigger areas
were used in the original campaign.
refs ticket:4234
Compare:
https://github.com/Warzone2100/warzone2100/compare/9cc1d337890e...3bab86b1311b------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits