Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revamp Game.TakeScreenShot #361

Merged
merged 4 commits into from
Dec 12, 2013
Merged

Revamp Game.TakeScreenShot #361

merged 4 commits into from
Dec 12, 2013

Conversation

Hoikas
Copy link
Member

@Hoikas Hoikas commented Dec 7, 2013

This addresses the side-effect of #358 (which should probably be renamed when this is merged).

Instead of doing random stuff like writing out targas and memcpying all the things, we now use plCaptureRender to take our screenshot (at any res DX supports). We also write out PNGs because no one uses TGA anymore... For free, you get aspect ratio "fixes" in plCaptureRender and some includes-reorganization...

@Hoikas
Copy link
Member Author

Hoikas commented Dec 7, 2013

Updated to fix function name.

@Hoikas
Copy link
Member Author

Hoikas commented Dec 12, 2013

Updated to fix octal strtoul failure.

@Deledrius
Copy link
Member

Aside from the FOV reset for which an optional flag would be nice, this is great. 👍

Deledrius added a commit that referenced this pull request Dec 12, 2013
Revamp Game.TakeScreenShot

Fixes #358.
@Deledrius Deledrius merged commit 5785464 into H-uru:master Dec 12, 2013
@Hoikas Hoikas deleted the capture branch December 12, 2013 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants