Commit Graph

18276 Commits

Author SHA1 Message Date
Ali El Gariani
69be2fab3b simplify and optimize the del_tags() function:
- use reference

- remove any < ... >, to protect against bad <rgb> block and allow
  future use of other <tag>

Note: this also means that unclosed "<" will give a empty string
2007-08-01 03:46:04 +00:00
Richard Kettering
0aa0e7a15d New, TC images for bone shooter and banebow. 2007-08-01 03:33:36 +00:00
Eric S. Raymond
0ff889e7bf Fix a reference error in wmlindent. 2007-08-01 03:31:23 +00:00
Richard Kettering
d914ea29de New images for the bone shooter and banebow. 2007-08-01 03:28:14 +00:00
uso
55453925a1 replace the local logic to remove color tags from a user string...
...by font::del_tags() which also does the job if more than one 
color tag character is used (like for "bold red")
2007-08-01 02:04:34 +00:00
uso
45736198b2 multiplayer lobby:
highlight the names of the players which have joined the selected game;
this mechanism still has some small flaws, in particular it highlights
too many players in the (seldom) case that two games have the same name
because we only get the name of the game a player joins and not an id
2007-08-01 01:42:25 +00:00
Eric S. Raymond
31ccad0752 First cut at new end-of-turn logic.
Currently works only for single-player.  Issues: Needs some kind of
visible indication on the display.  Also, saves made during the
post-victory-or-defeat linger could be reloaded and abused for
experience farming.
2007-07-31 22:56:06 +00:00
Ali El Gariani
e635a5a51d Just rename a variable
(last_highlighted_hex_ instead of last_empty_hex_) and remove unneeded
initialization of variables (locations are initialized when
constructed)
2007-07-31 22:48:04 +00:00
Nils Kneuper
3103165c54 added a Spanish translation to about 2007-07-31 22:10:49 +00:00
Ali El Gariani
6bcce9611c Fix bug #9649: about the choice of the attack direction:
Now, use any hex without enemy as a possible attack origin, but if
non-empty propose the nearest one

Previously, non-empty hex was discared and the last empty one was used
to search the nearest.

(This make it work, but i will rename things later to better describe
this behavior)
2007-07-31 21:48:51 +00:00
Eric S. Raymond
a91a35231d Refactoring step.
Expose the play_controller object in play_campaign.cpp; we're going to
need it to implement linger mode.
2007-07-31 20:16:37 +00:00
Nils Kneuper
5c511b7a11 pot-update 2007-07-31 15:03:12 +00:00
Eric S. Raymond
99d8133dc7 Make some comments readable. 2007-07-31 04:23:42 +00:00
Ali El Gariani
3c00806b11 Add the debug command "benchmark":
continuously redraw the screen (use it with the --fps switch).

It will help to verify the real impact of optimization or spot which
feature lower the framerate.
2007-07-31 01:19:54 +00:00
Ali El Gariani
25c6837cec use a lower level text rendering function when writing on hex
(no visual difference)

