-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
This is used for getting the textures from pointers (lighmaps have pointers to textures)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests were all green!
Mostly = default! change requests.
The commented code are VObs that are not present in world.zen by default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few naming conventions and PxVmNpc already exists (with less properties). Please check comments and thank you for the additional properties.
|
||
namespace PxCs.Data.Mesh | ||
{ | ||
public class PxLightMapData |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a vob? I mean does it inherit from PxVobData?
If not, then it shouldn't be inside Vob namespace, I guess.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is in mesh namespace as it is used by meshes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe you meant to comment to PxLightPresetData:
LightPreset is also defined under VOb in phoenix (now zenkit)
|
||
namespace PxCs.Data.Vob | ||
{ | ||
public class PxLightPresetData |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a vob? I mean does it inherit from PxVobData?
If not, then it shouldn't be inside Vob namespace, I guess.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is both a vob and a light, inside phoenix it is declared as such
struct Light : public VirtualObject, public LightPreset
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Light presets are not VObs but the have the same content as lights. Notice that LightPreset
does not inherit from VirtualObject
@@ -1,10 +1,81 @@ | |||
using System; | |||
using System.Numerics; | |||
|
|||
namespace PxCs.Data.Vob | |||
{ | |||
[Serializable] | |||
public class PxVobNpcData : PxVobData |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. Will help us with future NPC stuff.
But this isn't a VOB, this is a VM entry.
- Please check
PxCs.Data.Vm.PxVmNpcData
and add your elements here. - Do you load this data already? Please do so if not.
- Please enlarge the existing PxVmTest to check a few on these
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duh, you're totally right, my mistake
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm currently switching to ZenKit's C# implementation. You can keep this for now, but you might consider checking it, if your implementation is there already. |
This PR is now obsolete due to the switch to ZenKitCS. |
can be merged after GothicKit/phoenix-shared-interface#42