Giter VIP home page Giter VIP logo

black-shades-enhanced's People

Contributors

bitl avatar z33ky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

black-shades-enhanced's Issues

Only Enemies Cross the Street

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?

Sniper zooming out on idle

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?

Permanent slomo

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.