summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/jobs.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove stuffNicholas Feinberg2014-07-291-0/+1
| | | | | | | .cc, moving its contents into the new stepdown.cc and strings.cc. (The latter also got many donations from libutil.h.) Down with stuff! Up the new flesh!
* Fix job abbrevs and names getting out of sync on save bumps.Adam Borowski2014-01-071-4/+10
| | | | Also #ifdef out a sighting of Priests.
* More formatting fixes for return (...);Neil Moore2013-11-151-1/+1
|
* Drop unnecessary parentheses from return statements.Adam Borowski2013-11-151-1/+1
|
* Add a bunch of missing #ifdefs.Adam Borowski2013-07-101-2/+10
|
* A whitespace fix.Adam Borowski2013-06-141-1/+0
|
* Consolidate and simplify job and species validity checks.Neil Moore2013-06-131-0/+12
|
* Turn pairs of assertions with x > min, x <= max into ASSERT_RANGE.Adam Borowski2013-06-081-4/+2
| | | | | The perl regexp to do so is: s&ASSERT\(([^\n]+) >= ([^\n]+)\);\s*ASSERT\(\1 < ([^\n]+)\);&ASSERT_RANGE($1, $2, $3);&sg;
* Refactor ASSERT(a && b) -> ASSERT(a); ASSERT(b);Brendan Hickey2013-04-281-2/+4
| | | | | | | Convert conjunctive assertions into separate assertions. This ought to be correctness preserving. I ran the stress tests and didn't notice anything unusual. While I have confidence in it, if you are the slightest bit suspicious of this, please roll it back. Found instances with `ASSERT(\([^(|]*\) && \([^)|]*\))` Manually inspected each instance.
* Change Jester AbbreviationBrendan Hickey2013-03-291-1/+1
| | | | Js -> Jr
* JestersBrendan Hickey2013-03-271-2/+2
| | | | | A new Nemelex follower background. Begins under penance from Xom.
* Fix prompts asking for 'I' in Turkish locales.Adam Borowski2012-11-221-2/+3
| | | | | | | They have I<->ı and İ<->i. Fortunately, people are quite unlikely to type capital letters in response to prompts, perhaps save for the stat gain one.
* Use std namespace.Raphael Langella2012-08-261-3/+3
| | | | | | | | | | | | | I had to rename distance() (in coord.h) to distance2() because it conflicts with the STL function to compare 2 iterators. Not a bad change given how it returns the square of the distance anyway. I also had to rename the message global variable (in message.cc) to buffer. I tried to fix and improve the coding style has much as I could, but I probably missed a few given how huge and tedious it is. I also didn't touch crawl-gdb.py, and the stuff in prebuilt, rltiles/tool and util/levcomp.*, because I have no clue about those.
* Remove StalkersChris Campbell2012-08-201-1/+6
| | | | | | | Their concept was "transmutation-based stabber" but they don't actually achieve that at all, mainly just relying on Fulsome Distillation and Evaporate. Earth Elementalists already have Petrify and Passwall and so are just as good for Tmut stabbing.
* Drop a bunch of parentheses from return statements.Adam Borowski2012-08-081-2/+2
| | | | | This is incomplete, partially because of me getting bored, partially because of doubts about the point of leaving simple addition/etc in parentheses.
* Drop parentheses around scalar values in "return".Adam Borowski2012-07-051-1/+1
|
* Remove a good deal of header inclusion.Adam Borowski2012-05-231-1/+0
| | | | | | | | | These accumulate but never get removed; no wonder compilation times keep rising. The includes.sh script has lots of false negatives (and positives...), and can't check .h files which cause the biggest slowdown, it'd be nice to run multidelta on those somehow.
* Drop TAG_MAJOR_VERSION == 32 ifdefs.Adam Borowski2012-04-251-12/+0
|
* Get rid of strlwr().Adam Borowski2011-09-071-11/+6
| | | | | | Besides being non-standard and present only on some platforms, it cannot be extended to Unicode as some characters expand or contract while being upper/lowercased.
* s/Crusader/Skald/Adam Borowski2011-06-241-2/+2
| | | | | | This doesn't of course affect TSO ("crusader god"). Rupert is left, but he doesn't follow Skald rules or theme anyway: berserk while using magic, haste, etc.
* Avoid crashes to unknown character class during early crash dumps.Adam Borowski2011-06-181-0/+4
| | | | They hide data due to the actual dump being inaccessible.
* Don't require ", c1" in COMPILE_CHECK().Adam Borowski2011-06-091-2/+2
|
* New background choice layout.Raphael Langella2011-03-111-39/+0
| | | | | Grouped by category, as suggested on the tavern: https://crawl.develz.org/tavern/viewtopic.php?p=9905#p9905
* Remove Reavers at the next major save versionChris Campbell2011-02-191-3/+11
|
* Remove CK[Makh], Pr[Yred]->Death Knight, CK[Lugonu]->Abyssal KnightChris Campbell2011-02-181-6/+8
| | | | | | | | | In summary: Chaos Knights worship Xom. Priests worship Zin (and Hill Orcs can select Beogh). Death Knights worship Yredelemnul. Abyssal Knights worship Lugonu. (Unchanged: Berserkers worship Trog, Healers worship Elyvilon).
* Remove paladins at the next major save versionChris Campbell2011-02-181-3/+10
|
* Staticalize, remove cruft.Adam Borowski2010-10-271-51/+2
|
* Massive spacing fixes: "( spaces after parentheses )".Adam Borowski2010-10-151-6/+6
| | | | | | I did review it manually to find places where they made sense (like some tables), but for a massive sed job like this there might be places that I missed.
* Increase major save version to 24.Adam Borowski2010-05-261-12/+0
| | | | | This skips version 23 due to CDO's workaround for the incompatibility in 3f6687c4.
* Remove Thief and Death Knight backgrounds (doy, dpeg).Robert Vollmert2010-05-151-6/+22
| | | | | While TAG_MAJOR_VERSION is at 22, they just can't be picked anymore.
* Get rid of option old_selection_order.Robert Vollmert2010-03-311-34/+8
| | | | Doesn't make sense with the new starting screens.
* Rename several functions involving player "class" to "job".Johanna Ploog2010-01-191-30/+30
| | | | We still need another synonym, right? *sighs*
* Capitalize the M in "Am" (Arcane Marksman).Adam Borowski2009-11-151-1/+1
|
* Restore Warper class, Arcane Marksman tweaks.johnny shelley2009-11-151-6/+6
| | | | | | | | Adds warper back and moves arcane marksman close to hunter in selection screen. Changes spell level of exploding ammo to 5. Fixes abbreviation of Am. Removes scroll of blink from AM starting equipment. Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Warper Overhaul - Renamed to Arcane Marksmanjohnny shelley2009-11-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Missile Changes -- electricity missiles are now an option - they are always destroyed reaping / dispersal ammo is now always destroyed as it can be created by players poison ammo can again affect rocks / bullets etc - still no nets. Apparently this is a contact poison, but mainly it's to close the gap between sling users and archers. SKILLS -- Ranged weapon 3 Dodging 2 Spellcasting 2 Enchantments OR Translocations 3 EQUIPMENT -- Robe Ration Scroll of blink Some ranged weapon options as Hunter No melee weapon! Either book of elemental missiles or warped missiles The book of Elemental Missiles Spells Type Level a - Corona Enchantment 1 b - Swiftness Enchantment/Air 2 c - Repel Missiles Enchantment/Air 2 d - Flame Ammunition Enchantment/Fire 3 e - Frost Ammunition Enchantment/Ice 3 f - Poison Ammunition Enchantment/Poison 4 The book of Warped Missiles Spells Type Level a - Apportation Translocation 1 b - Portal Projectile Translocation 2 c - Repel Missiles Enchantment/Air 2 d - Blink Translocation 2 e - Returning Ammunition Enchantment/Translocation 3 f - Warp Ammunition Enchantment/Translocation 5 The book of Devastating Missiles Spells Type Level a - Poison Ammunition Enchantment/Poison 4 b - Warp Ammunition Enchantment/Translocation 5 c - Shocking Ammunition Enchantment/Air 5 d - Haste Enchantment 6 e - Deflect Missiles Enchantment/Air 6 f - Exploding Ammunition Enchantment/Fire/Air 7 g - Reaping Ammunition Enchantment/Necromancy 7 Signed-off-by: Stefan O'Rear <stefanor@cox.net>
* Split game_options from externs.h into options.h.Robert Vollmert2009-11-041-0/+2
|
* Extract newgame character restrictions from newgame.cc.Robert Vollmert2009-10-241-0/+4
| | | | | | | | | | | | | | | | | The functions in the new ng-restr.cc are "pure": They don't access global state; data is passed in via the new and incomplete newgame_def. Eventually, new_game should be split into something like newgame_def choose_game(); that doesn't access "you", and void setup_game(newgame_def); that sets up the player. Also get rid of player_size in favour of player::body_size. Rename player_size_type to size_part_type since it's not really player-specific (used in actor::body_size). Move parts of player_genus, player::has_claws, body_size out into species.cc.
* Use species_type/job_type instead of int.Robert Vollmert2009-10-231-24/+24
|
* Moving data out of newgame.cc.Robert Vollmert2009-10-231-0/+192
Also move species<->string translation from player.cc to species.cc.