Commit Graph
20 Commits
Author SHA1 Message Date
Torbjörn Andersson cf0a73f913 Introduced new namespace, Sword1, removing the "Sword" and "Bs" prefixes in
the process, except for SwordEngine.

Some minor cleanups along the wa, e.g. stdafx.h already includes <stdio.h>,
<stdlib.h> and <math.h> so there shouldn't be any need to do it elsewhere.

svn-id: r12320
2004-01-11 15:47:41 +00:00
Torbjörn Andersson 821bbed1e0 Tried to make the menus behave a bit more like the original. Perhaps most
noticeably:

* It no longer matters where you release the mouse button when talking to
  someone. It uses whatever topic you selected on mouse-down.

* The inventory menu doesn't vanish if you're holding an object, even if
  you move the pointer away from it.

* When using an object on a character (to talk to him about it), the top
  menu fades away, rather than vanishing instantly.

Ok, that last change is rather non-obvious, but it does obsolete the
clearMenu() function, which has therefore been removed.

svn-id: r12222
2004-01-07 19:03:30 +00:00
Max Horn 033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Torbjörn Andersson 750e18eab3 Moved the menu refreshing to a separate function so that it can be easily
accessed even when checkMenuClick() returns before reaching the end of the
function.

Used this to fix a menu highlighting regression.

svn-id: r12083
2004-01-02 11:15:35 +00:00
Robert Göffringmann 315dc0238c another change in the clicking checks
svn-id: r12078
2004-01-02 02:38:01 +00:00
Robert Göffringmann 2b3d8a42dd implemented examining inventory items
svn-id: r12075
2004-01-01 18:00:34 +00:00
Torbjörn Andersson d176a6a6e1 Don't lose the luggage when entering the inventory menu.
svn-id: r12058
2003-12-31 15:52:48 +00:00
Robert Göffringmann 985f24729a forgot these...
svn-id: r12040
2003-12-30 21:48:10 +00:00
Robert Göffringmann 5e947dab38 implemented mouse luggage stuff
svn-id: r12039
2003-12-30 21:32:50 +00:00
Torbjörn Andersson d8b0a38718 When showMenu() redraws the menu, redraw the empty slots as well. This
fixes the "ghost" items left behind when combining two inventory objects in
such a way that one of them is used up.

svn-id: r12001
2003-12-28 18:10:18 +00:00
Nicolas Bacca a1831ee4fb Microsoft Compilers : Which part of the standard do you want to break today ?
svn-id: r11866
2003-12-23 00:59:18 +00:00
Torbjörn Andersson 1605103a06 Change to arrow cursor when displaying the inventory menu
svn-id: r11854
2003-12-22 17:38:49 +00:00
Torbjörn Andersson a5eca2df04 Highlight the correct (I hope!) menu icon during conversation, and do the
cheesy menu fade-in/fade-out.

svn-id: r11831
2003-12-21 17:55:40 +00:00
Robert Göffringmann 5d8516f2ec now two inventory items can be combined
svn-id: r11823
2003-12-21 16:50:02 +00:00
Robert Göffringmann be120d1289 fix recently introduced mouse bugs.
svn-id: r11787
2003-12-20 17:55:09 +00:00
Robert Göffringmann 5fdff2824c fixed text output and logic bug. changed scrolling code.
hey, sword is running really nice already. :)

svn-id: r11703
2003-12-17 07:33:00 +00:00
Robert Göffringmann 7f5df14e7d menu, sound and mouse fixes.
svn-id: r11701
2003-12-17 05:16:37 +00:00
Robert Göffringmann 34d1751fe4 fixed resMan bug about closing of sections and started adding menu support
svn-id: r11695
2003-12-17 01:47:47 +00:00
Jonathan Gray 83e9c59327 compilation fixes
svn-id: r11679
2003-12-16 09:43:08 +00:00
Robert Göffringmann 189e08bc79 Broken Sword 1: initial import
svn-id: r11664
2003-12-16 02:10:15 +00:00