556
Off-Topic / picture profile
« on: 2007-08-10, 09:14:22 PM »
hi. does anybody know how to change the picture that appears next to your name into an uploaded picture

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
typedef short int SInt
//inventory items
SInt inv_Game1
SInt inv_Game2
SInt inv_Game3
SInt Game
//activated during game
void TileInt_CollectStar (SInt inv_Game1, SInt inv_Game2, SInt inv_Game3, SInt Game){
if (Game = 1)
inv_Game1++;
else if (Game = 2)
inv_Game2++;
else if (Game = 3){ //same thing
}
//activated during game
void Func_StartGame1 (SInt inv_Game1){
if (inv_Game == 0)
LoadMap ("OverviewMap");
else if (inv_Game1 == 1)
LoadMap ("Level1");
else if (inv_Game1 == 2)
LoadMap ("Level2");
//ect.
else
Msg ("Error!"); break;
Game = 1;
}
//Game2 and Game 3 work same way
int main(){
//rest of code
}
void TileInt_CollectStar is triggered by touching a tile in the Star Category which raises an event
void Func_StartGame1 would be triggered by activating the function druing the game and raising an event
inv_Game1 is the inventory item Game1
Game is the game that's currently "loaded"
LoadMap ("Level1") loads Level1
Msg ("Error!") creates a Message box saying "Error!"
sorry about the inventory items, the game crashed on me and i couldn't save it. i'll post one up with the inventory items later.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.EntryPointNotFoundException: Unable to find an entry point named UpdateLayeredWindow in DLL user32.dll.
at SGDK2.frmSplashForm.UpdateLayeredWindow(IntPtr hwnd, IntPtr hdcDst, Point& ptTopLeft, Size& pSize, IntPtr hdcSrc, Point& ptSrcRef, Int32 crKey, BLENDFUNCTION& pblend, Int32 dwFlags)
at SGDK2.frmSplashForm.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/win98/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
SGDK2IDE
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0
CodeBase: file:///C:/PROGRAM%20FILES/SGDK2/SGDK2IDE.EXE
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/win98/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/win98/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/win98/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.