ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/utils/cfutil.in
Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Mon May 7 06:01:48 2007 UTC (17 years ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.33: +3 -0 lines
Diff to previous 1.33
do not output archetypes with names starting with type_ or class_, a bit of a hack

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Thu Apr 26 00:50:03 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32
we have the time

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Thu Apr 26 00:41:32 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.31: +1 -1 lines
Diff to previous 1.31
*** empty log message ***

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Thu Apr 26 00:39:18 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.30: +21 -2 lines
Diff to previous 1.30
require pngnq and automatically requantise too large 32x32 smooth faces so gcfclient doesn't nuke

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sat Apr 21 11:55:36 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.29: +9 -3 lines
Diff to previous 1.29
some hacks/fixes to make multipart treasures work on worldmaps only

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Wed Apr 18 09:38:58 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.28: +3 -2 lines
Diff to previous 1.28
store and transfer the player objetc count not uuid in the extmap protocol, we cannot reasonably hope to get rid of the count anyway

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Wed Apr 18 09:26:46 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.27: +1 -0 lines
Diff to previous 1.27
*** empty log message ***

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Wed Apr 18 07:59:03 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.26: +44 -7 lines
Diff to previous 1.26
thanks to elmex for showing me the error in my wayy, the inheritence
resolution is now done in cfutil.

advantages:
- no need to udpate the editor etc.
- forward references work just fine.

disadvantages:
- much more difficult implementation (if you discount the requirement
  to write a perl parser, too).
- larger file, slower loading (if used extensively :)
- the goal should imho be that the server automatically gathers
  archetypes and other data items.

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Tue Apr 17 19:12:34 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25
implement inherit keyword which can optionally follow "object"
and uses the archetype referenced by it as a template.

unlike other references, no forward reference is possible, the referenced
archetype must be known and defined.

(current Crossfire perl module is required)

example usage:

   object doubledemilich
   inherit demilich
   hp 2000
   maxhp 2000
   speed 0.75
   attacktype 70680
   unaggressive 0
   end

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Fri Apr 13 05:08:51 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24
move to Coro::Storable for face loading

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Thu Apr 12 14:18:06 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.23: +23 -16 lines
Diff to previous 1.23
move animation info into facedata and make it reloadable at runtime

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Tue Apr 10 09:35:24 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.22: +6 -5 lines
Diff to previous 1.22
- implement smoothing in the fxix (or better: fxixsx) protocol.
- this *enforces* that smoothing is *per face* and not *per archetype*.
- no extra bandwidth is needed for map information (unlike in the
  crossfire 1.x protocol, where smoothlevels are per-mapspace
  and take up a lot of bandwidth).
- no extra storage is required on the client-side (although smoothing
  for cached map data is then only available for tiles that have been seen).
- temporarily supply empty_S.x11 smoothfaces again, as this hack is required
  because there is no way to specify a smoothlevel but no smoothface
  otherwise. this should be optimised away at a future point, but this
  will break gcfclient (but disabling smoothing for that might be a good
  compromise).

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Thu Apr 5 13:50:49 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.21: +0 -1 lines
Diff to previous 1.21
*** empty log message ***

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Thu Apr 5 12:34:31 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.20: +1 -2 lines
Diff to previous 1.20
*** empty log message ***

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Mon Apr 2 18:04:47 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.19: +3 -0 lines
Diff to previous 1.19
moved setup to perlspace to facilitate easier extensions and some cleanups. feels more secure, too

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sun Apr 1 00:36:35 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.18: +80 -28 lines
Diff to previous 1.18
- add cfhq2xa to the installed binaries
- cfutil: autogenerate 64x64 versions out of existing 32x32 versions
  if required (--cache is highly recommended).
- rename faces to facedata to avoid clashes with the old file.
- add the 64x64 tiles to faceset 1 in the server (unused)

TODO: protocol to split faces (they are too large)
TODO: devise a faceset protocol incompatible enough with gcfclient so it
      doesn't puke.

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Sat Mar 17 19:57:02 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
switch to the new facename.faceset.png naming scheme

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Wed Mar 14 16:23:26 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.16: +1 -0 lines
Diff to previous 1.16
enable face caching again for those too stupid to read :(

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Wed Mar 14 15:47:21 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15
thinko

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Wed Mar 14 04:12:29 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.14: +1 -0 lines
Diff to previous 1.14
- rewrote more face handling code
- automatically send smooth faces, as the client will need them anyways
  and it makes little sense to wait for the client to axk for it. of course,
  gcfclient suffers from weird ordering problems again.
- UP_OBJ_FACE was often abused in situations where other things changed,
  updated lots of spaces, probably more to be done.
- update_smooth became so small that inlining it actually clarified
  the code. similar for update_space, which is not inlined for other reasons.
- faces were not initialised properly
- add versioncheck for face data
- rewrite invisibility handling a bit: god finger etc. now makes you blink,
  blinking routine has changed to be less annoying and more useful while
  still indicating invisibleness.

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Wed Mar 14 00:04:59 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.13: +7 -9 lines
Diff to previous 1.13
- rewrote smooth face handling, as a side-effect, smoothing seems to work
  again and smooth faces can be reloaded.
- the server now sends the full animation for an object the first time
  it is seen, this uses slightly more bandwidth initially, but avoids
  the flickering for objects change their face later.

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Mar 12 17:33:12 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.12: +10 -4 lines
Diff to previous 1.12
refine cfutil a bit

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Mon Mar 12 17:26:41 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.11: +29 -6 lines
Diff to previous 1.11
try to switch over to cfutil - cfutil willnow be built and install, should mostly work, and files should not get overwritten by make install

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Mon Mar 12 14:55:43 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10
*** empty log message ***

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Mon Mar 12 14:47:53 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.9: +3 -0 lines
Diff to previous 1.9
add editor_folder to archetypes file

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Sun Mar 11 22:36:53 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8
fix some misc. bugs

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sun Mar 11 21:26:06 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7
- quick hack to rmeove any bigface/multipart handling.
- seems to work reasonably nice.

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sun Mar 11 20:37:04 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.6: +1 -0 lines
Diff to previous 1.6
*** empty log message ***

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sun Mar 11 02:12:45 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.5: +66 -26 lines
Diff to previous 1.5
- 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.5 - (view) (download) (annotate) - [select for diffs]
Thu Mar 8 15:19:08 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.4: +41 -11 lines
Diff to previous 1.4
closer, now the server needs a more modern approach

Two monks were watching a flag flapping in the wind. One said to the other, "The flag is moving."
The other replied, "The wind is moving."
Huineng overheard this. He said, "Not the flag, not the wind; mind is moving."

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Wed Mar 7 20:30:18 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.3: +24 -1 lines
Diff to previous 1.3
interim check-in of cfutil

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Wed Mar 7 18:04:44 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.2: +142 -58 lines
Diff to previous 1.2
interim check-in of cfutil

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Wed Mar 7 01:23:37 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.1: +182 -1 lines
Diff to previous 1.1
interim check-in of cfutil

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Tue Mar 6 22:07:56 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
add cfutil stub, move checks likely to fail to be done earlier in configure, require optipng

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