Search found 587 matches

by Cyp
05 May 2019, 19:18
Forum: Addon discussions
Topic: Blue Building Beam
Replies: 8
Views: 2323

Re: Blue Building Beam

Apologies, but you're speaking greek with me there. I have no clue how to compile stuff. I may even be able to deal with whatever you guys are talking, but I don't even know how to start, trying to get it done for this weekend. Still, thanks for this info. Bit late for that weekend, but maybe it wi...
by Cyp
18 Apr 2019, 21:03
Forum: Addon discussions
Topic: Blue Building Beam
Replies: 8
Views: 2323

Re: Blue Building Beam

If you compile the game yourself, then maybe by removing the contents of renderConstructionEffect() in src/effects.cpp. Haven't tested, so not completely sure it's the right function.
by Cyp
07 Apr 2019, 08:59
Forum: Coding
Topic: My options for improving code speed.
Replies: 19
Views: 4972

Re: My options for improving code speed.

faster ≠ works Changing slightly, so it could actually compile: // g++ -O3 -march=native -fno-strict-aliasing -DQ -s -o sqrtf sqrtf.cpp -Wall -Wextra -fno-math-errno #include <cmath> #include <iostream> float Q_rsqrt(float number) { int32_t i; float x2, y; const float threehalfs = 1.5F; x2 = number ...
by Cyp
06 Apr 2019, 20:02
Forum: Coding
Topic: My options for improving code speed.
Replies: 19
Views: 4972

Re: My options for improving code speed.

Might be fairer to compare to sqrtf than to sqrt. I'd naïevely guess sqrtf to be faster and more accurate than Q_rsqrt.

I'm not sure square root calculations are the main bottleneck in the game.
by Cyp
28 Mar 2019, 19:20
Forum: Coding
Topic: My options for improving code speed.
Replies: 19
Views: 4972

Re: My options for improving code speed.

The books sound out of date. It's usually better to declare variables as local as possible to help humans reading the code, but it shouldn't make a difference for modern compilers. Unless it's complex C++ variables which may implicitly allocate/free memory, in which case it can sometimes be slightly...
by Cyp
26 Mar 2019, 12:23
Forum: News and announcements
Topic: Release 3.3.0 beta 1
Replies: 86
Views: 28380

Re: Release 3.3.0 beta 1

Maybe dump every danger map, with the hash as the filename (and hope it doesn't fill up the drive before it desynchs).

The factor is just a pseudorandom number, so each cell has a different factor contributing to the hash.
by Cyp
18 Mar 2019, 20:08
Forum: News and announcements
Topic: Release 3.3.0 beta 1
Replies: 86
Views: 28380

Re: Release 3.3.0 beta 1

In the first log, it says that one client called gameRand() somewhere, while the other client didn't. If it's reproducible, it's possible to add a syncDebugBacktrace call to log where it was called from (might slow the game down, not sure). In the second log, it says the clients disagreed on the che...
by Cyp
16 Mar 2019, 09:19
Forum: Development
Topic: ImGui
Replies: 11
Views: 1094

Re: ImGui

Looks interesting. One issue — as far as I can tell, ImGui has the same major problem that Warzone 2100 currently has — if clicking twice between frames, then at least one click is ignored, and the mouse position at the time of clicking is ignored. This often results in having to click about 5-10 ti...
by Cyp
08 Mar 2019, 08:55
Forum: News and announcements
Topic: Release 3.3.0 beta 1
Replies: 86
Views: 28380

Re: Release 3.3.0 beta 1

Does it work for you if you remove line 44 from lib/framework/wzstring.h?

Code: Select all

-    WzUniCodepoint& operator=(const WzUniCodepoint& ch) { _codepoint = ch._codepoint; return *this; }
Edit: Reported to work on IRC.
by Cyp
27 Feb 2019, 12:31
Forum: News and announcements
Topic: 3.3.0 (Beta) Multiplayer issues
Replies: 25
Views: 11509

Re: 3.3.0 (Beta) Multiplayer issues

When playing in mutli player mode and having a high selection mode of things with the mouse it often takes 3-4 clicks to make it activate the item you want it too. The mouse is very inaccurate To the point it is slowing player (me) down dramaticaly, Please fix this sloppy mouse … It's always been h...
by Cyp
23 Feb 2019, 08:28
Forum: Technical Help / Troubleshooting
Topic: Ubuntu 18.04 fails to compile
Replies: 1
Views: 1264

Re: Ubuntu 18.04 fails to compile

Not sure. Try qtscript5-dev if you don't have it already.
by Cyp
21 Feb 2019, 19:50
Forum: News and announcements
Topic: Release 3.3.0 beta 1
Replies: 86
Views: 28380

Re: Release 3.3.0 beta 1

Yes, see http://developer.wz2100.net/wiki/CompileGuideLinux

To get the right version:
git checkout 3.3.0-beta1
by Cyp
18 Feb 2019, 09:56
Forum: Game related Discussions
Topic: Research time and cost of towers and hardpoints
Replies: 2
Views: 1606

Re: Research time and cost of towers and hardpoints

It takes time to research the special scourge glue that's needed to stick them.

But yes, think it might be better if each tower/hardpoint didn't need researching separately, though.
by Cyp
17 Feb 2019, 09:03
Forum: Balance
Topic: Increase rate of fire for Bunker Buster
Replies: 5
Views: 1963

Re: Increase rate of fire for Bunker Buster

… the VTOL Bunker Buster should be able to fire two rounds, rather than one. The second shot can be fired 8 seconds after the first. … Note that this would probably make bunker buster VTOLs weaker against AA, since they would stay there for longer with the 8 second wait. There doesn't seem to be an...
by Cyp
31 Jan 2019, 17:36
Forum: Development
Topic: When is release 3.3.0?
Replies: 2
Views: 763

Re: When is release 3.3.0?

1) Not sure, something might be haunted.
2) Was supposed to be released about 4 days ago. Since not, hopefully within a few days. If not, then hopefully within a few months. If not, then hopefully within a few years. If not, then I don't know.