Mercurial > touhou
comparison pytouhou/vm/eclrunner.py @ 764:d18c0bf11138
Python: Use logger.warning() as logger.warn() is deprecated
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 26 Aug 2022 18:55:39 +0200 |
parents | e15672733c93 |
children |
comparison
equal
deleted
inserted
replaced
763:468dab1dd683 | 764:d18c0bf11138 |
---|---|
1094 else: | 1094 else: |
1095 #TODO: I'm really not sure about that... | 1095 #TODO: I'm really not sure about that... |
1096 self.variables[6] = self._game.prng.rand_double() * (self._game.width - 64.) + 32. | 1096 self.variables[6] = self._game.prng.rand_double() * (self._game.width - 64.) + 32. |
1097 self.variables[7] = self._game.prng.rand_double() * (self._game.width / 2. - 64.) + 32. | 1097 self.variables[7] = self._game.prng.rand_double() * (self._game.width / 2. - 64.) + 32. |
1098 else: | 1098 else: |
1099 logger.warn("Unimplemented special function %d!", function) | 1099 logger.warning("Unimplemented special function %d!", function) |
1100 | 1100 |
1101 | 1101 |
1102 @instruction(123) | 1102 @instruction(123) |
1103 def skip_frames(self, frames): | 1103 def skip_frames(self, frames): |
1104 #TODO: is that all? | 1104 #TODO: is that all? |