[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-patches] [patch #3789] new [objectives] event
From: |
ott |
Subject: |
[Wesnoth-patches] [patch #3789] new [objectives] event |
Date: |
Sat, 5 Mar 2005 15:39:04 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1 |
URL:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=3789>
Summary: new [objectives] event
Project: Battle for Wesnoth
Submitted by: ott
Submitted on: Sat 03/05/2005 at 15:39
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
_______________________________________________________
Details:
Here is an implementation of a new [objectives] event, which can be used in
addition to the current "objectives=" attribute of [scenario]. No changes
are required to existing scenario files. It simply constructs an objectives
string and replaces the existing value of the tag with that string.
Colour symbols are inserted as appropriate for win and loss conditions, and
since the objectives= string is broken into discrete objectives, there should
be better translation reuse of common strings like "Defeat all enemies".
See the attached sample campaign for an example of its use, both as a
prestart event (mimicking the existing attribute usage) and as an event
triggered by a moveto.
Note 1: The use of the global level config seems necessary, although other
means to achieve the same end may be preferable.
Note 2: Perhaps display_objectives() should be triggered when the
[objectives] event fires.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 03/05/2005 at 15:39 Name: diff-20050305.objectives Size: 5.96KB
By: ott
against 0.8.11+cvs as of 20050305 13:00 UTC
<http://savannah.nongnu.org/patch/download.php?item_id=3789&item_file_id=4289>
_______________________________________________________
This item URL is:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=3789>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Wesnoth-patches] [patch #3789] new [objectives] event,
ott <=