Closed mewmew closed 8 years ago
These warnings are known and will be left alone for now as both those files are in for a refactor sooner or later. The level rendering code is in for a major refactor that I've been delaying for months as I need a couple of uninterrupted coding days to do which I don't have. I have been working on other features that are easier and can be done with more sporadic coding sprints.
Edit: Commit 17cbbda has the level refactor (WIP). This will make it easier to evolve players/items, etc now.
By the way, did you manage to get the pentagram defect fixed with what I suggested?
These warnings are known and will be left alone for now as both those files are in for a refactor sooner or later. The level rendering code is in for a major refactor that I've been delaying for months as I need a couple of uninterrupted coding days to do which I don't have. I have been working on other features that are easier and can be done with more sporadic coding sprints.
Makes sense. I'll close this issue for now.
By the way, did you manage to get the pentagram defect fixed with what I suggested?
Indeed! Thanks for the help. Replied at https://github.com/dgengin/DGEngine/issues/10#issuecomment-252280129
When compiling with GCC 6.2.1, the following warnings are identified for rev b98b54f87179481e7766e7512402d85379ebf240:
The fix should be easy. Would you prefer changing the return type of
frame.size()
,map->Width()
andmap->Height()
to signed integers, change the type ofi
,x
, andy
to unsigned integers, or cast the return value fromframe.size()
,map->Width()
andmap->Height()
to signed integers?