We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Oswald Hurlem
Hello :)
»
Per Vognsen
First post on our new forums here on Handmade Network! I'll shut off comments on YouTube and funne…
»
Mikael Johansson
When you update positions, I guess you update ALL livinig and moveable entitys positions. For tha…
»
Finalspace
Okay thats weird, so it may be some stupid thing on my machine (Ubuntu 17 x64 with nvidia graphic…
»
»
Finalspace
The FPL branch or the thing i posted on pastebin?
»
Mārtiņš Možeiko
What is rawInputData? Do you have at least dwSize bytes allocated for it?
»
Andrew
Basically, I get a buffer overrun error when using raw input with win32. I have a RAWINPUTDEVICE v…
»
HawYeah
maxNumberOfEntitys = SOME_VALUE struct entity { //Stuff ALL entitys use. Like pos. }; struct spec…
»
Chen
Thanks! And ya, I agree, and I will probably end up doing just that.
»
Mikael Johansson
Agreed. Only issue I have with indices is that they produce alot more code. When you make interees…
»
Mārtiņš Možeiko
No crash for me. Window is opened, closed and app shuts down cleanly.
»
pragmatic_hero
Great work as always. Using approximation/simple shapes seems very sensible.
»
pragmatic_hero
That's good! Indices over pointers though:Takes less space, can be 16bits (65536 entities covers m…
»
Mikael Johansson
How about this?: maxNumberOfEntitys = SOME_VALUE struct entity { //Stuff ALL entitys use. Like pos…
»
Finalspace
Fixed, please try again. I renamed the files recentnly but missed to add it to git.
»
HawYeah
Ahh okay, I probs should have been more clear but I am reusing in the above examples. I think i ki…
»
Mārtiņš Možeiko
This most likely means memory corruption. You (or some library call you called incorrectly) corrup…
»
Finalspace
Okay this is really confusing. I put the code into a main.cpp compiled it and it run without any i…
»
Jeremiah Goerdt
Great. I'll start with those docs and see where I can go from there. I'm new at gui programming i…
»
Finalspace
The rest of the stuff does not seem to matter. Try commenting out "free" functionality for specif…
»
Mārtiņš Možeiko
Btw you don't need to start with QAbstractItemModel and QTreeView. That's required only to have ma…
»
Mārtiņš Možeiko
Not sure, but could be. XCreateColormap accepts pointer to visual, so it could potentially store i…
»
Finalspace
Thanks! I compared it with my implementation and there are a few things which are different in my…
»
Jeremiah Goerdt
It queries data dynamically from remote (for example Google Drive). ItemModel is the class where …
»
Mārtiņš Možeiko
I did QTreeView approach in my RcloneBrowser: It queries data dynamically from remote (for exampl…
»
Jeremiah Goerdt
Then when the values change after stepping you can emit dataChanged with just the column of the v…
»
ratchetfreak
If going Qt table then go with the QTreeView (so you can expand structs out) and implement a QAbst…
»
Jeremiah Goerdt
Working on the watch window has been pretty simple so far. I tried out an idea for tables-within-t…
»
Mārtiņš Možeiko
Here's my example that works without segfaults:
»