Search found 177 matches

by unelsson
31 Mar 2018, 00:13
Forum: Editor Development
Topic: Terrain Editing
Replies: 131
Views: 40259

Re: Terrain Editing

I'm interested in developing this, but for now, with my skills, it's just going to be research on OpenMW data structures, Qt and C++ in general. If a more experienced developer wants to take this, I'm happy just to see how development goes on. I do have some time though... Thanks for answering my qu...
by unelsson
28 Mar 2018, 09:20
Forum: General Development
Topic: Beginners' questions: Understanding OpenMW/OpenCS code
Replies: 30
Views: 5782

Re: Beginners' questions: Understanding OpenMW code

As I'm still looking for properly understanding the first question. However I went on and tried to get into CS's data structures. I find it pretty complex, so if someone would like to open this up, I'd be grateful. Here's though where I'm standing right now: data.hpp defines classes, like mLand to h...
by unelsson
27 Mar 2018, 23:20
Forum: General Development
Topic: Beginners' questions: Understanding OpenMW/OpenCS code
Replies: 30
Views: 5782

Re: Beginners' questions: Understanding OpenMW code

Q_DECLARE_METATYPE(CSMWorld::LandHeightsColumn::DataType)
This was at the end of the code. Didn't notice it before. This is a good clue on what that is in code above. Next would be to find out what that Record<Land> type is and where are records stored in OpenCS code.
by unelsson
27 Mar 2018, 13:02
Forum: General Development
Topic: Beginners' questions: Understanding OpenMW/OpenCS code
Replies: 30
Views: 5782

Beginners' questions: Understanding OpenMW/OpenCS code

Someone said "only stupid questions are those left unasked". So... I'm making a thread for beginner/beginner-intermediate coders questions on understanding C++ code of OpenMW. Googling etc. goes far, but then there comes a point where it's easier to understand by asking questions directly related to...
by unelsson
25 Mar 2018, 13:56
Forum: Editor Development
Topic: Terrain Editing
Replies: 131
Views: 40259

Re: Terrain Editing

I've been looking into this, kind of learning OpenMW and C++. My knowledge and coding skills are not yet up to the task. Luckily though, there seems to be quite a lot of infrastructure built for terrain editing already. Does anyone know whether the editor already duplicates the world terrain data in...
by unelsson
25 Mar 2018, 12:55
Forum: Editor Development
Topic: New OpenMW-CS Icons
Replies: 85
Views: 36225

Re: New OpenMW-CS Icons

I still can't find the icons for selection modes (centred cube, cube corner to corner, centred sphere), but new set is indeed more complete.
by unelsson
24 Mar 2018, 12:37
Forum: Editor Development
Topic: New OpenMW-CS Icons
Replies: 85
Views: 36225

Re: New OpenMW-CS Icons

I changed the placeholders in OpenMW-CS to these new icons. Didn't make any icon overhaul though, so still most of these are unused. Made a pull request here.
https://github.com/OpenMW/openmw/pull/1643
by unelsson
24 Mar 2018, 11:09
Forum: Editor Development
Topic: New OpenMW-CS Icons
Replies: 85
Views: 36225

Re: New OpenMW-CS Icons

Is there a specific reason why these aren't yet implemented? Although somewhat WIP, I wouldn't mind them replacing at least the placeholders right now. Icons editing-terrain and editing-pathgrid feel like superb replacements for placeholders already. Editing-instance is going to need some more icons...
by unelsson
23 Mar 2018, 23:23
Forum: Editor Development
Topic: Terrain Editing
Replies: 131
Views: 40259

Re: Terrain Editing

So now that the pull request by Aesylwinn has been merged, is someone working on this? I suppose this would be the next part to study for me.
by unelsson
23 Mar 2018, 23:04
Forum: General Development
Topic: Crime System
Replies: 18
Views: 6394

Re: Crime System

About this bug report https://bugs.openmw.org/issues/2798 What would be the solution for this? - coding setfight to go through every instance of the type in the world (save) - code an overriding variable that will be tied to esm-reading, like a workaround through the fact that base object can't be c...