Opened 11 years ago

Closed 11 years ago

#6 closed change (fixed (in master))

Incorporate takkaria's new store code

Reported by: takkaria Owned by: takkaria
Milestone: 3.0.8 Keywords:
Cc:

Description

Basically, I have some new store code which rationalises the current code quite a lot, and has imported various UI tweaks from various variants, and has "staple items" which are always restocked.

More at http://ajps.mine.nu/angband/wiki/Stores.

To fix:

  1. Update the store patch to the current verison and import.

Change History (8)

comment:1 Changed 11 years ago by takkaria

  • Status changed from new to assigned

current bugs:

  • weights too far away from prices
  • having bought an item, screen redraw is occasionally messed up
  • selling/buying with y/n is painful, also too many prompts => "Buy 6 Scrolls of Remove Curse? (ESC, any other key to accept)"
  • sometimes resizing doesn't quite work

comment:2 Changed 11 years ago by takkaria

Will commit later, right now is still a bit of a mess.

  • Weights are now kept reasonably close to object names even on unreasonably large screens
  • redraw problems fixed
  • resizing probably works now, as it is handled as an event on the stack rather than having a resize hook

The entire store is now based on scrollable lists. There are no characters ("tags") anymore to identify individual items and "enter" always purchases the item you're currently on. Pressing 'TAB' now switches you to a display of the inventory and equipment items you can sell, and pressing enter on one of those starts the selling process.

Buying and selling is still too painful. Might fix that and then check in.

comment:3 Changed 11 years ago by takkaria

Checked in as [3a7b939] (SVN r37). Defects remaining:

  • If you have an empty list, hitting Enter tends to segfault.
  • There is weirdness with message display
  • No "more" indicator
  • Things aren't quite obvious yet (it doesn't have the right "feel")

comment:4 Changed 11 years ago by takkaria

Testing to see if email is being sent.

comment:5 Changed 11 years ago by takkaria

Try again

comment:6 Changed 11 years ago by takkaria

And again!

comment:7 Changed 11 years ago by takkaria

one last time

comment:8 Changed 11 years ago by takkaria

  • Resolution set to fixed
  • Status changed from assigned to closed

Imported and all that. Bugs are in #91.

Note: See TracTickets for help on using tickets.