diff options
| author | Mike Buland <mike@xagasoft.com> | 2015-04-08 15:26:36 -0600 |
|---|---|---|
| committer | Mike Buland <mike@xagasoft.com> | 2015-04-08 15:26:36 -0600 |
| commit | ce78ef43e1c514b971fb3ad2746bcf59cd3aa11f (patch) | |
| tree | 2bf5343d3796701ba4d3bf5eab1d52bbe3ef7e35 /src | |
| parent | 8ceef99f0702851f6519a07a4a272f902204e472 (diff) | |
| download | lost-ce78ef43e1c514b971fb3ad2746bcf59cd3aa11f.tar.gz lost-ce78ef43e1c514b971fb3ad2746bcf59cd3aa11f.tar.bz2 lost-ce78ef43e1c514b971fb3ad2746bcf59cd3aa11f.tar.xz lost-ce78ef43e1c514b971fb3ad2746bcf59cd3aa11f.zip | |
Minor rendering tweaks.
Diffstat (limited to '')
| -rw-r--r-- | src/renderpng.cpp | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/src/renderpng.cpp b/src/renderpng.cpp index f452c07..4ce9a6e 100644 --- a/src/renderpng.cpp +++ b/src/renderpng.cpp | |||
| @@ -328,26 +328,10 @@ void RenderPng::render() | |||
| 328 | } | 328 | } |
| 329 | oy += 12; | 329 | oy += 12; |
| 330 | } | 330 | } |
| 331 | |||
| 332 | /* | ||
| 333 | for( int j = 2; j < iDims; j++ ) | ||
| 334 | { | ||
| 335 | for( int side = 0; side < 2; side++ ) | ||
| 336 | { | ||
| 337 | int d = j*2+side; | ||
| 338 | if( iWalls&(1<<d) ) | ||
| 339 | { | ||
| 340 | int iSubX = (d-4)%iSize; | ||
| 341 | int iSubY = (d-4)/iSize; | ||
| 342 | char &c = buf[x+1+iSubX+(y+1+iSubY)*iBufWidth]; | ||
| 343 | c = cPassages[d]; | ||
| 344 | } | ||
| 345 | } | ||
| 346 | } | ||
| 347 | */ | ||
| 348 | } | 331 | } |
| 349 | // printf(buf); | 332 | |
| 350 | im.save("lost.png", pal ); | 333 | printf("Saving image to: lost.png\n"); |
| 334 | im.save("lost.png", pal ); | ||
| 351 | 335 | ||
| 352 | delete[] aiPixDims; | 336 | delete[] aiPixDims; |
| 353 | } | 337 | } |
