Changeset 484 for abuse/trunk/src/endgame.cpp
- Timestamp:
- Apr 17, 2011, 10:28:20 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/endgame.cpp
r481 r484 153 153 154 154 155 int explo_snd =lnumber_value(symbol_value(make_find_symbol("P_EXPLODE_SND")));156 int space_snd =lnumber_value(symbol_value(make_find_symbol("SPACE_SND")));157 int zip_snd =lnumber_value(symbol_value(make_find_symbol("SHIP_ZIP_SND")));155 int explo_snd = lnumber_value(LispSymbol::FindOrCreate("P_EXPLODE_SND")->GetValue()); 156 int space_snd = lnumber_value(LispSymbol::FindOrCreate("SPACE_SND")->GetValue()); 157 int zip_snd = lnumber_value(LispSymbol::FindOrCreate("SHIP_ZIP_SND")->GetValue()); 158 158 159 159 … … 370 370 cmap[i]=pal->find_closest(i*256/32,i*256/32,i*256/32); 371 371 372 void *end_plot =symbol_value(make_find_symbol("plot_end"));372 void *end_plot = LispSymbol::FindOrCreate("plot_end")->GetValue(); 373 373 374 374 … … 427 427 image *im=cache.img(cache.reg("art/endgame.spe","tbc",SPEC_IMAGE,1)); 428 428 429 void *to_be =symbol_value(make_find_symbol("to_be_continued"));429 void *to_be = LispSymbol::FindOrCreate("to_be_continued")->GetValue(); 430 430 p_ref r1(to_be); 431 431 432 void *mid_plot =symbol_value(make_find_symbol("plot_middle"));432 void *mid_plot = LispSymbol::FindOrCreate("plot_middle")->GetValue(); 433 433 p_ref r2(mid_plot); 434 435 434 436 435 int dx=(xres+1)/2-im->width()/2,dy=(yres+1)/2-im->height()/2; … … 486 485 int dx=(xres+1)/2-320/2,dy=(yres+1)/2-200/2; 487 486 488 void *end_plot =symbol_value(make_find_symbol("plot_end"));487 void *end_plot = LispSymbol::FindOrCreate("plot_end")->GetValue(); 489 488 p_ref r2(end_plot); 490 489
Note: See TracChangeset
for help on using the changeset viewer.