Tim Felgentreff
47c26d6918
fix compilation on unix again
2016-11-18 13:13:18 +01:00
Tim Felgentreff
86e9820730
fix game launcher and extraction process for windows
2016-11-18 13:03:55 +01:00
mimooh
75700100c4
I checked and it worked for me with = operator, unsure about ^=
2016-11-17 22:44:24 +01:00
mimooh
036e0bbb47
Disable lua checksum for now. s/uint16_t/uint32_t/ doesn't fix the issue as I hoped.
2016-11-17 22:40:58 +01:00
Tim Felgentreff
3d84d37718
Merge /home/tim/Dev/stratagus/stratagus
2016-11-17 14:47:11 +01:00
Tim Felgentreff
6b03b5eedf
include tinyfiledialogs in game launcher, and use it to offer extracting data on first launch to a user directory
2016-11-17 14:46:19 +01:00
Tim Felgentreff
5b27976755
Merge branch 'master' of https://github.com/Wargus/stratagus
2016-11-15 00:55:13 +01:00
Tim Felgentreff
c5ba33f406
Fix compilation error
2016-11-15 00:54:09 +01:00
Tim Felgentreff
8ffc992f58
install metaserver on debian
2016-11-14 13:43:46 +01:00
Tim Felgentreff
8cd26ee2b9
Merge remote-tracking branch 'origin/master' into tim/metaserver
2016-11-14 13:37:37 +01:00
mimooh
135ceee025
Remove \r line endings before checksumming lua files, to sidestep issues when Windows git autoconverted line endings
2016-11-13 21:23:29 +01:00
mimooh
c19081e01d
be much more conservative with file checksums for now
2016-11-13 14:58:16 +01:00
Tim Felgentreff
7b5d402454
Remove \r line endings before checksumming lua files, to sidestep issues when Windows git autoconverted line endings
2016-11-11 18:51:38 +01:00
Tim Felgentreff
c9c4bc3731
To connect to the metaserver, try on all interfaces unless one was passed on the commandline
2016-11-11 18:22:26 +01:00
Tim Felgentreff
39aa96fb62
Fix guessing an external interface ip on windows and passing that to the metaserver
2016-11-11 15:10:51 +01:00
Tim Felgentreff
472dbc0a2d
determine external ip addresses, and advertise the first external interface to the metaserver
2016-11-11 10:11:32 +01:00
Tim Felgentreff
db04c640b1
remove now useless ntohs in metaserver
2016-11-11 01:24:00 +01:00
Tim Felgentreff
49263f688b
be consistent with passing around ports
2016-11-11 00:59:28 +01:00
Tim Felgentreff
7ca8ed6a80
be much more conservative with file checksums for now
2016-11-11 00:23:15 +01:00
Tim Felgentreff
c1b4bdb17d
fix conversion of port numbers
2016-11-11 00:14:38 +01:00
Tim Felgentreff
c3dae4bfee
allow not logged in access, fix udp register port
2016-11-10 23:46:42 +01:00
Tim Felgentreff
d04059ac25
add a function to create the game and send the udp stuff to the metaserver
2016-11-10 16:54:41 +01:00
Tim Felgentreff
b743ec9456
basic help
2016-11-10 15:25:33 +01:00
Tim Felgentreff
6557291c05
use metaserver to do a udp hole punch from the client to the server
2016-11-10 15:20:53 +01:00
Tim Felgentreff
991f71bc9a
cleanup some unused assignments found by clang's scan-build
2016-11-09 15:18:45 +01:00
Tim Felgentreff
fd902d8877
extend howtorelease info [skip ci]
2016-11-09 15:18:11 +01:00
Tim Felgentreff
3180e9f441
when warping the mouse in zoomed mode, we need to scale coordinates
2016-11-09 12:03:41 +01:00
Tim Felgentreff
72bb74076e
use -Z to pass a logical size to render the game at, scaling that up to the viewport size passed with -v
2016-11-09 11:55:24 +01:00
Tim Felgentreff
7a6094cbf8
Revert "trigger launchpad build". Not working right now and too tired to debug
...
This reverts commit 72b308b27b
.
2016-11-09 00:44:09 +01:00
Tim Felgentreff
72b308b27b
trigger launchpad build
2016-11-09 00:08:05 +01:00
Tim Felgentreff
6922ff42d8
error on the default warnings
2016-11-08 23:50:55 +01:00
Tim Felgentreff
5cc8b63b1c
fix a few compilation warnings
2016-11-08 23:50:43 +01:00
Tim Felgentreff
5be5bfb032
Update changelog
2016-11-08 15:38:09 +01:00
Tim Felgentreff
a30361fdb4
When we draw a lifebar + icon borders, draw the lifebar over the bottom part of the border
2016-11-08 14:10:05 +01:00
Tim Felgentreff
5e8746862a
Compile with c++ 0x support
2016-11-07 16:37:14 +01:00
Tim Felgentreff
b5b0012bbc
Add forgotten include
2016-11-07 16:31:51 +01:00
Tim Felgentreff
e9a07ff2ff
Implement a simple 32-bit checksum for lua files, and use that to ensure we're running the same game. Network version check was useless, because we're already comparing the full engine version, and the two were derived from the same numbers. Fixes #193
2016-11-07 16:26:24 +01:00
Tim Felgentreff
9b39ebd4b3
Declare dpi awareness so we don't get streched by windows
2016-11-07 10:00:18 +01:00
Tim Felgentreff
11b71b579c
Fix #31 , adapt Wyrmgus' code for icon frames and allow more control over flashing or non-flashing border.
2016-11-06 17:34:40 +01:00
Tim Felgentreff
766bcfd0cc
for scripting use, when removing a unit, also let it die and thus release it completely
2016-11-05 19:52:04 +01:00
DinkyDyeAussie
8b779e6e2b
Removed blue background on message text
...
Removed the blue box behind the message text to make the game (wargus) look more like warcraft 2.
2016-09-26 20:51:55 +10:00
DinkyDyeAussie
52c27496de
Update botpanel.cpp
2016-09-23 20:20:53 +10:00
DinkyDyeAussie
aa5c1dd8f4
buildings and units multi-select bug fixed
...
Fixed a bug where if you selected multiple units around a building that can be selected with rectangle, it causes both the units and building to be selected together. This patch makes it so if you multi-select the units around the building, the building is not selected.
Patched with Code from Wyrmgus - thanks go to Andrettin.
2016-09-23 19:27:28 +10:00
DinkyDyeAussie
d988d86b50
prevent units being added to control groups of buildings
2016-09-23 16:13:40 +10:00
DinkyDyeAussie
cd65cbafbb
Make multiple buildings of the same type selectable at the same time
2016-09-23 16:11:47 +10:00
Tim Felgentreff
1e798a7309
Merge pull request #189 from Wargus/tim/libretro-shaders
...
Enable the use of libretro shaders
2016-09-21 10:23:45 +02:00
DinkyDyeAussie
6e40ed6514
Correction of code causing build errors
2016-09-21 05:54:51 +10:00
DinkyDyeAussie
928ebff81b
Correction of code causing build errors
2016-09-21 04:41:19 +10:00
DinkyDyeAussie
517418cf2a
Update font.cpp
2016-09-20 20:14:18 +10:00
DinkyDyeAussie
38ac71129e
Update widgets.cpp
2016-09-20 20:11:39 +10:00