[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/particles weather_generator.cxx,1.2,1
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/particles weather_generator.cxx,1.2,1.3 |
Date: |
16 Aug 2002 15:14:02 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/particles
In directory dark:/tmp/cvs-serv23483/particles
Modified Files:
weather_generator.cxx
Log Message:
moved exceptions out of line - reduces code size (memory usage) and compilation
time
Index: weather_generator.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/particles/weather_generator.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- weather_generator.cxx 13 Jun 2002 14:25:13 -0000 1.2
+++ weather_generator.cxx 16 Aug 2002 15:14:00 -0000 1.3
@@ -31,8 +31,10 @@
return new RainGenerator();
else
{
- throw PingusError ("WeatherGenerator: Unknown type: " + data.type);
+ PingusError::raise ("WeatherGenerator: Unknown type: " + data.type);
}
+
+ return 0; // never reached
}
/* EOF */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/particles weather_generator.cxx,1.2,1.3,
torangan <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/input axis_factory.cxx,1.6,1.7 button_factory.cxx,1.5,1.6 controller.cxx,1.12,1.13 controller.hxx,1.7,1.8 joystick_axis.cxx,1.6,1.7 joystick_button.cxx,1.3,1.4 mouse_button.cxx,1.3,1.4 pointer_factory.cxx,1.3,1.4 scroller_factory.cxx,1.4,1.5
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editor object_manager.cxx,1.25,1.26 plfobj.cxx,1.6,1.7
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/input axis_factory.cxx,1.6,1.7 button_factory.cxx,1.5,1.6 controller.cxx,1.12,1.13 controller.hxx,1.7,1.8 joystick_axis.cxx,1.6,1.7 joystick_button.cxx,1.3,1.4 mouse_button.cxx,1.3,1.4 pointer_factory.cxx,1.3,1.4 scroller_factory.cxx,1.4,1.5
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editor object_manager.cxx,1.25,1.26 plfobj.cxx,1.6,1.7
- Index(es):