eclipse plugin: Add the Events and Variables Content Assist Config files
This commit is contained in:
parent
556a25124b
commit
f1768f3fac
2 changed files with 62 additions and 0 deletions
49
utils/umc_dev/org.wesnoth/templates/cac/events.txt
Normal file
49
utils/umc_dev/org.wesnoth/templates/cac/events.txt
Normal file
|
@ -0,0 +1,49 @@
|
|||
# This file contains a list of predefined event names
|
||||
advance
|
||||
ai turn
|
||||
ai_turn
|
||||
attack
|
||||
attack end
|
||||
attack_end
|
||||
attacker hits
|
||||
attacker_hits
|
||||
attacker misses
|
||||
attacker_misses
|
||||
capture
|
||||
defeat
|
||||
defender hits
|
||||
defender_hits
|
||||
defender misses
|
||||
defender_misses
|
||||
die
|
||||
enemies defeated
|
||||
enemies_defeated
|
||||
last breath
|
||||
last_breath
|
||||
moveto
|
||||
new turn
|
||||
new_turn
|
||||
petrified
|
||||
post advance
|
||||
post_advance
|
||||
preload
|
||||
prerecall
|
||||
prerecruit
|
||||
prestart
|
||||
recall
|
||||
recruit
|
||||
select
|
||||
side turn
|
||||
side_turn
|
||||
side turn end
|
||||
side_turn_end
|
||||
start
|
||||
time over
|
||||
time_over
|
||||
# there is "turn X end" also. Maybe create an algorithm/use velocity to
|
||||
# get that customized events too
|
||||
turn end
|
||||
turn_end
|
||||
turn refresh
|
||||
turn_refresh
|
||||
victory
|
13
utils/umc_dev/org.wesnoth/templates/cac/variables.txt
Normal file
13
utils/umc_dev/org.wesnoth/templates/cac/variables.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
# This file contains a list of predefined variable names
|
||||
damage_inflicted
|
||||
second_unit
|
||||
second_weapon
|
||||
side_number
|
||||
this_unit
|
||||
turn_number
|
||||
unit
|
||||
weapon
|
||||
x1
|
||||
x2
|
||||
y1
|
||||
y2
|
Loading…
Add table
Reference in a new issue