ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/object.h
Revision 1.102 - (view) (download) (annotate) - [select for diffs]
Thu Mar 1 12:28:16 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.101: +2 -2 lines
Diff to previous 1.101
nano-cleanups

Revision 1.101 - (view) (download) (annotate) - [select for diffs]
Fri Feb 16 22:21:46 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.100: +1 -1 lines
Diff to previous 1.100
- set map before parsing an object, add_button_link requires this
  completely bogus idiotic design bug.
- document speed hack by elmex :)

Revision 1.100 - (view) (download) (annotate) - [select for diffs]
Fri Feb 16 19:43:41 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.99: +6 -7 lines
Diff to previous 1.99
- 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.99 - (view) (download) (annotate) - [select for diffs]
Sat Feb 10 01:52:27 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.98: +7 -1 lines
Diff to previous 1.98
hell on earth, rewrote the container code
- it really was a mess before
- open/close events should now be very reliable.
- make container an object_ptr, just to be on the safe side
  (the old code is known to crash, the new code should be reliable, but...).
- its also smaller, much smaller/clearer in sourcecode size and a bit
  smaller in text segment size.

also disable big worldmap again: is this still causing memleaks?

Revision 1.98 - (view) (download) (annotate) - [select for diffs]
Wed Feb 7 23:50:01 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.97: +5 -1 lines
Diff to previous 1.97
interim check-in for server upgrade

Revision 1.97 - (view) (download) (annotate) - [select for diffs]
Wed Feb 7 02:13:06 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.96: +1 -1 lines
Diff to previous 1.96
more materialcode changes in preparation for... oh my god this is material framework is broken

