Comments (5)
Was that fixed already? The commit stream is so fast this week that it drowned me down a bit.
Haha, you are not the only one to be lost in the flurry of commits. Every time I go for lunch, sleep for a few hours, or look away from the screen, @galaxyhaxz, @AJenbo, @JustAnotherGuid and @qndel bump bin exactness by another percent or 5.
from devilution.
Was that fixed already? The commit stream is so fast this week that it drowned me down a bit.
from devilution.
It's possible to have static initializer functions without using C++, for example:
static void msgcmd_cpp_init_2(void) // static initializer function
{
msgcmd_init_event();
msgcmd_cleanup_chatcmd_atexit();
}
// switch data segment to CRT$XCU (static constructor list)
#pragma data_seg(".CRT$XCU")
// store a pointer to the init function
void (*msgcmd_init)(void) = msgcmd_cpp_init_2;
// restore normal data segment
#pragma data_seg()
No idea if this works with mingw but I assume it would have to in order to be compatible with static libs.
from devilution.
this was done as part of the move from C++ to C afaik
from devilution.
There really aren't any C++ parts of the code except msgcmd.cpp (which is sitting in a PR) and possibly the Critical section constructors. I thought originally Diablo had used far more CPP then it actually did, hehe.
from devilution.
Related Issues (20)
- [hellfire] Hive/Crypt - invisible chests and barrels HOT 1
- Are you able to use Hellfire's source code? HOT 1
- [hellfire] OperateL2Door - Please check bin exactness HOT 10
- Building in VS2019: exe attempts to open crypto/rsa key file? HOT 1
- Cleanup code HOT 1
- out of memory error HOT 5
- 60 FPS support? HOT 1
- Migrate macOS builds to GitHub Actions HOT 10
- [Not A Bug] Question about the License and Legal Section in the Readme HOT 5
- MaxGold always depends on auricGold HOT 4
- Gnat String's "Multiple arrows per shot" only fires one arrow HOT 2
- Win98 Support? HOT 1
- Farmer Quest Bug HOT 1
- [Feature request] add option to show items on map HOT 4
- [Android] Option to change stationary toggle to allow moving
- "Legal" section ambiguity HOT 1
- [MSVC][permissive-] devilution failed to build with /permissive- on MSVC HOT 5
- [Need help] Getting a Massive bow of swiftness at clvl 44+ HOT 3
- Is this gap intentional? HOT 1
- mods don't work In the mobile application HOT 2
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 devilution.