2 registered members (AndrewAMD, SBGuy),
987
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: A9
[Re: mehrdad12]
#480811
07/15/20 19:00
07/15/20 19:00
|
Joined: Oct 2007
Posts: 5,210 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
|
///////////////////////////////////////////////////////////////
// acknex.cpp : Runtime EXE
///////////////////////////////////////////////////////////////
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
#include "adll.h"
#define IDI_ICON1 105
///////////////////////////////////////////////////////////////
int APIENTRY WinMain(HINSTANCE hInstance, // application instance handle
HINSTANCE hPrevInstance, // always zero
LPTSTR lpCmdLine, // application command line
int nCmdShow) // window flags
{
ENGINE_VARS *ev = engine_open(lpCmdLine);
// set the application icon from the EXE icon
HICON app_icon = LoadIcon(hInstance,MAKEINTRESOURCE(IDI_ICON1));
if (app_icon && ev && ev->hWnd) {
SendMessage(ev->hWnd, WM_SETICON, ICON_SMALL,(LPARAM)app_icon);
SendMessage(ev->hWnd, WM_SETICON, ICON_BIG,(LPARAM)app_icon);
}
while (engine_frame());
return engine_close();
}
this is the source of the acknex.exe, it's not the source of the engine, it just opens the engine from dll and passes the command line arguments to it.
3333333333
|
|
|
Re: A9
[Re: jenGs]
#480830
07/17/20 11:44
07/17/20 11:44
|
Joined: Oct 2007
Posts: 5,210 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
|
Been looking a godot, neat little engine. 3d and physics is kinda janky but they are working on it.
3333333333
|
|
|
|