ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/global.h
Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Thu May 17 14:14:55 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.58: +2 -4 lines
Diff to previous 1.58
remove superfluous/broken settings and related code

- COZY_SERVER:
  enabled most msall adjustments, changed digestion formula to the original one,
  party member treament w.r.t. pets enforced.
- PROHIBIT_PLAYERKILL: default
- real_wiz: removed and enforced
- create_home_portals: removed and enforced
- casting_time: removed and forced to be off (was crashing anyways)
- was_wiz flag removed and treated as off usually unless it was used
  in place of flag_wiz.
- do not save or restore wiz, wizcast and wizpass flags.

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Mon May 7 04:21:11 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.57: +6 -0 lines
Diff to previous 1.57
some more structure optimisations saving lots of code

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Sat Apr 28 05:55:55 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.56: +3 -1 lines
Diff to previous 1.56
reset (some) signal handlers to default after fork, limit the number of concurrent async backtraces

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Wed Apr 25 18:47:50 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.55: +1 -1 lines
Diff to previous 1.55
rewrote output buffer handling. the new system:
- outputs messages immediately.
- suppresses following duplicates.
- enforces a minimum setting.
- is, as usual, faster and leaner.

the only problem is that the code worked out of the box, which is not reassuring.

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Thu Apr 19 16:23:47 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.54: +1 -0 lines
Diff to previous 1.54
- 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.54 - (view) (download) (annotate) - [select for diffs]
Tue Apr 17 18:40:31 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.53: +0 -2 lines
Diff to previous 1.53
- load_resource_file cna now load archetypes, regions and treasures
  freely intermingled. archetypes and treasures makes a lot of actual
  sense, too.

(this has not been tested, but unlikely not to work :)

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

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Mon Apr 16 06:23:41 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.51: +0 -1 lines
Diff to previous 1.51
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.51 - (view) (download) (annotate) - [select for diffs]
Thu Apr 12 14:18:05 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.50: +0 -4 lines
Diff to previous 1.50
move animation info into facedata and make it reloadable at runtime

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Fri Mar 23 18:32:48 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.49: +1 -1 lines
Diff to previous 1.49
- get rid of dreaded JSON::Syck, it made me Sick.
- disable concept checking.

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Sun Mar 18 03:05:40 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.48: +17 -17 lines
Diff to previous 1.48
- 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.48 - (view) (download) (annotate) - [select for diffs]
Wed Mar 14 01:19:09 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.47: +2 -0 lines
Diff to previous 1.47
- send smooth faces automatically with their base face, anything else
  just complictaes everything and clients who want smoothing would
  requets the face anyways.
- this reduces the size of struct client considerably, from 300k to
  about 300k (whoops).

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Sun Mar 11 02:12:44 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.46: +1 -8 lines
Diff to previous 1.46
- MAJOR CHANGE
- you now need to use cfutil to install arches.
- former bigfaces are broken in the server
- bigfaces are no longer supported. at all.
- use face numbers instead of pointers
  * saves lotsa space
  * saves lotsa indirections
  * saves lots(?) cpu cycles
- completely rewrote face handling
- faces can now be added at runtime
- reload will add new faces
- this does not apply to animations
- use a hastable instead of binary search (faster) for faces
- face caching is broken
- facesets are gone
- server always reports MAX_FACES to any client who asks

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Tue Mar 6 19:02:35 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.45: +0 -1 lines
Diff to previous 1.45
clean up makefiles, add dummy pod.pm

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sun Mar 4 19:36:12 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.44: +0 -1 lines
Diff to previous 1.44
remove default_smoothed images - unused.
remove references to mythical sdefault.001 / default_smoothed.111 image
from server code.

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Thu Feb 15 18:10:33 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.43: +3 -2 lines
Diff to previous 1.43
*** empty log message ***

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Thu Feb 15 15:43:36 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.42: +0 -7 lines
Diff to previous 1.42
- useless µ-opts
- use maximum norm in get_rangevector (a bit, should use more)

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Thu Feb 15 15:00:01 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.41: +6 -2 lines
Diff to previous 1.41
µ-update

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Thu Feb 1 19:15:39 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.40: +0 -2 lines
Diff to previous 1.40
- 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.40 - (view) (download) (annotate) - [select for diffs]
Fri Jan 19 17:50:11 2007 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.39: +5 -5 lines
Diff to previous 1.39
- rename Animations => animation
- rename New_Face => facetile
- add but do not implement some generic loader framework classes

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

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sun Jan 7 02:39:14 2007 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.37: +1 -1 lines
Diff to previous 1.37
""

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

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Fri Jan 5 10:50:47 2007 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.35: +1 -1 lines
Diff to previous 1.35
be nicer to clients on shutdown and crashes

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Wed Jan 3 02:51:10 2007 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.34: +0 -6 lines
Diff to previous 1.34
removed last references to 'editor' variable.

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

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

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 11:25:49 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.31: +3 -2 lines
Diff to previous 1.31
- small, but subtle, rewrite of object management
- perl will now keep attachable objects alive
- objects are now refcounted
- refcouts need to be tested explicitly (refcnt_chk)
- explicit destroy is required current
- explicit destroy asks "nicely" for the object to self destruct, if possible
- refcounts will be used during mortal killing
- minor bugfixes, optimisations etc.
- some former hacks removed.

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Fri Dec 22 16:34:00 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.30: +2 -3 lines
Diff to previous 1.30
- preliminary check in, stuff is rudimentarily working
- moved most of the player creation process into a perl coroutine
- changed internal design of player management to not reuse
  and morph the object in funny ways. should be safer and much
  nicer to handle.
