home · contact · privacy
Christian Heller [Sun, 13 Jul 2014 21:49:13 +0000 (23:49 +0200)]
Server: Read in former "config" data as normal server god commands.
Re-wrote and re-factored lots of stuff to facilitate this.
Christian Heller [Sat, 12 Jul 2014 03:49:20 +0000 (05:49 +0200)]
Add to TODO.
Christian Heller [Fri, 11 Jul 2014 23:25:06 +0000 (01:25 +0200)]
Use direction names instead of numbers in player move communication.
Christian Heller [Thu, 10 Jul 2014 04:38:14 +0000 (06:38 +0200)]
Client: Send no arguments for commands where the server expects none.
Christian Heller [Thu, 10 Jul 2014 04:25:55 +0000 (06:25 +0200)]
Add to TODO.
Christian Heller [Thu, 10 Jul 2014 04:23:19 +0000 (06:23 +0200)]
Server: Expect (but don't force) some player commands as sans argument.
Christian Heller [Thu, 10 Jul 2014 01:28:18 +0000 (03:28 +0200)]
Server: Simplify rule for when to update worldstate file.
Christian Heller [Wed, 9 Jul 2014 23:50:49 +0000 (01:50 +0200)]
Handle (non-existence) of log file smarter in start / wrapper scripts.
Christian Heller [Wed, 9 Jul 2014 23:45:23 +0000 (01:45 +0200)]
In start script, give helpful advice to players not having compiled yet.
Christian Heller [Wed, 9 Jul 2014 23:41:12 +0000 (01:41 +0200)]
Remove alleged bug from TODO list, can't reproduce it.
Christian Heller [Wed, 9 Jul 2014 23:31:17 +0000 (01:31 +0200)]
Add wrapper script over wrapper script so log messages get read on exit.
Christian Heller [Wed, 9 Jul 2014 23:04:31 +0000 (01:04 +0200)]
Alarm about / don't start on finding temp file filesaving leftovers.
Christian Heller [Wed, 9 Jul 2014 22:13:23 +0000 (00:13 +0200)]
Refactor atomic writing to atomic_write_start() + atomic_write_finish().
Christian Heller [Wed, 9 Jul 2014 21:31:58 +0000 (23:31 +0200)]
Server: Remove memory leak in save_world().
Christian Heller [Wed, 9 Jul 2014 21:27:47 +0000 (23:27 +0200)]
Server: Atomify the savefile writing.
Christian Heller [Wed, 9 Jul 2014 21:14:37 +0000 (23:14 +0200)]
Server: Merge duplicate string literals of "sprintf()".
Christian Heller [Wed, 9 Jul 2014 21:00:53 +0000 (23:00 +0200)]
Server: Fix hardcoded_strings enum naming bug.
Christian Heller [Wed, 9 Jul 2014 20:59:04 +0000 (22:59 +0200)]
Server: Start hardcoded_strings s's enum names with prefix "S_".
Christian Heller [Wed, 9 Jul 2014 19:45:51 +0000 (21:45 +0200)]
Test return values of _all_ *printf() calls.
Christian Heller [Wed, 9 Jul 2014 19:13:58 +0000 (21:13 +0200)]
Replace uses of variable-length arrays with try_malloc()/free().
Christian Heller [Tue, 8 Jul 2014 10:21:54 +0000 (12:21 +0200)]
Client: Fix horizontal wobbliness of auto-centering on player.
Christian Heller [Tue, 8 Jul 2014 03:38:26 +0000 (05:38 +0200)]
Server: Limit size of backlog to 3000 chars plus newest message.
Christian Heller [Tue, 8 Jul 2014 02:39:00 +0000 (04:39 +0200)]
TODO list: remove task solved in previous commit.
Christian Heller [Tue, 8 Jul 2014 02:38:02 +0000 (04:38 +0200)]
Client: Add auto-center of map on player each new turn (can be toggled).
Christian Heller [Mon, 7 Jul 2014 22:32:18 +0000 (00:32 +0200)]
Server: Fix FOV generation bug (bad wrapping of shadow building spiral).
Christian Heller [Mon, 7 Jul 2014 15:06:36 +0000 (17:06 +0200)]
Server: Fix bug of ai module's dijkstra_map() hanging on too large maps.
Christian Heller [Mon, 7 Jul 2014 12:36:22 +0000 (14:36 +0200)]
Add to TODO.
Christian Heller [Mon, 7 Jul 2014 12:32:36 +0000 (14:32 +0200)]
Server: Fix bugs in map and FOV generation on large maps.
Christian Heller [Mon, 7 Jul 2014 04:16:10 +0000 (06:16 +0200)]
Add to TODO
Christian Heller [Mon, 7 Jul 2014 04:08:08 +0000 (06:08 +0200)]
Add to TODO.
Christian Heller [Mon, 7 Jul 2014 03:38:30 +0000 (05:38 +0200)]
Server: New field of view algorithm, much faster and more precise.
Christian Heller [Fri, 4 Jul 2014 21:55:47 +0000 (23:55 +0200)]
Server: Remove unused/obsolete world.enemy_fov.
Christian Heller [Fri, 4 Jul 2014 21:49:34 +0000 (23:49 +0200)]
Add hint to TODO on how to improve field of view calculation.
Christian Heller [Fri, 4 Jul 2014 21:36:33 +0000 (23:36 +0200)]
Server: Fix bug of deleting record file upon replaying it.
Christian Heller [Fri, 4 Jul 2014 21:18:05 +0000 (23:18 +0200)]
Load last world state from save file, not from re-stepping record file.
Re-wrote large chunks of code dealing with server message parsing and
file parsing in general. Introduced "god commands" (manipulating the
game state beyond player actor control) that direct the re-generation of
the game state when loading the save file. Introduced a module
"hardcoded_strings" to store strings re-used and expected among various
modules.
Christian Heller [Fri, 20 Jun 2014 01:23:27 +0000 (03:23 +0200)]
Server: Internally, rename "map object" stuff to "thing" stuff.
Christian Heller [Fri, 20 Jun 2014 00:12:26 +0000 (02:12 +0200)]
Added TODO.
Christian Heller [Fri, 13 Jun 2014 02:41:31 +0000 (04:41 +0200)]
Minor comment improvement.
Christian Heller [Wed, 14 May 2014 04:04:11 +0000 (06:04 +0200)]
Maps are always squares, therefore define only their edge lengths.
Christian Heller [Wed, 14 May 2014 02:49:12 +0000 (04:49 +0200)]
Unify Map struct common to server and client in src/common/map.h.
Christian Heller [Wed, 14 May 2014 02:38:10 +0000 (04:38 +0200)]
Fix non-initializations that are detected as errors on gcc -O3.
Christian Heller [Wed, 14 May 2014 02:16:32 +0000 (04:16 +0200)]
Client: Use 'D' for item drop, standardize across interface configs.
Christian Heller [Wed, 14 May 2014 02:09:35 +0000 (04:09 +0200)]
Server: Force FOV on every actor, but update it on movement only.
Christian Heller [Wed, 14 May 2014 01:19:54 +0000 (03:19 +0200)]
Server: Remove uncommented lines.
Christian Heller [Tue, 13 May 2014 04:01:02 +0000 (06:01 +0200)]
Server: Add ENEMY_FOV option (default: off) to force FOV on enemies.
Christian Heller [Tue, 13 May 2014 01:50:41 +0000 (03:50 +0200)]
Add bug to fix to TODO.
Christian Heller [Tue, 13 May 2014 01:49:03 +0000 (03:49 +0200)]
Add (crude) field of view to player's view of map.
Christian Heller [Fri, 18 Apr 2014 12:43:20 +0000 (14:43 +0200)]
Make try_fgetc() prepend clearerr() for fgetc() versions that need it.
Christian Heller [Thu, 17 Apr 2014 00:23:51 +0000 (02:23 +0200)]
Client: Fix bug that made horizontal scrolling jump back on large maps.
Christian Heller [Thu, 17 Apr 2014 00:22:51 +0000 (02:22 +0200)]
Server: On map generation, put lots of 'X' cells for trees on island.
Christian Heller [Wed, 16 Apr 2014 19:30:26 +0000 (21:30 +0200)]
Client: Change default window config to focus on map window on start.
Christian Heller [Wed, 16 Apr 2014 19:28:38 +0000 (21:28 +0200)]
Client: Change default window config to widen map window.
Christian Heller [Wed, 16 Apr 2014 15:11:34 +0000 (17:11 +0200)]
Fix README typo.
Christian Heller [Wed, 16 Apr 2014 14:10:34 +0000 (16:10 +0200)]
Server: Un-do debugging change for last commit: reset player hitpoints.
Christian Heller [Wed, 16 Apr 2014 14:08:46 +0000 (16:08 +0200)]
Client: Fix crashes happening on navigation in too large inventory (string).
Christian Heller [Wed, 16 Apr 2014 14:00:11 +0000 (16:00 +0200)]
Make grids hexagonal, remove all diagonal movement penalty hassle.
Christian Heller [Tue, 15 Apr 2014 01:53:12 +0000 (03:53 +0200)]
Client: Handle SIGWINCH on OS X systems.
Christian Heller [Mon, 14 Apr 2014 12:30:07 +0000 (14:30 +0200)]
Add task to TODO.
Christian Heller [Mon, 14 Apr 2014 12:24:53 +0000 (14:24 +0200)]
Server: Use nanosleep() instead of POSIX-obsolete usleep() in io.c.
Christian Heller [Mon, 14 Apr 2014 09:57:30 +0000 (11:57 +0200)]
Client: Fixed use of unitialized variable in draw_wins.c.
Christian Heller [Mon, 14 Apr 2014 04:09:12 +0000 (06:09 +0200)]
Server: Check against setting map object id of 0 in config file reading.
Christian Heller [Mon, 14 Apr 2014 03:56:23 +0000 (05:56 +0200)]
Server: Explain in map_object_actions.h why MapObjAct.id must not be 0.
Christian Heller [Mon, 14 Apr 2014 03:38:11 +0000 (05:38 +0200)]
Server: Make config file define to which map object type player belongs.
Christian Heller [Sun, 13 Apr 2014 22:35:13 +0000 (00:35 +0200)]
Client: Minor code restyling in place_win().
Christian Heller [Sun, 13 Apr 2014 21:36:51 +0000 (23:36 +0200)]
Client: Clear up place_win() code, improve its comments.
Christian Heller [Wed, 9 Apr 2014 04:11:58 +0000 (06:11 +0200)]
Add to TODO.
Christian Heller [Wed, 9 Apr 2014 04:06:51 +0000 (06:06 +0200)]
Server: Make config file set number of objects' start appearances.
Christian Heller [Wed, 9 Apr 2014 03:53:40 +0000 (05:53 +0200)]
Server: Limit iterations for map generation and object start placement.
Christian Heller [Wed, 9 Apr 2014 03:05:47 +0000 (05:05 +0200)]
Server: Make map geometry definable in config file.
Christian Heller [Tue, 8 Apr 2014 03:52:11 +0000 (05:52 +0200)]
Client: Minor interface config file reading code refactoring.
Christian Heller [Tue, 8 Apr 2014 03:41:49 +0000 (05:41 +0200)]
Code style: Minor indentation correction.
Christian Heller [Tue, 8 Apr 2014 03:37:35 +0000 (05:37 +0200)]
Refactor file parsing patterns.
Christian Heller [Sun, 6 Apr 2014 22:04:47 +0000 (00:04 +0200)]
Minor refactoring in file parsing.
Christian Heller [Sun, 6 Apr 2014 20:36:44 +0000 (22:36 +0200)]
Client: Fit files in confclient/single_wins/ to new config file format.
Christian Heller [Sun, 6 Apr 2014 20:18:02 +0000 (22:18 +0200)]
Client: Fit interface_conf to new config file style. Also, refactorings.
Christian Heller [Fri, 4 Apr 2014 01:30:04 +0000 (03:30 +0200)]
Minor refactorings in config file parse code to clear up code.
Christian Heller [Thu, 3 Apr 2014 04:51:32 +0000 (06:51 +0200)]
Client: Apply new commands DB file format, fix wrong path to it.
Christian Heller [Thu, 3 Apr 2014 02:50:36 +0000 (04:50 +0200)]
Make client's commandDB reading use new parsing / config file format.
Those new parsing methods are outsourced from src/server/configfile.c
to src/common/parse_file.c. CommandDB file parsing now also checks
against doubly declared commands.
Christian Heller [Wed, 2 Apr 2014 20:17:07 +0000 (22:17 +0200)]
Server: Minor code-stylistic changes in configfile library.
Christian Heller [Mon, 31 Mar 2014 02:47:03 +0000 (04:47 +0200)]
Client: Shorten strings whose width does not fit well into compact size.
Christian Heller [Mon, 31 Mar 2014 02:24:43 +0000 (04:24 +0200)]
Fix textfile_width() line length check position.
Christian Heller [Mon, 31 Mar 2014 02:24:10 +0000 (04:24 +0200)]
Make textfile_width() check for too large lines.
Christian Heller [Mon, 31 Mar 2014 02:16:32 +0000 (04:16 +0200)]
Server/io.c: more precise comment.
Christian Heller [Mon, 31 Mar 2014 02:12:58 +0000 (04:12 +0200)]
Server: Poll server/in only every 0.33 seconds to reduce CPU usage.
Christian Heller [Sun, 30 Mar 2014 02:47:00 +0000 (04:47 +0200)]
Make README info on server config files more precise
Christian Heller [Sun, 30 Mar 2014 02:40:58 +0000 (04:40 +0200)]
Make server config files more readable, their parsing more lenient.
Completely re-wrote server's config file reading system for this. Just
a first step; client's config file system is to follow. Also stumbled
upon multiple issues in the meantime, added them to the TODO.
Christian Heller [Wed, 26 Mar 2014 20:56:52 +0000 (21:56 +0100)]
In TODO, fix wrong term.
Christian Heller [Wed, 26 Mar 2014 20:55:05 +0000 (21:55 +0100)]
Server: Eliminate major stack space waste offender in ai.c.
Christian Heller [Wed, 26 Mar 2014 20:49:53 +0000 (21:49 +0100)]
Add to TODO.
Christian Heller [Wed, 26 Mar 2014 20:10:38 +0000 (21:10 +0100)]
Enforce C11 via Makefile, explicate POSIX dependencies in source files.
Christian Heller [Wed, 26 Mar 2014 05:28:58 +0000 (06:28 +0100)]
Server: Change read_config_file() parameter order (stylistic reasons).
Christian Heller [Wed, 26 Mar 2014 04:41:03 +0000 (05:41 +0100)]
Client: Fix outdated comment.
Christian Heller [Wed, 26 Mar 2014 04:35:13 +0000 (05:35 +0100)]
Got rid of misc.h. Split off remains into array_append.h and control.h.
Christian Heller [Wed, 26 Mar 2014 03:36:44 +0000 (04:36 +0100)]
Client: Split off parts of misc.h into interface_conf.h.
Christian Heller [Wed, 26 Mar 2014 03:12:39 +0000 (04:12 +0100)]
Client: Split wincontrol.h off windows.h.
Christian Heller [Wed, 26 Mar 2014 02:12:52 +0000 (03:12 +0100)]
Server: Move common config file reading stuff into read_config_file().
Christian Heller [Tue, 25 Mar 2014 23:46:05 +0000 (00:46 +0100)]
Fix comment text.
Christian Heller [Tue, 25 Mar 2014 17:18:02 +0000 (18:18 +0100)]
Fix typo in Makefile comment.
Christian Heller [Tue, 25 Mar 2014 16:47:13 +0000 (17:47 +0100)]
Fix reference to wrongly named object definitions file in README.
Christian Heller [Tue, 25 Mar 2014 15:45:30 +0000 (16:45 +0100)]
Move tests for value size < UINT8_MAX into err_try_fgets() (flag: "8").