Skip to content

Commit

Permalink
See desc
Browse files Browse the repository at this point in the history
* change shotgun bullets from 6 to 8 (matching voxlap now)
* remove transparency from screenshots
* update jenkins path
  • Loading branch information
xtreme8000 committed Jul 4, 2018
1 parent 63e0b5b commit 1cc2f53
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
@@ -1,4 +1,4 @@
[![Build Status](http://bytebit.info.tm:8080/buildStatus/icon?job=BetterSpades)](http://bytebit.info.tm:8080/job/BetterSpades/)
[![Build Status](http://bytebit.info.tm/jenkins/buildStatus/icon?job=BetterSpades)](http://bytebit.info.tm:8080/job/BetterSpades/)
[![](https://img.shields.io/github/downloads/xtreme8000/BetterSpades/total.svg)](https://github.com/xtreme8000/BetterSpades/releases)
[![GPL](https://img.shields.io/badge/license-GPL--3.0-red.svg)](https://github.com/xtreme8000/BetterSpades/blob/standalone/LICENSE)
[![DonateBTC](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](1AeSfdVmbEX6VCqxCgk9WkzSA8XJkKr4FM)
Expand All @@ -19,7 +19,7 @@

**As of right now, you can download the newest stable version from the [releases page](https://github.com/xtreme8000/BetterSpades/releases).**

**You can get [nightly builds here](http://bytebit.info.tm:8080/job/BetterSpades/).**
**You can get [nightly builds here](http://bytebit.info.tm/jenkins/job/BetterSpades/).**

You can either:
* use the client temporarily by extracting the downloaded zip into a new directory.
Expand Down
3 changes: 3 additions & 0 deletions src/main.c
Expand Up @@ -498,6 +498,9 @@ void keys(struct window_instance* window, int key, int scancode, int action, int
glReadPixels(0,0,settings.window_width,settings.window_height,GL_RGBA,GL_UNSIGNED_BYTE,pic_data);

for(int y=0;y<settings.window_height;y++) { //mirror image (top-bottom)
for(int x=0;x<settings.window_width;x++) {
pic_data[(x+(settings.window_height-y-1)*settings.window_width)*4+3] = 255;
}
memcpy(pic_data+settings.window_width*4*(y+settings.window_height),
pic_data+settings.window_width*4*(settings.window_height-y-1),
settings.window_width*4);
Expand Down
2 changes: 1 addition & 1 deletion src/weapon.c
Expand Up @@ -229,7 +229,7 @@ void weapon_shoot() {
//https://pastebin.com/raw/TMjKSTXG
//http://paste.quacknet.org/view/a3ea2743

for(int i=0;i<((players[local_player_id].weapon==WEAPON_SHOTGUN)?6:1);i++) {
for(int i=0;i<((players[local_player_id].weapon==WEAPON_SHOTGUN)?8:1);i++) {
float o[3] = {players[local_player_id].orientation.x,
players[local_player_id].orientation.y,
players[local_player_id].orientation.z};
Expand Down

0 comments on commit 1cc2f53

Please sign in to comment.