home · contact · privacy
plomrogue
10 years agoClient: Remove superfluous line of code.
Christian Heller [Thu, 20 Nov 2014 22:24:20 +0000 (23:24 +0100)]
Client: Remove superfluous line of code.

10 years agoAdd to TODO.
Christian Heller [Thu, 20 Nov 2014 22:07:02 +0000 (23:07 +0100)]
Add to TODO.

10 years agoServer: Only fflush() via send_to_outfile() when messages are finished.
Christian Heller [Thu, 20 Nov 2014 21:53:35 +0000 (22:53 +0100)]
Server: Only fflush() via send_to_outfile() when messages are finished.

10 years agoAdd to TODO.
Christian Heller [Thu, 20 Nov 2014 21:42:05 +0000 (22:42 +0100)]
Add to TODO.

10 years agoOn world (re-)generation, server sends 'NEW_WORLD', client clears log.
Christian Heller [Thu, 20 Nov 2014 21:37:29 +0000 (22:37 +0100)]
On world (re-)generation, server sends 'NEW_WORLD', client clears log.

10 years agoMore correct comment.
Christian Heller [Fri, 14 Nov 2014 13:54:06 +0000 (14:54 +0100)]
More correct comment.

10 years agoFurther comment refinement.
Christian Heller [Fri, 14 Nov 2014 13:32:55 +0000 (14:32 +0100)]
Further comment refinement.

10 years agoFurther expansion of comments.
Christian Heller [Fri, 14 Nov 2014 13:31:56 +0000 (14:31 +0100)]
Further expansion of comments.

10 years agoClient: More complete comments.
Christian Heller [Fri, 14 Nov 2014 13:11:34 +0000 (14:11 +0100)]
Client: More complete comments.

10 years agoClient Improve comments.
Christian Heller [Fri, 14 Nov 2014 13:05:33 +0000 (14:05 +0100)]
Client Improve comments.

10 years agoClient: Rename read_outfile() to more precise read_queue().
Christian Heller [Fri, 14 Nov 2014 12:59:46 +0000 (13:59 +0100)]
Client: Rename read_outfile() to more precise read_queue().

10 years agoClient: ping_pong_test() + try_growing_queue() = test_and_poll_server()
Christian Heller [Fri, 14 Nov 2014 12:57:26 +0000 (13:57 +0100)]
Client: ping_pong_test() + try_growing_queue() = test_and_poll_server()

10 years agoAdd TODO.
Christian Heller [Fri, 14 Nov 2014 06:09:49 +0000 (07:09 +0100)]
Add TODO.

10 years agoRemove finished TODO task.
Christian Heller [Fri, 14 Nov 2014 06:03:30 +0000 (07:03 +0100)]
Remove finished TODO task.

10 years agoSimplify queue reading/writing.
Christian Heller [Fri, 14 Nov 2014 06:02:36 +0000 (07:02 +0100)]
Simplify queue reading/writing.

10 years agoTo read_file_into_queue(), add queue size test.
Christian Heller [Fri, 14 Nov 2014 03:10:25 +0000 (04:10 +0100)]
To read_file_into_queue(), add queue size test.

10 years agoSend log messages through server out file. Includes major refactoring.
Christian Heller [Fri, 14 Nov 2014 02:52:28 +0000 (03:52 +0100)]
Send log messages through server out file. Includes major refactoring.

10 years agoClient: Minor variable renaming.
Christian Heller [Thu, 13 Nov 2014 22:57:59 +0000 (23:57 +0100)]
Client: Minor variable renaming.

10 years agoServer: In get_message_from_queue(), retry if 1st chunk starts with \0.
Christian Heller [Thu, 13 Nov 2014 22:30:44 +0000 (23:30 +0100)]
Server: In get_message_from_queue(), retry if 1st chunk starts with \0.

10 years agoClient: Rename read_world() to more precise read_worldstate().
Christian Heller [Thu, 13 Nov 2014 21:55:00 +0000 (22:55 +0100)]
Client: Rename read_world() to more precise read_worldstate().

10 years agoClient: Abort test_ping_pong() earlier when server known to be active.
Christian Heller [Thu, 13 Nov 2014 21:38:09 +0000 (22:38 +0100)]
Client: Abort test_ping_pong() earlier when server known to be active.

