Search found 59 matches
- 04 Sep 2017, 23:38
- Forum: Support
- Topic: My own build of .42 wants a newer version of avcodec than the official .42?
- Replies: 0
- Views: 1717
My own build of .42 wants a newer version of avcodec than the official .42?
Like title says, the precompiled windows x64 .42 is happy with avcodec-56, my own compiled version wants -57 Is this intentional or did I go wrong with my build? Thanks Edit: looks like I didn't clone .42 but whatever the most recent one is, so I've cloned .42 and I will update how it goes after I b...
- 09 Aug 2017, 14:31
- Forum: General Development
- Topic: Looking to understand how to work with OSG in OpenMW, would this tutorial help?
- Replies: 2
- Views: 2254
Re: Looking to understand how to work with OSG in OpenMW, would this tutorial help?
Thanks for the input, sounds like openGL might be worth my time!
- 08 Aug 2017, 15:59
- Forum: General Development
- Topic: Looking to understand how to work with OSG in OpenMW, would this tutorial help?
- Replies: 2
- Views: 2254
Looking to understand how to work with OSG in OpenMW, would this tutorial help?
The only tutorials I could find for OSG are deprecated. so I was wondering if this OpenGL tutorial would help me out: https://learnopengl.com/ Would going through that help me out at all in working in OpenMW, or should I stick to figuring out OSG? Maybe outdated OSG tutorial would still be useful? T...
- 05 Aug 2017, 13:21
- Forum: General Development
- Topic: Difference between world and worldimp?
- Replies: 3
- Views: 2562
Re: Difference between world and worldimp?
Thanks Chris,
So, to make sure I understand. world.hpp declares the public functions of the MWWorld subsystem, worldimp.hpp declares the private, and all MWWorld functions public or private are defined in worldimp.cpp?
So, to make sure I understand. world.hpp declares the public functions of the MWWorld subsystem, worldimp.hpp declares the private, and all MWWorld functions public or private are defined in worldimp.cpp?
- 05 Aug 2017, 00:28
- Forum: General Development
- Topic: Difference between world and worldimp?
- Replies: 3
- Views: 2562
Difference between world and worldimp?
Hi,
What is the difference between world.hpp and worldimp.hpp? It seems that everything in world.hpp is defined in worldimp.cpp, and all in worldimp.hpp is also defined in worldimp.cpp
How are these classes related? Why are they separate?
Thank you,
What is the difference between world.hpp and worldimp.hpp? It seems that everything in world.hpp is defined in worldimp.cpp, and all in worldimp.hpp is also defined in worldimp.cpp
How are these classes related? Why are they separate?
Thank you,
- 02 Aug 2017, 00:03
- Forum: General Development
- Topic: Recommended reading to grasp code base?
- Replies: 2
- Views: 2392
Recommended reading to grasp code base?
I've read through the wiki, which helped a bit but didn't do much to help with grasping the overall structure of the code base. Stuff like how ESM/ESPs are read, how the classes connect, etc. Are there any good resources I should check out? I've been reading the code base and I'm beginning to grasp ...
- 01 Aug 2017, 23:56
- Forum: General Development
- Topic: Code Quality Issues
- Replies: 13
- Views: 33909
Re: Code Quality Issues
This was an interesting read, thanks for typing it up. I've got a question about point 4. Consider what happens should we have to add a new referenceable record type (after OpenMW 1.0). This would obviously require a new concrete subclass of MWWorld::Class. And ideally most of the code specific to t...
- 25 Jul 2017, 02:26
- Forum: General Development
- Topic: newbie C++ question, why are const functions in OpenMW sometimes used to change values?
- Replies: 3
- Views: 2316
Re: newbie C++ question, why are const functions in OpenMW sometimes used to change values?
Chris, thanks a lot for your explanation, I hope you don't mind if I ask some follow up questions. So, to make sure I'm understanding properly: In the onHit example, making the onHit member function const makes it so no changes can happen to the class the member function belongs to (in this case the...
- 24 Jul 2017, 23:38
- Forum: General Development
- Topic: newbie C++ question, why are const functions in OpenMW sometimes used to change values?
- Replies: 3
- Views: 2316
newbie C++ question, why are const functions in OpenMW sometimes used to change values?
Hi, new C++ programmer here, poking around OpenMW to get a feel for the language. In my C++ tutorials I've learned you can make a function a const function if you don't want it to change any values. But, unless I am mistaken, const functions in OpenMW are used to change values, such as void Npc::onH...
- 24 Jul 2017, 13:42
- Forum: General Development
- Topic: What are the rules for referencing game assets?
- Replies: 3
- Views: 2720
Re: What are the rules for referencing game assets?
Thanks for the input, sounds like I really shouldn't hard code any npc class references. Maybe I could add a new AI attributes to the npc object, and those values are set by scanning an XML. So there wouldn't be a reference to "assassin" in the hard code, but there will be a bit of code th...