Enno Rehling
7087c0e0ab
Update to latest submodules, fix iniparser and critbit.
...
I did this before, must have lost it in the merge. Crazy.
2015-07-12 10:38:01 +02:00
Enno Rehling
80deef30b0
additional clang warning for tautological comparisons.
...
added to catch a /Wall VS warning in Travis builds.
2015-06-01 08:04:46 +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
798b3d6ad6
Implement tests for magicpath. They are failing (Bug 2066).
...
Also move spell and race initialization code from being server-only into game_init, where tests can use it.
2015-01-12 08:18:41 +01:00
Enno Rehling
3428f40f81
load inifile in main, it is only used by the server.
...
this should fix the broken CI build.
2014-12-09 06:01:10 +01:00
Enno Rehling
49493fa630
fix typo in last commit.
...
package is a standard lua module, not a good variable name.
log name of script.
2014-11-06 07:53:15 +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
932a615837
refactoring: special directions into their own file (vortex.c).
...
moving spells.c out of spells.
figured that movewhere should be in move.c
2014-08-27 21:30:24 +02:00
Enno Rehling
7d17cafdd6
simple tests for build().
...
cleaning up the code to give it a common setup function.
change the golem code to use flag, not hard-coded race.
unify the golems, make code more readable, kill a block of unused code.
2014-08-24 17:09:32 +02:00
Enno Rehling
afd41286b5
config file reading based on game name and install location.
2014-08-03 20:37:05 +02:00
Enno Rehling
44327d91f6
setting the rules directory with -r (overrides config.rules from eressea.ini)
2014-07-23 15:44:57 +02:00
Enno Rehling
2bec7e2bbe
save game id in the data file, not name of XML file
2014-07-23 11:54:51 +02:00
Enno Rehling
51207167c8
allow reading the configuration from a different directory (-c dir).
2014-07-23 08:10:14 +02:00
Enno Rehling
28726e2bea
update cmake to compile without sqlite3, curses or libxml2 installed.
...
This is not actually recommended, but your system may not have
this,and you should still be able to contribute. also, libxml2 is on
the way out, I am beginning to really hate it.
Moving a couple of files around.
2014-06-11 20:30:34 -07:00
Enno Rehling
9605fe27ae
add a version number header for release management.
...
add build number to creport.
2014-06-11 07:01:06 -07:00
Enno Rehling
465f3f7ce9
Merge branch 'master' of github.com:eressea/server
2014-05-05 00:00:10 -07:00
Enno Rehling
c1b840b0b2
remove -Cef, parse any arguments as a file to run.
...
new xml config file, work in progress, xinclude is broken
2014-04-24 14:41:04 +02:00
Enno Rehling
45168eb7e9
Merge branch 'master' of github.com:eressea/server
2014-04-22 07:21:34 -07:00
Enno Rehling
0d05ae77a3
remove stupid pragmas
2014-04-22 07:21:29 -07:00
Enno Rehling
fa5dc43b98
reorganizing the way configuration data is read (WIP)
2014-04-20 09:36:25 -07:00
Enno Rehling
bf2bb7449b
move bindings into src/ make the code compile from scratch again.
2014-02-22 00:32:59 -08:00
Enno Rehling
636f50e503
Merge branch 'master' of github.com:eressea/server
2014-02-18 06:05:52 +01: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
Enno Rehling
3a824eb859
Do not try to load a default lua file.
...
The default behavior is now that the game goes to the console without
loading setup.lua, unless setup.lua is specified in eressea.ini as the
script to be run.
Should add an option to override this from the command line, too.
2014-02-17 11:51:57 -08:00
Enno Rehling
77ab9133c2
use the storage submodule everywhere.
...
make most magic use float instead of double.
2013-12-31 01:06:28 -08:00
Enno Rehling
bef560d92a
Fix xml catalog references for E2 and E3.
...
Fix a bug in the new get_arg function.
2013-12-27 01:54:02 +01:00
Enno Rehling
ca79c28eaf
kill empty folder
2013-12-27 01:07:55 +01:00
Enno Rehling
6fe246114c
import local changes from gelbbaer.
...
fix argument parsing to not crash when arguments are missing.
2013-12-26 22:57:43 +01:00
Enno Rehling
3d7be88bad
Working on http://bugs.eressea.de/view.php?id=1946 (WIP)
2012-10-21 19:48:40 -07:00
Enno Rehling
ecc03a7f2c
make e3 server work with new bindings library
2012-06-10 22:33:05 +02:00
Enno Rehling
bff66773cf
update the arda server to use submodules and new cmake layout
2012-06-07 12:44:25 -07:00
Enno Rehling
10e7f0dd72
new directory layout, all tests pass
2012-06-05 07:36:33 -07:00
Enno Rehling
4e7a758a75
making server compile with new github repository layout
...
todo: fix scripts and config files
2012-06-04 21:45:25 -07:00
Enno Rehling
09336e35e8
make tests
...
do not write a logfile during tests
2012-06-01 17:59:01 -07:00
Enno Rehling
889ef08189
Moving some things around in the external directory.
...
I am deliberately breaking the VS2010 projects with this.
I am probably breaking the Eressea server.
2012-05-30 19:17:08 -07:00
Enno Rehling
f2598e8bdc
comparisons to boolean constants are dumb.
2012-05-23 22:23:32 -07:00
Enno Rehling
f2643e79b6
fix find_spell and create_spell to only create each spell once.
...
kill register_spell
make some critbit changes (need to transfer them upstream)
2012-05-22 18:44:54 -07:00
Enno Rehling
e2a6bbbb72
better command line parsing
...
fix compilation problem
2012-05-22 14:53:46 -07:00
Enno Rehling
338a0fae4a
commandline argument parsing improved.
2012-05-21 18:10:42 -07:00
Enno Rehling
1f0d5f205e
rename _log_error to log_error and get rid of the cumbersome #define
2012-05-16 16:52:12 -07:00
Enno Rehling
ecac1adb1b
rename _log_error to log_error and get rid of the cumbersome #define
2012-05-16 16:52:01 -07:00
Enno Rehling
3c1982da4c
improve logging verbosity
...
adapt to changes in log module
2012-05-16 09:49:28 +02:00
Enno Rehling
01acb1e7f6
indentation rules, slightly updated
2011-03-07 08:24:52 +01:00
Enno
d940f29a6c
indentation rules, slightly updated
2011-03-07 08:24:48 +01:00
Enno
347a888b67
indentation rules, strictly applied
2011-03-07 08:03:10 +01:00
Enno Rehling
27e435850e
indentation rules, strictly applied
2011-03-07 08:02:35 +01:00
Enno Rehling
e8aa30c673
spell_list removal in shared code needs to be reflected in eressea.
2011-02-26 00:30:54 -08:00
Enno Rehling
44804c2074
undo more CRLF screwups.
2010-08-08 01:14:01 -07:00