Enno Rehling
475c9f8cd8
seed a single faction from newplayers file.
2017-07-23 15:18:16 +02:00
Enno Rehling
733c754e0f
rename some configuration options.
...
add them to the valid keys for eressea.ini, too.
2017-03-25 14:15:01 +01:00
Enno Rehling
1a0992e37b
remove remainders of the arena.
...
Auge des Drachens haben noch einige Spieler, darf nicht gelöscht werden.
move item tests to tests/items.lua
2017-02-27 18:21:41 +01:00
Enno Rehling
f06d86007c
seed normalization (broken)
2017-02-23 22:08:16 +01:00
Enno Rehling
4e5f1d05ce
Be very strict about C standards.
...
Compile with -std=c89 in gcc.
remove all // comments (they are nice, but unnecessary).
variables only declared at start of block.
various pedantery.
backwards compatible va_copy for pre-C99 gcc.
2017-02-18 21:15:14 +01:00
Enno Rehling
05b6c1c418
Merge branch 'develop' into c99
2017-01-11 09:30:50 +01:00
Enno Rehling
8b7dae6977
kill autoconf.h, replace platform.h for C99 compatibility work
2017-01-10 16:31:05 +01:00
Enno Rehling
3fb12d8f1e
replace snprintf and the like.
...
you cannot trust _snprintf in MSVC (no zero-termination).
2017-01-07 21:09:39 +01:00
Enno Rehling
ecd74c53f5
More PVS-Studio warnings eliminated.
2016-11-23 19:19:04 +01:00
Enno Rehling
03a94d1264
remove unused and broken backup functionality
2016-11-14 01:35:45 +01:00
Enno Rehling
693f1be6d1
fix endless loop in cp1252 search (wrong sort)
...
fix indentation
additional testing
2016-10-02 13:12:47 +02:00
Enno Rehling
c352ab9f8e
move game-version information fom version.h to gamedata.h
2016-09-10 17:21:17 +02:00
Enno Rehling
b4135e49fb
unused variable
2016-08-07 19:20:41 +02:00
Enno Rehling
731238dfb1
support different editor codepages
2016-08-07 19:19:35 +02:00
Enno Rehling
400051332a
Trying out some different codepages for pdcurses/WIN32 and ncurses/Linux.
2016-08-07 18:55:03 +02:00
Enno Rehling
69c0194628
curses output doesn't deal well with non-ascii characters. "Fix" UTF8 characters by replacing them with ?
2016-08-07 18:25:28 +02:00
Enno Rehling
eebdcf5d93
control log level from command line (with -l, like -v)
...
make newplayer.lua use the autoseed module, eliminate duplication
seeding new players is broken
Conflicts:
src/gmtool.c
src/main.c
src/util/log.c
src/util/log.h
2016-07-30 22:46:57 +02:00
Enno Rehling
8a3bb35987
eliminate global log_flags, revert the mode arguments for fopen.
...
turns out that text is default, and windows hates it if I open a binary file without 'b'
standardize on using join_path to create filenames
(use backslash on windows, even though fopen doesn't seem to care).
2016-02-05 23:10:05 +01:00
Enno Rehling
91f894b290
teleport.c is the astral space implementation, and it is not one of the core concepts, so move it out of the kernel/ directory
2016-01-28 12:25:16 +01:00
Steffen Mecke
1f4c521ac8
encapsulate r->land->peasants, money, horses, herbs, morale
2015-12-08 17:57:23 +01:00
Enno Rehling
b05fe9316a
introducing config_set and config_get so we don't have to refer to globals.parameters everywhere
2015-11-22 10:33:31 +01:00
Enno Rehling
744246ab34
CID 22498 Missing break in switch
2015-11-05 08:48:03 +01:00
Enno Rehling
ba69f72116
CID 22502 Argument cannot be negative
...
these curses macros are hard to decipher, I think this may be a kind of false positive because stdscr is always not-null?
2015-11-05 08:40:09 +01:00
Enno Rehling
05ef6deb26
CID 22572: Copy into fixed size buffer (STRING_OVERFLOW)
2015-10-29 20:47:07 +01:00
Enno Rehling
09efd9c2a9
fix anything that uses the calendar module. opps.
2015-09-12 12:54:49 +02:00
Enno Rehling
ef4052b0f6
the outcome of a casual static analysis session.
2015-07-06 19:53:09 +02:00
Enno Rehling
0de5d698de
Fix the 'B' island generation to use the newfactions file, for use by new GMs.
...
configurable island size.
2015-06-02 15:29:21 +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
df325b243a
enable stricter conversion checking for gcc < 4.9, fix code
2015-05-15 20:35:36 +02:00
Enno Rehling
9b9e038438
press F3 to save game in editor.
2015-05-12 17:18:51 -07:00
Enno Rehling
dc0897b122
fix gmtool and setup script to match the GM guide document.
2015-05-10 13:41:48 -07:00
Enno Rehling
83e610ee03
Fixing bug 1802 again, CR contains no Monster names.
2015-02-11 07:57:38 +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
a8849f2b91
remove the obsolete dungeons module.
...
I don't think this has ever been used, and it has fallen victim to entropy since it was first written. good riddance!
2014-12-13 00:03:24 +01:00
Enno Rehling
403c1ad6a9
fix errors and warnings that clang reports.
2014-10-14 22:57:02 +02:00
Enno Rehling
4527ffdda2
refactoring and tests for wormhole module.
2014-09-29 23:19:59 +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
d503937999
working on making json config understand ships and buildings.
...
new tests in progress.
remove giveitem.c attribute, the name clashed with a trigger,
and it was only part of an arena that is gone from the game, I think.
2014-06-12 22:14:07 -07:00
Enno Rehling
fa98528d72
remove old SQL patch code, we have sqlite now.
...
rearrange the SlickEdit projects.
2014-06-11 22:21:52 -07:00
Enno Rehling
3dda5d3033
apply USE_LIBXML consistently, so tests can be built without libxml2
2014-06-09 20:51:29 -07:00
Enno Rehling
7358c48580
removing some naming conflicts that hapen when trying to re-enable amalgamation builds.
2014-04-11 19:41:17 -07:00
Enno Rehling
b399356971
Revert "remove GM command"
...
there is a saved attribute that needs this
This reverts commit 7e529f2b4c
.
2014-03-22 21:49:18 +01:00
Enno Rehling
7e529f2b4c
remove GM command
...
this was a command from the very early days, when we had player-made
quests. It is no longer in use.
2014-03-16 23:40:51 -07:00
Enno Rehling
3c706cf29b
replace bool.h with autoconf
...
Most of the bool configuration was already happening there, no reason
for a separate file.
2014-03-15 22:24:18 -07: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