Commit Graph

16685 Commits

Author SHA1 Message Date
Glenn Maynard d6bb1cdfe0 fix warning 2005-06-20 04:55:24 +00:00
Glenn Maynard 4dd73b2c81 fix comment (no new T is created) 2005-06-20 04:42:11 +00:00
Charles Lohr a8f0404f0f Add: the background transitions and effects 2005-06-20 04:39:55 +00:00
Glenn Maynard 4d5643c27f remove include 2005-06-20 04:32:56 +00:00
Glenn Maynard 72e7a4b1e4 cleanup 2005-06-20 04:32:24 +00:00
Glenn Maynard 77ee110e65 include cleanup 2005-06-20 04:28:16 +00:00
Glenn Maynard e2cfba413a update registration for various types 2005-06-20 04:23:36 +00:00
Glenn Maynard c998564adf update registration for various types 2005-06-20 04:17:02 +00:00
Glenn Maynard 9f51cfbf5a add LuaBinding 2005-06-20 04:13:04 +00:00
Glenn Maynard 71bbb178a9 LuaBinding.cpp 2005-06-20 04:12:35 +00:00
Glenn Maynard 0b80f541ac update registration for BitmapText types 2005-06-20 04:06:26 +00:00
Glenn Maynard aff28653da Rearrange Lua types. Instead of each class registering all of the functions
of its base classes, set __index in the methods table to point to the base class's
methods table.  This has a few important advantages.  First and most importantly,
types don't need access to the Luna type of their base to derive from it, so these
definitions don't have to be in the headers, and probably don't need to be
templated.  Second, you can say:

function Actor:queue_rotate()
   self:linear(0.5)
   self:rotationz( 180 )
end

OnCommand=x,100;queue_rotate

This partially worked previously, but wasn't inherited; a function defined for
Actor wouldn't work for BitmapText.

(changes that use this in a few minutes)
2005-06-20 03:54:51 +00:00
Ben Anderson ebcbdd3c9f Move GCC/x86 assembler instructions into a single common file; begin work on supporting MinGW as a secondary Win32 build environment. 2005-06-20 01:33:32 +00:00
Glenn Maynard 8c121d4598 s_className -> m_sClassName 2005-06-20 00:33:07 +00:00
Glenn Maynard 990bd24675 remove unused 2005-06-19 22:57:35 +00:00
Glenn Maynard 5da5388b99 cleanups 2005-06-19 22:54:06 +00:00
Glenn Maynard ec135b3ecf remove duplicate code 2005-06-19 22:52:08 +00:00
Glenn Maynard 25531ef460 m_Overlay -> m_sprOverlay, to be consistent with SWME
remove character stuff that can be done with the overlay
2005-06-19 22:48:58 +00:00
Glenn Maynard f98f8794ce remove unused 2005-06-19 22:42:06 +00:00
Glenn Maynard 92f49b2f89 add character bindings to remove special cases in ScreenStage 2005-06-19 22:41:12 +00:00
Glenn Maynard 4a10567362 remove texts. If you want to do this, do it in the overlay or underlay layers.
Text=@GAMESTATE:GetCurrentSong():GetDisplayFullTitle()
2005-06-19 22:29:25 +00:00
Glenn Maynard d9ed603f18 implement coin settling 2005-06-19 21:58:11 +00:00
Steve Checkoway fc9c08f8d4 Remove all references to my build directory. Make this work as it did with previous versions of Xcode. 2005-06-19 11:19:08 +00:00
Steve Checkoway adfec6e2c8 Update 2005-06-19 11:18:27 +00:00
Steve Checkoway e233317c25 Cleanup. 2005-06-19 11:17:31 +00:00
Glenn Maynard 28fc7bcdad fix "save prefs when exiting system menu"; when DelayedScreenLoad,
bWasOnSystemMenu was always false, because the screen was already
deleted
2005-06-19 09:40:16 +00:00
Glenn Maynard 8364c20850 cleanup, make m_pSharedBGA private 2005-06-19 09:27:18 +00:00
Glenn Maynard 8b8c4ceb45 simplify further 2005-06-19 09:20:30 +00:00
Glenn Maynard a9f0a2158a DeleteCachedTextures is already called at the end of EmptyDeleteQueue 2005-06-19 09:15:54 +00:00
Glenn Maynard bfc49737fe cleanup 2005-06-19 08:56:45 +00:00
Glenn Maynard a0dcb3dc81 simplify 2005-06-19 08:51:09 +00:00
Glenn Maynard f11a2ce17e fix "called SetNewScreen again" case; simplify (only one path now) 2005-06-19 08:48:42 +00:00
Glenn Maynard 63cc873fc9 Simplify delayed/undelayed screen load path. Previously, the "delayed"
path would return immediately in SetNewScreen, loading in the next update,
and the "undelayed" path would load under SetNewScreen.  Instead, always
load on the next update, and just change the behavior (with "delayed" deleting
the old screen first).  These two code paths are both criticial, and they were
too different, leading to inconsistent behavior; this way is simpler.
2005-06-19 08:35:12 +00:00
Steve Checkoway 0bc5c2ede4 Kill our parent first. 2005-06-19 07:28:59 +00:00
Steve Checkoway 904bb8e246 Fix warning. 2005-06-19 06:39:49 +00:00
Steve Checkoway 4d18c5e4ca Classes with virtual functions need virtual dtors. 2005-06-19 06:37:28 +00:00
Steve Checkoway c5d1558f0f Fix uninitialized variable warning. 2005-06-19 06:36:08 +00:00
Steve Checkoway d90d69f934 newline 2005-06-19 01:38:56 +00:00
Steve Checkoway 35db5ffcc2 Fix warning. 2005-06-19 00:29:42 +00:00
Steve Checkoway 578b2f5c39 Don't break after return. It confuses g++ (slightly). 2005-06-19 00:28:12 +00:00
Steve Checkoway cc8aa318ba For some reason, g++ cannot determine that the break statements will not be reached. Removing them removes the warning. 2005-06-19 00:26:20 +00:00
Steve Checkoway c1f4c33fb9 Fix format string. 2005-06-19 00:21:48 +00:00
Chris Danford a77e0bb273 Back compat hack to fix importing scores for courses that have moved into group dirs 2005-06-18 15:00:11 +00:00
Chris Danford c576001d21 Fix AA all passed stages then fail a stage still shows good ending 2005-06-18 13:49:40 +00:00
Chris Danford f1cbfbb774 use LuaGrade constant 2005-06-18 13:46:41 +00:00
Renaud Lepage 2cee42e718 kDev project :: updated. 2005-06-18 13:16:06 +00:00
Chris Danford eaad485521 fix uninitialized causing bogus calorie values in release 2005-06-18 03:45:16 +00:00
Glenn Maynard f75be1bfaa clamp fBaseAlpha 2005-06-17 04:31:46 +00:00
Glenn Maynard ef0acd1ec7 cleanup 2005-06-17 02:22:38 +00:00
Glenn Maynard e65a91dfc9 old change: register DifficultyIcon 2005-06-17 01:31:21 +00:00