RobWatlingSF / hedgewars

Automatically exported from code.google.com/p/hedgewars
GNU General Public License v2.0
0 stars 0 forks source link

Use Goals instead of ShowMission for Highlander mission dialog #980

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Branch name:
highlandergoals2

Repository:
https://bitbucket.org/Wuzzy2/hedgewars-wuzzy/commits/

View this branch here: 
https://bitbucket.org/Wuzzy2/hedgewars-wuzzy/commits/f49d12ef8485efc47f66bf523f3
29bb16f0dcf49

Purpose of code changes on this branch:
Use the Goals variable instead of the ShowMission function for Highlander 
mission dialog. Why? Because it is more flexible. That way, changes to the game 
scheme will be added by the game scheme. So if you enabled vampirism, changed 
the mine time or whatever, it will be automatically added by the engine.
This script now just adds two lines of text manually, the rest is added by the 
engine itself.

This review request makes issue 949 obsolete.

Original issue reported on code.google.com by almikes@aol.com on 12 Aug 2015 at 2:42