#include "udanax.h"
Include dependency graph for makeroom.cxx:

Go to the source code of this file.
Functions | |
| void | expandcrumleftward (typecorecrum *crumptr, Tumbler *newdsp, Tumbler *base, int index) |
| ??? | |
| void | makeroomonleftnd (typecuc *father, typedsp *offset, typewid *origin, typedsp *grasp) |
| ??? | |
(to be defined)
Definition in file makeroom.cxx.
|
||||||||||||||||||||
|
??? (to be defined) Definition at line 84 of file makeroom.cxx. References typecorecrumhedr::cdsp, typecorecrumhedr::cwid, typewid::dsas, findleftson(), findrightbro, foo(), footumbler(), ivemodified(), movetumbler, tumbleradd, and typecorecrum. Referenced by makeroomonleftnd().
00089 {
00090 typecorecrum *ptr;
00091
00092 #ifndef DISTRIBUTION
00093 foo("entering expandcrum leftward \n");
00094 #endif
00095
00096 movetumbler(newdsp, &crumptr->cdsp.dsas[index]);
00097 tumbleradd(base, &crumptr->cwid.dsas[index], &crumptr->cwid.dsas[index]);
00098
00099 #ifndef DISTRIBUTION
00100 footumbler("in expandcrumleftward cwid = ", &crumptr->cwid.dsas[index]);
00101 #endif
00102
00103 ptr = findleftson((typecuc *) crumptr);
00104 for (; ptr; ptr = (typecorecrum *) findrightbro(ptr)) {
00105 tumbleradd(base, &ptr->cdsp.dsas[index], &ptr->cdsp.dsas[index]);
00106 ivemodified(ptr);
00107
00108 #ifndef DISTRIBUTION
00109 footumbler("in expandcrumleftward cdsp = ", &crumptr->cdsp.dsas[index]);
00110 #endif
00111
00112 }
00113
00114 #ifndef DISTRIBUTION
00115 foo("leaveing expandcrum leftward \n");
00116 #endif
00117 }
|
|
||||||||||||||||||||
|
??? (to be defined) Definition at line 127 of file makeroom.cxx. References typecorecrumhedr::cenftype, debug, typewid::dsas, expandcrumleftward(), foo(), footumbler(), LESS, NULL, prologuend(), tumblercmp(), tumblersub(), typecorecrum, typedsp, and widsize. Referenced by eatbrossubtreend(), insertmorend(), newpeelcrumoffnd(), and takenephewnd().
00132 {
00133 typedsp newdsp;
00134 Tumbler base;
00135 int i;
00136 int savedebug;
00137
00138 #ifndef DISTRIBUTION
00139 savedebug = debug;
00140 /* if(!is1story(offset)){ debug = true; } */
00141 foo("entering makeroomonleftnd\n");
00142 #endif
00143
00144 prologuend((typecorecrum *) father, offset, grasp, (typedsp *) NULL);
00145 for (i = 0; i < widsize(father->cenftype); ++i) {
00146 if (tumblercmp(&origin->dsas[i], &grasp->dsas[i]) == LESS) {
00147 #ifndef DISTRIBUTION
00148 footumbler(" origin = ", &origin->dsas[i]);
00149 footumbler(" grasp = ", &grasp->dsas[i]);
00150 #endif
00151 tumblersub(&grasp->dsas[i], &origin->dsas[i], &base);
00152 #ifndef DISTRIBUTION
00153 footumbler(" base = ", &base);
00154 footumbler(" origin = ", &origin->dsas[i]);
00155 footumbler(" offset = ", &offset->dsas[i]);
00156 #endif
00157 tumblersub(&origin->dsas[i], &offset->dsas[i], &newdsp.dsas[i]);
00158 #ifndef DISTRIBUTION
00159 footumbler(" newdsp = ", &newdsp.dsas[i]);
00160 #endif
00161 expandcrumleftward((typecorecrum *) father, &newdsp.dsas[i], &base, i);
00162 prologuend((typecorecrum *) father, offset, grasp, (typedsp *) NULL);
00163 }
00164 }
00165 #ifndef DISTRIBUTION
00166 foo("leaving makeroomonleftnd\n");
00167 debug = savedebug;
00168 #endif
00169 }
|
1.3.4