ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/treasure.C
Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Sat Nov 17 23:40:02 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.66: +1 -0 lines
Diff to previous 1.66
copyright update 2018

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Sat Sep 16 22:17:42 2017 UTC (6 years, 7 months ago) by root
Branch: MAIN
Changes since 1.65: +19 -19 lines
Diff to previous 1.65
freearr => DIR

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Sun Jan 29 02:47:05 2017 UTC (7 years, 3 months ago) by root
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64
remove eol whitespace

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Wed Nov 16 23:42:02 2016 UTC (7 years, 5 months ago) by root
Branch: MAIN
Changes since 1.63: +1 -1 lines
Diff to previous 1.63
copyright update 2016

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Mon Oct 29 23:55:54 2012 UTC (11 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-3_1
Changes since 1.62: +5 -5 lines
Diff to previous 1.62
trailing space removal

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Tue Jan 3 11:25:34 2012 UTC (12 years, 4 months ago) by root
Branch: MAIN
Changes since 1.61: +1 -1 lines
Diff to previous 1.61
update copyrights to 2012

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Sun May 1 16:58:16 2011 UTC (13 years ago) by root
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60
*** empty log message ***

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sat Apr 23 04:56:54 2011 UTC (13 years ago) by root
Branch: MAIN
Changes since 1.59: +1 -1 lines
Diff to previous 1.59
update copyright to 2011

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sun Aug 22 20:23:07 2010 UTC (13 years, 8 months ago) by root
Branch: MAIN
Changes since 1.58: +1 -1 lines
Diff to previous 1.58
rproto.h => include and random_map.h => include/rmg.h

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Sun Jul 4 22:12:26 2010 UTC (13 years, 10 months ago) by root
Branch: MAIN
Changes since 1.57: +66 -89 lines
Diff to previous 1.57
valgrind power

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Fri Jul 2 15:03:57 2010 UTC (13 years, 10 months ago) by root
Branch: MAIN
Changes since 1.56: +29 -29 lines
Diff to previous 1.56
renmae Layout => layout, add (as of now) useless accessors

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Fri Jul 2 03:40:14 2010 UTC (13 years, 10 months ago) by root
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55
refactoring (untested)

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Thu Jul 1 01:22:44 2010 UTC (13 years, 10 months ago) by root
Branch: MAIN
Changes since 1.54: +6 -11 lines
Diff to previous 1.54
got rid of Layout, better memory management etc.

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Sat Jun 26 22:10:18 2010 UTC (13 years, 10 months ago) by root
Branch: MAIN
Changes since 1.53: +1 -1 lines
Diff to previous 1.53
*** empty log message ***

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Tue Apr 13 02:39:53 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
CVS Tags: rel-3_0
Changes since 1.52: +4 -4 lines
Diff to previous 1.52
*** empty log message ***

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sun Apr 11 00:34:06 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.51: +4 -4 lines
Diff to previous 1.51
get rid of QUERY_FLAG/SET_FLAG/CLEAR_FLAG macros that I always hated

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Sun Mar 28 22:29:50 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.50: +2 -7 lines
Diff to previous 1.50
*** empty log message ***

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Fri Mar 26 01:04:44 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.49: +1 -1 lines
Diff to previous 1.49
update copyright for up to 2010

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Fri Mar 26 00:59:21 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48
remove bogus 2007 copyright that was added wrongly by the script, update to affero license

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sun Nov 29 17:41:07 2009 UTC (14 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-2_92, rel-2_93
Changes since 1.47: +1 -1 lines
Diff to previous 1.47
-instance, some los fiddling

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Fri Nov 6 13:03:34 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_90
Changes since 1.46: +3 -3 lines
Diff to previous 1.46
make effectively static symbols actually static, part 2

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Fri Nov 6 12:49:19 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.45: +27 -22 lines
Diff to previous 1.45
make effectively static symbols actually static, part 1

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Mon Oct 12 14:00:58 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
CVS Tags: rel-2_81, rel-2_82
Changes since 1.44: +7 -6 lines
Diff to previous 1.44
clarify license

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Mon Sep 29 10:32:50 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
CVS Tags: rel-2_72, rel-2_73, rel-2_74, rel-2_75, rel-2_76, rel-2_77, rel-2_78, rel-2_79, rel-2_80
Changes since 1.43: +6 -6 lines
Diff to previous 1.43
destroy (true) => destroy ()

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Mon Sep 29 09:04:51 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.42: +14 -22 lines
Diff to previous 1.42
Replace all destroy calls by destroy (true) (after checking), add
temporary debugging code for lost objects, fix some minor issues in random_maps.

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 04:35:50 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.41: +0 -1 lines
Diff to previous 1.41
-debug

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Thu Jul 24 20:35:37 2008 UTC (15 years, 9 months ago) by root
Branch: MAIN
CVS Tags: rel-2_61, rel-2_7, rel-2_71
Changes since 1.40: +3 -8 lines
Diff to previous 1.40
use key_random_map

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Thu May 8 13:47:19 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_54, rel-2_55, rel-2_56, rel-2_6
Changes since 1.39: +7 -4 lines
Diff to previous 1.39
*** empty log message ***

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Thu May 8 11:39:24 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.38: +119 -115 lines
Diff to previous 1.38
*** empty log message ***

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sun May 4 14:12:38 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_53
Changes since 1.37: +25 -29 lines
Diff to previous 1.37
lotsa

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Fri May 2 21:01:53 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.36: +5 -5 lines
Diff to previous 1.36
remove all easy cases of copy_to, mostly replace by clone or instance

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Tue Apr 15 03:00:24 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_5, rel-2_52
Changes since 1.35: +16 -21 lines
Diff to previous 1.35
new logging thread, fix bugs in random map generator

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Mon Apr 14 22:41:17 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34
refactor random map gen more

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Sun Apr 13 22:54:08 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
Changes since 1.33: +6 -2 lines
Diff to previous 1.33
*** empty log message ***

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Fri Apr 11 21:09:53 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
Changes since 1.32: +16 -31 lines
Diff to previous 1.32
*** empty log message ***

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Thu Nov 8 19:43:25 2007 UTC (16 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_32, rel-2_4, rel-2_41, rel-2_42, rel-2_43
Changes since 1.31: +4 -4 lines
Diff to previous 1.31
update copyrights and other minor stuff to deliantra

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sun Aug 26 15:31:04 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2, rel-2_3
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
minor fixes

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sun Jul 1 05:00:19 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.29: +14 -15 lines
Diff to previous 1.29
- upgrade crossfire trt to the GPL version 3 (hopefully correctly).
- add a single file covered by the GNU Affero General Public License
  (which is not yet released, so I used the current draft, which is
  legally a bit wavy, but its likely better than nothing as it expresses
  direct intent by the authors, and we can upgrade as soon as it has been
  released).
  * this should ensure availability of source code for the server at least
    and hopefully also archetypes and maps even when modified versions
    are not being distributed, in accordance of section 13 of the agplv3.

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Jun 4 13:04:00 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.28: +1 -1 lines
Diff to previous 1.28
- archetype is now a subclass of object.
- store archetypes in an object_vector.
- use a different startegy for archetype loading
  (reloading is MOST CERTAINLY broken).

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Apr 16 06:23:42 2007 UTC (17 years ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.27: +1 -1 lines
Diff to previous 1.27
VERY EXPERIMENTAL

- change the way archetypes and treasurelists are being loaded:
  - referring to a nonexisting treasurelist will create an empty one
  - referring to a nonexisting archetype will create an empty one
  - archetypes/treasurelists will overwrite any existing object
    of the same name.

- net effect should be to allow reloading of archetypes and treasurelists
  at runtime at a later stage.

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Sun Apr 15 14:15:14 2007 UTC (17 years ago) by elmex
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26
fixed placement problems in random map generator and removed MOVE_BLOCK_DEFAULT
and replaced it's uses with MOVE_WALK.

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Sun Mar 18 03:05:40 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25
- reduce default output-sync to less than a second
- output-sync command now uses seconds as unit, not
  something users cannot even know.
- lots of useless const adjustments.

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sat Feb 17 23:32:11 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.24: +2 -2 lines
Diff to previous 1.24
- prepare find_style_map rewrite
- move pick_random_object to maptile::
- make pick_random_object fair overe the numbe rof monsters and
  no longer prefer big monsters.

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Sat Jan 27 02:19:37 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.23: +28 -19 lines
Diff to previous 1.23
- experimentall.y determine minimum random map size (12)
- harden random map generator by stresstesting
- reduced codesize while increasing readability (RANDOM => rndm)
- fixed a likely unimportant bug in random_roll64
- possibly broke lots of code

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sat Jan 27 00:56:48 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.22: +6 -0 lines
Diff to previous 1.22
proactive

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Fri Jan 19 21:49:58 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.21: +7 -10 lines
Diff to previous 1.21
- fix a crashing bug inside the random map generator
- do not decrease dungeon size with random map depth

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 19:42:10 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20
just experimenting

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 00:06:56 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.19: +0 -25 lines
Diff to previous 1.19
properly use xsize/ysize default as random for random maps. 10/10 was not just wrong but also greatly increased the pressure on the generator, leading to more crashes. those should be solved, obviously...

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Wed Jan 17 12:36:31 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.18: +47 -33 lines
Diff to previous 1.18
fix possibly uninitialised kx,ky because find_free_spot does not seem to guarentee a result

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 21:06:19 2007 UTC (17 years, 3 months ago) by pippijn
Branch: MAIN
Changes since 1.17: +22 -23 lines
Diff to previous 1.17
comments

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 15:54:19 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.16: +10 -5 lines
Diff to previous 1.16
experimental stability and correctness changes

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 01:55:22 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15
fix yet another 'i am stupid and renamed magic constants so everybody crashes' bugs in the random map generator

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 01:50:33 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.14: +2 -0 lines
Diff to previous 1.14
testing helps

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Sat Jan 6 14:42:30 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.13: +1 -0 lines
Diff to previous 1.13
added some copyrights

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sun Dec 31 20:46:17 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.12: +11 -14 lines
Diff to previous 1.12
increased various limits, strategically added cede's

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sun Dec 31 19:02:24 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.11: +76 -79 lines
Diff to previous 1.11
reindent, minor changes

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sat Dec 30 18:45:28 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.10: +15 -15 lines
Diff to previous 1.10
random maps are nphard

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 09:14:22 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.9: +5 -5 lines
Diff to previous 1.9
- minor cleanups
- minor optimisations (in_player vs. is_player_inv)
- added P_PLAYER map flag
- some (dead) concept code

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Tue Dec 12 21:39:56 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8
- more ooficiation
- removed now superfluous remove calls

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Tue Dec 12 20:53:03 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.7: +7 -7 lines
Diff to previous 1.7
replace some function- by method-calls

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sat Sep 16 22:24:13 2006 UTC (17 years, 7 months ago) by root
Branch: MAIN
Changes since 1.6: +17 -17 lines
Diff to previous 1.6
mapstruct => maptile
removed many ytypedefs in favor of structure tags

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 22:34:03 2006 UTC (17 years, 7 months ago) by root
Branch: MAIN
Changes since 1.5: +1 -7 lines
Diff to previous 1.5
indent

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 21:16:12 2006 UTC (17 years, 7 months ago) by root
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4
cleanup

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 16:06:37 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.3: +605 -442 lines
Diff to previous 1.3
indent

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 00:18:41 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.2: +4 -5 lines
Diff to previous 1.2
THIS CODE WILL NOT COMPILE
use the STABLE tag instead.

- major changes in object lifetime and memory management
- replaced manual refcounting by shstr class
- removed quest system
- many optimisations
- major changes

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 08:01:36 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.1: +23 -23 lines
Diff to previous 1.1
expand initial tabs to spaces

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Aug 13 17:16:03 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Made server compile with C++.
Removed cfanim plugin and crossedit.
C++ here we come.

Convenience Links

Links to HEAD: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a