bitl / black-shades-enhanced Goto Github PK
View Code? Open in Web Editor NEWA mod for Wolfire's game Black Shades that incorporates new aspects, such as a larger FPS limit, windowed mode, and larger FOV
License: GNU General Public License v3.0
A mod for Wolfire's game Black Shades that incorporates new aspects, such as a larger FPS limit, windowed mode, and larger FOV
License: GNU General Public License v3.0
Since David Rosen has relicensed Black Shades under the GNU General Public License version 3 or later, you might want to update the copying information on this repository as well. IANAL but I think it was not entirely legal to make derivation from the copy under uDevGame license.
Absolutely love the mod. One issue I noticed is that only enemies ever cross the street. If you see anyone so much as leave the sidewalk you can shoot them dead.
Would it be possible for non-threatening NPCs to cross the road?
look in gameloop and gamedraw
I have a weird issue that when just crouching down with the sniperrifle and not pressing any keys or moving the mouse, the zoom will disengage after a second or two.
It seems SDL is erroneously generating a KEYUP-event for LCTRL for whatever reason. I have a workaround:
diff --git a/blackshades/Source/GameLoop.cpp b/blackshades/Source/GameLoop.cpp
index d2bc745..97dbd8b 100644
--- a/blackshades/Source/GameLoop.cpp
+++ b/blackshades/Source/GameLoop.cpp
@@ -318,6 +318,8 @@ static void DoSDLKey(Game *g, SDL_Event *event)
}
mackey = sdlkeymap[event->key.keysym.sym];
+ if(mackey == MAC_CONTROL_KEY)
+ press = SDL_GetModState() & (KMOD_LCTRL | KMOD_RCTRL);
if (mackey != -1) {
index = mackey / 8;
SDL_GetModState()
seems to return the state correctly. I didn't create a PR since I fear it might just be my system that is behaving weird. So, do you get this, too?
I played this game when it first came out and I remember there being a permanent slomo mode you could activate. I originally may have been playing on a Mac OS 9 though. Do you know about this feature?
Great work on this project. I know a little C++ and I would love to figure out how to get into modding some day.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.