This website requires JavaScript.
Explore
Help
Sign In
Mahtan
/
wagic
Watch
1
Star
0
Fork
0
You've already forked wagic
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
99ed83c5e818ae02bf8bf469a49800b8008e4ff1
wagic
/
projects
/
mtg
T
History
wrenczes@gmail.com
99ed83c5e8
Performance improvements/cleanup: card->hasType("foo") performs a string lookup for an integer id. Now that our primitives have over 1000 types (1018, I believe is the number I saw while debugging), this is not the cheapest lookup. Over the course of time, a lot of new rules have crept in the code - support for 'aura', 'equipment', and recently 'planeswalker'. While profiling, I saw an inordinate amount of time being used doing map lookups for these strings. Since they're used so frequently, I've added them to the SubTypes enumeration, and swapped out doing the string lookup in favour of using the int ID directly. I also found a few places where we were using hasType("Creature") or hasType("land") when we already had helper functions to do the int lookup, so I swapped these in as appropriate, as well as a couple of places where we had hasType("instant") instead of hasType(Subtypes::TYPE_INSTANT), etc.
2011-04-10 00:07:34 +00:00
..
bin
Corrected following cards:
2011-04-09 17:03:39 +00:00
debian
[Maemo] Readded the resources copy in the postinstall script
2011-01-06 22:07:28 +00:00
doc
Erwan
2009-11-29 06:45:50 +00:00
extra
Erwan
2009-11-04 13:33:21 +00:00
include
Performance improvements/cleanup: card->hasType("foo") performs a string lookup for an integer id. Now that our primitives have over 1000 types (1018, I believe is the number I saw while debugging), this is not the cheapest lookup. Over the course of time, a lot of new rules have crept in the code - support for 'aura', 'equipment', and recently 'planeswalker'. While profiling, I saw an inordinate amount of time being used doing map lookups for these strings. Since they're used so frequently, I've added them to the SubTypes enumeration, and swapped out doing the string lookup in favour of using the int ID directly. I also found a few places where we were using hasType("Creature") or hasType("land") when we already had helper functions to do the int lookup, so I swapped these in as appropriate, as well as a couple of places where we had hasType("instant") instead of hasType(Subtypes::TYPE_INSTANT), etc.
2011-04-10 00:07:34 +00:00
src
Performance improvements/cleanup: card->hasType("foo") performs a string lookup for an integer id. Now that our primitives have over 1000 types (1018, I believe is the number I saw while debugging), this is not the cheapest lookup. Over the course of time, a lot of new rules have crept in the code - support for 'aura', 'equipment', and recently 'planeswalker'. While profiling, I saw an inordinate amount of time being used doing map lookups for these strings. Since they're used so frequently, I've added them to the SubTypes enumeration, and swapped out doing the string lookup in favour of using the int ID directly. I also found a few places where we were using hasType("Creature") or hasType("land") when we already had helper functions to do the int lookup, so I swapped these in as appropriate, as well as a couple of places where we had hasType("instant") instead of hasType(Subtypes::TYPE_INSTANT), etc.
2011-04-10 00:07:34 +00:00
tools
added processing for todo list as well
2011-02-04 13:41:24 +00:00
wagic.xcodeproj
[iOS] Fixed icon and targets in xcode project
2010-12-14 17:01:07 +00:00
Doxyfile
Jeck - Begun documentation for the WGui classes. Also updated doxygen config to support STL.
2011-01-31 10:24:06 +00:00
icon.png
…
Makefile
Erwan
2011-02-12 16:31:07 +00:00
mk1xx.bat
…
mk3xx.bat
…
mtg_vs2010.sln
2010-10-06 08:45:55 +00:00
mtg.props
More VS 2010 solution files. The props file is required; the filter is a nice to have (ie, the solution file organization is broken out into a separate file now in 2010, whereas it used to be embedded in each vcproj file).
2010-11-07 02:12:50 +00:00
mtg.sln
Fixed a problem with the release target - it wasn't inheriting correctly the property sheet I had recently added. Thanks to Mike for catching this.
2010-10-14 09:26:27 +00:00
mtg.vsprops
Fixed my trace - removed the spurious addressof().
2010-10-07 03:45:57 +00:00
pic0.png
Jeck - Extremely subtle lighting effect fades in on boot screen sword.
2009-09-21 07:44:22 +00:00
pic1.png
Jeck - Proposed pic1.png. Please comment here with thoughts / suggestions.
2009-09-21 06:40:02 +00:00
Res
J :
2009-11-08 02:55:14 +00:00
template.vcproj
Fixed the build problem with VS2008 and actived multithreaded build while I was at it ... you guys liked to wait ? =)
2011-03-19 08:35:57 +00:00
template.vcxproj
Moved Threading.h into JGE so that it can be used at that level.
2011-03-02 08:14:47 +00:00
template.vcxproj.filters
Moved Threading.h into JGE so that it can be used at that level.
2011-03-02 08:14:47 +00:00
valgrind.supp
J :
2010-05-05 02:50:49 +00:00
wagic_Prefix.pch
iOS frontend and XCode project
2010-12-12 15:58:47 +00:00
wagic-64x64.png
Added icon, desktop description and updated .pro for maemo packaging instruction
2010-10-05 20:01:26 +00:00
wagic-Info.plist
iOS frontend and XCode project
2010-12-12 15:58:47 +00:00
wagic.desktop
[Maemo] references the new launcher in the .desktop file
2011-01-06 20:33:21 +00:00
wagic.pro
Added PlayRestrictions in Qt project.
2011-02-22 22:51:41 +00:00