also use blitted surfaces will help future unification with other
tile-drawing operations
2007-07-30 22:14:57 +00:00
Ali El Gariani
b705d96a56 another small simplification of the main draw() (about haloes) 2007-07-30 22:01:12 +00:00
Ali El Gariani
51889a9c41 simplify a little the main draw()
and add comments about some little inconsistancies with the "changed" state
2007-07-30 21:56:46 +00:00
Eric S. Raymond
da8f32de79 Make sure all heroes have user_description tags. 2007-07-30 21:50:40 +00:00
Benoît Timbert
fa7504438f well ... completly fix the glitch ;) 2007-07-30 17:08:56 +00:00
Eric S. Raymond
5e5f0b49c6 Fix a base_unit glitch. 2007-07-30 17:05:00 +00:00
Eric S. Raymond
0fa20e9143 Make Liberty peasants neutral.
Night Watchman -> Watchman, Night Patroller -> Borderer
2007-07-30 16:56:45 +00:00
Elias Pschernig
7614667f59 as per ESR, remove the .py ending from the script 2007-07-30 15:14:23 +00:00
Elias Pschernig
0e56443f4d um, had that messed up as well 2007-07-30 15:13:00 +00:00
Lari Nieminen
c7b16e185d Wired the cavalryman portrait into the cavalryman line (all three units). 2007-07-30 15:08:03 +00:00
Elias Pschernig
22bdd618e4 keep the * entries in about.cfg as dividers 2007-07-30 15:05:50 +00:00
Elias Pschernig
009f4f9374 added script to convert about.cfg to wiki syntax 2007-07-30 14:57:08 +00:00
Elias Pschernig
ede522fab8 fixed formatting i messed up in about entries 2007-07-30 14:47:44 +00:00
Eric S. Raymond
5a0345c98b Fix a stray music tag. 2007-07-30 14:44:08 +00:00
Elias Pschernig
4eaf0aeeaa two more who had used direct links 2007-07-30 14:26:33 +00:00
Elias Pschernig
feb981cb0e added wiki usernames from wiki 2007-07-30 14:23:18 +00:00
Elias Pschernig
493e8bb09f added email addresses from wiki 2007-07-30 14:18:09 +00:00
Elias Pschernig
e013d4e25e Added three people from wiki to about.cfg and minor changes 2007-07-30 13:56:36 +00:00
Eric S. Raymond
7ad3511df9 Removed show_title tags so as not to wash out the story text. 2007-07-30 13:55:05 +00:00
Dimitar Ilccov
0efc6be2db TB: Replaced the elven villages with villages of other type...
...in the scenarios which happen far away from elven lands.
2007-07-30 11:32:06 +00:00
Dimitar Ilccov
f9050b81d6 TSG: Replaced the elven villages with villages of other type...
...in the scenarios which happen far away from elven lands.
2007-07-30 11:22:50 +00:00
Dimitar Ilccov
27938cc481 TRoW: Replaced the elven villages with villages of other type...
...in the scenarios which happen far away from elven lands.
2007-07-30 11:01:30 +00:00
Dimitar Ilccov
899dd91d09 EI: Replaced the elven villages with villages of other type...
...in the scenarios which happen far away from elven lands.
2007-07-30 10:49:28 +00:00
Lari Nieminen
09cc01346b Added an additional macro for setting starting villages. 2007-07-30 10:31:51 +00:00
Dimitar Ilccov
31bc4855c0 Replaced the elven villages with villages of other type...
...in the scenarios which happen far away from elven lands
2007-07-30 10:21:02 +00:00
Eric S. Raymond
d5454f4f4c Define a NO_MAP_DATA to hide the dummy data we have to feed the game...
...for all-text epilogs.  Use it where appropriate.
2007-07-30 04:56:25 +00:00
Eric S. Raymond
f421d331aa Teach Liberty to use SCENARIO_MUSIC. 2007-07-30 03:43:14 +00:00
Patrick Parker
ae5ea44fbf about.cpp(60) : error C4716: 'about::add_lines' : must return a value 2007-07-30 03:27:11 +00:00
Patrick Parker
f487690aeb forgot to update my own comment, lol... 2007-07-30 03:10:03 +00:00
Patrick Parker
68d8280c54 updated some outdated comments that sneaked into about.cfg
moved some non-coding entries to more appropriate sections
2007-07-30 03:07:40 +00:00
Eric S. Raymond
3cb6cd81fb Minor terrain fix for paladin's keep. 2007-07-30 02:51:53 +00:00
Eric S. Raymond
6166b8b95a Convert CHG_TERRAIN macro calls to new terrain system. 2007-07-30 01:50:47 +00:00
uso
ec209996e0 strip color tags from the user list help 2007-07-29 23:32:07 +00:00
Nils Kneuper
24923389ce removed folder that is not needed in mainline... 2007-07-29 22:03:08 +00:00
Elias Pschernig
83f4690549 removed campaign specific entry again 2007-07-29 20:54:33 +00:00
Elias Pschernig
f3e9aa9116 converted [about] section in mainline campaigns to use entry format,
so they can appear on the web
2007-07-29 20:51:15 +00:00