mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
lego1: implement more of LegoNavController (#16)
* implement more of LegoNavController * merge * use MX_FALSE * file file perms * added Timer(), GetTime to LegoNavController * add a comment about SetControlMax * remove colon * add commented out dtor * revert inheritance for now so we don't accidentally break the interface to ISLE.exe later * add missing include * update project files * update project files * fix main.cpp * add offsets * update project files * fix line endings * fix a bug thanks to ASM checker * add addr for Timer() * updated project file
This commit is contained in:

committed by
GitHub

parent
f9f8440a3a
commit
5c440b5878
10
LEGO1/legoutil.h
Normal file
10
LEGO1/legoutil.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef LEGOUTIL_H
|
||||
#define LEGOUTIL_H
|
||||
|
||||
template <class T>
|
||||
inline T Abs(T p_t)
|
||||
{
|
||||
return p_t < 0 ? -p_t : p_t;
|
||||
}
|
||||
|
||||
#endif // LEGOUTIL_H
|
Reference in New Issue
Block a user