- got rid of some annoying hacks, such as clear()
  (TODO: get rid of player_pod and other stuff now unnecessary?)

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Mon Dec 18 03:00:02 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.29: +3 -4 lines
Diff to previous 1.29
ooification

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Dec 18 02:35:01 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.28: +0 -1 lines
Diff to previous 1.28
- remove recycle_tmp_maps setting (hardwired to true)
- replace object->flags by std::bitset, seems to be way
  more efficient, for some unexplainable and not looked-into reason.
  its way cleaner, too...

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Fri Dec 15 20:08:45 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.27: +1 -1 lines
Diff to previous 1.27
I goofed.

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Fri Dec 15 20:07:02 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26
more slight copyright adjustments

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Fri Dec 15 19:59:19 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25
the rename for sanity campaign hits
you died
- renamed stuff
- partially updated copyrights
- some cleanups

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 02:37:37 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24
moar\! rewrite\!

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 21:27:09 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.23: +1 -3 lines
Diff to previous 1.23
continued simplifying network code, partially removed support for sc protocol 1026

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 18:08:01 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.22: +14 -1 lines
Diff to previous 1.22
started simplifying network code

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

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 21:32:17 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.20: +8 -52 lines
Diff to previous 1.20
- simplify headerfiles (this is the 21st century)
- remove long long hacks for printf etc.

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

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sun Oct 15 02:16:35 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.18: +2 -0 lines
Diff to previous 1.18
more now invalid tag_t uses replaced by refcounting. reduced codesize quite a bit.

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

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sat Sep 16 22:06:17 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.16: +0 -5 lines
Diff to previous 1.16
indent

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 01:49:03 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.15: +1 -0 lines
Diff to previous 1.15
fix races, fix switch case indent

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Fri Sep 8 16:51:44 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14
generic accessors, take one

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Sep 4 11:07:59 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13
Changes...

- alternative shstr representation, saves code
- use glibs splice memory allocator (seems slower)
- use simpler memory/lifetime management for objects, no recycling

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 23:33:00 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12
use alternative shstr representation, might or might not be faster, but does save code

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 09:00:08 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.11: +1 -0 lines
Diff to previous 1.11
everything seems to work so far

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 07:57:56 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.10: +11 -5 lines
Diff to previous 1.10
*** empty log message ***

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 00:18:41 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.9: +6 -11 lines
Diff to previous 1.9
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.9 - (view) (download) (annotate) - [select for diffs]
Thu Aug 31 17:54:14 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.8: +3 -0 lines
Diff to previous 1.8
rewrote object serialiser, parser is next

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Thu Aug 31 09:19:34 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.7: +2 -0 lines
Diff to previous 1.7
*** empty log message ***

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Wed Aug 30 16:30:37 2006 UTC (17 years, 10 months ago) by root
Branch: MAIN
Changes since 1.6: +0 -3 lines
Diff to previous 1.6
remove compression support, intiialise perl earlier etc. etc.

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

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Thu Aug 24 13:13:49 2006 UTC (17 years, 10 months ago) by root
Branch: MAIN
Changes since 1.4: +1 -0 lines
Diff to previous 1.4
- added cfperl.h, soon to be used by events
- no perl == exit, its no longer optional
- moved server main loop entirely in perl
- removed lots of unneeded timekeeping cruft

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sun Aug 13 17:16:02 2006 UTC (17 years, 10 months ago) by elmex
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3
Made server compile with C++.
Removed cfanim plugin and crossedit.
C++ here we come.

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Fri Apr 28 13:56:26 2006 UTC (18 years, 2 months ago) by pippijn
Branch: MAIN
CVS Tags: LAST_C_VERSION, difficulty_fix_merge_060810_2300
Branch point for: difficulty_fix
Changes since 1.2: +1 -0 lines
Diff to previous 1.2
Adding setting to allow for portals in apartments and other personal maps.

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Apr 21 14:40:31 2006 UTC (18 years, 2 months ago) by pippijn
Branch: MAIN
Changes since 1.1: +6 -3 lines
Diff to previous 1.1
Adding support for race-specific HallsOfSelection

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Fri Feb 3 07:12:49 2006 UTC (18 years, 4 months ago) by root
Branch: MAIN
Branch point for: UPSTREAM
Initial revision

Convenience Links

Links to HEAD: (view) (download) (annotate) Links to rel-2_1: (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