Permalink
Browse files

release-version fixes

  • Loading branch information...
kusma committed Nov 6, 2011
1 parent 9c41ce9 commit 351b9073c18866958f628756eec6e5aba0ea3fe6
Showing with 17 additions and 3 deletions.
  1. BIN icon.ico
  2. +1 −1 src/main.cpp
  3. +2 −1 src/resource.h
  4. +10 −1 src/very_last_engine_ever.rc
  5. +4 −0 very_last_engine_ever.vcproj
View
BIN icon.ico
Binary file not shown.
View
@@ -833,7 +833,7 @@ int main(int /*argc*/, char* /*argv*/ [])
device->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA);
clouds_fx->setFloat("alpha", clouds_alpha);
clouds_fx->setFloat("zoom", pow(sync_get_val(cloudsZoomTrack, row), 2));
- drawRect(device, clouds_fx, float(letterbox_viewport.X), float(letterbox_viewport.Y), float(letterbox_viewport.Width), float(letterbox_viewport.Height));
+ drawRect(device, clouds_fx, 0, 0, float(letterbox_viewport.Width), float(letterbox_viewport.Height));
device->SetRenderState(D3DRS_ALPHABLENDENABLE, FALSE);
}
View
@@ -4,6 +4,7 @@
//
#define IDD_CONFIG 101
#define IDB_BITMAP1 102
+#define IDI_ICON1 103
#define IDC_DISPLAY 1001
#define IDC_DEVICE 1002
#define IDC_FORMAT 1003
@@ -20,7 +21,7 @@
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 103
+#define _APS_NEXT_RESOURCE_VALUE 104
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1012
#define _APS_NEXT_SYMED_VALUE 101
@@ -7,7 +7,7 @@
//
// Generated from the TEXTINCLUDE 2 resource.
//
-#include <windows.h>
+#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
@@ -111,6 +111,15 @@ END
//
IDB_BITMAP1 BITMAP "..\\dialog.bmp"
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Icon
+//
+
+// Icon with lowest ID value placed first to ensure application icon
+// remains consistent on all systems.
+IDI_ICON1 ICON "C:\\Users\\kusma\\src\\vlee\\icon.ico"
#endif // Norwegian (Bokmal) resources
/////////////////////////////////////////////////////////////////////////////
@@ -643,6 +643,10 @@
RelativePath=".\dialog.bmp"
>
</File>
+ <File
+ RelativePath=".\icon.ico"
+ >
+ </File>
<File
RelativePath=".\src\very_last_engine_ever.rc"
>

0 comments on commit 351b907

Please sign in to comment.