Anonymous Login
2019-11-20 17:17 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001458OpenClonkEngine - Renderingpublic2017-08-20 12:10
ReporterMarky 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
Product Version 
Target Version8.1Fixed in Version 
Summary0001458: SetGraphics - GFXOV_MODE_Object does not superimpose all overlays
DescriptionThe description of the overlay mode says the following:

GFXOV_MODE_Object
Superimposes the current object graphics including all overlays of pOverlayObject onto the object. Warning: never superimpose an object recursively onto itself!

However in my scenario it only overlays the base graphics of pOverlayObject. I will have to use a workaround to achieve the effect that I want to see, so I would be glad if someone fixed this.
TagsNo tags attached.
Attached Files

-Relationships
related to 0001538new SetGraphics(nil, Definition) does not work as expected with sprite graphics 
+Relationships

-Notes

~0004487

Marky (developer)

Last edited: 2016-01-07 19:50

View 2 revisions

Ok, this one is not trivial either, I am stuck at debugging.

>void C4GraphicsOverlay::Draw(C4TargetFacet &cgo, C4Object *pForObj, int32_t iByPlayer)

Draws the overlayed object, and the overlayed object's code also says that it should draw the object with all overlays in

>void C4Object::Draw(C4TargetFacet &cgo, int32_t iByPlayer, DrawMode eDrawMode, float offX, float offY),

but somehow it does not. Maybe it draws the overlay at the wrong position?

+Notes

-Issue History
Date Modified Username Field Change
2015-11-22 19:07 Marky New Issue
2016-01-07 11:02 Marky Relationship added related to 0001538
2016-01-07 19:49 Marky Note Added: 0004487
2016-01-07 19:50 Marky Note Edited: 0004487 View Revisions
2017-08-05 13:58 Maikel Target Version => 8.0
2017-08-20 12:10 Zapper Target Version 8.0 => 8.1
+Issue History