git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1171 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
@@ -29,7 +29,7 @@ namespace BluntDirectX { namespace Direct3D
|
||||
void * ib;
|
||||
|
||||
buffer->Lock( 0, sizeof(unsigned short) * size, &ib, D3DLOCK_DISCARD );
|
||||
memcpy( ib, pdata, sizeof(unsigned short) * size );
|
||||
memcpy( ib, pdata, sizeof(unsigned short) * data.Length );
|
||||
buffer->Unlock();
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace OpenRa.Game
|
||||
Package TileMix;
|
||||
string TileSuffix;
|
||||
|
||||
const string mapName = "scm12ea.ini";
|
||||
const string mapName = "scg11eb.ini";
|
||||
|
||||
Dictionary<TileReference, SheetRectangle<Sheet>> tileMapping =
|
||||
new Dictionary<TileReference, SheetRectangle<Sheet>>();
|
||||
@@ -106,7 +106,7 @@ namespace OpenRa.Game
|
||||
|
||||
public MainWindow()
|
||||
{
|
||||
renderer = new Renderer(this, new Size(1280, 800), false);
|
||||
renderer = new Renderer(this, new Size(1280,800), false);
|
||||
Visible = true;
|
||||
|
||||
IniFile mapFile = new IniFile(File.OpenRead("../../../" + mapName));
|
||||
|
||||
Reference in New Issue
Block a user