Permalink
Commits on Nov 30, 2009
  1. Split up display-classic.cc

    It is now in two smaller pieces; display-classic.cc (400 lines) includes
    only curses code, and ui-classic.cc (800 lines) includes only display
    agnostic code.  In principle, a tiles port could be implemented changing
    only display-xxx.
    committed Nov 30, 2009
  2. Redraw from scratch every 200 updates

    This is required in order for mprdb to play nicely with dumb spectation
    systems, such as termcast and dgamelaunch.  200 is an empirical number
    chosen such as to not quite fill up termcast's 100KB output buffer;
    dgamelaunch has an unlimited output buffer, but takes linear space,
    so anything much larger than 200 would be unwise.
    committed Nov 30, 2009
  3. Don't rely on ncurses to scroll the message window

    The opens the pathway to someday support message history.
    
    More importantly, ncurses interprets the use of addch() scrolling
    as a license to ignore idlok.  Changing this fixes the "termcast
    screen shredding" issue.
    committed Nov 30, 2009
  4. Color codes in messages

    Idea stolen from Crawl; message_line (and thus print_msg) now processes
    psuedo-HTML escapes like <lgreen> to modify following text.  print_inv
    now has *no* excessive knowledge of the fact that it's being targetted
    to curses.
    committed Nov 30, 2009
  5. Eliminate \n from print_msg API

    committed Nov 30, 2009
Commits on Nov 29, 2009
  1. @fluffymormegil
  2. @fluffymormegil

    Make smiths human

    committed with fluffymormegil Nov 29, 2009
  3. @fluffymormegil
Commits on Nov 28, 2009
  1. @fluffymormegil

    Implement auto-save

    Most of the complexity of this patch is in changing the save code to allow
    clobbering and not auto-exit.
    committed with fluffymormegil Nov 28, 2009
  2. @fluffymormegil

    gitignore

    committed with fluffymormegil Nov 28, 2009
  3. @fluffymormegil

    Don't delete the save until you die

    This means that if the game crashes, you don't lose your save.  This also
    means that it's possible to cheat with signals and power cuts.  I don't
    see this as a big problem, since you can already cheat with cp (and ptrace,
    which uses the same access checks as non-terminal signals).
    committed with fluffymormegil Nov 28, 2009
  4. @fluffymormegil
  5. @fluffymormegil
  6. @fluffymormegil
  7. @fluffymormegil
  8. @fluffymormegil

    Removed display.cc

    fluffymormegil committed Nov 28, 2009
  9. @fluffymormegil
  10. @fluffymormegil
  11. @fluffymormegil
  12. @fluffymormegil
  13. @fluffymormegil
  14. @fluffymormegil
Commits on Nov 27, 2009
  1. @fluffymormegil

    Bug fixes:

    fixed omitted flavour-setting for scrolls of protection
    fixed omitted recalc_defence() call for Player::on_remove
    fluffymormegil committed Nov 27, 2009
  2. @fluffymormegil
  3. @fluffymormegil
  4. @fluffymormegil
  5. @fluffymormegil

    Removed spurious comment.

    fluffymormegil committed Nov 27, 2009
  6. @fluffymormegil
  7. @fluffymormegil

    Big pile of updates to cover persistent effects.

    Whether they really work is a separate question which will be dealt with later.
    fluffymormegil committed Nov 27, 2009
Commits on Nov 26, 2009
  1. @fluffymormegil
  2. @fluffymormegil
  3. @fluffymormegil
  4. @fluffymormegil

    Removed generated files

    fluffymormegil committed Nov 26, 2009
  5. @fluffymormegil

    Removed generated files

    fluffymormegil committed Nov 26, 2009