Enno Rehling
|
6cccdec4a2
|
coverity scan CID 22454 (logically dead code)
|
2015-10-29 09:06:46 +01:00 |
Enno Rehling
|
936c201d0b
|
Merge pull request #312 from eressea/master
pull latest changes from master into develop
|
2015-10-11 16:47:29 +02:00 |
Enno Rehling
|
6a074fd294
|
only disable MSVC2015 warnings in MSVC2015, do not break confuse compilers.
|
2015-10-11 14:39:51 +02:00 |
Enno Rehling
|
e8880db447
|
get the code to compile under vs2015 (disable warnings)
|
2015-10-11 14:39:43 +02:00 |
Enno Rehling
|
5f7b9129bc
|
Merge branch 'master' into develop
Conflicts:
tests/runtests.bat
|
2015-09-12 22:47:33 +02:00 |
Enno Rehling
|
a027139057
|
remove global variable `verbosity` in favor of static in main.c (use log_* functions everywhere)
|
2015-09-12 20:58:09 +02:00 |
Enno Rehling
|
09efd9c2a9
|
fix anything that uses the calendar module. opps.
|
2015-09-12 12:54:49 +02:00 |
Enno Rehling
|
9312b44f8e
|
move seen_region logic to a separate seen.[hc] module for testing.
currently failing test:
1) Failure (tests.report.test_lighthouse):
./scripts/tests/common.lua:1051: true expected but was false
|
2015-09-08 09:56:56 +02:00 |
Enno Rehling
|
d64948f0fc
|
eliminate duplicate call to link_seen (and report_context.seen)
|
2015-09-07 19:48:53 +02:00 |
Enno Rehling
|
b8df3f3a5f
|
increase the datatype for scores from int to long long
this fixes https://bugs.eressea.de/view.php?id=2136
|
2015-09-06 19:04:04 +02:00 |
Enno Rehling
|
74d7caf526
|
remove dead code for base10->base36 conversion
|
2015-09-05 19:24:59 +02:00 |
Enno Rehling
|
a9ecd1f55e
|
replace all at_travelunit code with travelthru_map calls.
welcome to callback hell.
this should stop the buffer for travelthru from running over.
tests for this should be hell, and I still owe writing them.
|
2015-08-19 14:37:51 +02:00 |
Enno Rehling
|
ebe365fd6e
|
move travelthru logic to a separate module. todo: split off the report writing from the collection of units.
|
2015-08-18 18:57:04 +02:00 |
Enno Rehling
|
5bc4f7f144
|
add some simple tests for writing travelthru information to the report, fix test that sets errno as a side effect (thanks, Microsoft!)
|
2015-08-18 17:08:02 +02:00 |
Enno Rehling
|
b999e3c963
|
replace strlcpy/wrptr pairs with new STRLCPY macro.
|
2015-08-17 19:37:02 +02:00 |
Enno Rehling
|
27b5588e8f
|
Merge region messages and individual messages before writing them into the report.
This fixes https://bugs.eressea.de/view.php?id=2073
|
2015-08-16 11:30:44 +02:00 |
Enno Rehling
|
47dccc667b
|
Add a message that contains the password in the first report, so Magellan can pick it up.
Fix a bad type conversion when setting skills.
|
2015-08-15 20:25:36 +02:00 |
Enno Rehling
|
398579c293
|
remove duplication, fix a stray blank space in the NR.
|
2015-08-07 16:17:11 +02:00 |
Enno Rehling
|
816243d2d7
|
magicians can always identify their own curse-effects.
magic-resistance on a building is always visible to anybody, just like it is on units.
|
2015-08-07 15:52:10 +02:00 |
Enno Rehling
|
4d061d8592
|
repair update_long_order and K_DESTROY handling according to discussion in https://bugs.eressea.de/view.php?id=2080
|
2015-08-04 22:47:55 +02:00 |
Enno Rehling
|
b8e17839a7
|
eliminate some spammy warnings.
|
2015-07-08 18:27:27 +02:00 |
Enno Rehling
|
e25d3c8ed1
|
Fix a bug reporting DETROY messages to the correct unit.
Add missing not-null assertions before accessing function parameters.
Eliminate all of the PVS-Studio warnings.
|
2015-07-07 00:49:12 +02:00 |
Enno Rehling
|
05ec74f9ec
|
annotate with finds from PVS Studio trial static analysis
|
2015-07-06 21:31:27 +02:00 |
Enno Rehling
|
22ae1b63de
|
Merge pull request #201 from badgerman/issue-199-sparagraph
bugfix sparagraph (github issue #199).
|
2015-05-20 22:54:53 +02:00 |
Enno Rehling
|
465dcf4e1c
|
bugfix sparagraph (github issue #199).
adding tests.
|
2015-05-20 18:05:25 +02:00 |
Enno Rehling
|
3a03579a65
|
rename set_origin/get_origin into faction.c, remove argument from adjust_coordinates. add test for bug 2070.
|
2015-05-19 08:27:16 +02:00 |
Enno Rehling
|
e7661434e3
|
fix an out-of-bounds error in the new stream-based report code when centering very short headlines, refactor indentation code, add tests.
|
2015-05-19 08:26:44 +02:00 |
Enno Rehling
|
dbf022b757
|
fix loop termination, sparagraph
|
2015-05-18 09:37:31 +02:00 |
Enno Rehling
|
c6b4c51b0d
|
fix endless loop bug.
|
2015-05-18 09:21:41 +02:00 |
Enno Rehling
|
053adda3b4
|
Merge pull request #193 from badgerman/feature-gmtool-upgrades
misc gmtool upgrades
|
2015-05-17 17:57:46 +02:00 |
Enno Rehling
|
c4d1482250
|
signed/unsigned comparisons (VC warning only)
|
2015-05-15 20:56:43 +02:00 |
Enno Rehling
|
eac4ef7ddc
|
reduce conversion warning to float only
|
2015-05-15 13:32:22 +02:00 |
Enno Rehling
|
9c7fe1d7cc
|
fix gcc compilation and missing argument
|
2015-05-13 13:12:46 +02:00 |
Enno Rehling
|
06ff88e783
|
use filestream for report_template, too.
|
2015-05-12 20:51:17 -07:00 |
Enno Rehling
|
53a452e4ba
|
more conversions to filestream
|
2015-05-12 20:08:34 -07:00 |
Enno Rehling
|
e048b82ad2
|
very messy first steps towards making report_plaintext use filestream instead of FILE (lots of hacks)
|
2015-05-12 19:41:43 -07:00 |
Enno Rehling
|
83e610ee03
|
Fixing bug 1802 again, CR contains no Monster names.
|
2015-02-11 07:57:38 +01:00 |
Enno Rehling
|
9a395127ac
|
Merge branch 'nr_localization_fix' of https://github.com/stm2/server into stm2-nr_localization_fix
Conflicts:
src/report.c
|
2015-02-01 12:24:19 +01:00 |
Enno Rehling
|
03cddee6b7
|
Small plural/singular fix in German message.
|
2015-02-01 10:39:36 +01:00 |
Enno Rehling
|
c54cbfd472
|
fix copyright notice
|
2015-01-30 22:10:29 +01:00 |
Steffen Mecke
|
5e4ea5a145
|
fixed formatting errors
|
2015-01-30 20:43:40 +01:00 |
Enno Rehling
|
abca25d1d5
|
fix indentation in every file
fix copyright date
remove vi ts=2 code
remove a couple of superfluous extern declarations
|
2015-01-30 20:37:14 +01:00 |
Steffen Mecke
|
039ee159cb
|
a bunch of messages in the NR where not localized
|
2015-01-14 16:17:21 +01:00 |
Enno Rehling
|
3d4fefcf7c
|
Some additional TODO comments for things I want to tackle eventually. #comment-only
|
2015-01-10 17:05:10 +01:00 |
Enno Rehling
|
23b8f2bc8a
|
call init_locales after parse_json from Lua, downgrade missing string warnings during that to DEBUG (because it's quite common not to have them).
also, these int to bool conversion warnings made a good point, even if I could not reproduce them.
|
2015-01-08 20:55:29 +01:00 |
Enno Rehling
|
b3bec13051
|
report the unit limit in NR and CR.
this implements https://bugs.eressea.de/view.php?id=2055
|
2014-12-19 19:57:24 +01:00 |
Enno Rehling
|
9b56ccf53c
|
cleaning up some alliance code, killing bitrot from WDW.
|
2014-12-09 14:14:35 +01:00 |
Enno Rehling
|
0fead39b41
|
added a function that sets a monster's name to NULL if it is the name of its race.
deprecate old rc_name function (renamed to rc_name_s) because it used a static return string.
|
2014-12-09 07:20:36 +01:00 |
Enno Rehling
|
5b9eb9080f
|
refactoring: move all monster-related code into monster.c
make some features depend on being NPCs, not monster faction.
|
2014-11-11 16:53:56 +01:00 |
Enno Rehling
|
a28cbc647a
|
loot refactoring and a small armor/shield fix.
|
2014-11-09 14:39:48 +01:00 |