ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/readable.C
Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Sat Dec 1 20:22:12 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.69: +14 -14 lines
Diff to previous 1.69
slight cleanup

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Sat Nov 17 23:40:00 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
Changes since 1.68: +1 -0 lines
Diff to previous 1.68
copyright update 2018

Revision 1.68 - (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.67: +42 -42 lines
Diff to previous 1.67
remove eol whitespace

Revision 1.67 - (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.66: +1 -1 lines
Diff to previous 1.66
copyright update 2016

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Mon Nov 12 03:14:32 2012 UTC (11 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-3_1
Changes since 1.65: +11 -16 lines
Diff to previous 1.65
introduce weight_t, make it unsigned

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

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Fri Jan 27 22:01:46 2012 UTC (12 years, 3 months ago) by root
Branch: MAIN
Changes since 1.63: +0 -2 lines
Diff to previous 1.63
Jonathan Neuschäfer [PATCH 1/9] common/item: remove redundant "type == ROD"
Jonathan Neuschäfer [PATCH 2/9] common/readable: remove fixed-size buffers in spellpath_msg
Jonathan Neuschäfer [PATCH 3/9] server/attack: remove unused struct att_msg_str
Jonathan Neuschäfer [PATCH 4/9] server/c_misc: remove unused typedef'd struct chars_names
Jonathan Neuschäfer [PATCH 5/9] server/attack: hit_map: return retflag, as promised
Jonathan Neuschäfer [PATCH 6/9] random_maps/wall: remove redundant check
Jonathan Neuschäfer [PATCH 7/9] server/spell_attack: fix function name in comment
Jonathan Neuschäfer [PATCH 9/9] socket/info: fix memory leak in error path

Revision 1.63 - (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.62: +1 -1 lines
Diff to previous 1.62
update copyrights to 2012

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

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

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sun Oct 24 21:24:09 2010 UTC (13 years, 6 months ago) by root
Branch: MAIN
Changes since 1.59: +1 -1 lines
Diff to previous 1.59
*** empty log message ***

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Wed Apr 28 19:49:50 2010 UTC (14 years ago) by root
Branch: MAIN
CVS Tags: rel-3_0
Changes since 1.58: +29 -55 lines
Diff to previous 1.58
less MAX_BUF, more object_thawer dir/file convenience

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Thu Apr 15 21:49:15 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.57: +54 -70 lines
Diff to previous 1.57
bookarch parser et al.

Revision 1.57 - (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.56: +1 -1 lines
Diff to previous 1.56
get rid of QUERY_FLAG/SET_FLAG/CLEAR_FLAG macros that I always hated

Revision 1.56 - (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.55: +1 -1 lines
Diff to previous 1.55
update copyright for up to 2010

Revision 1.55 - (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.54: +2 -2 lines
Diff to previous 1.54
remove bogus 2007 copyright that was added wrongly by the script, update to affero license

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Sun Nov 29 10:55:18 2009 UTC (14 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-2_92, rel-2_93
Changes since 1.53: +5 -5 lines
Diff to previous 1.53
indent (remove useless use of void)

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

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Fri Nov 6 13:31:47 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.51: +0 -57 lines
Diff to previous 1.51
remove or document dead code

Revision 1.51 - (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.50: +2 -2 lines
Diff to previous 1.50
make effectively static symbols actually static, part 2

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Sat Oct 24 00:43:30 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_82
Changes since 1.49: +17 -24 lines
Diff to previous 1.49
*** empty log message ***

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Fri Oct 16 00:02:22 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
Changes since 1.48: +12 -12 lines
Diff to previous 1.48
avoid monster heads for info

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Thu Oct 15 23:25:53 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
Changes since 1.47: +0 -2 lines
Diff to previous 1.47
improve some book messages

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Thu Oct 15 23:24:38 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
Changes since 1.46: +65 -94 lines
Diff to previous 1.46
improve some book messages

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Thu Oct 15 23:02:28 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
Changes since 1.45: +60 -60 lines
Diff to previous 1.45
improve some book messages

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Thu Oct 15 22:50:41 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
Changes since 1.44: +50 -71 lines
Diff to previous 1.44
improve some book messages

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Thu Oct 15 21:40:42 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43
cleanups

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Thu Oct 15 20:45:01 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
Changes since 1.42: +22 -47 lines
Diff to previous 1.42
get rid of HUGE_BUF

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Thu Oct 15 16:00:37 2009 UTC (14 years, 7 months ago) by sf-marcmagus
Branch: MAIN
Changes since 1.41: +14 -10 lines
Diff to previous 1.41
Add inscribable arches for other book types.
Use 'container'/weight_limit to define capacity of inscribables in characters.
Add treasures/arches to specify books with/without text.
Scorn and Navar Public Libraries use these so they don't generate inscribables.
Fix bug allowing theft of blank books from libraries.
Fix bug preventing adding an adjective to a book name if the titles are used up.
Change error message on reading empty book to be more clear.
Change error message on failed inscription [too much text] to be more informative.
Looking at an inscribable will tell you what you can do with it/what its capacity is in a hint.
Fix broken debug statements in book generation.

Revision 1.41 - (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
Changes since 1.40: +7 -6 lines
Diff to previous 1.40
clarify license

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 11:41:17 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.39: +3 -2 lines
Diff to previous 1.39
*** empty log message ***

Revision 1.39 - (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.38: +4 -7 lines
Diff to previous 1.38
refactoring of shstr classe,s new shstr_tmp, lots of minor rewriting

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 02:31:19 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_74
Changes since 1.37: +29 -26 lines
Diff to previous 1.37
implement smell member for mapspaces, remove all traces of the old RANDOM macro

Revision 1.37 - (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
Changes since 1.36: +2 -2 lines
Diff to previous 1.36
destroy (true) => destroy ()

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Mon Sep 29 09:04:50 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35
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.35 - (view) (download) (annotate) - [select for diffs]
Sun Aug 31 05:47:14 2008 UTC (15 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_7, rel-2_71
Changes since 1.34: +95 -98 lines
Diff to previous 1.34
*** empty log message ***

Revision 1.34 - (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
Changes since 1.33: +1 -1 lines
Diff to previous 1.33
update copyright

Revision 1.33 - (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, rel-2_53
Changes since 1.32: +4 -4 lines
Diff to previous 1.32
update copyrights and other minor stuff to deliantra

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Tue Jul 10 06:07:32 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2, rel-2_3
Changes since 1.31: +1 -2 lines
Diff to previous 1.31
increased chances of long books, per request of users :)

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Tue Jul 10 06:05:55 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.30: +15 -1 lines
Diff to previous 1.30
riddifed the world of safe_strcat

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sun Jul 1 05:00:17 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.29: +11 -12 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]
Sat Jun 30 02:24:32 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.28: +4 -3 lines
Diff to previous 1.28
sending out an empty message type rightly confuses the cfplus parser

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Sun Jun 24 04:09:28 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.27: +54 -54 lines
Diff to previous 1.27
first rough cut of msg rewriting, introducing cfpod, a haxored pod variant for crossfire messgaes. where will it end?

Revision 1.27 - (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.26: +12 -13 lines
Diff to previous 1.26
- 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.26 - (view) (download) (annotate) - [select for diffs]
Mon Jun 4 12:19:08 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25
rename arch->name to arch->archname for preparation of subclassing object

Revision 1.25 - (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.24: +17 -18 lines
Diff to previous 1.24
update copyrights in common/*.C and util/*.C

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Thu May 24 03:33:28 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.23: +21 -135 lines
Diff to previous 1.23
add books from books.pod via some most dire hacks

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Thu May 17 21:32:08 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22
- prepare common/ for head_ => head change
- add some copyrights for files where they were missing

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Sun Mar 18 03:05:39 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.21: +21 -14 lines
Diff to previous 1.21
- 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.21 - (view) (download) (annotate) - [select for diffs]
Mon Feb 5 01:24:45 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.20: +59 -59 lines
Diff to previous 1.20
replace amny strcpy by checked assign's

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Tue Jan 23 01:05:17 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19
- avoid negative event priorities like the plague. they are actually
  worse because they introduce random memory corruption and endless
  loops and worse, if worse exists.
- aggressively swap out maps when #actives exceeds threshold
- sweep and cede after server tick
- increase player command handling priorities, just in case.
- fix a bug in mortal checking, this was the reason for the
  enourmous memory leaks in map-world.ext
- mark c++-side watchers as non-reentrant

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

Revision 1.18 - (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.17: +22 -22 lines
Diff to previous 1.17
comments

Revision 1.17 - (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.16: +1 -0 lines
Diff to previous 1.16
added some copyrights

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Wed Jan 3 00:21:35 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.15: +6 -6 lines
Diff to previous 1.15
initialised :)

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Wed Jan 3 00:08:17 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.14: +2 -3 lines
Diff to previous 1.14
1 date/line

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: +5 -5 lines
Diff to previous 1.13
started a fix of the log

Revision 1.13 - (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.12: +4 -4 lines
Diff to previous 1.12
- more ooficiation
- removed now superfluous remove calls

Revision 1.12 - (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.11: +2 -2 lines
Diff to previous 1.11
replace some function- by method-calls

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

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Fri Sep 29 21:55:54 2006 UTC (17 years, 7 months ago) by root
Branch: MAIN
Changes since 1.9: +3 -0 lines
Diff to previous 1.9
indent

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

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

Revision 1.7 - (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.6: +0 -6 lines
Diff to previous 1.6
*** empty log message ***

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

Revision 1.5 - (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.4: +1437 -1436 lines
Diff to previous 1.4
indent

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 14:33:47 2006 UTC (17 years, 8 months ago) by elmex
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3
removed ox/oy, and then added shstr stuff to the recipes in alchemy

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: +50 -77 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:35 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.1: +735 -735 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