Merge pull request #1 from IngenerkaTeamCenter/Arsenee-patch-1

Я продолжил делать мультфильм
This commit is contained in:
Mikhail Abramov 2018-02-17 23:45:47 +04:00 committed by GitHub
commit e77b7607ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

View file

@ -98,7 +98,17 @@ namespace WindowsFormsApplication1
System.IO.File.AppendAllText(filename, Environment.NewLine);
System.IO.File.AppendAllText(filename, "int main()" + Environment.NewLine);
System.IO.File.AppendAllText(filename, "{" + Environment.NewLine);
txCreateWindow(800, 600);
System.IO.File.AppendAllText(filename, Environment.NewLine);
System.IO.File.AppendAllText(filename, "txSetColor(TX_WHITE);" + Environment.NewLine);
System.IO.File.AppendAllText(filename, "txSetFillColor(TX_WHITE);" + Environment.NewLine);
System.IO.File.AppendAllText(filename, "txRectangle(0, 0, 800, 600);" + Environment.NewLine);
System.IO.File.AppendAllText(filename, "HDC texture = txLoadImage(\"Pictures\\Personaj.bmp\");" + Environment.NewLine);
//тут будет мультфильм
System.IO.File.AppendAllText(filename, "return 0;" + Environment.NewLine);

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB