I'd like to work on Spell Window and Weapon/Spell icon HUD.

Everything about development and the OpenMW source code.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: I'd like to work on Spell Window and Weapon/Spell icon H

Post by Zini »

I don't think so. The spell record (SPEL) is read in completely and there is no school field. MW must determine the school somehow algorithmically based on the effects.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: I'd like to work on Spell Window and Weapon/Spell icon H

Post by Zini »

I see there is some spell window code on github now. Haven't tested it yet, but I do see a few problems:

1. At least with filenames you are not following our naming conventions (see the wiki).

2. using directives in headers (using namespace) are a big NO NO. Again, see the wiki (other coding rules).

3. Trying to catch a std::bad_alloc is usually pointless.
Post Reply