Commit graph

16638 commits

Author SHA1 Message Date
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
DinkyDyeAussie
168608c59b Update font.h 2016-09-20 20:08:59 +10:00
DinkyDyeAussie
f26ebba94a Update imagefont.h 2016-09-20 20:07:59 +10:00
DinkyDyeAussie
b96b3caf62 Update graphics.h 2016-09-20 20:07:11 +10:00
DinkyDyeAussie
340a0c8e1b Update font.h 2016-09-20 20:06:08 +10:00
DinkyDyeAussie
18f988846b Update defaultfont.h 2016-09-20 20:05:29 +10:00
DinkyDyeAussie
ccd5a8c4a3 Update imagefont.cpp 2016-09-20 20:04:28 +10:00
DinkyDyeAussie
f23064c914 more "is_normal" added 2016-09-20 20:03:58 +10:00
DinkyDyeAussie
c3e0ea9748 added "is_normal" parameter
This parameter makes the game monitor if you mouse pointer is hovering over a button with text. If so, the text color is inverted.
2016-09-20 20:02:09 +10:00
DinkyDyeAussie
0b0deb7fe8 Update mainscr.cpp 2016-09-20 06:06:08 +10:00