Protocol: | pserver | User: | anonymous |
Machine: | crossfire.cvs.sourceforge.net | CVSROOT: | /cvsroot/crossfire |
Filename: rproto.h | |||
Revision 1.23 | ryo_saeba | 2006/09/04 16:23:32 | +1 -1 |
patch #551467 (type mismatch in surround_flag3() can cause SIGSEGV) courtesy Mark Kidder | |||
Show difference between Revision 1.22 and 1.23 | |||
Revision 1.22 | ryo_saeba | 2006/03/18 11:15:25 | +0 -2 |
Use const when possible. Patch courtesy Stefan Huehner. | |||
Show difference between Revision 1.21 and 1.22 | |||
Revision 1.21 | akirschbaum | 2006/02/10 17:59:27 | +2 -2 |
Apply slightly modified patch #1428309 (code-cleanup: const, static) by Stefan Huehner: add const/static to functions/variables. Remove some type casts. | |||
Show difference between Revision 1.20 and 1.21 | |||
Revision 1.20 | ryo_saeba | 2005/10/29 04:34:02 | +1 -1 |
Win32 compilation fix. Plugin fix. | |||
Show difference between Revision 1.19 and 1.20 | |||
Revision 1.19 | mwedel | 2005/04/14 01:57:02 | +93 -93 |
Random map code improvements - add support for subdirectories in the style maps for random maps. Add difficulty_increase parameter for random maps to control how fast they get harder. doc/Developers/random-maps: Add notes about difficulty_increase parameter. random_maps/Makefile.am: Update proto directive to use cproto, not cextract. random_maps/random_map.c: Update to use difficulty_increase when figuring difficulty of maps. Add code to save it in list of parameters. random_maps/random_map.h: Add difficulty_increase field to structure. random_maps/reader.l, reader.c: Add code to find difficulty_increase parameter. random_maps/rproto.h: rebuilt. random_maps/special.c: Pass in difficulty increase to write_parameters_to_string() random_maps/style.c: Remove old scandir - replaced by our own load_dir() - necessary because we need to check type of files, which scandir doesn't easily let us do. Since it is now our own routine, just return array of file names instead of dirent structures. MSW 2005-04-13 | |||
Show difference between Revision 1.18 and 1.19 | |||
Revision 1.18 | temitchell | 2004/08/07 18:24:13 | +1 -1 |
added fix for random maps with single arch walls, added level indicator on random map signs added new parameter 'exit_on_final_map'- see documentation addresses patches 983780 and 983716 | |||
Show difference between Revision 1.17 and 1.18 | |||
Revision 1.17 | ryo_saeba | 2004/02/27 17:00:27 | +1 -1 |
Some warnings cleaning. | |||
Show difference between Revision 1.16 and 1.17 | |||
Revision 1.16 | garbled | 2002/01/01 18:26:28 | +1 -0 |
Clean up some missing prototypes, protect tod.h against multiple inclusion, and generally make -Wmissing-prototypes happier. | |||
Show difference between Revision 1.15 and 1.16 | |||
Revision 1.15 | mardahl | 2001/05/15 04:38:18 | +1 -1 |
Fix: make sure "surrounded" treasure chests are actually surrounded. An exit could break this surrounding. Now an exit can be underneath a locked door at times. We'll see how this works out. --PeterM 5/15/2001 | |||
Show difference between Revision 1.14 and 1.15 | |||
Revision 1.14 | mwedel | 2001/05/13 03:21:54 | +6 -3 |
Move free_style_maps to style.c so that crossedit will compile properly. MSW 2001-05-13 | |||
Show difference between Revision 1.13 and 1.14 | |||
Revision 1.13 | mardahl | 2001/05/04 18:56:36 | +1 -0 |
Fix: room_gen_spiral.c: remove dangling doors here also. Inactive changes: random_map.c rproto.h test.c added test code only. it is commented out. | |||
Show difference between Revision 1.12 and 1.13 | |||
Revision 1.12 | mardahl | 2001/05/04 17:10:04 | +1 -1 |
PeterM: FIX: dangling doors in rogue_layout CLEANUP: don't need RP for maze_gen (touches maze_gen.c, maze_gen.h random_map.c, rproto.h ADDED BUT NOT ACTIVATED: code from H. S. Teoh to 2x size corridors in generic layouts. | |||
Show difference between Revision 1.11 and 1.12 | |||
Revision 1.11 | mardahl | 2001/04/23 04:03:28 | +1 -1 |
Improved keyplacement routine: fixes the known failure case. PeterM | |||
Show difference between Revision 1.10 and 1.11 | |||
Revision 1.10 | mardahl | 2001/04/23 03:01:19 | +1 -0 |
Several changes: 1) Chests will no longer need keys to open under any circumstances. a) A side effect of this is that people won't be able to avoid traps in containers anymore. 2) Chests won't be placed under walls. 3) Nothing will be placed on exits anymore. | |||
Show difference between Revision 1.9 and 1.10 | |||
Revision 1.9 | cvs | 2001/02/12 01:11:11 | +5 -2 |
MSW 2001/01/11: include/rproto.h: Rebuilt for new random map code. server/player.c: remove player insert in key_roll_stat - player is already inserted. server/swap.c: When swapping out map, see if it has already reached reset time, and if so, just delete it and not save it. In flush_old_maps, now have it check for maps that have no timeout set - this sometimes happens when players save/die on maps. | |||
Show difference between Revision 1.8 and 1.9 | |||
Revision 1.8 | peterm | 2001/02/08 23:00:48 | +1 -0 |
Added a snake-like layout. With no symmetry, it's just a progression back-and-forth. | |||
Show difference between Revision 1.7 and 1.8 | |||
Revision 1.7 | cvs | 2001/01/31 01:54:51 | +41 -66 |
MSW 2001/01/30: Complete rewrite of the exit handling code. Hopefully as an effect, this will fix the player appearing in the middle of the oceans. I think the code should also work better in many other areas. Main enhancements is a 3x3 area for pets to follow player to new map, as well as golems now following players to the new maps. include/sproto.h, random_maps/rproto.h - rebuilt. random_maps/random_map.c: Change generate_random_map to take a structure with the random map paremeters. random_maps/reader.l, reader.c: Add set_random_map_variable function that reads the map parameters from a char buffer. Also, remove some leftover comments that were from the common/loader.l file. random_maps/rogue_layout.c: Change some functions to be static so make proto doesn't collect them. random_maps/standalone.c: Add opening of parms file into main function since it ws removed from the random_map.c file. server/apply.c: Don't display the message of random maps to the players as they enter them, as this message is random map parameters, and not a real message. server/login.c: #if 0 out using of the player loading element in the structure. this isn't used right now. server/main.c: Bulk of the changes. main changes are to break apart the old enter_exit function into smaller functions that more logically do the needed function (random maps, unique maps, and transferring the player to the new map). random map code now passes the parameters via structure instead of file in /tmp. Code is much more understandable now and hopefully bugfree. server/pets.c: minor changes/bugfixes. Search full SIZEOFFREE array, use real owner variable when print out messages. server/player.c: Remove usage of the loading variable in the player structure. End of MSW 2001/01/30 checking. | |||
Show difference between Revision 1.6 and 1.7 | |||
Revision 1.6 | peterm | 2001/01/16 02:20:53 | +1 -0 |
Installed nethack-style maps | |||
Show difference between Revision 1.5 and 1.6 | |||
Revision 1.5 | peterm | 2000/12/15 04:06:06 | +3 -0 |
Implemented a new sort of random map: the spiral. | |||
Show difference between Revision 1.4 and 1.5 | |||
Revision 1.4 | peterm | 2000/12/14 21:09:19 | +63 -37 |
PeterM: Fixed up random map code. Used a lot of global variables for stuff. Always meant to fix it and just got 'round to it. | |||
Show difference between Revision 1.3 and 1.4 | |||
Revision 1.3 | cvs | 2000/12/03 18:40:05 | +7 -36 |
Checking for partial resistance code. Various minor errors also fixed (compiler warnings, unused variables, Makefile.in changes, etc). PR code also includes support to send protections to the client. | |||
Show difference between Revision 1.2 and 1.3 | |||
Revision 1.2 | cvs | 2000/06/18 20:34:31 | +32 -0 |
Lots of work done on random maps. decor.c: tiling option added. (Fill the whole map). monster.c: copy inventory exit.c: preserved connectedness random_map.c: new function for wrting map params floor.c: fix a crashing bug if there's no floor rproto.h: prototypes treasure.c: fix a crashing bug with treasurestyle map special.c: added a new type of special, an exit to a goldroom. --PeterM | |||
Show difference between Revision 1.1 and 1.2 | |||
Revision 1.1 | uid200 | 1999/04/02 13:10:03 | None |
Initial revision | |||
First version | |||
Revision 1.1.1.1 | uid200 | 1999/04/02 13:10:03 | +0 -0 |
First CVS revsion: crossfire-0.95.3 | |||
Show difference between Revision 1.1 and 1.1.1.1 |