Revision 1.96 - (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.95: +20 -1 lines
Diff to previous 1.95
rework material code in preparation for nuking object->materials, also add some useful object methods in preparation of the mapspace limiting

Revision 1.95 - (view) (download) (annotate) - [select for diffs]
Mon Feb 5 01:24:45 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.94: +2 -2 lines
Diff to previous 1.94
replace amny strcpy by checked assign's

Revision 1.94 - (view) (download) (annotate) - [select for diffs]
Fri Feb 2 21:50:43 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.93: +1 -1 lines
Diff to previous 1.93
- remove google sparsehash dependency again, its actually slower than
  gcc's current std::tr1::unordered_hash.
- remove hardcoded archtable code - the archetypes table is now
  no longer limited by an hardcoded constant but can grow dynamically
  at runtime.
- removed some cruft

Revision 1.93 - (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.92: +2 -0 lines
Diff to previous 1.92
- implement per-space regions

Revision 1.92 - (view) (download) (annotate) - [select for diffs]
Tue Jan 23 03:17:55 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.91: +1 -1 lines
Diff to previous 1.91
- weirdify refcounting:
  objects still keep their natural refcount of zero
  do not borrow anymore, seems the right thing to do *right now*

Revision 1.91 - (view) (download) (annotate) - [select for diffs]
Tue Jan 23 01:05:18 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.90: +1 -1 lines
Diff to previous 1.90
- 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.90 - (view) (download) (annotate) - [select for diffs]
Sat Jan 20 22:09:52 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.89: +1 -1 lines
Diff to previous 1.89
- move util/world.png to server/lib/
  (should go to maps/world.png, but I will not fiddle around with that now)
- compile worldmap to world.pst and install it.
- rename FLAG_NO_SAVE to FLAG_NO_MAP_SAVE
- define FABS to fabs, as intended
- fix all(?) the FABS(int) calls

Revision 1.89 - (view) (download) (annotate) - [select for diffs]
Fri Jan 19 17:50:11 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.88: +1 -1 lines
Diff to previous 1.88
- rename Animations => animation
- rename New_Face => facetile
- add but do not implement some generic loader framework classes

Revision 1.88 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 16:19:34 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.87: +6 -1 lines
Diff to previous 1.87
- fix a horrendous bug that might have caused all the map corruption
- optimise/modernise some map-insert-related stuff
- fix debug_desc
- remove crypt configury
- minor adjustments/cleanups

Revision 1.87 - (view) (download) (annotate) - [select for diffs]
Sun Jan 14 22:06:05 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.86: +1 -0 lines
Diff to previous 1.86
minor stuff

Revision 1.86 - (view) (download) (annotate) - [select for diffs]
Thu Jan 11 23:17:04 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.85: +22 -22 lines
Diff to previous 1.85
*** empty log message ***

Revision 1.85 - (view) (download) (annotate) - [select for diffs]
Thu Jan 11 01:10:01 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.84: +1 -1 lines
Diff to previous 1.84
implement new flag_no_save to avoid saving

Revision 1.84 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 21:32:42 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.83: +8 -9 lines
Diff to previous 1.83
- added $cf::WAIT_FOR_TICK*
- tuned map-scheduler and player-scheduler
- added $op->inv_recursive
- added objects_size/objects($index) and actives_size/actives($index)
  for access to the object and actives vector.
- more robust player loader
- removed _perl_data attribute support
- SIGINT/TERM/HUP are now safe as they are handled synchronously.
- replaced LOOK_OBJ by client_visible
- cleanups

Revision 1.83 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 22:32:10 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.82: +2 -0 lines
Diff to previous 1.82
- disabled stuff that might cause instabilities at the cost of certain
  (controlled) additional memory usage.
- minor changes to improve the stability,

Revision 1.82 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 14:11:05 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.81: +3 -2 lines
Diff to previous 1.81
quick and dirty emergency fix

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

Revision 1.80 - (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.79: +1 -0 lines
Diff to previous 1.79
added some copyrights

Revision 1.79 - (view) (download) (annotate) - [select for diffs]
Wed Jan 3 20:08:04 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.78: +3 -0 lines
Diff to previous 1.78
- new untested set_flag_inv method to change a flag on all inv objects
- do ot satop running when switching maps
- fixed speed_left assymentry in handle_newcs_player
- do not immediately handle running commands when calling handle_command,
  as it could have deactivated the object.

Revision 1.78 - (view) (download) (annotate) - [select for diffs]
Sun Dec 31 17:17:23 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.77: +7 -4 lines
Diff to previous 1.77
many minor changes everywhere, random maps crash sometimes but design is in place

Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Sun Dec 31 10:28:36 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.76: +5 -0 lines
Diff to previous 1.76
different interface design for c++/perl map handling, some random map framework

Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Sat Dec 30 21:18:29 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.75: +1 -1 lines
Diff to previous 1.75
*** empty log message ***

Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Sat Dec 30 21:17:48 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.74: +1 -1 lines
Diff to previous 1.74
*** empty log message ***

Revision 1.74 - (view) (download) (annotate) - [select for diffs]
Sat Dec 30 21:07:46 2006 UTC (17 years, 4 months ago) by elmex
Branch: MAIN
Changes since 1.73: +3 -0 lines
Diff to previous 1.73
fixed the problem where objects with speed=0 were on the active object list.
extended debug_desc a bit. implemented object::has_active_speed ().

Revision 1.73 - (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.72: +7 -1 lines
Diff to previous 1.72
preliminary snapshot check-in, DO NOT USE IN PRODUCTION SYSTEMS
See the Changes file for details

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Wed Dec 27 13:13:47 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.71: +6 -0 lines
Diff to previous 1.71
misc stuff

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 20:04:09 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.70: +10 -0 lines
Diff to previous 1.70
- added maptile->insert and object->insert_at methods that might
  make code using it clearer.
- replaced some insert_ob_in_map calls.

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 08:54:59 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.69: +1 -0 lines
Diff to previous 1.69
replace update_ob_speed by ->set_speed

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 05:44:15 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.68: +33 -33 lines
Diff to previous 1.68
formatting

Revision 1.68 - (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.67: +32 -29 lines
Diff to previous 1.67
- 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.67 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 15:49:40 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.66: +6 -3 lines
Diff to previous 1.66
- implement (mostly untested) array member support for genacc
- make some arrays and other members available to perl
- redefined meaning of NUM_FLAGS (really meaning number of flags now,
  as the code assumed anyway).
- moved afk flag to client, where it belongs (make sno sense to save it,
  is also true for wiz &c).
- updated extensions to reflect all that (Jewler.pm should be tested w.r.t.
  resistances)

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 06:41:39 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.65: +5 -5 lines
Diff to previous 1.65
- rename flags => flag (because its rpedominantly used singular),
- remove remaining use of the flags array semantics

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 06:30:49 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.64: +32 -41 lines
Diff to previous 1.64
remove object_pod/object_keep hacks

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 06:21:02 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.63: +1 -4 lines
Diff to previous 1.63
- improved login code
- removed some cruft code and (finally), the player_pod hack

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Fri Dec 22 16:54:56 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.62: +4 -1 lines
Diff to previous 1.62
fixed the building bug that broke walls after building. a hacky method
for flags copying was used and is now replaced with the proper one.

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Fri Dec 22 16:34:00 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.61: +12 -4 lines
Diff to previous 1.61
- 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.61 - (view) (download) (annotate) - [select for diffs]
Thu Dec 21 01:33:50 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.60: +3 -0 lines
Diff to previous 1.60
- reduce map memory consumption by reserving space for only the 3 existing layers
- factorise out some functions into mapspace and object

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

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Tue Dec 19 05:41:21 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.58: +1 -1 lines
Diff to previous 1.58
goofing around in vain, trying to find a generalisation for esrv*item

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Mon Dec 18 17:39:17 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.57: +1 -1 lines
Diff to previous 1.57
fixed a bug with has_random_items which caused that most (or mostly all?)
treasures weren't generated.

Revision 1.57 - (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.56: +17 -0 lines
Diff to previous 1.56
ooification

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Mon Dec 18 02:35:01 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.55: +4 -2 lines
Diff to previous 1.55
- 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.55 - (view) (download) (annotate) - [select for diffs]
Fri Dec 15 20:08:45 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54
I goofed.

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

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

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 03:29:45 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51
oopsie

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 03:28:42 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.50: +11 -17 lines
Diff to previous 1.50
further cleanups and oofication

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 00:42:04 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.49: +1 -0 lines
Diff to previous 1.49
added a needed abstraction

Revision 1.49 - (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.48: +9 -9 lines
Diff to previous 1.48
- more ooficiation
- removed now superfluous remove calls

Revision 1.48 - (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.47: +0 -8 lines
Diff to previous 1.47
replace some function- by method-calls

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Wed Dec 6 13:59:01 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.46: +9 -0 lines
Diff to previous 1.46
- implement and modernize op->insert and op->remove
- simplify find_hth_skill to always use first found
- change change_skill to move recently used skills to top of inventory

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Sun Dec 3 01:06:37 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.45: +31 -31 lines
Diff to previous 1.45
*** empty log message ***

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sat Nov 18 23:16:18 2006 UTC (17 years, 6 months ago) by elmex
Branch: MAIN
Changes since 1.44: +2 -1 lines
Diff to previous 1.44
added uuid accessors for perl.

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

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

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Wed Sep 27 00:36:09 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41
* nuke op->contr when players log out, to avoid dereferencing them later :(
* also rename free to destroy
* do not create weird messages when people examine pseudo inventory objects

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Tue Sep 19 22:05:55 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.40: +9 -7 lines
Diff to previous 1.40
add mapcell flags support and define #0 to be has_dialogue

Revision 1.40 - (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.39: +16 -16 lines
Diff to previous 1.39
mapstruct => maptile
removed many ytypedefs in favor of structure tags

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 23:13:49 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.38: +2 -0 lines
Diff to previous 1.38
replace was_destroyed by much simpler and less expensive ->destroyed,
which is valid, as objetc pointers are now reliable.

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

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 18:13:02 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.36: +7 -0 lines
Diff to previous 1.36
presuppose iso c++0x

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 17:10:25 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.35: +5 -13 lines
Diff to previous 1.35
removed now obsolete generation counter checks - further slimmed down sizeof(objetc) to 616 bytes

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 01:12:28 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.34: +9 -9 lines
Diff to previous 1.34
aggressively use refcounted pointers for object references - seems to fix all random stomping. also reduced size of object further from originally 656 to 624 bytes

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Wed Sep 13 02:05:19 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.33: +16 -1 lines
Diff to previous 1.33
preliminary uuid support

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

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 18:15:34 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.31: +1 -1 lines
Diff to previous 1.31
- introduce shstr_cmp for mass comparisons to shstr and make use of it
- introduce assign utility function to replace strncpy

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 01:26:07 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
*** empty log message ***

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 01:09:53 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.29: +7 -7 lines
Diff to previous 1.29
convert to more stable depth-firts iterator

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 23:33:29 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.28: +35 -0 lines
Diff to previous 1.28
- temporarily disabled shstr garbage collection
- use sint64 instead of uint64 in shop code
- implement fully recursive item iterator for object
- add some utility functions

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 20:28:37 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.27: +25 -17 lines
Diff to previous 1.27
implement owner pointer using refcounted refptr templates

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 12:08:01 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.26: +4 -4 lines
Diff to previous 1.26
indent

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 11:15:21 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.25: +8 -8 lines
Diff to previous 1.25
optimise sizeof(object), well, shaved of 16 bytes of 656

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 14:54:02 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24
remaining bugfixes

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 00:51:23 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.23: +3 -1 lines
Diff to previous 1.23
likely fix another crash bug

Revision 1.23 - (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.22: +16 -6 lines
Diff to previous 1.22
fix a few ugly pod-constructs on non-pod objects, and a few newly introduced bugs

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Fri Sep 8 17:14:07 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.21: +8 -0 lines
Diff to previous 1.21
genaccess, take two

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Fri Sep 8 16:53:57 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.20: +7 -7 lines
Diff to previous 1.20
archt => archetype

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

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Sep 4 16:46:32 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.18: +4 -0 lines
Diff to previous 1.18
major map loading speedups

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

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

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 22:45:56 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.16: +0 -5 lines
Diff to previous 1.16
string scanning (e.g. for patch) is not implemented ATM but should be easy
to add with an alternative constructor for object_thawer.

Rewrote flex scanner to be simpler, faster and more modularised.

Initial speedup: 16%

(ah well)

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

Revision 1.15 - (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.14: +10 -22 lines
Diff to previous 1.14
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.14 - (view) (download) (annotate) - [select for diffs]
Thu Aug 31 17:54:14 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.13: +139 -151 lines
Diff to previous 1.13
rewrote object serialiser, parser is next

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

Revision 1.12 - (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.11: +17 -17 lines
Diff to previous 1.11
expand initial tabs to spaces

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 05:03:55 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.10: +0 -2 lines
Diff to previous 1.10
- added ready/unready/can_apply events and their passive versions
- removed support for event_*-fields in maps
- removed support for current_weapon_script
- removed timers
- removed say/shout/Tell and related commands

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Mon Aug 28 16:52:51 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.9: +0 -10 lines
Diff to previous 1.9
disable old-style plug-ins, implement attach-field for map headers and map attachments

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Sun Aug 27 17:59:26 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8
fixes, objects on maps get instantiated properly

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sun Aug 27 16:15:12 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7
first, untested persistent objetc storage for players and objects, not yte for maps

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sat Aug 26 23:36:32 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.6: +23 -4 lines
Diff to previous 1.6
intermediate check-in, per-object events work

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sat Aug 26 08:44:06 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.5: +5 -4 lines
Diff to previous 1.5
many, many cleanups

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Fri Aug 25 17:11:53 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.4: +1 -0 lines
Diff to previous 1.4
converted more events, broken per-object events (needs map support), lots of fixes

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sun Aug 13 17:16:02 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Changes since 1.3: +27 -21 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]
Wed Feb 22 18:53:48 2006 UTC (18 years, 3 months ago) by elmex
Branch: MAIN
CVS Tags: LAST_C_VERSION, difficulty_fix_merge_060810_2300
Branch point for: difficulty_fix
Changes since 1.2: +5 -4 lines
Diff to previous 1.2
UPSTREAM_2006-02-22 merge

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Feb 7 23:29:55 2006 UTC (18 years, 3 months ago) by root
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1
*** empty log message ***

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

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