10 years agoServer: Don't continue turn after player has died.
Christian Heller [Thu, 13 Nov 2014 20:57:39 +0000 (21:57 +0100)]
Server: Don't continue turn after player has died.

10 years agoServer: Minor data type fix.
Christian Heller [Thu, 13 Nov 2014 20:47:06 +0000 (21:47 +0100)]
Server: Minor data type fix.

10 years agoClient: Remove unused "active window's keys" window, update README.
Christian Heller [Thu, 13 Nov 2014 20:41:16 +0000 (21:41 +0100)]
Client: Remove unused "active window's keys" window, update README.

10 years agoReturn default world parameters that were changed for debugging.
Christian Heller [Thu, 13 Nov 2014 15:07:25 +0000 (16:07 +0100)]
Return default world parameters that were changed for debugging.

10 years agoServer: Fix critical bug that stems from omission of a single semicolon.
Christian Heller [Thu, 13 Nov 2014 15:05:37 +0000 (16:05 +0100)]
Server: Fix critical bug that stems from omission of a single semicolon.

10 years agoServer: Add critical bug to TODO.
Christian Heller [Fri, 7 Nov 2014 20:52:14 +0000 (21:52 +0100)]
Server: Add critical bug to TODO.

10 years agoClient: Change default window config.
Christian Heller [Fri, 7 Nov 2014 20:39:23 +0000 (21:39 +0100)]
Client: Change default window config.

10 years agoClient: In window geometry config, show available keys.
Christian Heller [Fri, 7 Nov 2014 20:16:46 +0000 (21:16 +0100)]
Client: In window geometry config, show available keys.

10 years agoClient: Repair wrong messages in window geometry configuration dialogue.
Christian Heller [Fri, 7 Nov 2014 14:39:00 +0000 (15:39 +0100)]
Client: Repair wrong messages in window geometry configuration dialogue.

10 years agoClient: Minor code styling issue.
Christian Heller [Fri, 7 Nov 2014 14:02:45 +0000 (15:02 +0100)]
Client: Minor code styling issue.

10 years agoClient: Restructure passing of keybinding manipulation commands.
Christian Heller [Fri, 7 Nov 2014 14:00:00 +0000 (15:00 +0100)]
Client: Restructure passing of keybinding manipulation commands.

10 years agoStrike out finished TODO item.
Christian Heller [Fri, 7 Nov 2014 13:06:04 +0000 (14:06 +0100)]
Strike out finished TODO item.

10 years agoClient: Further simplify display of available keybindings.
Christian Heller [Fri, 7 Nov 2014 12:38:17 +0000 (13:38 +0100)]
Client: Further simplify display of available keybindings.

10 years agoClient: Simplify display of available keybindings.
Christian Heller [Fri, 7 Nov 2014 11:40:52 +0000 (12:40 +0100)]
Client: Simplify display of available keybindings.

10 years agoServer: meta command STACK to list item stack below player in out file.
Christian Heller [Tue, 28 Oct 2014 22:50:25 +0000 (23:50 +0100)]
Server: meta command STACK to list item stack below player in out file.

10 years agoServer: Don't proliferate things on map cells inhabited by same type.
Christian Heller [Thu, 23 Oct 2014 21:54:39 +0000 (23:54 +0200)]
Server: Don't proliferate things on map cells inhabited by same type.

10 years agoServer: Skip redundant tests in try_thing_proliferation().
Christian Heller [Wed, 15 Oct 2014 08:44:42 +0000 (10:44 +0200)]
Server: Skip redundant tests in try_thing_proliferation().

10 years agoFix code line lengths.
Christian Heller [Wed, 15 Oct 2014 01:33:23 +0000 (03:33 +0200)]
Fix code line lengths.

10 years agoerlehmann's patch of his own redo system, yet another bug fix.
Christian Heller [Wed, 15 Oct 2014 01:25:35 +0000 (03:25 +0200)]
erlehmann's patch of his own redo system, yet another bug fix.

10 years agoServer: New command TT_PROLIFERATE sets chance for thing proliferation.
Christian Heller [Wed, 15 Oct 2014 01:14:50 +0000 (03:14 +0200)]
Server: New command TT_PROLIFERATE sets chance for thing proliferation.

