GenevensiS
2e68014612
make to_json work on StyleP and IndexMap
2026-01-15 18:22:16 +01:00
GenevensiS
fbf2023848
convert to CRLF line endings
2026-01-05 01:01:18 +01:00
GenevensiS
436c437189
add compiler directives
...
add compiler directives
2025-12-30 01:18:04 +01:00
GenevensiS
aeed54e4ba
localize card links, add_link, remove_links
2025-12-16 19:05:33 +01:00
GenevensiS
2888dc4059
add bleed edge option, get_card_export_settings function
2025-12-13 20:33:18 +01:00
GenevensiS
ffbe3daf39
add get_front_face() get_back_face() get_cards_from_link()
2025-12-06 21:39:12 +01:00
ebbit1q
5512aad587
fix compilation errors
2025-11-28 10:48:54 +01:00
GenevensiS
cf0a84a8a7
Card data in images (minimum viable)
...
* remove wxEmptyString
* improve style tab carousel
* create web request window
* add drop target and drop source
2025-11-28 10:42:30 +01:00
Colin
f5b5c0968d
fix position function bugs
2025-11-03 13:20:53 +01:00
GenevensiS
513612cd0e
Dark mode
2025-10-09 17:57:20 +02:00
GenevensiS
3bf9de18b1
Implement unique IDs and card linking
2025-08-11 16:17:13 +02:00
GenevensiS
dc348b4812
Add to_json and from_json script functions
2025-08-07 18:45:12 +02:00
GenevensiS
87fbc0e80e
Implement CSV / TSV import ( #45 )
...
- add csv/tsv importer
- add `make_map` script function
- add `alt name` field property
- add `construction script` field property
- add `construction script` game property
2025-06-09 04:53:33 +02:00
GenevensiS
c577417191
add get_mse_path script function
2025-05-22 12:39:09 +02:00
GenevensiS
0309f7d16c
Merge pull request #26 from G-e-n-e-v-e-n-s-i-S/get-mse-version
...
Add get_mse_version script function
2024-10-04 23:23:26 +02:00
GenevensiS
4e926e11e3
fix indent
2024-10-04 23:18:10 +02:00
GenevensiS
38ced7790f
Add get_mse_version script function
2024-10-04 22:58:11 +02:00
GenevensiS
ecb48aebf0
Add get_card_stylesheet script function
2024-10-04 22:41:06 +02:00
GenevensiS
39dbdf1ab2
Merge pull request #18 from G-e-n-e-v-e-n-s-i-S/file-exists
...
Add exists_in_package script function
2024-09-26 15:22:15 +02:00
GenevensiS
4054443a72
add exists_in_package script function
2024-09-17 06:13:01 +02:00
GenevensiS
9b34ae5446
add get_card_styling function for export scripts
2024-09-16 08:59:55 +02:00
Djack Donovan
d1bac74eb9
Script: to_date accepts "now" as an argument
...
indentation fix
2022-11-18 21:40:12 -05:00
Twan van Laarhoven
b3ddb295fc
Rewrite of keyword matching code. This fixes #20
...
Uses new iterator based tagged string functions.
2020-05-17 22:00:59 +02:00
Twan van Laarhoven
0b653938cc
Use unordered_map in KeywordTrie
2020-05-16 21:57:28 +02:00
Twan van Laarhoven
a7c47729c1
Clean up old style angle brackets in nested templates
2020-05-15 02:15:58 +02:00
Twan van Laarhoven
2e897edbbf
Use toSomeType() instead of operator SomeType in ScriptValue.
...
This means that we are more explicit about type conversions.
Also use override specifiers for overriden virtual functions in ScriptValue.
2020-04-26 17:03:43 +02:00
Twan van Laarhoven
bad9981ad9
Cleaned up copyright block.
...
Removed the year so we don't get tempted to change this ever again.
2020-04-26 01:11:14 +02:00
Twan van Laarhoven
4327abb803
Remove DECLARE_TYPEOF
...
It is no longer needed since C++11
2020-04-26 00:51:16 +02:00
Twan van Laarhoven
787a707900
Use std::shuffle instead of std::random_shuffle, since the latter is removed in C++17
2020-04-25 22:20:51 +02:00
Twan van Laarhoven
0d42df1537
Fix type conversion errors in GCC/wxGTK
2020-04-25 22:20:51 +02:00
Twan van Laarhoven
708b4389a0
Use make_intrusive/make_shared for smart pointer construction.
2020-04-25 22:20:51 +02:00
Twan van Laarhoven
4258ce1c6c
Remove AColor class, because wxColour now supports alpha values.
2020-04-25 22:20:50 +02:00
Twan van Laarhoven
8f8e2cea65
Expose the 'warning' function, and added a similar 'error' function.
...
Add documentation.
2020-04-23 20:22:43 +02:00
Twan van Laarhoven
713a9e4a40
Use underscores instead of spaces for all internal names. And renamed some script functions at the same time.
...
* cannocial_name_form now outputs "_", where it used to use " "
* this simplifies reflectio and scripting code, because now C++ names are also MSE internal names
* added 'caption' property to fields. This is used instead of the name in NativeLookEditor, since the latter will now contain underscores.
* renamed text related script functions for consistency, since we were touching that part of the code anyway.
2020-04-22 23:48:26 +02:00
Twan van Laarhoven
24f4b4edba
Add type_name function to query the type of a value
2020-04-18 22:03:25 +02:00
Twan van Laarhoven
9c9eba77a0
Fix: substr("foo",begin:3) now returns "" instead of true
2020-04-18 19:34:32 +02:00
Twan van Laarhoven
0cffdb7d1a
move reverse_string to string.hpp
2020-04-14 20:27:39 +02:00
Twan van Laarhoven
35a89676b4
CMake file
...
Update to C++ 11: std::shared_ptr, for each loops
Update to wxWidgets 3.0+
2020-04-08 01:10:01 +02:00
Lymia Aluysia
1d912a6853
Update copyright strings.
2017-01-18 08:52:57 -06:00
Lymia Aluysia
d2c635f739
Change tabs to two spaces.
2017-01-18 08:43:21 -06:00
twanvl
bd55326c7d
* Added console panel for evaluating scripts and showing error messages.
...
* Rewrite of error queue code: errors are now pulled, instead of being turned into messageboxes automatically.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1629 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-21 13:26:03 +00:00
twanvl
b47bb7c3fe
added some math script functions:
...
* sin, cos, tan (radians)
* sin_deg, cos_deg, tan_deg (degrees)
* exp, log (base e), log10
* sqrt, pow
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1602 0fc631ac-6414-0410-93d0-97cfa31319b6
2011-01-08 22:15:54 +00:00
twanvl
51dfed69b4
Instead of the new_intrusive<T>() functions, use intrusive(new T)
...
This means we no longer need 8 different functions for different numbers of arguments, and non-const references can now also be passed to constructors without problems.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1443 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 14:32:28 +00:00
coppro
80f815b9ce
Make to_title work correctly; patch thanks to Shiv2503.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1440 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-04-14 22:33:43 +00:00
coppro
cf91f9c43b
Update copryright date to 2010.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1438 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-03-01 23:33:25 +00:00
coppro
b73f081b60
Updated copyright information (2009 + my real name)
...
MSE now handles opening more gracefully - can handle directories and failures
Changed behavior to always save cards to separate files with intent to add VCS later (note: shouldn't do this for zip, but can't see a good way to approach this)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1388 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-06-19 03:09:05 +00:00
twanvl
a3a701d2dd
re-added return statement
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1356 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-15 14:47:50 +00:00
coppro
30671ad5b0
Fixed a bunch of linker errors preventing optimized compile on Linux.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1352 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-14 19:13:05 +00:00
twanvl
ad5e22e7c5
Added script support for wxDateTime values:
...
- added ScriptDateTime type
- added to_date function
- added date formating support to to_string.
- documented all of the above.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1348 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 16:52:07 +00:00
twanvl
05ba96ab3e
slightly less tagged string checking
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1304 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 17:25:36 +00:00