File: gb_save.ch

package info (click to toggle)
sgb 1:20030623-3
  • links: PTS
  • area: non-free
  • in suites: sarge
  • size: 1,868 kB
  • ctags: 28
  • sloc: makefile: 197; sh: 15
file content (41 lines) | stat: -rw-r--r-- 1,425 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Change file for gb_save.w

@x	lines 641-642
for (cur_block=blocks+block_count-1;cur_block>=blocks;cur_block--) {
  if (cur_block->cat==vrt) {
@y
for (cur_block=blocks+block_count;cur_block>blocks; ) {
  if ((--cur_block)->cat==vrt) {
@z

@x	lines 658-659
for (cur_block=blocks+block_count-1;cur_block>=blocks;cur_block--)
  if (cur_block->start_addr==(char *)g->vertices) {
@y
for (cur_block=blocks+block_count;cur_block>blocks; )
  if ((--cur_block)->start_addr==(char *)g->vertices) {
@z

@x	lines 809-814
  for (cur_block=blocks+block_count-1;cur_block>=blocks;cur_block--)
    if (cur_block->cat==vrt && cur_block->offset==0)
      @<Translate all |Vertex| records in |cur_block|@>;
  for (cur_block=blocks+block_count-1;cur_block>=blocks;cur_block--)
    if (cur_block->cat==vrt && cur_block->offset!=0)
      @<Translate all |Vertex| records in |cur_block|@>;
@y
  for (cur_block=blocks+block_count;cur_block>blocks; )
    if ((--cur_block)->cat==vrt && cur_block->offset==0)
      @<Translate all |Vertex| records in |cur_block|@>@;
  for (cur_block=blocks+block_count;cur_block>blocks; )
    if ((--cur_block)->cat==vrt && cur_block->offset!=0)
      @<Translate all |Vertex| records in |cur_block|@>@;
@z

@x	lines 835-836
  for (cur_block=blocks+block_count-1;cur_block>=blocks;cur_block--)
    if (cur_block->cat==ark)
@y
  for (cur_block=blocks+block_count;cur_block>blocks; )
    if ((--cur_block)->cat==ark)
@z