10 years agoCopy bugfixed version of erlehmann's redo script.
Christian Heller [Fri, 10 Oct 2014 01:35:43 +0000 (03:35 +0200)]
Copy bugfixed version of erlehmann's redo script.

10 years agoServer/AI: Correct variable name.
Christian Heller [Thu, 9 Oct 2014 23:03:31 +0000 (01:03 +0200)]
Server/AI: Correct variable name.

10 years agoServer: Correct AI description.
Christian Heller [Thu, 9 Oct 2014 22:27:07 +0000 (00:27 +0200)]
Server: Correct AI description.

10 years agoUpdate erlehmann's redo scripts.
Christian Heller [Thu, 9 Oct 2014 22:16:55 +0000 (00:16 +0200)]
Update erlehmann's redo scripts.

10 years agoLicense everything (GPL).
Christian Heller [Thu, 9 Oct 2014 20:03:57 +0000 (22:03 +0200)]
License everything (GPL).

10 years agoUpgrade to newest version of erlehmann's redo scripts.
Christian Heller [Mon, 22 Sep 2014 12:08:50 +0000 (14:08 +0200)]
Upgrade to newest version of erlehmann's redo scripts.

10 years agoServer: Make code in build_fov_map() slightly less bizarre.
Christian Heller [Sat, 13 Sep 2014 16:31:24 +0000 (18:31 +0200)]
Server: Make code in build_fov_map() slightly less bizarre.

10 years agoServer: Minor simplifcation of mv_yx_in_dir_legal().
Christian Heller [Sat, 6 Sep 2014 02:37:21 +0000 (04:37 +0200)]
Server: Minor simplifcation of mv_yx_in_dir_legal().

10 years agoServer: Minor simplification of mv_yx_in_dir_legal().
Christian Heller [Sat, 6 Sep 2014 02:34:56 +0000 (04:34 +0200)]
Server: Minor simplification of mv_yx_in_dir_legal().

10 years agoServer: Minor optimization of mv_yx_in_dir_legal().
Christian Heller [Sat, 6 Sep 2014 01:29:36 +0000 (03:29 +0200)]
Server: Minor optimization of mv_yx_in_dir_legal().

10 years agoServer: Minor improvements to mv_yx_in_dir_legal().
Christian Heller [Sat, 6 Sep 2014 01:08:31 +0000 (03:08 +0200)]
Server: Minor improvements to mv_yx_in_dir_legal().

10 years agoServer: Minor refactoring.
Christian Heller [Sat, 6 Sep 2014 01:00:27 +0000 (03:00 +0200)]
Server: Minor refactoring.

10 years agoServer: Don't do two tests where one suffices.
Christian Heller [Wed, 3 Sep 2014 00:36:33 +0000 (02:36 +0200)]
Server: Don't do two tests where one suffices.

10 years agoServer: In mv_yx_in_dir_wrap(), test for excess wrapping.
Christian Heller [Wed, 3 Sep 2014 00:13:23 +0000 (02:13 +0200)]
Server: In mv_yx_in_dir_wrap(), test for excess wrapping.

10 years agoServer: Minor function renaming.
Christian Heller [Wed, 3 Sep 2014 00:05:01 +0000 (02:05 +0200)]
Server: Minor function renaming.

10 years agoServer: Add explanatory comments to build_fov_map().
Christian Heller [Tue, 2 Sep 2014 23:00:19 +0000 (01:00 +0200)]
Server: Add explanatory comments to build_fov_map().

10 years agoServer: Improve readability of build_fov_map() code.
Christian Heller [Tue, 2 Sep 2014 22:37:03 +0000 (00:37 +0200)]
Server: Improve readability of build_fov_map() code.

10 years agoServer: Some refactoring.
Christian Heller [Fri, 22 Aug 2014 02:01:40 +0000 (04:01 +0200)]
Server: Some refactoring.

10 years agoServer: In actor_move() avoid illegal world.map.cells access.
Christian Heller [Fri, 22 Aug 2014 01:19:17 +0000 (03:19 +0200)]
Server: In actor_move() avoid illegal world.map.cells access.

10 years agoServer: Refactor, remove yx_uint8 module.
Christian Heller [Fri, 22 Aug 2014 01:00:13 +0000 (03:00 +0200)]
Server: Refactor, remove yx_uint8 module.

