Changeset 494 for abuse/trunk/src/gui.cpp
- Timestamp:
- Apr 17, 2011, 11:56:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/gui.cpp
r481 r494 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net> 4 5 * 5 6 * This software was released into the Public Domain. As with most public … … 26 27 blist=cur_but=butts; 27 28 act=0; 28 for (ifield *b=blist; b;b=b->next) { b->x=x; b->y=y; }29 for (ifield *b=blist; b; b=b->next) { b->x=x; b->y=y; } 29 30 while (cur_but && start_on--) cur_but=cur_but->next; 30 31 if (!cur_but) cur_but=blist; … … 38 39 y2=-10000; 39 40 int X1,Y1,X2,Y2; 40 for (ifield *b=blist; b;b=b->next)41 for (ifield *b=blist; b; b=b->next) 41 42 { 42 43 b->area(X1,Y1,X2,Y2); … … 52 53 { 53 54 ifield *last=NULL; 54 for (ifield *b=blist; b;b=b->next)55 for (ifield *b=blist; b; b=b->next) 55 56 { 56 57 if (b->id==id)
Note: See TracChangeset
for help on using the changeset viewer.