Enno Rehling
|
de808bf146
|
change effskill signature to take a region, change eff_skill to work on a skill * to avoid multiple lookups.
|
2015-08-27 16:16:55 +02:00 |
|
Enno Rehling
|
afbc4c816b
|
refactoring ship speed, extract total skills of sailors into a function.
|
2015-08-07 12:43:18 +02:00 |
|
Enno Rehling
|
b3a8a95a24
|
cherry-picking ship tests from range_max code
|
2015-08-07 11:48:46 +02:00 |
|
Enno Rehling
|
d7e5876c62
|
fix build, missing limits.h include
|
2015-07-07 09:44:24 +02:00 |
|
Enno Rehling
|
1e669472a6
|
add a test and fix potential crashes in SABOTAGE command.
sometimes even a simple test will uncover a ton of small errors.
|
2015-07-07 09:29:43 +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 |
|
Steffen Mecke
|
79d2c76c3f
|
refining spy tests
|
2015-05-04 14:30:59 +02:00 |
|
Steffen Mecke
|
e28222c5be
|
fix missing kampfstatus
|
2015-05-04 14:30:59 +02:00 |
|
Steffen Mecke
|
2cc8c1f871
|
trying to solve spy message bug #1604
Conflicts:
src/kernel/CMakeLists.txt
|
2015-05-04 14:30:59 +02:00 |
|
Enno Rehling
|
c54cbfd472
|
fix copyright notice
|
2015-01-30 22:10:29 +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 |
|
Enno Rehling
|
9453aff7f5
|
fix running game-specific tests for E3, add them to the test suite.
|
2014-12-31 21:07:42 +01:00 |
|
Enno Rehling
|
98994f233d
|
remove the deprecated getunit function.
fix the build, missing return value from give_control_cmd.
|
2014-12-12 21:06:47 +01:00 |
|
Enno Rehling
|
481275aef1
|
refactor: eliminate the getunitpeasants global variable.
bugfix: it was possible to uncover stealth units with GIVE CONTROL.
|
2014-12-12 20:53:39 +01:00 |
|
Enno Rehling
|
1af315ebf2
|
move magic out of kernel, into src.
clean up/remove a ton of includes, especially of types.h (include in header if you need it, not in every .c file).
|
2014-11-01 12:57:01 +01:00 |
|
Enno Rehling
|
81bfb598d0
|
refactoring modules, cleaning out the config.c kitchen sink.
- cansee_* rules to laws.c
- translations to language.c
- stealth to attributes/,
- rename build.h -> buildno.h
|
2014-11-01 12:09:56 +01:00 |
|
Enno Rehling
|
403c1ad6a9
|
fix errors and warnings that clang reports.
|
2014-10-14 22:57:02 +02:00 |
|
Enno Rehling
|
a9a0455207
|
reorganized directory structure.
flattening the directory structure, moving some modules to the src/ directory.
making stealth a separate file, under test.
more tests for some stuff.
|
2014-08-27 06:40:35 +02:00 |
|
Enno Rehling
|
e87b1cf372
|
an experiment to have deterministic sort order for known factions in the report.
|
2014-08-25 00:06:33 +02:00 |
|
Enno Rehling
|
808f343e34
|
make getstrtoken() return null at EOL, kill init_tokens.
init_order all the things!
added a bunch of new assertions to cover for oversights.
added some new tests for order parsing.
|
2014-08-23 09:17:58 +02:00 |
|
Enno Rehling
|
c3dfbdea18
|
eliminate new_race array in favor of a function (TODO: make it fast)
|
2014-06-29 18:10:02 -07:00 |
|
Enno Rehling
|
bff25f3c51
|
move skill_t into a separate file, give it unit tests.
name functions the same as we did for keyword/direction earlier.
to do: json configuration and lua test.
|
2014-06-20 23:59:04 -07:00 |
|
Enno Rehling
|
125fd519a8
|
rename test files.
add tests for keyword.c, incomplete.
|
2014-06-16 08:01:59 -07:00 |
|
Enno Rehling
|
3c4b6b9dd4
|
rename message.[hc] to messages.[hc] in kernel because of naming conflict with util/
begin json config files (WIP)
|
2014-06-09 09:56:49 -07:00 |
|
Enno Rehling
|
0ae8737062
|
rename MIN/MAX to _min/_max
|
2014-03-16 05:03:17 +01:00 |
|
Enno Rehling
|
528dd4b81f
|
remove latin1 characters from some files
experimenting with .gitattributes some more
|
2014-03-06 19:12:12 -08:00 |
|
Enno Rehling
|
03c247c788
|
I am killing the core/ directory.
Lots of files are moving to a new location in src/
Some intersting CMake changes.
|
2014-02-18 05:45:00 +01:00 |
|