Search

July 02, 2007
Learn »
...draw() { /* do sth. for ex. with viewport.width */ }}

viewport.d:
import scene;
class Viewport {
  void...
July 02, 2007
Learn »
...Entity e) {
	return tiles[e.y * MAP_WIDTH + e.x]; // or whatever
}

The downside is...
July 01, 2007
Learn »
...Example for such would be the screen width & height, the current main
character, the currently...
June 16, 2007
General »
...would have width and length and area, and the invariant would be width*length==area...
May 11, 2007
Learn »
...at least for cases where the shift width is known at compile time accepting \"sizeof...
April 29, 2007
Issues »
...code                  |spec
         OS/Version|Windows                     |All






"field width" could be both interpreted as " byte length...
April 25, 2007
Learn »
...toUTFindex(pText, pPos);

       // Then find out its width (in bytes)
       lStride = std.utf.stride(pText...
April 24, 2007
Learn »
...pText, pPos-1);

       // Then find out its width (in bytes)
       lStride = std.utf.stride(pText...
April 08, 2007
General »
...I need a static buffer of fixed width & height.  As I mentioned in a previous...
March 27, 2007
Issues »
...ii<width) && (jj<height) ){
            info.step2(srcLines[jj * width + ii],weight);
          }
        }
      }

      dstLines[j * width + i...
140 141 142 143 144 145 146 147 148 149 150
Next ›   Last »