/* Project 16 Source Code~\r
- * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669\r
+ * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
*\r
* This file is part of Project 16.\r
*\r
* Project 16 is free software; you can redistribute it and/or modify\r
* it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either verson 3 of the License, or\r
+ * the Free Software Foundation; either version 3 of the License, or\r
* (at your option) any later version.\r
*\r
* Project 16 is distributed in the hope that it will be useful,\r
page.tilesh=page.height/TILEWH;\r
page.tilemidposscreenx = page.tw/2;\r
page.tilemidposscreeny = (page.th/2)+1;\r
- page.pattern_ofs=0;\r
page.stridew=page.width/4;\r
page.pagesize = (word)(page.stridew)*page.height;\r
page.pi=page.width*4;\r
result.tilesw = p->tilesw;\r
result.tilesh = p->tilesh;\r
result.stridew=p->stridew;\r
- result.pattern_ofs = 0x10000UL - p->pagesize;\r
result.pagesize = p->pagesize;\r
result.pi=result.width*4;\r
result.id = p->id+1;\r
result.th = result.sh/TILEWH;\r
result.tilesw=result.width/TILEWH;\r
result.tilesh=result.height/TILEWH;\r
- result.pattern_ofs=0x10000UL - (p->pattern_ofs+p->pagesize);\r
result.id = p->id+1;\r
result.stridew=p->sw/4;//result.width/4;\r
result.pagesize = (word)(result.stridew)*result.height;\r