forked from pbghogehoge/ssg
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Ending] Remove the extra font system
I usually try to keep code that was originally merely commented out, but this one not only contains a Win32 memory allocation, it also will be hard to port to non-DirectDraw renderers. I already "preserved" this one in the form of a video on the ReC98 blog as well. Completes P0251, funded by Ember2528.
- Loading branch information
Showing
8 changed files
with
284 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* Coordinate systems | ||
* | ||
*/ | ||
|
||
#include "coords.h" | ||
|
||
PIXEL_POINT& operator -=(PIXEL_POINT& self, const PIXEL_SIZE& other) { | ||
self.x -= other.w; | ||
self.y -= other.h; | ||
return self; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.