Comments (14)
I have added WS_BORDER style to the frame size calculation, not sure how to test it but please re-download HGE or do git pull
and then give it a try.
from hge.
Is there any news on this bug? I guess System_Initiate() needs to be modified but i dont know how to recompile myself.
Best regards
Erik H
from hge.
Personal things were preventing me from looking at it on Friday/Saturday, today might be a chance or tomorrow. I'm on vacation now. It is not forgotten.
from hge.
Cool! I can check earliest tonight.
But will this retain compatability with win 7 and win xp? Should not the window styles be fetched from the actual window at startup?
from hge.
Window styles are calculated according to selected mode, fullscreen or windowed, if windowed there's also header bar and closing buttons. And then window box is adjusted using the styles to include window decorations in size. This should be fairly compatible, if styles are set correctly (which needs checking).
from hge.
Hi again! I get this error but not sure where to set this version:
Error (active) E0035 #error directive: Please set HGE_DIRECTX_VER to 8 or 9 supremacy C:\Dropbox\PROJECT\code\hge181\include\hge.h 15
I downloaded it all and replaced all includes and also replaced hge.dll in my project with the one from tutorials/precompiled (since this one was edited 20 hours ago I figured it was the new one).
from hge.
Set it in CMakeLists.txt in the root of the project. Or set it with a #define
before including hge.h, if that is hard to control where you include it, you can set it globally in your project via Project Settings -> C++ -> Preprocessor
It has also default value 9.
from hge.
I get past that now with some defines. But the new version doesnt have any "hge.lib" file, which is demanded for me to compile ("cannot open file 'hge.lib'). I havent any reference in my own code to that file. It used to be in the folder lib/vc.
Ps. Thank you for your help!
from hge.
It is still same HGE that you downloaded before, this part did not change despite me changing a lot in the source. Follow the build instructions in README and then pick up output files in linklib
and binaries in bin
.
from hge.
No SLN file is created by cMake. I get no errors in CMakeOutput.log but still no solutions file in the _build folder hierarchy.
It creates a CmakeFiles folder and inside that a 3.12.2 and CMakeTmp folder. But there is no solutions file to build. I use a directx 9 SDK which is assigned in the CMakeLists.txt.
from hge.
For now my best suggestion would be to see your screen cast over a live Hangouts or Skype or Discord call. Or a remote control like TeamViewer.
from hge.
Yeah I can do skype anytime during today before 16.30 (working from home). Tonight I cannot im afraid.
Skypename:
"salladskungen"
from hge.
Hi again!
A new oddity I found is that it now creates the window with upper-left corner in the middle of the screen. Which means 3/4 of the window is outside your screen and needs to be dragged.
In the old version the window was created centered on the screen, fitting it on the screen if possible, which was better.
I changed it to this and this seems to work fine (the window is now centered on the screen):
rect_windowed_.left = (scr_width - screen_width_) / 2;
rect_windowed_.top = (scr_height - screen_height_) / 2;
from hge.
I will add the change to the source when i'll have a minute, latest in a week.
Thanks!
from hge.
Related Issues (9)
- stdint.h HOT 1
- fonted crash
- HGE not updated to work with windows versions after XP HOT 1
- CMake doesn't support 2011+ visual studios HOT 1
- runtime check failure HOT 2
- Broken link on github pages HOT 3
- Cannot build the project .SLN in VS2010 HOT 1
- I don't get hge.lib while install hge.(Visual Studio 2019) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hge.