Search found 31 matches

by EmperorArthur
15 Sep 2014, 11:10
Forum: General Development
Topic: Unit tests requiring MW data files
Replies: 2
Views: 1603

Re: Unit tests requiring MW data files

It should be pretty easy to turn niftest into a unit test as well. I currently use the test.sh script in components/nif/tests/ as a regression test and easy way to find unsupported nif files from mods. I'm guessing that these test systems would be using the full official data files with nothing else...
by EmperorArthur
29 Aug 2014, 18:01
Forum: Feature Requests and Suggestions
Topic: [Proposal] Focus on usability Post 1.0 + More
Replies: 10
Views: 3555

Re: [Proposal] Focus on usability Post 1.0 + More

Nif isn't just used by Bethesda alone. Here's a small list of other games that use some variation of the format: http://niftools.sourceforge.net/wiki/Ni ... _Resources
by EmperorArthur
24 Aug 2014, 00:32
Forum: General Development
Topic: C++11
Replies: 114
Views: 38424

Re: C++11

Can confirm c++11 compiles on Debian jessie. gcc version 4.9.1 (Debian 4.9.1-4) I have a patch for niffile.cpp waiting on c++11. It converts recordFactories into a std::map, and uses the find function instead of our current method of manual string compare until a match is found. The problem is the o...
by EmperorArthur
21 Aug 2014, 02:08
Forum: General Development
Topic: Want To Add Doxygen Comments
Replies: 9
Views: 2923

Re: Want To Add Doxygen Comments

Some of the functions are documented and some are not. Many of those functions that are documented don't have the full Doxygen \param and \return information. In some cases the data is there, but not in a Doxygen readable form. The components/nif folder is a good example of somewhere that could use ...
by EmperorArthur
20 Aug 2014, 23:44
Forum: General Development
Topic: Want To Add Doxygen Comments
Replies: 9
Views: 2923

Re: Want To Add Doxygen Comments

Thanks. The problem is just cross referencing multiple nicknames. That means that a simple forum search isn't going to work. Out of 137 name/E-mail pairs, 19 weren't matched in the credits file. File was generated using "git log --format='%aN <%aE>' | sort -u>.mailmap" then edited by hand to match t...
by EmperorArthur
20 Aug 2014, 22:17
Forum: General Development
Topic: Want To Add Doxygen Comments
Replies: 9
Views: 2923

Re: Want To Add Doxygen Comments

Right, so I've been working on creating a .mailmap file for git. To do that I pulled a list of everyone who has committed openmw code and the credits.txt file. I found quite a few people that aren't listed in the credits.txt file, also someone is running git as root. Generic name is generic. I could...
by EmperorArthur
20 Aug 2014, 11:46
Forum: General Development
Topic: Want To Add Doxygen Comments
Replies: 9
Views: 2923

Want To Add Doxygen Comments

Hi folks, I'd like to add some comments to the codebase, and change file headers to use the Doxygen format. I know Zini likes code to be self documenting, but I think it can't hurt to have proper documentation for at least the classes and functions. Admittedly, there's a selfish reason for this as w...
by EmperorArthur
08 Aug 2014, 11:27
Forum: General
Topic: MyGUI Feedback
Replies: 19
Views: 7068

Re: MyGUI Feedback

Well, those textures can be united during loading, but again it is easier to do that in image editor, rather than slow down startup time. Combining them with an image editor is not an option for us, since we can't ship Morrowind content due to copyright. A solution to this problem is to ship an aut...
by EmperorArthur
03 Jun 2014, 23:50
Forum: Organisation and Planning
Topic: OpenMW 0.31.0
Replies: 145
Views: 36411

Re: OpenMW 0.31.0

The most annoying thing is that every toolkit implements their own version of the STL containers. They all work the same way as pure C++, until they don't. Seriously, there's std::string, ogre::string, QString, and whatever boost adds to the mix. Also, I'm going to do some more work on loading XYZ_r...
by EmperorArthur
02 Jun 2014, 01:43
Forum: General Development
Topic: Static analysis
Replies: 8
Views: 2564

Re: Static analysis

Here's a scan-build from latest master (538aa6607ecdb6d105ef994b62f8f29711732a1e).