10 years agoServer: Remove unneeded library includes.
Christian Heller [Fri, 22 Aug 2014 00:01:01 +0000 (02:01 +0200)]
Server: Remove unneeded library includes.

10 years agoServer: Remove unneeded yx_uint8_cmp() function.
Christian Heller [Thu, 21 Aug 2014 23:53:08 +0000 (01:53 +0200)]
Server: Remove unneeded yx_uint8_cmp() function.

10 years agoServer: Minor refactoring, removal of unneeded is_passable().
Christian Heller [Thu, 21 Aug 2014 23:35:41 +0000 (01:35 +0200)]
Server: Minor refactoring, removal of unneeded is_passable().

10 years agoServer: Refactor yx_uint8 moving; handle actors hitting the map edge.
Christian Heller [Thu, 21 Aug 2014 23:19:51 +0000 (01:19 +0200)]
Server: Refactor yx_uint8 moving; handle actors hitting the map edge.

10 years agoAdd to TODO.
Christian Heller [Thu, 21 Aug 2014 11:54:13 +0000 (13:54 +0200)]
Add to TODO.

10 years agoServer: Remove superfluous variable in build_fov_map().
Christian Heller [Thu, 21 Aug 2014 00:29:55 +0000 (02:29 +0200)]
Server: Remove superfluous variable in build_fov_map().

10 years agoServer: Free memorized things on map upon actor death.
Christian Heller [Sun, 17 Aug 2014 03:15:51 +0000 (05:15 +0200)]
Server: Free memorized things on map upon actor death.

10 years agoUpdate erlehmann's redo scripts.
Christian Heller [Sun, 17 Aug 2014 02:44:40 +0000 (04:44 +0200)]
Update erlehmann's redo scripts.

10 years agoServer: Fix typo in T_MEMTHING string.
Christian Heller [Sun, 17 Aug 2014 02:40:17 +0000 (04:40 +0200)]
Server: Fix typo in T_MEMTHING string.

10 years agoUpdate README.
Christian Heller [Sun, 17 Aug 2014 02:34:27 +0000 (04:34 +0200)]
Update README.

10 years agoRemove redundant uses of NULL.
Christian Heller [Sun, 17 Aug 2014 02:26:47 +0000 (04:26 +0200)]
Remove redundant uses of NULL.

10 years agoServer: Add inanimate things to map memory, integrate into AI searches.
Christian Heller [Sun, 17 Aug 2014 01:58:06 +0000 (03:58 +0200)]
Server: Add inanimate things to map memory, integrate into AI searches.

10 years agoServer: Minor code-stylistic corrections.
Christian Heller [Sat, 16 Aug 2014 18:17:49 +0000 (20:17 +0200)]
Server: Minor code-stylistic corrections.

10 years agoServer: Always display consumables on top of stack of inanimate objects.
Christian Heller [Sat, 16 Aug 2014 18:14:31 +0000 (20:14 +0200)]
Server: Always display consumables on top of stack of inanimate objects.

10 years agoAdd to TODO.
Christian Heller [Sat, 16 Aug 2014 04:45:29 +0000 (06:45 +0200)]
Add to TODO.

10 years agoServer/AI: Search for consumables if no urgent enemy matters.
Christian Heller [Sat, 16 Aug 2014 04:35:45 +0000 (06:35 +0200)]
Server/AI: Search for consumables if no urgent enemy matters.

10 years agoServer/AI: Fix bug in standing-on-consumable test.
Christian Heller [Sat, 16 Aug 2014 02:31:10 +0000 (04:31 +0200)]
Server/AI: Fix bug in standing-on-consumable test.

10 years agoServer/AI: Pick up consumable if standing on it and no enemies in FOV.
Christian Heller [Sat, 16 Aug 2014 01:41:45 +0000 (03:41 +0200)]
Server/AI: Pick up consumable if standing on it and no enemies in FOV.

10 years agoServer/AI: Consume nutritious items if no enemies are visible.
Christian Heller [Sat, 16 Aug 2014 01:26:59 +0000 (03:26 +0200)]
Server/AI: Consume nutritious items if no enemies are visible.

