summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tutorial.cc
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'iood'Adam Borowski2009-12-311-0/+1
|\
| * A new cloud type: magical condensation trails, used by IOOD.Adam Borowski2009-12-301-0/+1
| |
* | Subsume Darts skill into Throwing.Jude Brown2009-12-311-2/+1
|/ | | | | | | | | | | | | | | | Instances where Darts skill was previously check (such as blow guns, throwing of darts, etc), now check the throwing skill instead. This causes a few problems: * missile acquirement is possibly skewed now * aptitudes are now wrong, and should be adjusted This doesn't include code to compensate for large monsters that used to have a good throwing skills and bad dart skills now using the lower throwing skill, and vice versa, but it's a major start. TAG_MAJOR_VERSION was bumped in the previous commit. Hopefully I haven't broken anything too major, but if so, the commit can be reverted.
* Ignore obscured items in the UIStefan O'Rear2009-12-301-2/+2
| | | | I probably missed a few spots.
* Replace uses of item_cursed with item_def::cursed.Vsevolod Kozlov2009-12-271-2/+2
|
* Customisable clouds!Jude Brown2009-12-281-1/+1
| | | | | | | | | | | | | | | | | | | | | cloud_struct now has members for colour, name, and tile; colour will be used instead of the default colour of the cloud type, and will be used to recolour the tile of the cloud (if it exists). Name will be used to rebrand the cloud's description, and also alter the message generate while standing in a cloud. Finally, tile can be used to completely customise the tile used for the cloud. The value is stored as a string in order to maintain save compatibility across ASCII and tiles. A random tile (found using tile_main_count) from that set will also be used, however, no duration effects will be applied. Recoloured cloud tiles using just the colour code should be possible, though aren't yet fully tested. This commit bumps TAG_MAJOR_VERSION: changing marshalling of the FogMachine Lua code causes nasty crashes on reloading saved games. Otherwise, I don't think I broke anything else. :-)
* Reduce dependency on travel.hMatthew Cline2009-11-291-0/+1
| | | | | | | | Removed inclusion of travel.h from most .h files to reduce the number of .cc files dependant on it. This involved moving the level_pos declaration to externs.h, moving the flood_find template to it's own header file, and moving two typedefs from travel.h to travel_defs.h because typedefs can't be forward declared (argh).
* Remove unnecessary header-header includes.Robert Vollmert2009-11-271-0/+1
|
* Re-add Purple Smoke cloud type (sorear).Jude Brown2009-11-281-0/+1
| | | | | This is visually identical to translocational energy, but will have uses in portal vaults (specifically, wizlabs).
* Rename tutorial_first_monster to tutorial_monster_seen.Robert Vollmert2009-11-231-1/+1
| | | | It's not just used for the first monster.
* Tutorial: fix brands being explained for first monster.Robert Vollmert2009-11-231-5/+0
| | | | | tutorial_first_monster is now called from fewer places, and doesn't issue TUT_MONSTER_BRAND itself anymore.
* Add formatting fixes.David Lawrence Ramsey2009-11-211-2/+3
| | | | This mostly puts && and || on the proper lines, per the style guide.
* Remove trailing whitespace.David Lawrence Ramsey2009-11-201-3/+3
|
* Tiles tutorial note on items pane.Matthew Cline2009-11-191-1/+13
|
* Update tiles tutorialMatthew Cline2009-11-181-4/+42
| | | | Add text about shift/ctrl/alt-click to fire/cast/evoke.
* Move tutorial state out of Options.Robert Vollmert2009-11-161-143/+145
|
* Fix error in show coordinate calculation in tutorial.Robert Vollmert2009-11-161-1/+1
| | | | | This was causing the wrong features to be displayed. Now uses grid2show instead of magic numbers.
* Disable tutorial waking monsters.Robert Vollmert2009-11-161-7/+0
| | | | | | | | | | | | | | | Tutorial shouldn't have side-effects; also, the "may stab" brand can still be explained later. In console debug + tutorial, this was causing an assertion. Briefly: Handle_seen_interrupt issues a monster "newly seen" interrupt, which calls tutorial_first_monster, which in turn alerts the monster, which causes it to shout, which calls learned_something_new(MONSTER_SHOUT), which prints a message, which issues a message interrupt, which issues another message, which calls flush_comes_into_view, which interrupts with the same monster again, but now "just seen", which causes an assertion.
* Remove calls to viewwindow from tutorial.Robert Vollmert2009-11-161-26/+0
|
* Fix compilation.David Lawrence Ramsey2009-11-151-4/+6
|
* Replace get_show_symbol by get_show_glyph.Robert Vollmert2009-11-151-33/+9
|
* Add get_item_symbol to showsymb.Robert Vollmert2009-11-151-4/+2
|
* Convert get_mons_glyph to return a glyph struct.Robert Vollmert2009-11-151-9/+2
|
* Convert get_item_glyph to return a glyph struct.Robert Vollmert2009-11-151-9/+7
| | | | Also don't use get_symbol.
* Remove the Divinations school.Adam Borowski2009-11-151-1/+0
|
* Tied up loose ends regarding prayer to offer corpses to gods. Kiku now ↵Alex MacDonald2009-11-141-33/+10
| | | | invokes torment when corpses are offered via prayer, in the same way that other gods accept corpses for piety. god_likes_butchery() has been removed and tutorial messages referencing the old style of offering corpses have been updated.
* Remove obsoleted los.h includes.Robert Vollmert2009-11-131-1/+0
|
* tutorial.cc: fix shadow warningMatthew Cline2009-11-111-1/+0
|
* tutorial.cc: Mention shopping listMatthew Cline2009-11-101-1/+6
|
* tutorial.cc: Description for bloodstainsMatthew Cline2009-11-101-1/+22
|
* tutorial: plant/fungus and toadstool eventsMatthew Cline2009-11-101-1/+78
| | | | | New events for the first time seeing a zero-experience monster and for first seeing a toadstool.
* Bug 2891438: spellcaster new level tut outdatedMatthew Cline2009-11-101-1/+1
| | | | | The tutorial message for a spellcaster gaining a new level didn't match the new spell memorization interface.
* Remove a few obsolete includes.Robert Vollmert2009-11-101-2/+0
| | | | Also add a few previously indirect includes.
* Split shouting and stealth code from view.cc.Robert Vollmert2009-11-101-0/+1
|
* Remove option draw_it from viewwindow.Robert Vollmert2009-11-091-24/+24
| | | | | | The only use was just removed. Also move the draw check closer to where it's used.
* Rename purple smoke to clouds of translocational energyStefan O'Rear2009-11-061-1/+1
|
* Replace global see_cell by observe_cell and disambiguate old uses.Robert Vollmert2009-11-061-1/+1
| | | | | | | Calls to plain see_cell(pos) were replaced with either observe_cell(pos) or you.see_cell(pos). observe_cell where related to drawing the interface and messaging, you.see_cell for game mechanics, and one or the other in less clear cases (targetting, say).
* Move checks for the berserk state into actor::berserk().David Lawrence Ramsey2009-11-061-5/+5
|
* Move mons_is_friendly to monsters::friendly.Vsevolod Kozlov2009-11-061-4/+4
| | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Rename is_valid_item to item_def::is_valid.Vsevolod Kozlov2009-11-061-2/+2
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Split get_symbol from view.cc.Robert Vollmert2009-11-061-0/+1
|
* Make many checks for monster (non)existence on squares use monster_at().David Lawrence Ramsey2009-11-051-5/+5
| | | | | | | Not all are changed yet, as there are several index checks still needed for debugging purposes. Also, make many checks for player/monster (non)existence use actor_at().
* Split up view.cc.Robert Vollmert2009-11-041-0/+2
|
* Get rid of multiple-meaning "int object" in env.show.Robert Vollmert2009-11-041-15/+15
| | | | | | | | | | | | | env.show is now a class show_def that stores tagged unions of type show_type. For the moment, there's also env.show_los for use in LOS determination, but that should become an array of boolean at some point. This breaks save compatibility. Tiles and console version build and appear to work fine, but this kind of change is likely to have some side-effects.
* Split game_options from externs.h into options.h.Robert Vollmert2009-11-041-0/+1
|
* Split up monstuff.ccMatthew Cline2009-11-011-1/+1
| | | | | | | A lot of monstuff.cc was moved into mon-abil.cc (monster abilities), mon-act.cc (the main monster loop), mon-behv.cc (monster behaviour) and mon-cast.cc (monster spells). mstuff2.cc was completely merged into other files.
* Splitting up stuff.cc.Robert Vollmert2009-10-301-0/+3
| | | | New: colour.cc, coord.cc, coordit.cc, random.cc, rng.cc.
* Moving data out of newgame.cc.Robert Vollmert2009-10-231-0/+2
| | | | Also move species<->string translation from player.cc to species.cc.
* Get rid of player_monster_visible.Robert Vollmert2009-10-221-1/+1
| | | | | | The special casing for drowning monsters appears to have been obsoloted by checking ENCH_SUBMERGED instead of calling mons_is_submerged.
* versioning: remove SVN-specific revision data, add Git versioningSteven Noonan2009-10-181-1/+0
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>