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

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

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

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

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

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

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Thu Apr 29 12:24:04 2010 UTC (14 years ago) by root
Branch: MAIN
CVS Tags: rel-3_0
Changes since 1.51: +10 -7 lines
Diff to previous 1.51
correctly flag parse errors for materials

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Sun Apr 25 11:23:31 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.50: +0 -2 lines
Diff to previous 1.50
remove protal_x/portal_y capability

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Sun Apr 25 10:45:38 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.49: +14 -10 lines
Diff to previous 1.49
*** empty log message ***

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

Revision 1.48 - (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.47: +1 -1 lines
Diff to previous 1.47
update copyright for up to 2010

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

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Fri Nov 6 13:31:47 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_90, rel-2_92, rel-2_93
Changes since 1.45: +0 -13 lines
Diff to previous 1.45
remove or document dead code

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

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Thu Nov 5 15:43:21 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.43: +4 -5 lines
Diff to previous 1.43
mark gpl sections, common/

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

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 20:49:48 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_75, rel-2_76, rel-2_77, rel-2_78, rel-2_79, rel-2_80
Changes since 1.41: +0 -52 lines
Diff to previous 1.41
slim down perl interface

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 11:41:17 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.40: +19 -27 lines
Diff to previous 1.40
*** empty log message ***

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 17:35:37 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.39: +6 -7 lines
Diff to previous 1.39
refactoring of shstr classe,s new shstr_tmp, lots of minor rewriting

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Tue May 6 16:55:25 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_54, rel-2_55, rel-2_56, rel-2_6, rel-2_61, rel-2_7, rel-2_71, rel-2_72, rel-2_73, rel-2_74
Changes since 1.38: +1 -1 lines
Diff to previous 1.38
update copyright

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sun May 4 15:23:04 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_53
Changes since 1.37: +2 -5 lines
Diff to previous 1.37
*** empty log message ***

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Thu Nov 8 19:43:23 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, rel-2_5, rel-2_52
Changes since 1.36: +4 -4 lines
Diff to previous 1.36
update copyrights and other minor stuff to deliantra

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Thu Aug 30 07:28:25 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2, rel-2_3
Changes since 1.35: +1 -1 lines
Diff to previous 1.35
fix text handling in region and map files - now utf-8 is expected for custom keys

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Fri Jul 13 15:54:40 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.34: +16 -8 lines
Diff to previous 1.34
- make attachable destructors protected (maybe they should be private...)
- provide push_back for object vectors.
- regions are now attachables, so manage their refcounts properly.

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Wed Jul 11 16:55:18 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.33: +5 -1 lines
Diff to previous 1.33
- make regions attachables
- add attachable->set_key
- support custom values for regions
- convert match to a custom value
- precompile regexes after reload_regions

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sun Jul 1 05:00:18 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.32: +11 -12 lines
Diff to previous 1.32
- 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.32 - (view) (download) (annotate) - [select for diffs]
Mon May 28 21:21:40 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.31: +18 -18 lines
Diff to previous 1.31
update copyrights in common/*.C and util/*.C

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Tue May 22 10:49:59 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.30: +11 -8 lines
Diff to previous 1.30
- fix players frozen on movers
- allow overriding of existing spells

implement town portal:
- new fields portasl_maap|x|y for regions
- new ext town_portsla completelyx implementing it
- some debugging code, some check code

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Thu Apr 19 16:23:46 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.29: +8 -3 lines
Diff to previous 1.29
- implement "random encounters" by simply populating the
  worldmap randomly by region.
- allow treasurelists to silently forward-reference archetypes
  (should have an extra checkign path for never-defined archetypes)
- fix GT_ENVIRONMENT, which had the semantics of putting treasure
  items _and_ their inventory on the floor, now only puts the
  items themselves on the floor.
- remove warning about generated inventory - some items simply
  can come with an empty inventory.
- do some other minor improvements.

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Tue Apr 17 18:24:30 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.28: +2 -0 lines
Diff to previous 1.28
- treasurelists and regions can now be freely mixed within the same
  generic resource file. more to come.

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Apr 16 10:14:25 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.27: +0 -1 lines
Diff to previous 1.27
- rewrite treasure parser to new framework just for fun.
- actually call load_treasures again.
- fix bugs.

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Sat Apr 14 07:22:59 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.26: +7 -23 lines
Diff to previous 1.26
implement defaulting region by map path match

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Fri Feb 16 19:43:41 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.25: +5 -5 lines
Diff to previous 1.25
- identified random memory corrutpion bug
- fixed most likely cause for bug above
- rewrote object loader etc. into a simple one-line lookahead
  parser.
- rewrote/cleaned up archetype, treasure, artifact, formula parser.
- some optimisations / cleanups

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Thu Feb 15 21:07:48 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.24: +37 -41 lines
Diff to previous 1.24
- use a simpler, less fancy loader base design (basically a one-line-lookahead
  top-down parser).

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Fri Feb 2 00:42:03 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.23: +1 -0 lines
Diff to previous 1.23
be forward-looking and require google sparsehash

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Thu Feb 1 19:40:42 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.22: +0 -16 lines
Diff to previous 1.22
load regions from perl, reload on, well, reload

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Thu Feb 1 19:15:56 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.21: +1 -7 lines
Diff to previous 1.21
remove test code

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Thu Feb 1 19:15:38 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.20: +87 -133 lines
Diff to previous 1.20
- improve error messages from object_thawer to incldue line numbers
- provide geenric parse error handler
- finish basic design of generic object loader
- implement generic regions loader
- use it to load regions:
  loader_region loader;
  if (!loader.load (filename))
    error;
- regions should now be the very first filetype that could be reloaded at runtime

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Mon Jan 29 15:04:21 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.19: +94 -145 lines
Diff to previous 1.19
rewrote region parser, changed region fileformat a bit

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Jan 29 14:46:01 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.18: +65 -126 lines
Diff to previous 1.18
partial region cleanup

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Sat Jan 27 23:59:29 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.17: +20 -21 lines
Diff to previous 1.17
- implement per-space regions

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Thu Jan 25 03:54:44 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16
added checkrusage extension

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

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

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Tue Jan 2 23:39:21 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13
started a fix of the log

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sun Dec 31 21:02:04 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12
more use of shstr where it makes sense naturally

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sat Dec 30 10:16:10 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.11: +3 -1 lines
Diff to previous 1.11
preliminary snapshot check-in, DO NOT USE IN PRODUCTION SYSTEMS
See the Changes file for details

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 22:45:40 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.10: +5 -5 lines
Diff to previous 1.10
- implement event watcher autoncancellation on reload
- used it everywhere
- removed lots of compatibility cruft
  - configure does no longer check for mandatory unix functionality/headers
  - confgiure now runs much faster

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 02:55:50 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.9: +1 -10 lines
Diff to previous 1.9
- medium decruftification
- medium cleanups
- make settings accessible to perl using cf::settings->mutator
  (completely untested)

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: +1 -1 lines
Diff to previous 1.8
- more ooficiation
- removed now superfluous remove calls

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 19:46:46 2006 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.7: +1 -4 lines
Diff to previous 1.7
removed #ifn?def WIN32 from all files

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sat Sep 16 22:24:12 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.6: +2 -2 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:00 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
indent

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Wed Sep 13 23:39:27 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.4: +0 -6 lines
Diff to previous 1.4
*** empty log message ***

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

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 00:18:40 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.2: +2 -2 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: +147 -147 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:00 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