10 years agoServer/AI: Check for visibility of enemies before building Djikstra map.
Christian Heller [Sat, 16 Aug 2014 01:00:52 +0000 (03:00 +0200)]
Server/AI: Check for visibility of enemies before building Djikstra map.

10 years agoServer: Minor field of view code simplifications.
Christian Heller [Wed, 13 Aug 2014 23:56:18 +0000 (01:56 +0200)]
Server: Minor field of view code simplifications.

10 years agoServer: Replace unnecessary bitwise operations with simple == tests.
Christian Heller [Wed, 13 Aug 2014 23:40:47 +0000 (01:40 +0200)]
Server: Replace unnecessary bitwise operations with simple == tests.

10 years agoServer: Make FOV algorithm symmetrical.
Christian Heller [Wed, 6 Aug 2014 03:44:21 +0000 (05:44 +0200)]
Server: Make FOV algorithm symmetrical.

10 years agoServer: Ensure that AI does not move towards enemies outside its FOV.
Christian Heller [Sun, 3 Aug 2014 21:29:12 +0000 (23:29 +0200)]
Server: Ensure that AI does not move towards enemies outside its FOV.

10 years agoServer: Improve comment description on dijkstra_map().
Christian Heller [Sun, 3 Aug 2014 19:20:02 +0000 (21:20 +0200)]
Server: Improve comment description on dijkstra_map().

10 years agoClient: Scrolling toggles player auto-focus off.
Christian Heller [Sun, 3 Aug 2014 03:59:15 +0000 (05:59 +0200)]
Client: Scrolling toggles player auto-focus off.

10 years agoAdd command to let the AI decide player's next move.
Christian Heller [Sun, 3 Aug 2014 03:49:23 +0000 (05:49 +0200)]
Add command to let the AI decide player's next move.

10 years agoUse newest versions of erlehmann's redo scripts.
Christian Heller [Sun, 3 Aug 2014 02:37:53 +0000 (04:37 +0200)]
Use newest versions of erlehmann's redo scripts.

10 years agoFix some inconsistencies in files README and SERVER_COMMANDS.
Christian Heller [Sun, 3 Aug 2014 02:33:16 +0000 (04:33 +0200)]
Fix some inconsistencies in files README and SERVER_COMMANDS.

10 years agoClient: Fix memory leak.
Christian Heller [Sun, 3 Aug 2014 02:20:52 +0000 (04:20 +0200)]
Client: Fix memory leak.

10 years agoUpdate README.
Christian Heller [Sun, 3 Aug 2014 02:07:31 +0000 (04:07 +0200)]
Update README.

10 years agoUpdate comment info on macros needed for snprintf().
Christian Heller [Sun, 3 Aug 2014 01:58:50 +0000 (03:58 +0200)]
Update comment info on macros needed for snprintf().

10 years agoServer: Only write record and save file if 15 seconds have passed.
Christian Heller [Sun, 3 Aug 2014 01:56:09 +0000 (03:56 +0200)]
Server: Only write record and save file if 15 seconds have passed.

10 years agoServer: Fix minor dependency issue.
Christian Heller [Sat, 2 Aug 2014 19:54:49 +0000 (21:54 +0200)]
Server: Fix minor dependency issue.

10 years agoAdd auto-mapping / map memory.
Christian Heller [Sat, 2 Aug 2014 03:20:05 +0000 (05:20 +0200)]
Add auto-mapping / map memory.

10 years agoServer: Reduce malloc() calls in FOV generation.
Christian Heller [Fri, 1 Aug 2014 00:34:33 +0000 (02:34 +0200)]
Server: Reduce malloc() calls in FOV generation.

10 years agoServer: Minor optimization of pathfinding algorithm.
Christian Heller [Fri, 1 Aug 2014 00:16:15 +0000 (02:16 +0200)]
Server: Minor optimization of pathfinding algorithm.

10 years agoServer: Refactor writing of field of view to Thing struct.
Christian Heller [Wed, 30 Jul 2014 04:38:31 +0000 (06:38 +0200)]
Server: Refactor writing of field of view to Thing struct.

10 years agoServer: Slightly simplify command parsing.
Christian Heller [Wed, 30 Jul 2014 03:27:46 +0000 (05:27 +0200)]
Server: Slightly simplify command parsing.