ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/utils.C
Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Thu Feb 15 18:09:33 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.47: +58 -0 lines
Diff to previous 1.47
- the damn rotate shift checksum just failed on me
- add crc32 and use it for bmaps_checksum (probably also for images).

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Wed Feb 7 02:04:46 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.46: +10 -17 lines
Diff to previous 1.46
rework material code in preparation for nuking object->materials, also add some useful object methods in preparation of the mapspace limiting

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Mon Feb 5 01:47:22 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.45: +2 -1 lines
Diff to previous 1.45
fix dead code to confuse me less

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sat Jan 27 02:19:36 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.44: +12 -15 lines
Diff to previous 1.44
- 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.44 - (view) (download) (annotate) - [select for diffs]
Thu Jan 25 03:54:44 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.43: +4 -0 lines
Diff to previous 1.43
added checkrusage extension

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Fri Jan 19 22:24:10 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.42: +4 -4 lines
Diff to previous 1.42
fix random number generator seeding

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Fri Jan 19 15:15:49 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.41: +16 -2 lines
Diff to previous 1.41
- goofing around with my skills (overoptimisation to learn something)

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 22:19:59 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.40: +13 -24 lines
Diff to previous 1.40
RANDOM was broken due to signedness issues, also rewrote random_roll, no longer uses luck, but should

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 19:32:37 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.39: +24 -20 lines
Diff to previous 1.39
just experimenting

Revision 1.39 - (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.38: +22 -22 lines
Diff to previous 1.38
comments

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 02:42:15 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.37: +2 -1 lines
Diff to previous 1.37
sigh

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 02:39:40 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.36: +18 -2 lines
Diff to previous 1.36
- fix crash bug
- better fork & abort (untested)

Revision 1.36 - (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.35: +1 -0 lines
Diff to previous 1.35
added some copyrights

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Mon Jan 1 13:31:46 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.34: +60 -58 lines
Diff to previous 1.34
this is close to working

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Mon Jan 1 12:28:46 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.33: +21 -28 lines
Diff to previous 1.33
set original flag so decay object doesn't go wild

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sun Dec 31 18:10:40 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32
- style maps need very special treatment
- cf has a nonzero chance of crashing in a random map

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

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 14:54:44 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
the big rename

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 14:43:23 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29
interim.checkin

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 11:25:49 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.28: +0 -19 lines
Diff to previous 1.28
- 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.28 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 16:05:19 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.27: +3 -1 lines
Diff to previous 1.27
- made refcounted use a virtual destructor (codesize enlargement ~5k),
  in preparation for correctly refcounted objects with definite lifetime
  on both perl and c sides.

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

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Mon Dec 18 03:00:02 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.25: +16 -12 lines
Diff to previous 1.25
ooification

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sun Dec 17 23:10:34 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.24: +6 -6 lines
Diff to previous 1.24
another bug, do some adjustments to coredumping 'algorithm'

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Sat Dec 16 21:40:26 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.23: +4 -1 lines
Diff to previous 1.23
- clean up some code
- fix some possible (minor) bugs
- use a bitset for anims_sent
- fix a memory leak
- removed dead code

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sat Dec 16 03:08:25 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.22: +22 -4 lines
Diff to previous 1.22
- socket i/o is completely asynchronous now
- some command sare handled immediately
- others (most palying related commands) are queued
  for later (as of now synchronous) processing
- specifying a max queue length (in seconds) is possible, but disabled
- also add some syntax sugar for network code

Revision 1.22 - (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.21: +1 -4 lines
Diff to previous 1.21
- more ooficiation
- removed now superfluous remove calls

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

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

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 21:06:58 2006 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18
lld -> I64_PFd

Revision 1.18 - (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.17: +0 -4 lines
Diff to previous 1.17
removed #ifn?def WIN32 from all files

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Fri Nov 17 19:40:53 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.16: +18 -0 lines
Diff to previous 1.16
* remove arch.h
* use refcounting for archetypes
* cleanup
* strat of generic garbage collector

Revision 1.16 - (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.15: +1 -1 lines
Diff to previous 1.15
mapstruct => maptile
removed many ytypedefs in favor of structure tags

Revision 1.15 - (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.14: +1 -1 lines
Diff to previous 1.14
indent

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 01:34:41 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.13: +2 -0 lines
Diff to previous 1.13
*** empty log message ***

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 21:10:31 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.12: +5 -15 lines
Diff to previous 1.12
tuning

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 20:55:40 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.11: +9 -30 lines
Diff to previous 1.11
make use of slice_allocator and inline zero_initialised

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 19:20:06 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.10: +28 -1 lines
Diff to previous 1.10
- improve assign to prepend "..."
- make more use of assign
- implement op->debug_desc() and make some more use of it

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 01:16:20 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.9: +12 -9 lines
Diff to previous 1.9
fix perl class for archetype, never free once-allocated objects, or destruct
them, there are too many long-lived references (and refcount doesn't help,
likely because it isn't correctly being incremented/decremented).

Revision 1.9 - (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.8: +370 -305 lines
Diff to previous 1.8
indent

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sat Sep 9 21:48:28 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.7: +5 -1 lines
Diff to previous 1.7
fix a few ugly pod-constructs on non-pod objects, and a few newly introduced bugs

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Fri Sep 8 17:34:02 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.6: +1 -4 lines
Diff to previous 1.6
genaccess, take three

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

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Thu Sep 7 09:37:12 2006 UTC (17 years, 8 months ago) by pippijn
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4
Cleaned up code a little.

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Mon Sep 4 11:07:59 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.3: +18 -6 lines
Diff to previous 1.3
Changes...

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

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: +19 -3 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, 9 months ago) by root
Branch: MAIN
Changes since 1.1: +176 -176 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:01 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) Links to rel-2_0: (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